/* =============================================================================
   PRODUCTS OVERVIEW PAGE — Page-specific components
   Page: assets/html/generated/products-overview.html
   URL:  /products/ (WP)

   Component Registry:
     C-132  Portfolio Stats Band        .pov-stats / .pov-stat-item
     C-133  Therapeutic Area Card       .pov-therapy-grid / .pov-therapy-card
     C-134  Dosage Form Showcase        .pov-dosage-strip / .pov-dosage-item

   Additional new sections (no component ID — structural containers only):
     POV-002  Portfolio Overview Grid   .pov-overview-grid
     POV-003  Manufacturing Feature     .pov-mfg-grid
     POV-004  Quality Band              .pov-quality-band
     POV-005  Featured Category Cards   .pov-featured-grid / .pov-featured-card
     POV-006  Global Reach Band         .pov-global-band
     POV-007  CTA Trio Band             .pov-cta-trio

   Reused global components (no duplication):
     C-06   hero--compact              hero.css / inner-hero.css
     C-12   .eyebrow                   base.css
     C-13   .section-head              layout.css
     C-23   .btn.*                     buttons.css
     C-44   .contact-band              contact.css
     C-51   .breadcrumb                inner-hero.css
     C-56   .downloads-grid .download-card  products-detail.css

   PROMPT: PRODUCT-001-P1
============================================================================= */


/* =============================================================================
   C-132 — PORTFOLIO STATS BAND (POV-001)
   Dark gradient band with 4 headline statistics.
   CMS: stats driven by ACF options page (ocp_portfolio_stats repeater)
============================================================================= */

.pov-stats {
  background: linear-gradient(105deg, #0b1f44, #0c4f8c 55%, #1062AC);
  padding: 48px 0;
  overflow: hidden;
  position: relative;
}

.pov-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,.06), transparent 35%),
    radial-gradient(circle at 90% 50%, rgba(255,255,255,.04), transparent 35%);
  pointer-events: none;
}

.pov-stats .wrap {
  position: relative;
  z-index: 1;
}

.pov-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pov-stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.pov-stat-item + .pov-stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}

.pov-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pov-stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 700;
  letter-spacing: 0;
}

.pov-stat-label {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--on-dark-reel-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* =============================================================================
   POV-002 — PORTFOLIO OVERVIEW GRID
   2-column: text left, highlight cards right.
   CMS: overview_headline, overview_body (WP Options)
        highlights repeater (icon_svg, headline, body)
============================================================================= */

.pov-overview {
  background: var(--white);
}

.pov-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.pov-overview-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
}

.pov-overview-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.pov-overview-text p:last-of-type {
  margin-bottom: 28px;
}

.pov-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pov-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.pov-highlight-item:hover {
  border-color: rgba(16, 98, 172, .25);
  box-shadow: var(--shadow-sm);
}

.pov-highlight-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 98, 172, .08);
  border-radius: var(--radius-sm);
  color: var(--blue);
}

.pov-highlight-body h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pov-highlight-body p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}


/* =============================================================================
   C-133 — THERAPEUTIC AREA CARD (POV-003)
   Grid of 8 therapeutic-area cards.
   CMS: therapeutic_areas taxonomy (WP) — card grid driven from tax terms.
        Each term: icon_svg (ACF), product_count (auto), catalogue_filter_url (auto)
============================================================================= */

.pov-therapy {
  background: var(--bg);
}

.pov-therapy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pov-therapy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-medium), transform var(--t-medium);
  position: relative;
}

.pov-therapy-card:hover {
  border-color: rgba(16, 98, 172, .3);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.pov-therapy-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(16, 98, 172, .07);
  border-radius: 12px;
  color: var(--blue);
  flex-shrink: 0;
  transition: background var(--t-fast);
}

.pov-therapy-card:hover .pov-therapy-ico {
  background: rgba(16, 98, 172, .13);
}

.pov-therapy-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.pov-therapy-desc {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.pov-therapy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

.pov-therapy-link svg {
  transition: transform var(--t-fast);
}

.pov-therapy-card:hover .pov-therapy-link svg {
  transform: translateX(3px);
}

.pov-therapy-footer {
  margin-top: 44px;
  text-align: center;
}


/* =============================================================================
   C-134 — DOSAGE FORM SHOWCASE STRIP (POV-004)
   Horizontal visual row of 8 dosage forms with icons and catalogue links.
   CMS: dosage_form taxonomy (WP) — strip items auto-generated from tax terms.
        Each term: icon_svg (ACF), display_name (term name), catalogue_filter_url (auto)
============================================================================= */

.pov-dosage {
  background: var(--white);
}

.pov-dosage-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.pov-dosage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  text-align: center;
}

.pov-dosage-item:hover {
  border-color: rgba(16, 98, 172, .3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pov-dosage-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--grad-cat-ico);
  border-radius: 14px;
  color: var(--blue);
  transition: background var(--t-fast);
}

.pov-dosage-item:hover .pov-dosage-ico {
  background: linear-gradient(135deg, rgba(16,98,172,.15), rgba(16,98,172,.1));
}

.pov-dosage-name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}


/* =============================================================================
   POV-005 — MANUFACTURING FEATURE SECTION
   2-column: bullet-point list (left) + image (right).
   CMS: section toggle data-section-enabled;
        points repeater (icon, headline, body); facility_image (ACF)
============================================================================= */

.pov-mfg {
  background: linear-gradient(180deg, #eef4fb, var(--white));
}

.pov-mfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pov-mfg-head {
  margin-bottom: 36px;
}

.pov-mfg-points {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pov-mfg-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pov-mfg-point-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-mfg-check);
  border-radius: 8px;
  color: #fff;
}

