/* Inner pages: same instrument surface as the homepage. */

.page-hero__shade,
.about-hero__shade {
  background:
    linear-gradient(100deg, rgba(7, 9, 12, 0.55) 0%, rgba(7, 9, 12, 0.28) 46%, rgba(7, 9, 12, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.04), rgba(7, 9, 12, 0.22));
}

.page-hero__kicker,
.section--gray .about-kicker,
.section--ink .about-kicker {
  color: #7eb6ff;
}

.page-hero__title,
.about-hero__title {
  letter-spacing: -0.03em;
}

/* Catalog and reading pages sit light so white cards stay readable. */
.page-products,
.page-product-detail,
.page-applications,
.page-solutions,
.page-factory,
.page-cert,
.page-news {
  background: #f3f5f8;
}

/* Dark bands. Titles go light; cards keep their own white surface. */
.page-about .section--gray,
.page-about .section--ink,
.app-section--gray,
.sol-section--gray,
.factory-section--gray {
  background: #0c0f14;
}

.page-about .section--gray .section-title,
.page-about .section--ink .section-title,
.app-section--gray .section-title,
.sol-section--gray .section-title,
.factory-section--gray .section-title {
  color: #fff;
}

.page-about .section--gray .section-desc,
.page-about .section--ink .section-desc,
.app-section--gray .section-desc,
.sol-section--gray .section-desc,
.factory-section--gray .section-desc,
.app-section--gray .app-copy p,
.sol-section--gray .sol-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.app-card,
.sol-card,
.factory-card,
.cert-card,
.product-list-card,
.news-item,
.portfolio-card,
.why-card,
.cap-card,
.process-card {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.app-card:hover,
.sol-card:hover,
.factory-card:hover,
.cert-card:hover,
.product-list-card:hover,
.news-item:hover,
.portfolio-card:hover,
.why-card:hover,
.cap-card:hover,
.process-card:hover {
  border-color: #0066ff;
}

/* Catalog sidebar: light rail, tighter type and aligned thumbs. */
.page-products:not(.page-article) .sidebar {
  background: #fff;
  padding: 20px 18px 16px;
  border: 1px solid #e6e8ec;
}

.page-products:not(.page-article) .sidebar-widget {
  margin-bottom: 22px;
  padding-bottom: 6px;
}

.page-products:not(.page-article) .sidebar-widget__title {
  margin-bottom: 10px;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-products:not(.page-article) .sidebar-widget__title::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 8px;
  background: #0066ff;
}

.page-products:not(.page-article) .sidebar-menu a {
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.35;
}

.page-products:not(.page-article) .sidebar-menu a.active {
  color: #0066ff;
}

.page-products .featured-mini {
  gap: 14px;
}

.page-products .featured-mini__item {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.page-products .featured-mini__image {
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: #f4f6f8;
  border: 1px solid #e6e8ec;
}

.page-products .featured-mini__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* FAQ: light page, even rows. */
.page-faq {
  background: #f3f5f8;
}

.page-faq .faq-accordion {
  max-width: 880px;
  margin-inline: auto;
  border-color: #e6e8ec;
  box-shadow: none;
}

.page-faq .faq-item__question {
  padding: 18px 48px 18px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.page-faq .faq-item__question::after {
  right: 18px;
  font-size: 22px;
}

.page-faq .faq-item.is-open {
  box-shadow: inset 3px 0 0 #0066ff;
}

.page-faq .faq-item.is-open .faq-item__question,
.page-faq .faq-item__question[aria-expanded="true"] {
  color: #0066ff;
}

.page-faq .faq-item__answer p {
  padding: 0 48px 18px 20px;
  font-size: 15px;
  line-height: 1.7;
}

/* Contact: light page, aligned form and info. */
.page-contact {
  background: #f3f5f8;
}

.page-contact .contact-form,
.page-contact .contact-quick-info,
.page-contact .contact-map {
  border-color: #e6e8ec;
  background: #fff;
  box-shadow: none;
}

.page-contact .contact-form,
.page-contact .contact-quick-info {
  padding: 24px 24px 26px;
}

.page-contact .contact-form__title,
.page-contact .contact-quick-info__title {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e8ec;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.page-contact .contact-field label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.page-contact .contact-info-card h3 {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #616161;
}

.page-contact .contact-map iframe {
  height: 280px;
}

/* Certificates stay on the light gray band, with a consistent image frame. */
.cert-section--gray {
  background: #f6f7f8;
}

.cert-section--gray .section-title,
.cert-section--gray .section-desc {
  color: #1a1a1a;
}

.cert-section--gray .section-desc {
  color: #616161;
}

.cert-grid {
  gap: 20px;
}

.cert-card img {
  padding: 18px 18px 0;
  background: #f7f8fa;
  object-fit: contain;
}

.cert-card__body {
  padding: 14px 18px 18px;
}

.cert-card h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.product-gallery,
.product-summary {
  border-color: #d7dee8;
}

@media (max-width: 992px) {
  .page-products:not(.page-article) .sidebar {
    margin-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .page-faq .faq-item__question {
    padding: 16px 40px 16px 16px;
    font-size: 15px;
  }

  .page-faq .faq-item__answer p {
    padding: 0 16px 16px;
  }

  .page-contact .contact-form,
  .page-contact .contact-quick-info {
    padding: 20px 16px;
  }
}
