/* ===========================
   Hero Section
   =========================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-text-white);
  padding: var(--space-24) 0 var(--space-20);
  overflow: hidden;
  min-height: 600px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(42, 82, 144, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-text-white);
  margin-bottom: var(--space-6);
  line-height: 1.15;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 span {
  color: var(--color-accent);
  position: relative;
}

.hero-desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-2);
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 58, 108, 0.4));
  z-index: 1;
}

.hero-image-main img,
.hero-image-main svg {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-floating {
  position: absolute;
  background: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 3;
}

.hero-floating-1 {
  top: 30px;
  left: -30px;
  animation: float 3s ease-in-out infinite;
}

.hero-floating-2 {
  bottom: 40px;
  right: -20px;
  animation: float 3s ease-in-out infinite 1.5s;
}

.hero-floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text-white);
  flex-shrink: 0;
}

.hero-floating-icon.blue {
  background: var(--color-primary);
}

.hero-floating-text strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text);
}

.hero-floating-text span {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
}

/* ===========================
   Features
   =========================== */

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

.feature-card {
  background: var(--color-bg);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  transform: scale(1.05) rotate(5deg);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-card h4 {
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  font-size: var(--fs-lg);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===========================
   Products
   =========================== */

.product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.category-btn {
  padding: var(--space-3) var(--space-6);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-text);
  transition: var(--transition-fast);
}

.category-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.category-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-white);
}

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

.product-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  border: 1px solid var(--color-border-light);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.product-image {
  position: relative;
  background: var(--color-bg-light);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img,
.product-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img,
.product-card:hover .product-image svg {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-accent);
  color: var(--color-text-white);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
}

.product-badge.new { background: var(--color-success); }
.product-badge.hot { background: var(--color-danger); }

.product-info {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: var(--fs-xs);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
}

.product-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-model {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  font-family: monospace;
}

.product-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: auto;
}

.product-btn {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

.product-btn-inquire {
  background: var(--color-accent);
  color: var(--color-text-white);
}

.product-btn-inquire:hover {
  background: var(--color-accent-dark);
}

.product-btn-detail {
  background: var(--color-bg-gray);
  color: var(--color-primary);
}

.product-btn-detail:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
}

/* ===========================
   Product Detail (Inner Page)
   =========================== */

.breadcrumb {
  background: var(--color-bg-light);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

.breadcrumb-list a {
  color: var(--color-text-secondary);
}

.breadcrumb-list a:hover {
  color: var(--color-primary);
}

.breadcrumb-list .separator {
  color: var(--color-text-light);
}

.breadcrumb-list .current {
  color: var(--color-primary);
  font-weight: 600;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-text-white);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 30%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--color-text-white);
  font-size: clamp(1.75rem, 4vw, var(--fs-4xl));
  margin-bottom: var(--space-3);
}

.page-hero .desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-lg);
  max-width: 720px;
}

/* ===========================
   Solutions / Industries
   =========================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.solution-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.solution-card:hover .solution-bg {
  transform: scale(1.08);
}

.solution-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 40, 73, 0.95));
}

.solution-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  color: var(--color-text-white);
  z-index: 2;
}

.solution-content h3 {
  color: var(--color-text-white);
  margin-bottom: var(--space-2);
  font-size: var(--fs-xl);
}

.solution-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

.solution-content .arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-top: var(--space-3);
}

/* ===========================
   Standards
   =========================== */

.standards-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: var(--space-4);
}

.standard-tab {
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.standard-tab:hover {
  color: var(--color-primary);
  background: var(--color-bg-gray);
}

.standard-tab.active {
  background: var(--color-primary);
  color: var(--color-text-white);
}

.standards-table {
  width: 100%;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.standards-table table {
  width: 100%;
  border-collapse: collapse;
}

.standards-table th {
  background: var(--color-primary);
  color: var(--color-text-white);
  padding: var(--space-4);
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-sm);
}

.standards-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--fs-sm);
}

.standards-table tr:hover td {
  background: var(--color-bg-light);
}

.standards-table tr:last-child td {
  border-bottom: none;
}

/* ===========================
   Cases
   =========================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.case-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid var(--color-border-light);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-gray);
  overflow: hidden;
  position: relative;
}

.case-image svg {
  width: 100%;
  height: 100%;
}

.case-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-accent);
  color: var(--color-text-white);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.case-content {
  padding: var(--space-6);
}

.case-content h3 {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.case-content p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.case-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ===========================
   Process / Timeline
   =========================== */

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: var(--color-border);
}

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: var(--space-12);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-xl);
  border: 4px solid var(--color-bg);
  box-shadow: var(--shadow-md);
}

.process-step h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.process-step p {
  color: var(--color-text-secondary);
}

/* ===========================
   Stats / Counter
   =========================== */

.stats-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-text-white);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(243, 156, 18, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: rgba(243, 156, 18, 0.15);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-number {
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.85);
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-16);
}

.footer-main {
  padding-bottom: var(--space-12);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  color: var(--color-primary-dark);
}

.footer-logo strong {
  color: var(--color-text-white);
  font-size: var(--fs-xl);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-text-white);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h5 {
  color: var(--color-text-white);
  font-size: var(--fs-base);
  margin-bottom: var(--space-5);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item strong {
  display: block;
  color: var(--color-text-white);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Newsletter / CTA
   =========================== */

.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  padding: var(--space-12) 0;
  color: var(--color-text-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--color-text-white);
  margin-bottom: var(--space-2);
  font-size: var(--fs-3xl);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: var(--space-2);
  background: var(--color-bg);
  padding: var(--space-2);
  border-radius: var(--radius-full);
  min-width: 380px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: var(--space-3) var(--space-5);
  font-size: var(--fs-base);
  background: transparent;
  outline: none;
  color: var(--color-text);
}

.newsletter-form button {
  background: var(--color-primary);
  color: var(--color-text-white);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--color-primary-dark);
}

/* ===========================
   PHP 版本补充样式
   =========================== */
