/* ============================================
   Certifications & Quality Page
   ============================================ */

/* Hero */
.cert-hero {
  background-color: var(--bg-dark);
  padding-top: var(--navbar-height);
  text-align: center;
}

.cert-hero__content {
  padding: var(--space-4xl) 0;
  max-width: 750px;
  margin: 0 auto;
}

.cert-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.cert-hero__title span { color: var(--brand-red); }

.cert-hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* Quality Process Steps */
.quality-process { padding: var(--space-section) 0; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background-color: var(--bg-beige);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  color: var(--brand-red);
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(139, 30, 30, 0.08);
  border-radius: var(--radius-lg);
}

.process-step__content h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
}

.process-step__content p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

/* Certifications Grid */
.certs-grid-section { padding: var(--space-section) 0; }

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

.cert-detail-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.cert-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cert-detail-card__logo {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-detail-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-detail-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.cert-detail-card p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

/* Testing Grid */
.testing-section { padding: var(--space-section) 0; }

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

.testing-card {
  background-color: var(--bg-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform var(--transition-base);
}

.testing-card:hover { transform: translateY(-4px); }

.testing-card__icon {
  width: 56px;
  height: 56px;
  background-color: var(--brand-red);
  color: var(--text-white);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.testing-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.testing-card p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

/* CTA (shared with product pages) */
.product-cta {
  padding: var(--space-4xl) 0;
  background-color: var(--brand-red);
  text-align: center;
}
.product-cta__title { font-size: var(--fs-h2); color: var(--text-white); margin-bottom: var(--space-md); }
.product-cta__text { font-size: var(--fs-body-lg); color: rgba(255,255,255,0.85); margin-bottom: var(--space-2xl); max-width: 600px; margin-left: auto; margin-right: auto; }
.product-cta__actions { display: flex; align-items: center; justify-content: center; gap: var(--space-lg); flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .testing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cert-hero__content { padding: var(--space-2xl) 0; }
  .certs-grid { grid-template-columns: 1fr; }
  .testing-grid { grid-template-columns: 1fr; }
  .process-step { flex-direction: column; gap: var(--space-md); }
  .product-cta__actions { flex-direction: column; align-items: stretch; }
}
