/* ==========================================================================
   BHUSHAN RUBBER INDUSTRIES - PRODUCTS CATALOG & ENGINEERING SUITE STYLES
   Custom UI recreation combining the 18-Category Master Grid from the official
   catalog and the 4-Page Quad Technical Brochure Architecture (Overview, Specs,
   Materials, Gallery & RFQ)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO BANNER & CAPABILITY HUD
   -------------------------------------------------------------------------- */
.bri-products-hero {
  position: relative;
  background: linear-gradient(135deg, #09131D 0%, #0F2438 60%, #152E46 100%);
  color: #FFFFFF;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 168, 135, 0.2);
}

.bri-products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.bri-products-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 135, 0.18) 0%, rgba(0, 153, 255, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.bri-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.bri-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 135, 0.15);
  border: 1px solid rgba(0, 168, 135, 0.4);
  color: #2DD4BF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.bri-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.bri-hero-title .text-gradient {
  background: linear-gradient(135deg, #2DD4BF 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bri-hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 640px;
}

/* 4 Official Feature Badges */
.bri-hero-features-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  margin-bottom: 2.25rem;
}

.bri-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.bri-feature-pill:hover {
  background: rgba(0, 168, 135, 0.12);
  border-color: rgba(0, 168, 135, 0.35);
  transform: translateY(-2px);
}

.bri-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #00A887 0%, #0099FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.bri-feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F1F5F9;
  line-height: 1.3;
}

.bri-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #00A887 0%, #008f72 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 168, 135, 0.35);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 135, 0.45);
  color: #FFFFFF;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Hero Showcase Right */
.bri-hero-showcase {
  position: relative;
}

.bri-showcase-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0A1622;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 168, 135, 0.25);
}

.bri-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bri-showcase-frame:hover .bri-showcase-img {
  transform: scale(1.03);
}

.bri-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(9, 19, 29, 0.95) 0%, rgba(9, 19, 29, 0.6) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.bri-showcase-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.bri-showcase-subtitle {
  font-size: 0.78rem;
  color: #94A3B8;
}

.bri-showcase-pill {
  background: rgba(0, 168, 135, 0.25);
  border: 1px solid rgba(0, 168, 135, 0.5);
  color: #2DD4BF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   COMMAND BAR: SEARCH, CHIPS & REAL-TIME COUNTER
   -------------------------------------------------------------------------- */
.bri-command-bar-section {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.5rem 0;
  position: sticky;
  top: 76px;
  z-index: 95;
  box-shadow: 0 4px 15px rgba(15, 36, 56, 0.04);
}

.bri-command-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.bri-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}

.bri-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
}

.bri-search-input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 2.8rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #0F2438;
  background: #FFFFFF;
  font-family: inherit;
  transition: all 0.25s ease;
}

.bri-search-input:focus {
  outline: none;
  border-color: #0066CC;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.bri-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: #E2E8F0;
  border: none;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  display: none;
}

.bri-search-clear.active {
  display: block;
}