.page-banner {
  background: #005bac;
  color: #fff;
  padding: 36px 0 28px;
  position: relative;
}
.page-banner::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: #f39c12;
}
.page-banner h1,
.page-banner .page-banner-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
  color: #fff;
}
.page-banner .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
}
.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.page-banner .breadcrumb a:hover { color: #f39c12; }

.section { padding: 50px 0; }
.section-alt { background: #f9fafc; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-head h2 { font-size: 26px; color: var(--color-primary); }
.more-link { color: var(--color-accent); font-size: 14px; font-weight: 500; }
.more-link:hover { color: var(--color-primary); }

/* 数据条 */
.stats-strip { background: #fff; padding: 30px 0; border-bottom: 1px solid #eef0f5; }
.stats-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stats-grid-2 .stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats-grid-2 .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
}
.stats-grid-2 .label { color: var(--color-text-light); font-size: 14px; }

/* 分类网格 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: .25s;
  color: var(--color-text);
}
.cat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26,58,108,.12);
  color: var(--color-text);
}
.cat-icon { font-size: 36px; margin-bottom: 12px; }
.cat-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--color-primary); }
.cat-card p { font-size: 13px; color: var(--color-text-light); }

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
/* 首页 Featured / Popular Products：固定每行 4 个，单品也不拉伸占满 */
.product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .product-grid--4 { grid-template-columns: 1fr; }
}
.product-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 8px;
  overflow: hidden;
  transition: .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(26,58,108,.12);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f5f7fb;
}
.thumb-wrap { overflow: hidden; }
.product-card .card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 16px; margin: 6px 0; color: var(--color-primary); }
.product-card h3 a { color: inherit; }
.product-card .model { font-size: 12px; color: var(--color-text-light); margin-bottom: 8px; }
.product-card p { font-size: 13px; color: var(--color-text-light); margin-bottom: 12px; flex: 1; }

