/* =============================================
   BSV ENHANCEMENTS — spectrsiz.by
   Stats · Trust · Professions · Norms
   ============================================= */

/* ---- ОБЩИЕ ---- */
.bsv-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.bsv-section-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--nv, #1B2A3B);
  text-align: center;
  margin: 0 0 8px;
}
.bsv-section-sub {
  font-size: 0.9375rem;
  color: var(--tm, #6b7280);
  text-align: center;
  margin: 0 0 40px;
}

/* =============================================
   STATS BAR
   ============================================= */
.bsv-stats-section {
  background: var(--nv, #1B2A3B);
  padding: 44px 24px;
  position: relative;
  overflow: hidden;
}
.bsv-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 50%, rgba(240,123,29,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 90% 50%, rgba(240,123,29,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.bsv-stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.bsv-stat-item {
  padding: 8px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.bsv-stat-item:last-child { border-right: none; }
.bsv-stat-icon {
  width: 50px; height: 50px;
  background: rgba(240,123,29,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  border: 1px solid rgba(240,123,29,0.25);
}
.bsv-stat-icon svg {
  width: 24px; height: 24px;
  stroke: #f07b1d; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.bsv-stat-number {
  font-size: 2.875rem;
  font-weight: 800;
  color: #f07b1d;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.bsv-stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.bsv-stat-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .bsv-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .bsv-stat-item:nth-child(2) { border-right: none; }
  .bsv-stat-item:nth-child(1), .bsv-stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.09);
    padding-bottom: 28px;
  }
  .bsv-stat-item:nth-child(3), .bsv-stat-item:nth-child(4) { padding-top: 28px; }
  .bsv-stat-number { font-size: 2.25rem; }
}
@media (max-width: 480px) {
  .bsv-stat-item { padding: 12px 16px; }
  .bsv-stat-number { font-size: 2rem; }
}

/* =============================================
   TRUST BAR
   ============================================= */
.bsv-trust-section {
  background: #fff;
  border-top: 3px solid #f07b1d;
  border-bottom: 1px solid var(--bd, #e5e0da);
  padding: 24px 24px;
}
.bsv-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.bsv-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 28px;
  border-right: 1px solid var(--bd, #e5e0da);
}
.bsv-trust-item:last-child { border-right: none; }
.bsv-trust-badge {
  width: 40px; height: 40px;
  background: var(--or-lt, #fff4e8);
  border: 1.5px solid rgba(240,123,29,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bsv-trust-badge svg {
  width: 20px; height: 20px;
  stroke: #f07b1d; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.bsv-trust-text { display: flex; flex-direction: column; gap: 1px; }
.bsv-trust-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--nv, #1B2A3B);
  line-height: 1.2;
  white-space: nowrap;
}
.bsv-trust-desc {
  font-size: 0.6875rem;
  color: var(--tm, #6b7280);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .bsv-trust-item { border-right: none; padding: 8px 16px; }
  .bsv-trust-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

/* =============================================
   PROFESSION SELECTOR
   ============================================= */
.bsv-professions-section {
  background: var(--cr, #fdfaf5);
  padding: 56px 24px;
  border-bottom: 1px solid var(--bd, #e5e0da);
}
.bsv-prof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto 28px;
}
.bsv-prof-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px 20px;
  background: #fff;
  border: 1.5px solid var(--bd, #e5e0da);
  border-radius: 12px;
  text-decoration: none;
  color: var(--nv, #1B2A3B);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bsv-prof-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240,123,29,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.bsv-prof-card:hover {
  border-color: #f07b1d;
  box-shadow: 0 6px 24px rgba(240,123,29,0.15);
  transform: translateY(-3px);
  color: #f07b1d;
}
.bsv-prof-card:hover::after { opacity: 1; }
.bsv-prof-icon {
  width: 60px; height: 60px;
  background: var(--or-lt, #fff4e8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  border: 2px solid rgba(240,123,29,0.15);
}
.bsv-prof-card:hover .bsv-prof-icon {
  background: #f07b1d;
  border-color: #f07b1d;
}
.bsv-prof-icon svg {
  width: 28px; height: 28px;
  stroke: #f07b1d; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s;
}
.bsv-prof-card:hover .bsv-prof-icon svg { stroke: #fff; }
.bsv-prof-name {
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  color: var(--nv, #1B2A3B);
  transition: color 0.2s;
}
.bsv-prof-card:hover .bsv-prof-name { color: #f07b1d; }
.bsv-prof-count {
  font-size: 0.75rem;
  color: var(--tm, #6b7280);
  font-weight: 600;
  transition: color 0.2s;
}
.bsv-prof-card:hover .bsv-prof-count { color: rgba(240,123,29,0.75); }
.bsv-prof-cta {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.bsv-prof-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: var(--nv, #1B2A3B);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.bsv-prof-cta-btn:hover {
  background: #f07b1d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(240,123,29,0.35);
}
.bsv-prof-cta-btn svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round;
  transition: transform 0.2s;
}
.bsv-prof-cta-btn:hover svg { transform: translateX(3px); }
@media (max-width: 960px) { .bsv-prof-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .bsv-prof-grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================
   НОРМЫ ВЫДАЧИ СИЗ
   ============================================= */
.bsv-norms-section {
  background: #f5f0e8;
  padding: 56px 24px;
}
.bsv-norms-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}
.bsv-norms-search-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--bd, #e5e0da);
  border-radius: 8px;
  overflow: hidden;
  min-width: 260px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bsv-norms-search-wrap:focus-within {
  border-color: #f07b1d;
  box-shadow: 0 0 0 3px rgba(240,123,29,0.12);
}
.bsv-norms-search-icon {
  padding: 0 12px 0 14px;
  color: var(--tm, #6b7280);
  display: flex; align-items: center;
}
.bsv-norms-search-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}
.bsv-norms-input {
  flex: 1;
  border: none; outline: none;
  padding: 11px 14px 11px 0;
  font-size: 0.9375rem;
  color: var(--nv, #1B2A3B);
  background: transparent;
}
.bsv-norms-input::placeholder { color: var(--tm, #6b7280); }
.bsv-norms-table {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,42,59,0.08);
}
.bsv-norms-thead {
  display: grid;
  grid-template-columns: 220px 1fr 140px;
  gap: 0;
  background: var(--nv, #1B2A3B);
  padding: 12px 24px;
}
.bsv-norms-thead span {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bsv-norm-row {
  display: grid;
  grid-template-columns: 220px 1fr 140px;
  align-items: center;
  gap: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--bd, #e5e0da);
  transition: background 0.15s;
}
.bsv-norm-row:last-child { border-bottom: none; }
.bsv-norm-row:hover { background: #fffaf5; }
.bsv-norm-row.bsv-hidden { display: none; }
.bsv-norm-prof {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bsv-norm-prof-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f07b1d;
  flex-shrink: 0;
}
.bsv-norm-prof-name {
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--nv, #1B2A3B);
  line-height: 1.3;
}
.bsv-norm-items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 16px;
}
.bsv-norm-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  background: var(--or-lt, #fff4e8);
  border: 1px solid rgba(240,123,29,0.22);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nv, #1B2A3B);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.bsv-norm-tag:hover {
  background: #f07b1d;
  border-color: #f07b1d;
  color: #fff;
}
.bsv-norm-gost {
  font-size: 0.6875rem;
  color: var(--tm, #6b7280);
  font-weight: 600;
  line-height: 1.5;
}
.bsv-norms-footer {
  text-align: center;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--tm, #6b7280);
}
.bsv-norms-footer a {
  color: #f07b1d;
  font-weight: 700;
  text-decoration: none;
}
.bsv-norms-footer a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .bsv-norms-thead { display: none; }
  .bsv-norm-row { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .bsv-norm-gost { display: none; }
  .bsv-norm-items { padding: 0; }
}

/* =============================================
   REDUCED MOTION & MOBILE
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .bsv-prof-card,
  .bsv-norm-tag { transition: none !important; transform: none !important; }
}

/* =============================================
   HERO BANNER OVERLAY (п.1)
   ============================================= */
.bsv-hero-wrap {
  position: relative;
}
.bsv-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg,rgba(27,42,59,0.82) 0%,rgba(27,42,59,0.55) 50%,transparent 85%);
  z-index: 15;
  pointer-events: none;
  padding: 0 5%;
}
.bsv-hero-text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bsv-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(240,123,29,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
}
.bsv-hero-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  opacity: 0;
}
.bsv-hero-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin: 0;
  opacity: 0;
}
.bsv-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #f07b1d;
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  pointer-events: auto;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
  opacity: 0;
}
.bsv-hero-cta:hover { background: #d96810; transform: translateY(-2px); color: #fff; }
@media (max-width: 768px) {
  .bsv-hero-overlay { background: rgba(27,42,59,0.72); padding: 0 20px; }
  .bsv-hero-title { font-size: 1.25rem; }
  .bsv-hero-sub { display: none; }
}

/* =============================================
   BREADCRUMB АНИМАЦИЯ (п.7)
   ============================================= */
@keyframes bsvBreadIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.breadcrumbs span,
.breadcrumbs a,
.breadcrumb span,
.breadcrumb a {
  display: inline-block;
  animation: bsvBreadIn 0.38s ease both;
}
.breadcrumbs span:nth-child(1), .breadcrumb span:nth-child(1),
.breadcrumbs a:nth-child(1),    .breadcrumb a:nth-child(1) { animation-delay: 0.05s; }
.breadcrumbs span:nth-child(2), .breadcrumb span:nth-child(2),
.breadcrumbs a:nth-child(2),    .breadcrumb a:nth-child(2) { animation-delay: 0.10s; }
.breadcrumbs span:nth-child(3), .breadcrumb span:nth-child(3),
.breadcrumbs a:nth-child(3),    .breadcrumb a:nth-child(3) { animation-delay: 0.15s; }
.breadcrumbs span:nth-child(4), .breadcrumb span:nth-child(4),
.breadcrumbs a:nth-child(4),    .breadcrumb a:nth-child(4) { animation-delay: 0.20s; }
.breadcrumbs span:nth-child(5), .breadcrumb span:nth-child(5),
.breadcrumbs a:nth-child(5),    .breadcrumb a:nth-child(5) { animation-delay: 0.25s; }

/* =============================================
   ЗАЩИТНЫЕ СВОЙСТВА НА КАРТОЧКЕ (п.9)
   ============================================= */
.item__protect {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 0 2px;
}
.bsv-pt {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 0.625rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid currentColor;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.bsv-pt:hover { opacity: 1; }
.bsv-pt--cold  { color: #3b82f6; background: #eff6ff; }
.bsv-pt--cut   { color: #ef4444; background: #fef2f2; }
.bsv-pt--mech  { color: #f97316; background: #fff7ed; }
.bsv-pt--chem  { color: #a855f7; background: #faf5ff; }
.bsv-pt--uv    { color: #ca8a04; background: #fefce8; }
.bsv-pt--sig   { color: #ea580c; background: #fff7ed; }
.bsv-pt--water { color: #0891b2; background: #ecfeff; }
.bsv-pt--gen   { color: #059669; background: #f0fdf4; }

/* =============================================
   БРЕНД-СЛАЙДЕР (п.10)
   ============================================= */
.bsv-brands-section {
  background: #fff;
  border-top: 1px solid var(--bd, #e5e0da);
  border-bottom: 1px solid var(--bd, #e5e0da);
  padding: 28px 0;
  overflow: hidden;
}
.bsv-brands-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tm, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.bsv-brands-viewport {
  overflow: hidden;
  position: relative;
}
.bsv-brands-viewport::before,
.bsv-brands-viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.bsv-brands-viewport::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.bsv-brands-viewport::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }
@keyframes bsvMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.bsv-brands-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: bsvMarquee 22s linear infinite;
  padding: 4px 0;
}
.bsv-brands-track:hover { animation-play-state: paused; }
.bsv-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--cr, #fdfaf5);
  border: 1.5px solid var(--bd, #e5e0da);
  border-radius: 10px;
  text-decoration: none;
  min-width: 160px;
  gap: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.bsv-brand-card:hover {
  border-color: #f07b1d;
  box-shadow: 0 4px 16px rgba(240,123,29,0.12);
}
.bsv-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--nv, #1B2A3B);
  white-space: nowrap;
}
.bsv-brand-cat {
  font-size: 0.6875rem;
  color: var(--tm, #6b7280);
  font-weight: 500;
  white-space: nowrap;
}
.bsv-brand-accent {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  margin-top: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .bsv-brands-track { animation: none; }
  @keyframes bsvBreadIn { from { opacity:1; transform:none; } }
}