/* =============================================================
   products.css — All Products page styles
   All rem values based on global.css base (19px)
   Reuses (from services.css / global.css, loaded alongside this file):
     .container, .btn, .btn-primary, .btn-secondary,
     .sv-section-title, .sv-services-section, .sv-services-grid,
     .sv-service-thumb, .sv-service-title, .sv-service-desc, .sv-service-link,
     .sv-expertise-section (+ children), .sv-process-section (+ children),
     .cta-section / .cta-inner / .cta-content / .cta-heading / .cta-btn
   This file only holds what's unique to the Products page: the hero,
   the product-card accent treatment, and icon sizing for the dynamic
   expertise stat cards (services.css only sizes inline <svg> icons —
   these come from an uploaded FileField, rendered as <img>).
   ============================================================= */

/* ---------------------------------------------------------------
   0. EXPERTISE STAT ICONS (uploaded images, not inline svg)
--------------------------------------------------------------- */
.sv-expertise-section .sv-stat-icon img {
  width: 1.684rem;
  height: 1.684rem;
  object-fit: contain;
}

/* ---------------------------------------------------------------
   1. HERO
   Same layout as .sv-hero (services.css) — kept as its own
   pr- prefixed block per the page-scoped CSS convention.
--------------------------------------------------------------- */
.pr-hero {
  position: relative;
  width: 100%;
  min-height: 610px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 15rem 0 5rem;
  color: #ffffff;
}

.pr-hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.pr-hero-bg-svg svg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.85;
  filter: blur(8px);
}

.pr-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.pr-hero-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 3.75rem; /* 60px / 19 */
  line-height: 4.316rem; /* 82px / 19 */
  color: var(--base-dark);
  max-width: 52rem;
}

.pr-hero-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 20px */
  line-height: 1.363rem;
  color: var(--text-sub);
  max-width: 52rem;
}

.pr-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.632rem; /* 50px */
  padding: 0 3.895rem; /* 74px */
  border-radius: 1.579rem;
  background-color: var(--button-primary-blue);
  color: var(--bg-white);
  font-family: var(--font-primary);
  font-size: 0.842rem;
  font-weight: 400;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.pr-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 75, 129, 0.3);
}

@media (max-width: 768px) {
  .pr-hero {
    padding: 10rem 0 4rem;
    min-height: 520px;
  }
  .pr-hero-title { font-size: 2rem; line-height: 1.2; }
  .pr-hero { padding: 8rem 0 3rem; }
}

/* ---------------------------------------------------------------
   2. PRODUCT CARDS
   Reuses .sv-service-card layout/spacing exactly (thumb, title,
   desc, learn-more link) via the shared services.css rules on
   .sv-service-thumb / .sv-service-title / .sv-service-desc /
   .sv-service-link. This block only overrides the card shell +
   accent bar color to distinguish products (blue) from services
   (cyan).
--------------------------------------------------------------- */
.pr-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid #f3f4f6;
  border-radius: 0.842rem; /* 16px */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  padding: 1.789rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-theme .pr-product-card {
  border: 1px solid var(--border-gray);
}

.pr-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 71, 230, 0.15);
}

.pr-product-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0.311rem; /* 4px */
  height: 100%;
  background-color: #1447e6;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.pr-product-card:hover::before {
  transform: scaleY(1);
}

/* .pr-product-card:hover .sv-service-link svg {
  transform: translate(2px, -2px);
} */

.pt-number {
    color: #68346D;
}

.pt-stat-text {
    width: 14.12475rem;
    flex-shrink: 0;
    color: var(--text-sub);
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.52344rem;
}