/* 服务网格 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  border: 1px solid #eef0f5;
}
.service-card .icon { font-size: 36px; margin-bottom: 12px; }
.service-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--color-primary); }
.service-card p { font-size: 13px; color: var(--color-text-light); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 10px; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 24px; }

/* 过滤条 */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f5;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  background: #f39c12;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  border: none;
}
.filter-chip:hover {
  background: #e08a00;
  transform: translateY(-1px);
}
.filter-chip.active {
  background: #d35400;
  box-shadow: 0 4px 12px rgba(211,84,0,0.3);
}
.filter-chip em {
  font-style: normal;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  margin-left: 6px;
}
.filter-chip:hover em, .filter-chip.active em { color: #fff; }

/* 规格表 */
.specs-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.specs-table th, .specs-table td { padding: 10px 12px; border-bottom: 1px solid #eef0f5; text-align: left; font-size: 14px; }
.specs-table th { background: #f9fafc; color: var(--color-text-light); width: 40%; font-weight: 500; }

/* 特性/标签 */
.feature-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.feature-list li { padding: 10px 16px; background: #fff; border-radius: 6px; border-left: 3px solid var(--color-accent); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 14px; background: var(--color-primary); color: #fff; border-radius: 14px; font-size: 13px; }

/* 标准表 */
.standards-table-wrap { overflow-x: auto; }
.standards-table { width: 100%; border-collapse: collapse; }
.standards-table th, .standards-table td { padding: 10px 12px; border-bottom: 1px solid #eef0f5; font-size: 13px; }
.standards-table th { background: var(--color-primary); color: #fff; text-align: left; }
.standards-table code { background: #f5f7fb; padding: 2px 6px; border-radius: 3px; color: var(--color-primary); font-weight: 600; }

/* 联系页 */
.contact-info-block { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 44px; height: 44px; background: var(--color-primary); color: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.info-item strong { display: block; margin-bottom: 4px; color: var(--color-primary); }
.info-item p { margin: 0; color: var(--color-text-light); font-size: 14px; }

.contact-form { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid #eef0f5; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .form-group { margin-bottom: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 8px 12px; border: 1px solid #eef0f5;
  border-radius: 4px; font-family: inherit; font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form label { display: block; font-size: 13px; margin-bottom: 4px; font-weight: 500; }
.req { color: var(--color-accent); }

/* 富文本 */
.prose { font-size: 15px; line-height: 1.8; color: var(--color-text); }
.prose p { margin-bottom: 12px; }

/* 案例网格 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-banner { padding: 40px 0 30px; }
  .page-banner h1, .page-banner .page-banner-title { font-size: 24px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}
/* ============================================================
   附加组件: 头部搜索 / 询价车 / 新闻卡片 / FAQ / 搜索结果
   ============================================================ */

/* ---- 头部搜索框 ---- */
.header-search{display:flex;align-items:center;margin-inline-start:auto;margin-inline-end:12px;border:1px solid #d5dae3;border-radius:22px;overflow:hidden;background:#fff;min-width:180px}
.header-search input{border:0;outline:0;padding:7px 14px;font-size:13px;flex:1;min-width:0;background:transparent}
.header-search button{border:0;background:transparent;cursor:pointer;padding:7px 12px;font-size:14px}
.header-search button:hover{background:#f39c12;color:#fff}
@media(max-width:960px){.header-search{order:9;width:100%;margin:10px 0 0}}

/* ---- 询价按钮 ---- */
.inquiry-btn{display:inline-flex;align-items:center;gap:4px;border:1px solid #f39c12;background:#fff;color:#e67e00;border-radius:5px;padding:5px 12px;font-size:12.5px;font-weight:600;cursor:pointer;transition:.15s}
.inquiry-btn:hover{background:#f39c12;color:#fff}
.inquiry-btn.in-cart{background:#f39c12;color:#fff}
.card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}

/* ---- 询价车悬浮按钮 ---- */
#inquiry-fab{position:fixed;bottom:24px;inset-inline-end:24px;z-index:900;display:inline-flex;align-items:center;gap:6px;background:#1a3a6c;color:#fff;border-radius:28px;padding:12px 18px;text-decoration:none;font-size:14px;font-weight:600;box-shadow:0 4px 16px rgba(26,58,108,.35)}
#inquiry-fab:hover{background:#f39c12}
#inquiry-badge{background:#f39c12;color:#fff;border-radius:10px;min-width:20px;text-align:center;padding:1px 6px;font-size:12px}
.inquiry-toast{position:fixed;bottom:80px;inset-inline-end:24px;z-index:950;background:#2c3e50;color:#fff;padding:10px 16px;border-radius:8px;font-size:13px;opacity:0;transform:translateY(8px);transition:.25s;max-width:280px}
.inquiry-toast.show{opacity:1;transform:none}

/* ---- 询价车抽屉 ---- */
#inquiry-drawer{position:fixed;top:0;inset-inline-end:0;height:100%;width:320px;max-width:92vw;background:#fff;box-shadow:-6px 0 24px rgba(0,0,0,.18);z-index:920;transform:translateX(110%);transition:.25s;display:flex;flex-direction:column;padding:18px;overflow-y:auto}
[dir=rtl] #inquiry-drawer{transform:translateX(-110%)}
#inquiry-drawer.open{transform:none}
.inquiry-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef0f5;padding-bottom:10px;margin-bottom:10px}
.inquiry-close{border:0;background:transparent;font-size:22px;cursor:pointer;color:#999}
.inquiry-list{list-style:none;padding:0;margin:0 0 12px}
.inquiry-list li{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #f2f4f8;font-size:13px}
.inquiry-list code{color:#1a3a6c}
.inquiry-rm{border:0;background:#fdeaea;color:#c0392b;border-radius:4px;width:24px;height:24px;cursor:pointer;flex:none}
.inquiry-empty{color:#999;font-size:13px}
.inquiry-go{display:block;text-align:center;text-decoration:none}

/* ---- 新闻卡片 ---- */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:900px){.news-grid{grid-template-columns:1fr}}
.news-card{display:block;background:#fff;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.08);padding:24px;text-decoration:none;color:inherit;border-top:3px solid #1a3a6c;transition:.15s}
.news-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(26,58,108,.15)}
.news-card h3{margin:8px 0 8px;font-size:16px;color:#1a3a6c}
.news-card p{font-size:13.5px;color:#666;margin:0}
.news-date{font-size:12px;color:#f39c12;font-weight:700}
.news-meta{color:#999;font-size:13px;margin-bottom:14px}
.prose .lead{font-size:17px;color:#444;font-weight:500}

/* ---- FAQ ---- */
.faq-list{margin-top:16px}
.faq-item{background:#fff;border-radius:8px;margin-bottom:10px;border:1px solid #e6e9f2;overflow:hidden}
.faq-item summary{padding:14px 18px;font-weight:600;color:#1a3a6c;cursor:pointer;list-style-position:inside}
.faq-item[open] summary{border-bottom:1px solid #eef0f5}
.faq-item p{padding:12px 18px;margin:0;color:#555;font-size:14.5px;line-height:1.7}

/* ---- 搜索页 ---- */
.search-hero-form{display:flex;gap:10px;max-width:640px;margin:0 auto 28px}
.search-hero-form input{flex:1;padding:12px 18px;border:2px solid #d5dae3;border-radius:8px;font-size:15px}
.search-hero-form input:focus{outline:none;border-color:#f39c12}
.search-summary{color:#666;font-size:14px}
.search-link-list{list-style:none;padding:0}
.search-link-list li{padding:9px 0;border-bottom:1px solid #f0f2f7}
.search-link-list a{text-decoration:none;color:#1a3a6c;font-weight:500}
.search-link-list a:hover{color:#f39c12}
.search-link-list code{background:#eef2f8;padding:2px 8px;border-radius:4px;margin-inline-end:8px}

/* ---- 联系页询价提示 ---- */
.inquiry-hint{margin-top:14px;font-size:13px;color:#888;background:#f7f9fc;border-radius:6px;padding:10px 14px}


/* ============================================================
   标准 ↔ 产品 关联组件
   ============================================================ */

/* 标准详情页：适用设备卡片网格 */
.std-product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:16px}
@media(max-width:700px){.std-product-grid{grid-template-columns:1fr}}
.std-product-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e6e9f2;border-radius:8px;text-decoration:none;color:inherit;background:#fff;transition:.15s}
.std-product-card:hover{border-color:#f39c12;box-shadow:0 4px 14px rgba(26,58,108,.10);transform:translateY(-2px)}
.std-prod-img{flex:none;width:64px;height:64px;border-radius:6px;background:#f7f9fc;display:flex;align-items:center;justify-content:center;overflow:hidden}
.std-prod-img img{max-width:100%;max-height:100%;object-fit:contain}
.std-prod-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.std-prod-body strong{font-size:14px;color:#1a3a6c;line-height:1.35}
.std-prod-body code{font-size:12px;color:#f39c12;font-weight:700}

/* 产品详情页：适用标准 chips */
.std-chip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:900px){.std-chip-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.std-chip-grid{grid-template-columns:1fr}}
.std-chip{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #e6e9f2;border-left:3px solid #1a3a6c;border-radius:6px;background:#fff;text-decoration:none;transition:.15s}
.std-chip:hover{border-left-color:#f39c12;background:#fffdf8}
.std-chip .std-org{font-size:11px;font-weight:700;color:#8a94a6;letter-spacing:.5px}
.std-chip code{font-size:14px;color:#1a3a6c;font-weight:700}
.std-chip .std-name{font-size:12.5px;color:#6b7484;line-height:1.45}

/* 标准列表：关联设备数 */
.std-count{font-size:13px;font-weight:600;color:#f39c12;text-decoration:none;white-space:nowrap}
.std-count:hover{text-decoration:underline}

/* ============================================================
   产品对比 & 询价表单 & 首页视觉增强
   ============================================================ */

/* ---- 对比按钮 ---- */
.compare-btn{display:inline-flex;align-items:center;gap:4px;border:1px solid #b9c2d4;background:#fff;color:#5b6b8c;border-radius:5px;padding:5px 12px;font-size:12.5px;font-weight:600;cursor:pointer;transition:.15s}
.compare-btn:hover{background:#5b6b8c;color:#fff;border-color:#5b6b8c}
.compare-btn.in-compare{background:#5b6b8c;color:#fff;border-color:#5b6b8c}
.card-actions{flex-wrap:wrap}

/* ---- 底部悬浮对比条 ---- */
#compare-bar{position:fixed;bottom:0;left:0;right:0;z-index:910;display:flex;align-items:center;gap:12px;background:#1f2d45;color:#fff;padding:10px 18px;box-shadow:0 -4px 18px rgba(0,0,0,.25);flex-wrap:wrap}
#compare-bar .cb-title{font-size:13px;font-weight:700;color:#f39c12;white-space:nowrap}
#compare-bar .cb-chips{display:flex;gap:8px;flex-wrap:wrap;flex:1}
#compare-bar .cb-chip{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border-radius:16px;padding:4px 12px;font-size:12.5px}
#compare-bar .cb-chip button{border:0;background:transparent;color:#aab4c8;cursor:pointer;font-size:15px;line-height:1;padding:0}
#compare-bar .cb-chip button:hover{color:#fff}
#compare-bar .cb-go{background:#f39c12;color:#1f2d45;text-decoration:none;font-weight:700;font-size:13px;border-radius:6px;padding:8px 16px;white-space:nowrap}
#compare-bar .cb-go:hover{background:#ffb142}
#compare-bar .cb-clear{border:0;background:transparent;color:#8fa0bd;cursor:pointer;font-size:16px}
#compare-bar .cb-clear:hover{color:#fff}
[dir=rtl] #compare-bar{flex-direction:row-reverse}

/* ---- 对比页表格 ---- */
.compare-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.08)}
.compare-table th,.compare-table td{border-bottom:1px solid #eef0f5;padding:12px 14px;text-align:start;font-size:13.5px;vertical-align:top}
.compare-table thead th{background:#f7f9fc}
.compare-table .cmp-rowhead{width:120px;color:#667;font-weight:600;background:#fbfcfe;white-space:nowrap}
.compare-table .cmp-head{text-align:center}
.compare-table .cmp-head img{width:150px;height:110px;object-fit:cover;border-radius:8px;border:1px solid #e6e9f2}
.compare-table .cmp-remove{display:block;margin:6px auto 0;border:1px solid #e3e6f0;background:#fff;color:#c0392b;border-radius:4px;font-size:12px;padding:3px 10px;cursor:pointer}
.compare-table .cmp-remove:hover{background:#fdeaea}
.compare-table .cmp-section th{background:#1a3a6c;color:#fff;font-size:14px;padding:10px 14px}
.compare-table .cmp-text{color:#555;line-height:1.7}
.compare-table code{background:#eef2f8;padding:2px 8px;border-radius:4px;color:#1a3a6c}
.cmp-stds{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:760px){
  .compare-table .cmp-rowhead{width:84px;font-size:12px}
  .compare-table th,.compare-table td{padding:8px 8px;font-size:12.5px}
  .compare-table .cmp-head img{width:96px;height:74px}
}

/* ---- 询价抽屉内嵌表单 ---- */
.inquiry-form{border-top:1px solid #eef0f5;margin-top:12px;padding-top:12px;display:flex;flex-direction:column;gap:8px}
.inquiry-form strong{color:#1a3a6c;font-size:14px}
.inquiry-form input,.inquiry-form textarea{width:100%;border:1px solid #d9dee8;border-radius:6px;padding:9px 12px;font-size:13px;font-family:inherit}
.inquiry-form input:focus,.inquiry-form textarea:focus{outline:none;border-color:#f39c12}
.inquiry-form .inquiry-hp{position:absolute;left:-9999px;height:0;width:0;opacity:0}
.inquiry-form .inquiry-go{width:100%;border:0;border-radius:6px;padding:11px;font-size:14px;cursor:pointer}
.inquiry-form .inquiry-go:disabled{opacity:.6;cursor:wait}
.inquiry-msg{font-size:12.5px;min-height:16px}
.inquiry-msg.ok{color:#16a34a}
.inquiry-msg.err{color:#dc2626}

/* ---- 首页标准库 CTA ---- */
.std-cta{background:linear-gradient(120deg,#1a3a6c 0%,#24497f 100%);padding:34px 0}
.std-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.std-cta h2{color:#fff;margin:0 0 6px;font-size:22px}
.std-cta p{color:#c6d2e6;margin:0;font-size:14px}
.std-cta strong{color:#f39c12;font-size:18px}
.std-cta .btn-outline{border-color:#f39c12;color:#f39c12;background:transparent}
.std-cta .btn-outline:hover{background:#f39c12;color:#1a3a6c}

/* ---- 分类卡片悬浮增强 ---- */
.cat-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(26,58,108,.16)}
.cat-card:hover .cat-icon{transform:scale(1.12)}
.cat-icon{transition:transform .18s ease}

/* ---- 产品卡片悬浮增强 ---- */
.product-card{transition:transform .18s ease,box-shadow .18s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(26,58,108,.14)}
.product-card .thumb-wrap img{transition:transform .3s ease}
.product-card:hover .thumb-wrap img{transform:scale(1.04)}

/* ---- Hero 渐变增强 ----
   注意：此处原为浅色渐变覆盖（#f5f8fd→#fdf3e3），但 .hero 的文字色仍是
   白色（.hero{color:#fff} / .hero h1{color:#fff}），浅底白字导致主标题不可见。
   已移除该覆盖，恢复设计系统原本的海军蓝渐变（见文件开头 .hero 规则）。 */

/* ============================================================
   产品页原创内容区块：测试原理 / 常见问题（FAQ）
   ============================================================ */
.principle-box{background:#fff;border-left:4px solid #f39c12;border-radius:0 8px 8px 0;padding:18px 20px;box-shadow:0 1px 6px rgba(26,58,108,.07);line-height:1.9}
[dir=rtl] .principle-box{border-left:0;border-right:4px solid #f39c12;border-radius:8px 0 0 8px}
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq-item{background:#fff;border:1px solid #e6e9f2;border-radius:8px;overflow:hidden;transition:box-shadow .18s ease,border-color .18s ease}
.faq-item[open]{border-color:#c9d4e6;box-shadow:0 4px 16px rgba(26,58,108,.10)}
.faq-item summary{cursor:pointer;padding:14px 18px;font-weight:600;color:#1a3a6c;font-size:14.5px;list-style:none;display:flex;align-items:flex-start;gap:10px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::before{content:'Q';flex:0 0 22px;height:22px;line-height:22px;text-align:center;background:#1a3a6c;color:#fff;border-radius:4px;font-size:12px;font-weight:700}
.faq-item[open] summary::before{background:#f39c12;color:#1f2d45}
.faq-item summary:hover{background:#f7f9fc}
.faq-answer{padding:0 18px 16px 50px;color:#4a5568;line-height:1.85;font-size:14px}
[dir=rtl] .faq-answer{padding:0 50px 16px 18px}

/* ============================================================
   布局兼容修复层 (Layout Repair Layer)
   ------------------------------------------------------------
   背景：前台 HTML（includes/header.php 与 index.php）实际使用的类名，
   与前期 CSS 中定义的类名不一致，导致以下区域完全没有样式：

     · .site-header / .header-inner   → 页头不吸顶、内容竖排
     · .topbar 的 .container 同为元素  → 左右两端不分离
     · .contact-info / .topbar-right
       / .lang-switcher / .admin-link  → 基样式被误写进 rtl.css，
                                          而 rtl.css 仅阿拉伯语才加载
     · .hero-text / .hero-buttons
       / .hero-trust                   → 首屏文案区无排版
     · .nav-menu a                     → 导航链接无内边距/悬停态
     · .badge                          → 产品卡分类角标无样式

   本层统一补齐，颜色与间距沿用站点设计系统
   （海军蓝 #1a3a6c + 橙黄 #f39c12，间距复用 --space-* 变量）。
   ============================================================ */

/* ---- 1. 页头容器（原 .header 规则不匹配 .site-header） ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.topbar-wrap {
  background: var(--color-primary-dark);
}
/* .topbar 与 .container 是同一个元素，原 `.topbar .container` 后代选择器不会命中 */
.topbar {
  justify-content: space-between;
}

/* ---- 2. topbar 左侧：联系方式 ---- */
.contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.9;
  white-space: nowrap;
}

/* ---- 3. topbar 右侧：语言切换 + 后台入口（原仅存在于 rtl.css） ---- */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switcher {
  position: relative;
  font-size: 13px;
}
.lang-current {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.5;
}
.lang-current:hover { background: rgba(255, 255, 255, 0.15); }
.lang-current .arrow {
  font-size: 9px;
  opacity: 0.7;
  transition: transform 0.2s;
}
.lang-switcher.open .lang-current .arrow { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 4px 0;
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s;
  z-index: 200;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li { margin: 0; }
.lang-menu a {
  display: block;
  padding: 7px 14px;
  color: #333 !important;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.lang-menu a:hover {
  background: #f5f7fb;
  color: var(--color-primary) !important;
}
.lang-menu .active a {
  background: rgba(26, 58, 108, 0.08);
  color: var(--color-primary) !important;
  font-weight: 600;
}
.admin-link {
  color: #fff !important;
  font-size: 13px;
  opacity: 0.85;
  white-space: nowrap;
}
.admin-link:hover {
  opacity: 1;
  color: var(--color-accent) !important;
}

/* ---- 4. 页头主行：Logo / 搜索 / 导航 横向排列 ---- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  min-height: var(--header-height);
}
/* Logo 内部结构（HTML 用裸 <div>，原 .logo-text 不匹配） */
.logo > div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo strong {
  font-size: var(--fs-xl);
  color: var(--color-primary);
}
.logo small {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* 导航链接（HTML 用裸 <a>，原 .nav-link 不匹配） */
.nav-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
  background: var(--color-bg-gray);
}

/* ---- 5. 首屏 Hero 文案区 ---- */
.hero-text {
  max-width: 620px;
  animation: fadeInUp 0.6s ease-out;
}
.hero-text h1 { color: var(--color-text-white); }
.hero-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero-buttons .btn {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.accent { color: var(--color-accent); }
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 420;
  object-fit: contain;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ---- 6. 产品卡分类角标 ---- */
.badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(26, 58, 108, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

/* ---- 7. 移动端导航展开：JS 切换的是 .open，原 CSS 只认 .active ---- */
@media (max-width: 960px) {
  .nav-menu.open,
  .nav-menu.active {
    transform: translateX(0);
  }
  .logo strong { font-size: var(--fs-lg); }
  .header-inner { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 768px) {
  .admin-link { display: none; }
  .topbar-right { gap: 8px; }
  .contact-info { gap: var(--space-3); }
  .contact-info span:last-child { display: none; }
}

/* ---- 8. 页脚（HTML 用 .site-footer / .footer-grid，原 CSS 只有 .footer / .footer-main，
        类名不匹配导致页脚无任何样式：单列堆叠 + 浏览器默认蓝链接） ---- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-8);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.site-footer h4 {
  color: var(--color-text-white);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-5);
  position: relative;
  padding-bottom: var(--space-3);
}
.site-footer h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}
.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin: 0;
  font-size: var(--fs-sm);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: var(--space-3); }
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}
.site-footer a:hover {
  color: var(--color-accent);
  padding-inline-start: 4px;
}
/* 页脚第 4 列联系方式：让 emoji 与文字间距稳定 */
.site-footer .footer-grid > div:last-child p { word-break: break-word; }
.footer-bottom {
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ---- 9. 中屏导航防溢出（961–1240px：9 个导航项 + Logo + 搜索塞不下，
        原布局在此区间出现横向滚动条、导航被截断）----
   处理方式：搜索框换行到第二行（复用移动端的 order:9 模式），
   导航项压缩内边距与字号。低于 960px 仍走汉堡抽屉菜单。 */
@media (min-width: 961px) and (max-width: 1240px) {
  .header-search {
    order: 9;
    width: 100%;
    max-width: 420px;
    margin: 10px 0 0;
  }
  .nav-menu { gap: 0; }
  .nav-menu a {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-sm);
  }
  .logo strong { font-size: var(--fs-lg); }
  .logo small { font-size: 10px; }
}

/* ---- 10. 产品中心下拉大菜单（Mega Menu）----
   面板锚定 .site-header 底部通栏展开（.mega-wrap 不设 relative，
   使 absolute 面板以 sticky 的页头为包含块），桌面悬停/聚焦展开，
   移动端点击展开。配色沿用海军蓝渐变 + 橙色强调。 */
.mega-trigger .caret {
  font-size: 9px;
  margin-inline-start: 3px;
  opacity: .75;
  display: inline-block;
  transition: transform var(--transition-fast);
}
.mega-wrap:hover .mega-trigger .caret,
.mega-wrap.open .mega-trigger .caret { transform: rotate(180deg); }
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 150;
  background: linear-gradient(180deg, #0f2f63 0%, #0a2350 100%);
  box-shadow: 0 26px 60px rgba(8, 25, 60, .45);
  border-top: 2px solid var(--color-accent);
}
.mega-wrap:hover .mega-panel,
.mega-wrap.open .mega-panel,
.mega-wrap:focus-within .mega-panel { display: grid; }
.mega-panel-inner,
.mega-panel > .mega-col-wrap {
  /* 兜底：直接子列布局 */
}
.mega-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7);
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: var(--space-7) var(--space-8) var(--space-6);
}
.mega-col { min-width: 0; }
.mega-group { margin-bottom: var(--space-5); }
.mega-group:last-child { margin-bottom: 0; }
.mega-group h5 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.mega-group h5 a { color: #fff; text-decoration: none; }
.mega-group h5 a:hover { color: var(--color-accent); }
.mega-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-group ul li { margin: 0 0 2px; }
.mega-group ul a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
  transition: color var(--transition-fast), padding-inline-start var(--transition-fast);
}
.mega-group ul a:hover {
  color: var(--color-accent);
  padding-inline-start: 6px;
}
.mega-all {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--color-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, .15);
  width: 100%;
  text-align: end;
}
.mega-all:hover { color: #fff; }
/* 触发项与普通导航项对齐（mega-trigger 复用 .nav-menu a 的样式） */
.nav-menu .mega-trigger {
  display: inline-flex;
  align-items: center;
}
/* 移动端：点击展开，面板静态铺满抽屉 */
@media (max-width: 960px) {
  .mega-panel {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-5);
    box-shadow: none;
  }
  .mega-wrap.open .mega-panel { display: block; }
  .mega-all { text-align: start; }
}

/* ============================================
   Golden Time 三层斜切 Header
   ============================================ */
.gt-header { position: relative; z-index: 100; }

.gt-top {
  position: relative;
  color: #fff;
  padding: 14px 0 18px;
}
.gt-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #005bac;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
  z-index: -1;
}
.gt-top-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.gt-company-line1 { font-size: 17px; font-weight: 500; letter-spacing: 0.3px; }
.gt-top-actions { display: flex; gap: 10px; }
.gt-icon-btn {
  width: 44px; height: 40px; background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6); border-radius: 4px;
  color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.gt-icon-btn:hover { background: rgba(255,255,255,0.15); }

.gt-search-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: none; background: #fff; border-radius: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18); overflow: hidden; z-index: 200;
}
.gt-search-panel.open { display: flex; align-items: center; }
.gt-search-panel input { border: none; outline: none; padding: 10px 18px; font-size: 14px; width: 260px; color: #333; }
.gt-search-panel button[type=submit] {
  border: none; background: #f39c12; color: #fff; padding: 10px 18px; cursor: pointer; font-weight: 600;
}
.gt-search-close { border: none; background: transparent; font-size: 22px; padding: 6px 12px; cursor: pointer; color: #666; }

.gt-lang-wrap { position: relative; }
.gt-lang-panel {
  position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 140px;
  display: none; background: #fff; border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18); overflow: hidden; z-index: 200;
}
/* 阿拉伯语 RTL：菜单在按钮左侧 */
html[lang="ar"] .gt-lang-panel { left: 0; right: auto; }
.gt-lang-panel.open { display: block; }
.gt-lang-panel a { display: block; padding: 10px 16px; color: #333; text-decoration: none; font-size: 14px; }
.gt-lang-panel a:hover { background: #f0f4f8; }
.gt-lang-panel a.active { background: #005bac; color: #fff; }

.gt-mid { background: #fff; padding: 22px 0; }
.gt-mid-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.gt-logo { display: flex; align-items: center; }
.gt-contact { display: flex; gap: 60px; }
.gt-contact-item { display: flex; align-items: center; gap: 14px; }
.gt-circle-icon {
  width: 54px; height: 54px; border: 2px solid #005bac; border-radius: 50%;
  color: #005bac; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gt-contact-text { display: flex; flex-direction: column; line-height: 1.4; }
.gt-contact-text strong { font-size: 13px; letter-spacing: 1px; color: #333; margin-bottom: 2px; }
.gt-contact-text span { font-size: 14px; color: #555; }

.gt-nav {
  position: relative;
  padding: 1px 0;
}
.gt-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #005bac;
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.gt-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: stretch; flex-wrap: wrap;
}
.gt-nav-link {
  display: inline-flex; align-items: center; padding: 14px 16px;
  color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.gt-nav-link:hover, .gt-nav-link.active { background: #f39c12; }
.gt-nav-link .caret { font-size: 10px; margin-left: 4px; }
.gt-hot { color: #ff6b6b; }

.gt-nav-mega { position: relative; }
.gt-mega-panel {
  display: none; position: absolute; top: 100%; left: 0; min-width: 560px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.15); padding: 20px; z-index: 150;
}
.gt-nav-mega:hover .gt-mega-panel, .gt-nav-mega.open .gt-mega-panel { display: block; }

.site-header { display: none !important; }

/* ============================================
   Hero 视频/图片轮播
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: #0a1a2a;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
img.hero-video {
  animation: kenburns 12s ease-out infinite alternate;
}
.hero-slide:nth-child(even) img.hero-video {
  animation-name: kenburns-reverse;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
@keyframes kenburns-reverse {
  from { transform: scale(1.1) translate(1.5%, 1.5%); }
  to   { transform: scale(1) translate(0, 0); }
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,26,42,0.75) 0%, rgba(10,26,42,0.4) 50%, rgba(10,26,42,0.1) 100%);
  display: flex;
  align-items: center;
  z-index: 3;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-text h1 {
  font-size: 48px;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
  margin: 0 0 24px;
  max-width: 700px;
}
/* 非首屏轮播的标题降级（SEO：每页仅一个 h1），样式与 h1 保持一致 */
.hero-text p.hero-sub-title {
  font-size: 48px;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
  margin: 0 0 24px;
  max-width: 700px;
}
@media (max-width: 992px) {
  .hero-text h1,
  .hero-text p.hero-sub-title { font-size: 34px; overflow-wrap: break-word; }
}
@media (max-width: 576px) {
  .hero-text h1,
  .hero-text p.hero-sub-title { font-size: 26px; }
}
.hero-text h1 .accent {
  color: #f39c12;
}
.hero-buttons .btn {
  display: inline-block;
  padding: 14px 36px;
  background: #f39c12;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  font-size: 16px;
}
.hero-buttons .btn:hover { background: #d9820f; }
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
}
.hero-dot.active {
  background: #f39c12;
}

/* ---- Mega Menu 三列深蓝面板 ---- */
.gt-mega-panel {
  left: 0;
  min-width: 900px;
  max-width: 960px;
  background: #005bac;
  padding: 24px 28px;
  display: none;
  position: absolute;
  top: 100%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  z-index: 200;
}
.gt-nav-mega:hover .gt-mega-panel,
.gt-nav-mega.open .gt-mega-panel { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.gt-mega-panel .mega-col {
  flex: 1 1 0;
  min-width: 220px;
}
.gt-mega-panel .mega-group h5 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffd591;
}
.gt-mega-panel .mega-group h5 a {
  color: #ffd591;
  text-decoration: none;
}
.gt-mega-panel .mega-group h5 a:hover { text-decoration: underline; }
.gt-mega-panel .mega-group ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.gt-mega-panel .mega-group ul li {
  margin: 0;
  padding: 3px 0;
}
.gt-mega-panel .mega-group ul li a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}
.gt-mega-panel .mega-group ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
.gt-mega-panel .mega-all {
  display: block;
  flex-basis: 100%;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #ffd591;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

/* ============================================
   首页产品分类 Tab（胶囊）+ 产品卡片
   ============================================ */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.cat-tab {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 50px;
  background: #f39c12;
  border: none;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.cat-tab:hover {
  background: #e08a00;
  transform: translateY(-1px);
}
.cat-tab.active {
  background: #d35400;
  color: #fff;
  box-shadow: 0 4px 12px rgba(211,84,0,0.3);
}

/* 产品卡片按钮：询价深蓝 + 加入询价篮白底蓝边 */
.product-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.product-card .inquiry-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #005bac;
  background: #005bac;
  color: #fff;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.product-card .inquiry-btn:hover { background: #004a8c; }
.product-card .compare-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #005bac;
  background: #fff;
  color: #005bac;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.product-card .compare-btn:hover { background: #f0f6fc; }

/* ============================================
   为什么选择我们（深蓝优势区）
   ============================================ */
.why-us {
  background: #0a2342;
  padding: 70px 0;
  color: #fff;
}
.why-us-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 50px;
}
.why-us-title .accent { color: #f39c12; }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 36px 28px;
  position: relative;
  transition: all 0.25s;
}
.why-card:hover {
  border-color: #f39c12;
  transform: translateY(-4px);
}
.why-icon {
  width: 64px; height: 64px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}
.why-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
@media (max-width: 900px) {
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-title { font-size: 26px; }
}

/* ============================================
   新闻卡片带图
   ============================================ */
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.news-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f4f8;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 18px 20px 22px; }
.news-body .news-date {
  color: #f39c12;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.news-body h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 10px;
  color: #1a3a6c;
}
.news-body p {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* 标准搜索框（欧美胶囊风 + 按钮） */
.std-search-bar {
  position: relative;
  margin: 0 0 28px;
  max-width: 680px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #005bac;
  border-radius: 50px;
  padding: 4px 4px 4px 24px;
  box-shadow: 0 6px 20px rgba(0,91,172,0.15);
  transition: box-shadow 0.2s;
}
.std-search-bar:focus-within {
  box-shadow: 0 8px 28px rgba(0,91,172,0.25);
}
.std-search-bar input {
  flex: 1;
  padding: 12px 12px 12px 36px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  color: #1f2937;
}
.std-search-bar input::placeholder { color: #9ca3af; }
.std-search-bar::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005bac' stroke-width='2.5'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.5' y2='16.5'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.std-search-btn {
  flex-shrink: 0;
  background: #005bac;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.std-search-btn:hover { background: #004a8c; }
.std-search-label { display: none; }

/* FAQ 展开修复：details open 属性时展开答案 */
.faq-item[open] .faq-answer {
  max-height: 500px;
  overflow: visible;
}

/* 标准卡片网格（参考 iptnet.eu 风格） */
.std-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.std-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4a4a4a 0%, #2c2c2c 100%);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.std-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 80%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.std-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.std-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.std-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  flex: 1;
}
.std-card-btn {
  display: inline-block;
  align-self: flex-start;
  background: #f39c12;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.std-card:hover .std-card-btn { background: #e08a00; }

/* ============================================
   iptnet.eu 统一卡片风格（产品 + 新闻）
   ============================================ */
.product-card {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  border: none !important;
}
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18) !important;
}
.product-card .product-image,
.product-card .thumb-wrap {
  background: #f5f5f5;
  height: 200px;
  overflow: hidden;
}
.product-card .product-image img,
.product-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .card-body {
  padding: 20px !important;
}
.product-card h3 {
  font-size: 17px !important;
  font-weight: 700;
  color: #1a3a6c !important;
  margin: 0 0 6px !important;
}
.product-card .model {
  font-size: 12px;
  color: #f39c12;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 13px;
  color: #666 !important;
  line-height: 1.6;
}
.product-card .card-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}
.product-card .inquiry-btn {
  background: #f39c12 !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  font-weight: 600;
  border: none !important;
}
.product-card .inquiry-btn:hover {
  background: #e08a00 !important;
}
.product-card .compare-btn {
  border-radius: 50px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  border: 1px solid #d8dee8 !important;
  color: #005bac !important;
}

/* 新闻卡片统一 */
.news-card {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: none !important;
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18) !important;
}
.news-card .news-thumb {
  height: 180px;
}
.news-body .news-date {
  color: #f39c12 !important;
  font-weight: 600;
}
.news-body h3 {
  color: #1a3a6c !important;
  font-weight: 700;
}

/* iptnet 风格产品页两栏布局 */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}
.products-sidebar {
  position: sticky;
  top: 20px;
}
.sidebar-box {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 24px;
}
.sidebar-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}
.sidebar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-chips .filter-chip {
  background: #d0d0d0;
  color: #333;
  font-size: 13px;
  padding: 7px 14px;
}
.sidebar-chips .filter-chip:hover {
  background: #b8b8b8;
}
.sidebar-chips .filter-chip.active {
  background: #f39c12;
  color: #fff;
}
.products-layout .product-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; }
  .products-layout .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 产品卡片标准区域 */
.prod-std-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
}
.prod-std-title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.prod-std-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.prod-std-list li {
  font-size: 12px;
  color: #666;
  padding-left: 14px;
  position: relative;
  line-height: 1.8;
}
.prod-std-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #f39c12;
  border-radius: 50%;
}
.learn-more-btn {
  display: inline-block;
  background: #f39c12;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.learn-more-btn:hover {
  background: #e08a00;
}

.sidebar-divider {
  border-top: 1px solid #e0e0e0;
  margin: 16px 0 0;
}

/* 产品详情页 iptnet 风格 */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.product-detail-img {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-img img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.product-detail-title {
  font-size: 28px;
  font-weight: 800;
  color: #333;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-detail-model {
  font-size: 14px;
  color: #f39c12;
  font-weight: 600;
  margin-bottom: 16px;
}
.product-detail-subtitle {
  color: #005bac;
  font-weight: 500;
  margin-bottom: 16px;
}
.product-detail-desc {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}
.product-detail-actions {
  margin-top: 20px;
}
.product-specs-section {
  margin-top: 30px;
}
.product-specs-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .product-detail-layout { grid-template-columns: 1fr; }
}

/* 产品详情页缩略图 */
.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.product-thumbs .thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: #f5f5f5;
}
.product-thumbs .thumb:hover { border-color: #f39c12; }
.product-thumbs .thumb.active { border-color: #f39c12; }

.product-detail-left {
  display: flex;
  flex-direction: column;
}

/* ===========================
   Installation & Training page
   =========================== */
.install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.install-step {
  display: flex;
  gap: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.install-step-num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.install-step-title {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}

.install-step p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
}

.req-table th,
.req-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border-light);
  text-align: left;
  vertical-align: top;
}

.req-table th {
  background: var(--color-bg-light);
  color: var(--color-text-secondary);
  font-weight: 600;
  width: 28%;
}

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

.install-card {
  padding: var(--space-6);
}

.install-card h3 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}

.install-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .install-steps { grid-template-columns: 1fr; }
}

/* ---- 大菜单：单分类限量后的「查看全部」收口 + 面板限高 ----
   每类默认 8 款（后台可调），超出部分在分类页查看，
   面板本身限高并内部滚动，避免小屏被下拉菜单占满。 */
.gt-mega-panel {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.gt-mega-panel .mega-more a {
  color: #ffd76a;
  font-size: 12px;
  font-weight: 600;
  padding-top: 6px;
}
.gt-mega-panel .mega-more a:hover { color: #fff; }

/* ============================================
   gt-header 移动端适配（外贸站手机端：不横向溢出）
   ============================================ */
@media (max-width: 768px) {
  .gt-top { padding: 7px 0 9px; }
  .gt-top-inner { padding: 0 14px; }
  .gt-company-line1 { font-size: 11px; max-width: 62vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gt-icon-btn { width: 34px; height: 32px; }

  .gt-mid { padding: 10px 0; }
  .gt-mid-inner { padding: 0 14px; gap: 10px; }
  .gt-logo svg { height: 32px; }
  .gt-contact { gap: 14px; }
  .gt-circle-icon { width: 36px; height: 36px; border-width: 1.5px; }
  .gt-circle-icon svg { width: 15px; height: 15px; }
  .gt-contact-text strong { font-size: 10px; letter-spacing: 0.5px; }
  .gt-contact-text span { font-size: 11px; }

  /* 导航：横向滑动，不再折行挤压 */
  .gt-nav-inner { padding: 0 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gt-nav-inner::-webkit-scrollbar { display: none; }
  .gt-nav-link { padding: 11px 12px; font-size: 13px; white-space: nowrap; border-right: none; }
}

@media (max-width: 576px) {
  /* 窄屏只保留电话，邮箱收进联系页 */
  .gt-contact { gap: 12px; }
  .gt-contact-item:nth-child(2) { display: none; }
}

/* ===== 产品详情：设备视频 / 多角度图集 / 资料下载 ===== */
.prod-video-wrap { max-width: 880px; margin-top: 10px; }
.prod-video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  display: block;
}

.prod-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.prod-gallery-item {
  margin: 0;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #eef0f5;
}
.prod-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.prod-gallery-item:hover img { transform: scale(1.04); }

.prod-download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9fafc;
  border: 1px solid #eef0f5;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 10px;
}
.prod-download-icon { font-size: 32px; }
.prod-download-info { flex: 1; min-width: 0; }
.prod-download-name { font-weight: 600; color: #333; word-break: break-all; }
.prod-download-meta { font-size: 13px; color: #888; margin-top: 2px; }

/* 图集灯箱 */
.prod-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.prod-lightbox.open { display: flex; }
.prod-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.prod-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 900px) {
  .prod-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .prod-gallery-grid { grid-template-columns: 1fr; }
  .prod-download-card { flex-wrap: wrap; }
}