.bri-command-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bri-counter-badge {
  background: #0F2438;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

/* Category Quick Jump Chips */
.bri-quick-chips-wrapper {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.bri-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.bri-chip-btn:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F2438;
}

.bri-chip-btn.active {
  background: #0066CC;
  border-color: #0066CC;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
}

/* --------------------------------------------------------------------------
   THE 18-CATEGORY MASTER CATALOG GRID
   -------------------------------------------------------------------------- */
.bri-18-cat-section {
  padding: 5rem 0 4.5rem;
  background: #FFFFFF;
  scroll-margin-top: 210px;
}

.bri-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.bri-section-tag {
  display: inline-block;
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  color: #0066CC;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.bri-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #0F2438;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bri-section-subtitle {
  font-size: 1.05rem;
  color: #64748B;
  line-height: 1.6;
}

/* 3-Column Responsive Grid */
.bri-18-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bri-cat-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.bri-cat-card:hover {
  transform: translateY(-6px);
  border-color: #0066CC;
  box-shadow: 0 16px 36px -8px rgba(15, 36, 56, 0.12), 0 0 0 1px #0066CC;
}

.bri-cat-card-header {
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bri-cat-num-pill {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.3);
}

.bri-cat-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0F2438;
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

.bri-cat-type-pill {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* Clean Product Image Container - Full Width Professional Presentation */
.bri-cat-media {
  height: 200px;
  width: 100%;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.bri-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bri-cat-card:hover .bri-cat-media img {
  transform: scale(1.06);
}

.bri-cat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bri-cat-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.bri-cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
}

.bri-cat-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0066CC;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.bri-cat-card:hover .bri-cat-cta {
  gap: 0.65rem;
  color: #004C99;
}

.bri-cat-quick-btn {
  background: transparent;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  position: relative;
  z-index: 2;
}

.bri-cat-quick-btn:hover {
  background: #0066CC;
  border-color: #0066CC;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   INTERACTIVE BRI COMPONENT ENGINEERING EXPLORER (QUAD ARCHITECTURE)
   -------------------------------------------------------------------------- */
.bri-quad-suite-section {
  background: #0B1927;
  color: #FFFFFF;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 168, 135, 0.2);
  border-bottom: 1px solid rgba(0, 168, 135, 0.2);
}

.bri-quad-suite-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.bri-suite-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.bri-suite-tag {
  display: inline-block;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #2DD4BF;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.bri-suite-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bri-suite-subtitle {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Component Selector Pill Strip */
.bri-component-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.bri-comp-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bri-comp-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.bri-comp-tab-btn.active {
  background: #0066CC;
  border-color: #0066CC;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

/* 4 Stage Sub-Navigation (The 4 Brochure Pages) */
.bri-stage-tabs-wrapper {
  background: rgba(15, 36, 56, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 2;
}

.bri-stage-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.25s ease;
  font-family: inherit;
}

.bri-stage-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.bri-stage-btn.active {
  background: linear-gradient(135deg, #00A887 0%, #008f72 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 168, 135, 0.3);
}

/* Interactive Stage Display Canvas */
.bri-explorer-canvas {
  background: #0F2438;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* View High-Res Scan Button Bar */
.bri-scan-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bri-scan-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bri-scan-title .badge-page {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0, 168, 135, 0.2);
  color: #2DD4BF;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.btn-open-lightbox {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-open-lightbox:hover {
  background: #00A887;
  border-color: #00A887;
}

/* Stage 1: Overview & Applications Layout */
.bri-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.bri-overview-hero h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.bri-overview-tagline {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2DD4BF;
  margin-bottom: 1rem;
}

.bri-overview-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
}

/* 5 Feature Cards */
.bri-overview-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.bri-ov-pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  border-radius: 8px;
  text-align: center;
}

.bri-ov-pillar-icon {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.bri-ov-pillar-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Sub-Types Grid */
.bri-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.bri-type-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.bri-type-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateY(-3px);
}

.bri-type-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.bri-type-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* Stage 2: Specifications & Blueprint Schematics */
.bri-specs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bri-blueprint-card {
  background: rgba(9, 19, 29, 0.85);
  border: 1px solid rgba(0, 168, 135, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

.bri-blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bri-blueprint-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2DD4BF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bri-blueprint-img {
  width: 100%;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 0.5rem;
  display: block;
}

.bri-specs-table-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.bri-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.bri-specs-table th {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  color: #2DD4BF;
  font-weight: 700;
}

.bri-specs-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
}

.bri-specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
}

.bri-specs-table td strong {
  color: #FFFFFF;
}

/* Design Options Checklist */
.bri-design-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bri-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #E2E8F0;
}

.bri-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00A887;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Stage 3: Polymer Material Matrix */
.bri-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bri-polymer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.bri-polymer-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateY(-2px);
}

.bri-polymer-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.poly-nr { background: #D97706; color: #FFFFFF; }
.poly-nbr { background: #1E293B; border: 1px solid #475569; color: #F8FAFC; }
.poly-epdm { background: #0284C7; color: #FFFFFF; }
.poly-cr { background: #B91C1C; color: #FFFFFF; }
.poly-silicone { background: #E2E8F0; color: #0F172A; }
.poly-fkm { background: #059669; color: #FFFFFF; }
.poly-sbr { background: #475569; color: #FFFFFF; }
.poly-hnbr { background: #334155; color: #FFFFFF; }
.poly-butyl { background: #64748B; color: #FFFFFF; }
.poly-pu { background: #7C3AED; color: #FFFFFF; }
.poly-ptfe { background: #0D9488; color: #FFFFFF; }
.poly-pvc { background: #D97706; color: #FFFFFF; }

.bri-polymer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.bri-polymer-prop {
  font-size: 0.82rem;
  color: #2DD4BF;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.bri-polymer-app {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* Stage 4: Multi-Angle Gallery & RFQ */
.bri-gallery-rfq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
}

.bri-gallery-preview-frame {
  background: #09131D;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bri-gallery-preview-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.bri-rfq-suite-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.75rem;
}

.bri-rfq-suite-box h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.bri-rfq-suite-box p {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.bri-form-field {
  margin-bottom: 0.9rem;
}

.bri-form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 0.35rem;
}

.bri-form-input,
.bri-form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 36, 56, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.bri-form-input:focus,
.bri-form-textarea:focus {
  outline: none;
  border-color: #2DD4BF;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.bri-form-textarea {
  resize: vertical;
  min-height: 75px;
}

.btn-suite-submit {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #00A887 0%, #008f72 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(0, 168, 135, 0.3);
}

.btn-suite-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 135, 0.45);
}

/* --------------------------------------------------------------------------
   FULL-RESOLUTION BROCHURE LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.bri-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 20, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.bri-lightbox-backdrop.active {
  display: flex;
}

.bri-lightbox-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  background: #09131D;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.bri-lightbox-header {
  padding: 1rem 1.5rem;
  background: #0F2438;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bri-lightbox-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.bri-lightbox-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.bri-lightbox-close:hover {
  color: #FFFFFF;
}

.bri-lightbox-body {
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bri-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   CUSTOM COMPONENT DRAWING UPLOAD BANNER
   -------------------------------------------------------------------------- */
.bri-custom-drawing-cta {
  background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
  color: #FFFFFF;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.bri-custom-drawing-cta::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -30%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bri-custom-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bri-custom-cta-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.bri-custom-cta-grid p {
  font-size: 1rem;
  line-height: 1.65;
  color: #E2E8F0;
  margin-bottom: 1.75rem;
}

.bri-cad-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.bri-cad-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.bri-custom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-cad-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: #0066CC;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-cad-primary:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #004C99;
}

.btn-cad-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.btn-cad-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bri-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .bri-18-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bri-overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .bri-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bri-specs-layout {
    grid-template-columns: 1fr;
  }
  
  .bri-gallery-rfq-grid {
    grid-template-columns: 1fr;
  }
  
  .bri-stage-tabs-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bri-custom-cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile */
  body, main {
    overflow-x: hidden;
  }

  /* Products Hero Section */
  .bri-products-hero {
    padding: 2.5rem 0 2rem;
  }

  .bri-hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
  }

  .bri-hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .bri-hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .bri-hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .bri-feature-pill {
    padding: 0.5rem 0.65rem;
  }

  .bri-feature-text {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .bri-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Command Bar: Non-sticky on mobile so it doesn't block viewport */
  .bri-command-bar-section {
    position: relative;
    top: auto;
    padding: 1.25rem 0;
    box-shadow: none;
    border-bottom: 1px solid #E2E8F0;
  }

  .bri-command-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .bri-search-wrapper {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .bri-search-input {
    font-size: 0.9rem;
    padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  }

  .bri-command-counter {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
  }

  /* Touch-scrolling Quick Chips */
  .bri-quick-chips-wrapper {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0 0.5rem;
    scrollbar-width: none;
  }

  .bri-quick-chips-wrapper::-webkit-scrollbar {
    display: none;
  }

  .bri-chip-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
    flex-shrink: 0;
  }

  /* 19-Category Grid on Mobile */
  .bri-18-cat-section {
    padding: 2.5rem 0 2rem;
    scroll-margin-top: 80px;
  }

  .bri-section-header {
    margin-bottom: 2rem;
    text-align: left;
  }

  .bri-section-tag {
    font-size: 0.72rem;
  }

  .bri-section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .bri-section-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  
  .bri-18-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bri-cat-card {
    border-radius: 10px;
  }

  .bri-cat-card-header {
    padding: 1rem 1rem 0.6rem;
    gap: 0.65rem;
  }

  .bri-cat-num-pill {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }

  .bri-cat-title {
    font-size: 1.05rem;
  }

  .bri-cat-media {
    height: 180px;
  }

  .bri-cat-body {
    padding: 1rem;
  }

  .bri-cat-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }

  .bri-cat-footer {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.75rem;
  }

  .bri-cat-cta {
    font-size: 0.85rem;
  }

  .bri-cat-quick-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  /* Quad Component Suite on Mobile */
  .bri-quad-suite-section {
    padding: 3rem 0;
  }

  .bri-suite-header {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .bri-suite-tag {
    font-size: 0.72rem;
  }

  .bri-suite-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .bri-suite-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Horizontal scrolling Component Tabs */
  .bri-component-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0 0.85rem;
    scrollbar-width: none;
    margin-bottom: 1.25rem;
  }

  .bri-component-nav::-webkit-scrollbar {
    display: none;
  }

  .bri-comp-tab-btn {
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
  }

  /* 2x2 Stage Tabs on Mobile */
  .bri-stage-tabs-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    padding: 0.35rem;
    margin-bottom: 1.5rem;
  }

  .bri-stage-btn {
    font-size: 0.78rem;
    padding: 0.55rem 0.35rem;
    text-align: center;
    flex-direction: column;
    gap: 0.2rem;
  }

  .bri-stage-btn span {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }

  .bri-explorer-canvas {
    padding: 1.25rem 0.85rem;
    border-radius: 12px;
  }

  .bri-scan-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
  }

  .bri-scan-title {
    font-size: 1.1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .btn-open-lightbox {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.65rem 0.85rem;
    text-align: center;
  }

  /* Stage 1 Mobile */
  .bri-overview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .bri-overview-hero h3 {
    font-size: 1.45rem;
  }

  .bri-overview-tagline {
    font-size: 0.82rem;
  }

  .bri-overview-desc {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .bri-overview-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .bri-ov-pillar {
    padding: 0.65rem 0.5rem;
  }

  .bri-types-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  /* Stage 2 Mobile (Blueprints & Specs) */
  .bri-specs-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bri-blueprint-card,
  .bri-specs-table-card {
    padding: 1rem;
    border-radius: 10px;
  }

  .bri-blueprint-frame img {
    max-height: 180px;
  }

  .bri-design-checklist {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .bri-check-item {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .bri-specs-table-card {
    overflow-x: auto;
  }

  .bri-specs-table {
    font-size: 0.78rem;
    min-width: 280px;
  }

  .bri-specs-table th,
  .bri-specs-table td {
    padding: 0.5rem 0.35rem;
    word-break: break-word;
  }

  /* Stage 3 Mobile (Polymers) */
  .bri-materials-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .bri-polymer-card {
    padding: 1rem;
  }

  .bri-polymer-name {
    font-size: 0.95rem;
  }

  .bri-polymer-app {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Stage 4 Mobile (Gallery & RFQ) */
  .bri-gallery-rfq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bri-rfq-suite-box {
    padding: 1.25rem 1rem;
    border-radius: 10px;
  }

  .bri-rfq-suite-box h4 {
    font-size: 1.2rem;
  }

  .bri-rfq-suite-box p {
    font-size: 0.82rem;
  }

  .btn-suite-submit {
    width: 100%;
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
  }

  /* Custom CAD Consultation Strip */
  .bri-custom-drawing-cta {
    padding: 2.5rem 0;
  }

  .bri-custom-cta-grid h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .bri-custom-cta-grid p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .bri-cad-badges {
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .bri-cad-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.55rem;
  }

  .bri-custom-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-cad-primary,
  .btn-cad-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bri-hero-title {
    font-size: 1.6rem;
  }

  .bri-overview-pillars {
    grid-template-columns: 1fr;
  }

  .bri-stage-tabs-wrapper {
    grid-template-columns: 1fr;
  }
}
