/* ==========================================================================
   INNER PAGE BLOCKS — Quality, Industries, Resources
   Layout for classes used by these pages (breadcrumbs, 2-col blocks, step
   grid, standards cards, industry blocks, resource cards, CTA banner).
   ========================================================================== */

/* ---------- Shared ---------- */
.bg-white { background: #fff; }
.bg-grey { background: #F8F7FC; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .875rem; color: rgba(255,255,255,.75); }
.breadcrumb-list a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumb-list a:hover { color: #FFD600; }
.breadcrumb-separator { opacity: .5; }
.breadcrumb-item.active { color: #FFD600; }

.section-header-centered { text-align: center; max-width: 760px; margin: 0 auto 52px; display: flex; flex-direction: column; align-items: center; }
.section-header-centered .section-title, .section-intro .section-title, .section-quality-intro .section-title { margin: 12px 0 14px; }
.section-description { font-size: 1.05rem; line-height: 1.65; color: #666680; margin: 0; }
.section-intro > .container > .section-description,
.section-intro > .container > p { max-width: 860px; }
.section-intro .section-title { max-width: 860px; }

.lead-text { font-size: 1.12rem; line-height: 1.7; color: #2E2E48; font-weight: 500; }

/* icon sizing (fixes oversized inline SVGs) */
.feature-bullet svg, .notice-icon svg, .badge-icon svg, .cta-icon,
.standard-card-icon svg, .industry-icon-box svg, .category-group-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
.feature-bullet svg { width: 20px; height: 20px; color: #3B0A8F; }

/* ---------- Two-column intro (Quality) ---------- */
.two-col-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; }
.two-col-grid.align-center { align-items: center; }
.col-content > p { font-size: 1rem; line-height: 1.7; color: #4A4A68; margin: 0 0 16px; }
.col-content > .lead-text { color: #2E2E48; }
.highlight-feature-row { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #ECE8F5; }
.feature-bullet { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #1A1A2E; }
.feature-bullet svg { padding: 3px; border-radius: 50%; background: rgba(59,10,143,.1); width: 26px; height: 26px; }
.media-card-frame { position: relative; border-radius: 22px; overflow: hidden; border: 4px solid #F3F0FA; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.facility-img { display: block; width: 100%; height: auto; }
.media-card-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(255,255,255,.96); border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.badge-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #3B0A8F; color: #fff; }
.badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.badge-text strong { font-size: .95rem; color: #1A1A2E; }
.badge-text span { font-size: .8rem; color: #666680; }

/* ---------- Process steps ---------- */
.process-steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step-card { background: #fff; border: 1px solid #ECE8F5; border-top: 4px solid #3B0A8F; border-radius: 14px; padding: 24px 20px; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.process-step-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(59,10,143,.14); }
.process-step-card:nth-child(even) { border-top-color: #E50919; }
.step-number-wrap { margin-bottom: 14px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px; background: #3B0A8F; color: #fff; font-weight: 800; font-size: 1rem; }
.step-title { font-size: 1.05rem; font-weight: 700; color: #1A1A2E; margin: 0 0 8px; line-height: 1.3; }
.step-desc { font-size: .88rem; line-height: 1.6; color: #666680; margin: 0; }

/* ---------- Standards cards ---------- */
.standards-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.standards-cards-grid .standard-card { display: flex; flex-direction: column; padding: 32px; background: #fff; border: 1px solid #ECE8F5; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.standard-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.standard-card-icon svg { width: 28px; height: 28px; }
.standard-card-title { font-size: 1.2rem; font-weight: 700; color: #1A1A2E; margin: 0 0 10px; text-align: left; }
.standard-card-desc { font-size: .93rem; line-height: 1.65; color: #666680; margin: 0 0 18px; text-align: left; }
.standard-check-list { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #ECE8F5; display: grid; gap: 8px; text-align: left; }
.standard-check-list li { position: relative; padding-left: 26px; font-size: .9rem; color: #3A3A55; line-height: 1.45; }
.standard-check-list li::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; border-radius: 50%; background: #3B0A8F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat; }

.info-notice-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 22px 26px; background: #F4EEFF; border: 1px solid #DCCBFB; border-left: 5px solid #3B0A8F; border-radius: 12px; }
.notice-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: #3B0A8F; color: #fff; display: flex; align-items: center; justify-content: center; }
.notice-title { font-size: 1.02rem; font-weight: 700; color: #1A1A2E; margin: 0 0 6px; }
.notice-text p { font-size: .93rem; line-height: 1.6; color: #4A4A68; margin: 0; }

/* ---------- Sustainability ---------- */
.sustainability-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; padding: 44px; background: #fff; border: 1px solid #ECE8F5; border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,.05); }
.sustainability-header .section-title { margin: 12px 0 0; }
.sustainability-body p { font-size: 1rem; line-height: 1.75; color: #4A4A68; margin: 0 0 16px; }
.sustainability-body p:last-child { margin-bottom: 0; }

/* ---------- Industries ---------- */
.industries-stack { display: grid; gap: 28px; margin-top: 44px; }
.industry-block { padding: 36px; background: #fff; border: 1px solid #ECE8F5; border-radius: 18px; box-shadow: 0 4px 22px rgba(0,0,0,.05); scroll-margin-top: 110px; }
.industry-header-row { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #ECE8F5; }
.industry-icon-box { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.industry-icon-box svg { width: 32px; height: 32px; }
.industry-category-label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #E50919; margin-bottom: 4px; }
.industry-title { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; color: #1A1A2E; margin: 0; line-height: 1.2; }
.industry-body-content p { font-size: 1rem; line-height: 1.75; color: #4A4A68; margin: 0 0 14px; max-width: 980px; }
.industry-products-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; padding: 16px 20px; background: #F9F8FD; border-radius: 12px; }
.tags-label { font-size: .85rem; font-weight: 700; color: #1A1A2E; }
.tags-group { display: flex; flex-wrap: wrap; gap: 10px; }
.product-tag { display: inline-flex; padding: 7px 14px; border-radius: 50px; background: #fff; border: 1px solid #DCCBFB; color: #3B0A8F; font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.product-tag:hover { background: #3B0A8F; border-color: #3B0A8F; color: #fff; }

/* ---------- Resources ---------- */
.resources-container { display: grid; gap: 56px; margin-top: 48px; }
.category-group-header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 2px solid #ECE8F5; }
.category-group-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(59,10,143,.1); color: #3B0A8F; }
.category-group-icon svg { width: 28px; height: 28px; }
.category-group-title { font-size: 1.4rem; font-weight: 800; color: #1A1A2E; margin: 0 0 4px; }
.category-group-desc { font-size: .95rem; color: #666680; margin: 0; line-height: 1.55; }
.resource-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resources-container .resource-card { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #ECE8F5; border-radius: 14px; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.resources-container .resource-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(59,10,143,.12); }
.resource-card-type { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.format-badge, .tech-badge, .safety-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: #EDE4FF; color: #3B0A8F; }
.pdf-badge { background: rgba(229,9,25,.1); color: #C20715; }
.safety-badge { background: #FFF4CC; color: #7A5A00; }
.doc-code { font-size: .75rem; font-family: ui-monospace, Menlo, Consolas, monospace; color: #8888A0; }
.resource-card-title { font-size: 1.05rem; font-weight: 700; color: #1A1A2E; margin: 0 0 8px; line-height: 1.35; }
.resource-card-desc { font-size: .9rem; line-height: 1.6; color: #666680; margin: 0 0 18px; flex-grow: 1; }
.resource-card-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid #ECE8F5; }
.resource-card-footer .btn { width: 100%; justify-content: center; gap: 8px; font-size: .85rem; }
.btn-outline-primary { background: transparent; color: #3B0A8F; border: 2px solid #3B0A8F; }
.btn-outline-primary:hover { background: #3B0A8F; color: #fff; }
.btn-outline-dark { background: transparent; color: #1A1A2E; border: 2px solid #1A1A2E; }
.btn-outline-dark:hover { background: #1A1A2E; color: #fff; }
.btn-disabled { opacity: .6; cursor: not-allowed; pointer-events: none; border-style: dashed; }
.support-cta-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 8px; padding: 32px 36px; background: #F4EEFF; border: 1px solid #DCCBFB; border-radius: 18px; }
.support-title { font-size: 1.25rem; font-weight: 800; color: #1A1A2E; margin: 0 0 8px; }
.support-desc { font-size: .95rem; line-height: 1.6; color: #4A4A68; margin: 0; max-width: 640px; }
.support-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- CTA banner (shared by all three) ---------- */
.section-cta-banner { padding: 72px 0; background: #F8F7FC; }
.cta-banner-card { display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; align-items: center; padding: 52px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #2a0566 0%, #3B0A8F 55%, #5a1fbf 100%); box-shadow: 0 24px 50px rgba(59,10,143,.28); position: relative; overflow: hidden; }
.cta-banner-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,0,.25), transparent 70%); pointer-events: none; }
.cta-banner-content, .cta-banner-details { position: relative; z-index: 1; }
.cta-badge { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 50px; background: rgba(255,214,0,.15); border: 1px solid rgba(255,214,0,.4); color: #FFD600; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cta-banner-card .cta-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.2; color: #fff; margin: 0 0 14px; }
.cta-banner-card .cta-text { font-size: 1.02rem; line-height: 1.65; color: #E0D6F5; margin: 0 0 26px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-banner-details { display: grid; gap: 16px; }
.cta-detail-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; backdrop-filter: blur(6px); }
.cta-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #FFD600; color: #160438; }
.cta-detail-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #C4B5FD; margin-bottom: 2px; }
.cta-detail-value { color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; word-break: break-word; }
.cta-detail-value:hover { color: #FFD600; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .process-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 40px; }
  .standards-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sustainability-box { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .cta-banner-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .support-cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .process-steps-grid, .standards-cards-grid, .resource-cards-grid { grid-template-columns: 1fr; }
  .industry-block { padding: 24px 20px; }
  .industry-header-row { gap: 14px; }
  .industry-icon-box { width: 52px; height: 52px; }
  .section-cta-banner { padding: 48px 0; }
  .cta-banner-card { padding: 32px 22px; border-radius: 18px; }
  .cta-actions .btn, .support-cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .info-notice-box, .support-cta-box { padding: 20px; }
  .section-header-centered { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-step-card, .resources-container .resource-card { transition: none; }
}

/* Primary button must stand out on the purple banner */
.cta-banner-card .btn-primary { background: #E50919; border-color: #E50919; color: #fff; }
.cta-banner-card .btn-primary:hover { background: #c20715; border-color: #c20715; }

/* ---------- Product category pages ---------- */
.category-products-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.category-products-grid .product-card { box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.product-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; color: #6C38CC; background: linear-gradient(135deg, #EDE4FF, #D4C5FF); }
.product-card-placeholder svg { width: 56px; height: 56px; }
.product-card-image { height: 160px; }
.product-card-badge { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 50px; background: #E50919; color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.category-products-grid .product-card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 24px; gap: 10px; }
.product-card-name { font-size: 1.12rem; font-weight: 800; color: #1A1A2E; line-height: 1.3; margin: 4px 0 0; }
.product-card-sub { display: block; font-size: .92rem; font-weight: 600; color: #3B0A8F; margin-top: 2px; }
.product-card-desc { font-size: .92rem; line-height: 1.65; color: #666680; margin: 0; }
.product-applications { margin-top: auto; padding-top: 14px; border-top: 1px solid #ECE8F5; }
.product-applications strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #1A1A2E; margin-bottom: 8px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.app-tags li { padding: 5px 12px; border-radius: 50px; background: #F4EEFF; border: 1px solid #E3D5FB; color: #3B0A8F; font-size: .8rem; font-weight: 600; }
.app-tags-lg { justify-content: center; max-width: 900px; margin: 0 auto; gap: 12px; }
.app-tags-lg li { padding: 9px 18px; font-size: .92rem; background: #fff; }
.category-products-grid .product-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.related-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-cat-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; background: #fff; border: 1px solid #ECE8F5; border-radius: 16px; text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s, border-color .3s; }
.related-cat-card:hover { transform: translateY(-4px); border-color: #3B0A8F; box-shadow: 0 12px 28px rgba(59,10,143,.12); }
.related-cat-card .hp-card-tag { font-size: .72rem; font-weight: 700; color: #E50919; text-transform: uppercase; letter-spacing: .08em; }
.related-cat-card h3 { font-size: 1.2rem; font-weight: 700; color: #1A1A2E; margin: 0; }
.related-cat-card p { font-size: .92rem; line-height: 1.6; color: #666680; margin: 0; flex-grow: 1; }
.related-cat-card .hp-link { font-weight: 700; color: #3B0A8F; font-size: .92rem; }
@media (max-width: 1100px) { .category-products-grid, .related-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .category-products-grid, .related-cat-grid { grid-template-columns: 1fr; } }

/* ---------- Screen printing product cards ---------- */
.product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: #1A1A2E; color: #FFD600; letter-spacing: .04em; }
.category-products-grid .product-card-desc { flex-grow: 1; }
.quote-band { margin: 48px auto 0; max-width: 760px; text-align: center; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 700; font-style: italic; color: #3B0A8F; line-height: 1.4; }
.quote-band::before { content: ""; display: block; width: 56px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: #E50919; }

/* centred product grid for an odd number of cards */
.category-products-grid.products-center { display: flex; flex-wrap: wrap; justify-content: center; }
.category-products-grid.products-center > .product-card { flex: 0 1 calc((100% - 56px) / 3); }
@media (max-width: 1024px) { .category-products-grid.products-center > .product-card { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 640px) { .category-products-grid.products-center > .product-card { flex-basis: 100%; } }

.category-products-grid.products-single > .product-card { flex: 0 1 min(100%, 560px); }
