/* CP315: low-cost industrial polish. Hero selectors are intentionally excluded. */
:root {
  --pg-glass-top: rgba(16, 28, 44, .85);
  --pg-glass-bottom: rgba(10, 17, 25, .95);
  --pg-blue-glow: rgba(16, 156, 255, .24);
}

/* Dark-glass surfaces: gradients only, with no backdrop-filter or image assets. */
.pg-visual-system :not(:where(.hero, .hero *, .page-hero, .page-hero *, #home-hero, #home-hero *, .pgm-copy, .pgm-copy *, .pgm-hero-art, .pgm-hero-art *)):is(
  .finder-panel, .product-card, .cat-card, .model-card, .b2b-card, .detail-card,
  .compat-item, .pgd-text-category, .pgm-category-card, .sector-pill-card,
  .pg-home-stat-card, .pg-home-compare-card, .pg-bento-card, .pg-stress-card,
  .pg-swivel-demo, .pg-industry-card, .pg-partner-card, .pg-guide-card,
  .pg-review-card, .pg-interactive-card
) {
  background-image:
    radial-gradient(340px circle at var(--pg-spot-x, 50%) var(--pg-spot-y, 0%), rgba(16, 156, 255, .105), transparent 58%),
    linear-gradient(180deg, var(--pg-glass-top) 0%, var(--pg-glass-bottom) 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, .15) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 22px rgba(0, 0, 0, .13);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.pg-visual-system :not(:where(.hero, .hero *, .page-hero, .page-hero *, #home-hero, #home-hero *, .pgm-copy, .pgm-copy *, .pgm-hero-art, .pgm-hero-art *)):is(
  .finder-panel, .product-card, .cat-card, .model-card, .b2b-card, .detail-card,
  .compat-item, .pgd-text-category, .pgm-category-card, .sector-pill-card,
  .pg-home-stat-card, .pg-home-compare-card, .pg-bento-card, .pg-stress-card,
  .pg-swivel-demo, .pg-industry-card, .pg-partner-card, .pg-guide-card,
  .pg-review-card, .pg-interactive-card
):is(:hover, :focus-visible) {
  border-color: rgba(16, 156, 255, .78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 0 0 1px rgba(16, 156, 255, .17), 0 12px 28px -10px var(--pg-blue-glow);
}

/* Ambient light and CAD drafting lines only on added non-hero sections. */
.pg-blueprint-section {
  position: relative;
  isolation: isolate;
  background-color: #020811;
  background-image:
    radial-gradient(ellipse at 8% 4%, rgba(16, 156, 255, .12), transparent 44%),
    linear-gradient(rgba(16, 156, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 156, 255, .06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  border-block: 1px solid rgba(195, 210, 227, .1);
}

.pg-page-home .pg-home-trust-strip,
.pg-page-home .pg-home-protection-compare,
.pg-page-home .pgd-products#products,
.pg-page-home .sectors-marquee-section,
.pg-page-home .pg-home-final-cta {
  background-image: radial-gradient(ellipse at 8% 0%, rgba(16, 156, 255, .07), transparent 42%);
}

/* Bento grid */
.pg-b2b-bento {
  width: min(100% - 48px, 1240px);
  margin: 30px auto;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(195, 210, 227, .12);
  border-radius: 22px;
  color: #F3F6F8;
  box-sizing: border-box;
}
.pg-bento-heading { max-width: 780px; margin-bottom: 20px; }
.pg-bento-kicker, .pg-industrial-kicker, .pg-demo-eyebrow {
  color: #109CFF;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.pg-bento-heading h2, .pg-industrial-lab-heading h2, .pg-home-protection-compare > h2 {
  width: fit-content;
  max-width: 100%;
  margin: 6px 0 8px;
  color: #d8eaff;
  background: linear-gradient(105deg, #F3F6F8 0%, #c6e3fa 55%, #109CFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pg-bento-heading > p:last-child, .pg-industrial-lab-heading > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: #C3D2E3;
  line-height: 1.55;
}
.pg-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "models models glass stand"
    "models models logo vies"
    "dispatch dispatch dispatch dispatch";
  grid-auto-rows: minmax(154px, auto);
  gap: 14px;
}
.pg-bento-card {
  position: relative;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(195, 210, 227, .13);
  border-radius: 16px;
  color: #F3F6F8;
  overflow: hidden;
}
.pg-bento-card--models { grid-area: models; display: flex; flex-direction: column; justify-content: flex-end; min-height: 322px; padding: clamp(22px, 3vw, 34px); }
.pg-bento-card--glass { grid-area: glass; }
.pg-bento-card--stand { grid-area: stand; }
.pg-bento-card--logo { grid-area: logo; }
.pg-bento-card--vies { grid-area: vies; }
.pg-bento-card--dispatch { grid-area: dispatch; display: grid; grid-template-columns: auto minmax(80px, auto) minmax(150px, .6fr) minmax(200px, 1fr); align-items: center; gap: 16px; }
.pg-bento-icon, .pg-stress-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 156, 255, .3);
  border-radius: 12px;
  background: rgba(7, 21, 34, .92);
  color: #109CFF;
}
.pg-bento-icon svg, .pg-stress-icon svg { width: 23px; height: 23px; }
.pg-bento-value {
  display: block;
  margin: 0 0 5px;
  color: #F3F6F8;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .98;
  text-shadow: 0 0 25px rgba(16, 156, 255, .22);
  font-variant-numeric: tabular-nums;
}
.pg-bento-value span { color: #109CFF; }
.pg-bento-word { font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.04em; }
.pg-bento-card h3 { margin: 0 0 6px; color: #F3F6F8; font-size: 1rem; line-height: 1.3; }
.pg-bento-card p { margin: 0; color: #C3D2E3; font-size: .82rem; line-height: 1.5; }
.pg-bento-card--models p { max-width: 38ch; }
.pg-bento-card--dispatch .pg-bento-icon { margin: 0; }
.pg-bento-card--dispatch .pg-bento-value { margin: 0; }
.pg-bento-card--dispatch h3 { margin: 0; }

/* Product page: compact interactive swivel demo and technical checkpoints. */
.pg-industrial-lab {
  width: min(100% - 48px, 1240px);
  margin: 24px auto 34px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(195, 210, 227, .13);
  border-radius: 20px;
  box-sizing: border-box;
  color: #F3F6F8;
}
.pg-industrial-lab-heading { margin-bottom: 20px; }
.pg-industrial-lab-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: stretch; }
.pg-swivel-demo { min-width: 0; padding: 20px; border: 1px solid rgba(195, 210, 227, .13); border-radius: 16px; }
.pg-swivel-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-swivel-demo-head h3 { margin: 4px 0 0; color: #F3F6F8; font-size: 1rem; }
.pg-swivel-angle { color: #109CFF; font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pg-swivel-svg { display: block; width: min(100%, 390px); height: auto; margin: 3px auto 0; overflow: visible; }
.pg-swivel-range-labels { display: flex; justify-content: space-between; gap: 8px; color: #C3D2E3; font-size: .68rem; }
.pg-swivel-range-label { display: block; margin-top: 15px; color: #C3D2E3; font-size: .78rem; font-weight: 700; }
.pg-swivel-demo input[type="range"] { display: block; width: 100%; min-height: 28px; margin: 5px 0 0; accent-color: #109CFF; cursor: ew-resize; }
.pg-swivel-demo input[type="range"]:focus-visible { outline: 2px solid #109CFF; outline-offset: 3px; }
.pg-swivel-state { margin: 7px 0 0; color: #F3F6F8; font-weight: 700; font-size: .82rem; }
.pg-swivel-note, .pg-stress-disclaimer { margin: 8px 0 0; color: #C3D2E3; font-size: .72rem; line-height: 1.5; }
.pg-stress-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pg-stress-card { min-width: 0; padding: 17px; border: 1px solid rgba(195, 210, 227, .13); border-radius: 14px; }
.pg-stress-icon { width: 36px; height: 36px; margin-bottom: 12px; }
.pg-stress-card > strong { display: block; margin-bottom: 5px; color: #109CFF; font-size: 1rem; line-height: 1.25; }
.pg-stress-card h3 { margin: 0 0 5px; color: #F3F6F8; font-size: .92rem; line-height: 1.32; }
.pg-stress-card p { margin: 0; color: #C3D2E3; font-size: .75rem; line-height: 1.45; }
.pg-stress-disclaimer { text-align: right; }

/* Existing instant-search modal: visual polish only, same search behavior. */
.pg-home-search { background: rgba(2, 8, 17, .88) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.pg-home-search-card {
  background:
    radial-gradient(ellipse at 5% 0%, rgba(16, 156, 255, .14), transparent 48%),
    linear-gradient(180deg, rgba(16, 28, 44, .97), rgba(10, 17, 25, .99)) !important;
  border: 1px solid rgba(16, 156, 255, .4) !important;
  border-top: 2px solid rgba(16, 156, 255, .85) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .12) !important;
}

/* Blue action shimmer: hover-only, no looping animation and no Hero CTA selectors. */
.pg-visual-system :not(:where(.hero, .hero *, .page-hero, .page-hero *, #home-hero, #home-hero *, .pgm-copy, .pgm-copy *, .pgm-hero-art, .pgm-hero-art *)):is(.btn-primary, .cta, .guide-cta-link, .pg-home-quote, .pg-home-calc-cta, .pg-sticky-actions a, .pg-mobile-quote-cta) {
  background-image: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .2) 49%, transparent 60%) !important;
  background-size: 240% 100% !important;
  background-position: 130% 0 !important;
  box-shadow: 0 7px 22px rgba(16, 156, 255, .13);
  transition: background-position .42s ease, box-shadow .24s ease, border-color .24s ease;
}
.pg-page-home .pg-home-final-cta .pg-home-calc-cta {
  background-color: #109CFF !important;
  border-color: #109CFF !important;
  color: #FFFFFF !important;
}
.pg-page-home .pg-home-final-cta .pg-home-calc-cta:hover {
  background-color: #109cff !important;
  border-color: #109cff !important;
}
.pg-visual-system :not(:where(.hero, .hero *, .page-hero, .page-hero *, #home-hero, #home-hero *, .pgm-copy, .pgm-copy *, .pgm-hero-art, .pgm-hero-art *)):is(.btn-primary, .cta, .guide-cta-link, .pg-home-quote, .pg-home-calc-cta, .pg-sticky-actions a, .pg-mobile-quote-cta):is(:hover, :focus-visible) {
  background-position: -130% 0 !important;
  box-shadow: 0 0 0 1px rgba(16, 156, 255, .28), 0 10px 24px rgba(16, 156, 255, .28);
}

@media (max-width: 900px) {
  .pg-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "models models" "glass stand" "logo vies" "dispatch dispatch"; grid-auto-rows: minmax(150px, auto); }
  .pg-bento-card--models { min-height: 220px; }
  .pg-bento-card--dispatch { grid-template-columns: auto minmax(75px, auto) minmax(120px, .7fr) minmax(160px, 1fr); }
  .pg-industrial-lab-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pg-b2b-bento, .pg-industrial-lab { width: calc(100% - 28px); margin-block: 20px; padding: 17px; border-radius: 16px; }
  .pg-bento-grid { gap: 9px; grid-auto-rows: minmax(152px, auto); }
  .pg-bento-card { padding: 14px; border-radius: 13px; }
  .pg-bento-card--models { min-height: 190px; padding: 19px; }
  .pg-bento-icon { width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; }
  .pg-bento-icon svg { width: 20px; height: 20px; }
  .pg-bento-value { font-size: 2.1rem; }
  .pg-bento-word { font-size: 1.35rem; }
  .pg-bento-card h3 { font-size: .84rem; }
  .pg-bento-card p { font-size: .7rem; }
  .pg-bento-card--dispatch { grid-template-columns: auto minmax(50px, auto) 1fr; gap: 8px; }
  .pg-bento-card--dispatch p { grid-column: 1 / -1; }
  .pg-industrial-lab-grid { gap: 10px; }
  .pg-swivel-demo { padding: 14px; }
  .pg-stress-grid { gap: 8px; }
  .pg-stress-card { padding: 12px; }
  .pg-stress-card p { font-size: .68rem; }
  .pg-swivel-range-labels { font-size: .6rem; }
  .pg-stress-disclaimer { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-visual-system :not(:where(.hero, .hero *, .page-hero, .page-hero *, #home-hero, #home-hero *, .pgm-copy, .pgm-copy *, .pgm-hero-art, .pgm-hero-art *)):is(.finder-panel, .product-card, .cat-card, .model-card, .b2b-card, .detail-card, .compat-item, .pgd-text-category, .pgm-category-card, .sector-pill-card, .pg-home-stat-card, .pg-home-compare-card, .pg-bento-card, .pg-stress-card, .pg-swivel-demo, .pg-industry-card, .pg-partner-card, .pg-guide-card, .pg-review-card, .pg-interactive-card),
  .pg-visual-system :not(:where(.hero, .hero *, .page-hero, .page-hero *, #home-hero, #home-hero *, .pgm-copy, .pgm-copy *, .pgm-hero-art, .pgm-hero-art *)):is(.btn-primary, .cta, .guide-cta-link, .pg-home-quote, .pg-home-calc-cta, .pg-sticky-actions a, .pg-mobile-quote-cta) { transition: none !important; }
}

.pg-home-search .pg-home-search-results { max-height: min(40dvh, 320px) !important; overflow-y: auto; overscroll-behavior: contain; }