.pov-mfg-point-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.pov-mfg-point-body p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.pov-mfg-media .img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pov-mfg-media .img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}


/* =============================================================================
   POV-006 — QUALITY & REGULATORY BAND
   Blue-gradient dark section. 4 quality pillars in a 2×2 grid.
   Reuses gradient from --grad-quality.
   CMS: quality_items repeater (icon_svg, headline, body, certification_link)
============================================================================= */

.pov-quality-band {
  background: var(--grad-quality);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.pov-quality-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.08), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,.06), transparent 35%);
  pointer-events: none;
}

.pov-quality-band .wrap {
  position: relative;
  z-index: 1;
}

.pov-quality-band .section-head h2,
.pov-quality-band .section-head p {
  color: #fff;
}

.pov-quality-band .section-head p {
  opacity: .85;
}

.pov-quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pov-quality-item {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.pov-quality-item:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .25);
}

.pov-quality-item-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: #fff;
  margin-bottom: 18px;
}

.pov-quality-item h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pov-quality-item p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
  margin: 0;
}


/* =============================================================================
   POV-007 — FEATURED CATEGORY CARDS
   4 curated marketing cards showcasing product portfolio highlights.
   CMS: featured_product_categories repeater (accent_color, icon_svg,
        category_name, tagline, product_count, description, cta_label,
        cta_url — typically filtered catalogue URL)
============================================================================= */

.pov-featured {
  background: var(--bg);
}

.pov-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pov-featured-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-medium), border-color var(--t-fast), transform var(--t-medium);
}

.pov-featured-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(16, 98, 172, .25);
  transform: translateY(-3px);
}

.pov-featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--blue));
}

.pov-featured-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pov-featured-card-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(16, 98, 172, .07);
  color: var(--card-accent, var(--blue));
  flex-shrink: 0;
}

.pov-featured-card-meta {
  flex: 1;
}

.pov-featured-card-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 4px;
}

.pov-featured-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--card-accent, var(--blue));
  background: rgba(16, 98, 172, .08);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
}

.pov-featured-card-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
  margin-bottom: 24px;
}

.pov-featured-stat-row {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.pov-featured-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--card-accent, var(--blue));
}

.pov-featured-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}


/* =============================================================================
   POV-008 — GLOBAL REACH BAND
   Navy background. Export stats + market coverage + CTA.
   CMS: export_market_count, export_regions (repeater),
        export_tag_list (repeater: country/region names)
============================================================================= */

.pov-global-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pov-global-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 40%, rgba(16,98,172,.25), transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(62,65,148,.2), transparent 40%);
  pointer-events: none;
}

.pov-global-band .wrap {
  position: relative;
  z-index: 1;
}

.pov-global-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pov-global-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.pov-global-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--on-dark-reel-body);
  margin-bottom: 28px;
}

.pov-global-stat-row {
  display: flex;
  gap: 36px;
  margin-bottom: 32px;
}

.pov-global-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pov-global-stat span {
  font-size: 0.78rem;
  color: var(--on-dark-reel-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: block;
}

.pov-export-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pov-export-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}

.pov-export-more {
  font-size: 0.8rem;
  color: var(--on-dark-reel-label);
  align-self: center;
  margin-top: 4px;
}

.pov-global-map-placeholder {
  position: relative;
  height: 340px;
  background: rgba(16, 98, 172, .12);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pov-global-map-placeholder svg {
  width: 100%;
  height: 100%;
  opacity: .4;
}

.pov-global-map-note {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
}


/* =============================================================================
   POV-009 — CTA TRIO BAND
   3-card final call to action band on light background.
   CMS: cta_cards repeater (icon_svg, headline, body, cta_label, cta_url, variant)
============================================================================= */

.pov-cta-trio {
  background: linear-gradient(180deg, var(--white), #eef4fb);
}

.pov-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pov-cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-medium), transform var(--t-medium), border-color var(--t-fast);
}

.pov-cta-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(16, 98, 172, .2);
}

.pov-cta-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(16, 98, 172, .08);
  border-radius: 14px;
  color: var(--blue);
}

.pov-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.pov-cta-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}


/* =============================================================================
   RESPONSIVE — Tablet (≤960px)
============================================================================= */

@media (max-width: 960px) {

  /* Stats band: 2×2 */
  .pov-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pov-stat-item:nth-child(3)::before {
    display: none;
  }

  .pov-stat-item + .pov-stat-item::before {
    top: 8%;
    height: 84%;
  }

  /* Overview: single column */
  .pov-overview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Therapy: 2-col */
  .pov-therapy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Dosage: 4-col */
  .pov-dosage-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Manufacturing: single column */
  .pov-mfg-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pov-mfg-media {
    order: -1;
  }

  .pov-mfg-media .img-wrap img {
    height: 300px;
  }

  /* Quality: 2-col */
  .pov-quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Featured: single column */
  .pov-featured-grid {
    grid-template-columns: 1fr;
  }

  /* Global: single column */
  .pov-global-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pov-global-map-placeholder {
    height: 240px;
  }

  /* CTA trio: single column */
  .pov-cta-grid {
    grid-template-columns: 1fr;
  }

}


/* =============================================================================
   RESPONSIVE — Mobile (≤620px)
============================================================================= */

@media (max-width: 620px) {

  /* Stats: 2×2 compact */
  .pov-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pov-stat-num {
    font-size: 1.75rem;
  }

  /* Therapy: 1-col */
  .pov-therapy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Dosage: 2-col */
  .pov-dosage-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Quality: 1-col */
  .pov-quality-grid {
    grid-template-columns: 1fr;
  }

  /* Global stat row: col */
  .pov-global-stat-row {
    gap: 20px;
    flex-wrap: wrap;
  }

}
