/* bv26.css — Beach Insurance Transportation / Trucking Insurance (Archetype A1: Interactive Hotspot Anatomy Canvas)
   Coastal Carolinas sunlit editorial palette. Strictly scoped to .bv26-* classes. Zero CLS, WCAG 2.2 AA. */

.bv26-shell {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.bv26-canvas-card {
  background: var(--bv-paper, #FFFFFF);
  border: 1px solid var(--bv-line-strong, rgba(13, 59, 110, 0.22));
  border-radius: 20px;
  box-shadow: var(--bv-shadow, 0 18px 40px -18px rgba(13, 59, 110, 0.18));
  overflow: hidden;
  min-width: 0;
}

.bv26-canvas-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1.25rem;
  background: linear-gradient(90deg, #F5F0E8 0%, #EEF4FB 100%);
  border-bottom: 1px solid var(--bv-line, rgba(13, 59, 110, 0.14));
}

.bv26-route-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0D3B6E;
  background: #D4A017;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.bv26-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

/* Locked aspect-ratio stage guarantees 0.000 CLS */
.bv26-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 440;
  background: linear-gradient(180deg, #D7EAF9 0%, #EEF5FC 65%, #E8DFD1 100%);
  overflow: hidden;
}

.bv26-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Zone illumination without layout shift */
.bv26-zone {
  transition: opacity 0.28s ease;
}

.bv26-zone-halo {
  transition: opacity 0.28s ease;
}

.bv26-shell[data-active-zone="1"] .bv26-z1 { opacity: 1; }
.bv26-shell[data-active-zone="1"] .bv26-z2,
.bv26-shell[data-active-zone="1"] .bv26-z3,
.bv26-shell[data-active-zone="1"] .bv26-z4,
.bv26-shell[data-active-zone="1"] .bv26-z5 { opacity: 0.78; }

.bv26-shell[data-active-zone="2"] .bv26-z2 { opacity: 1; }
.bv26-shell[data-active-zone="2"] .bv26-z2 .bv26-zone-halo { opacity: 0.22; }
.bv26-shell[data-active-zone="2"] .bv26-z1,
.bv26-shell[data-active-zone="2"] .bv26-z3,
.bv26-shell[data-active-zone="2"] .bv26-z4,
.bv26-shell[data-active-zone="2"] .bv26-z5 { opacity: 0.76; }

.bv26-shell[data-active-zone="3"] .bv26-z3 { opacity: 1; }
.bv26-shell[data-active-zone="3"] .bv26-z3 .bv26-zone-halo { opacity: 0.24; }
.bv26-shell[data-active-zone="3"] .bv26-z1,
.bv26-shell[data-active-zone="3"] .bv26-z2,
.bv26-shell[data-active-zone="3"] .bv26-z4,
.bv26-shell[data-active-zone="3"] .bv26-z5 { opacity: 0.76; }

.bv26-shell[data-active-zone="4"] .bv26-z4 { opacity: 1; }
.bv26-shell[data-active-zone="4"] .bv26-z4 .bv26-zone-halo { opacity: 0.16; }
.bv26-shell[data-active-zone="4"] .bv26-z1,
.bv26-shell[data-active-zone="4"] .bv26-z2,
.bv26-shell[data-active-zone="4"] .bv26-z3,
.bv26-shell[data-active-zone="4"] .bv26-z5 { opacity: 0.76; }

.bv26-shell[data-active-zone="5"] .bv26-z5 { opacity: 1; }
.bv26-shell[data-active-zone="5"] .bv26-z1,
.bv26-shell[data-active-zone="5"] .bv26-z2,
.bv26-shell[data-active-zone="5"] .bv26-z3,
.bv26-shell[data-active-zone="5"] .bv26-z4 { opacity: 0.76; }

/* GPU-composited ambient animations */
.bv26-road-dash {
  animation: bv26-dash-flow 1.4s linear infinite;
}

.bv26-clouds {
  animation: bv26-cloud-drift 22s ease-in-out infinite alternate;
}

.bv26-waves {
  animation: bv26-wave-shimmer 5.5s ease-in-out infinite alternate;
}

.bv26-liab-wave {
  animation: bv26-dash-flow 1.9s linear infinite;
}

.bv26-liab-wave-2 {
  animation-duration: 2.5s;
}

.bv26-airflow {
  animation: bv26-dash-reverse 1.7s linear infinite;
}

.bv26-filing-trace {
  animation: bv26-dash-reverse 2.1s linear infinite;
}

@keyframes bv26-dash-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 60; }
}

@keyframes bv26-dash-reverse {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -36; }
}

@keyframes bv26-cloud-drift {
  from { transform: translateX(-10px); }
  to { transform: translateX(18px); }
}

@keyframes bv26-wave-shimmer {
  from { transform: translateX(-6px); opacity: 0.44; }
  to { transform: translateX(8px); opacity: 0.72; }
}

/* 44x44px WCAG 2.2 AA Hotspot Overlay Pins */
.bv26-pin {
  position: absolute;
  z-index: 4;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bv26-pin-ring {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(11, 107, 82, 0.34);
  transform: scale(1);
  animation: bv26-pin-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.bv26-pin-dot {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #0D3B6E;
  color: #FFFFFF;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(13, 59, 110, 0.38);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bv26-pin:hover .bv26-pin-dot {
  transform: scale(1.1);
  background: #0B6B52;
}

.bv26-pin[aria-pressed="true"] .bv26-pin-dot {
  background: #D4A017;
  color: #0D3B6E;
  border-color: #0D3B6E;
  transform: scale(1.14);
}

.bv26-pin[aria-pressed="true"] .bv26-pin-ring {
  background: rgba(212, 160, 23, 0.48);
}

.bv26-pin:focus-visible {
  outline: 3px solid #0B6B52;
  outline-offset: 2px;
}

@keyframes bv26-pin-pulse {
  0% { transform: scale(0.92); opacity: 0.78; }
  75% { transform: scale(1.48); opacity: 0; }
  100% { transform: scale(1.48); opacity: 0; }
}

/* Synced Horizontal Chip Bar */
.bv26-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  background: #F8FAFC;
  border-top: 1px solid var(--bv-line, rgba(13, 59, 110, 0.14));
}

.bv26-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  border: 1.5px solid rgba(13, 59, 110, 0.24);
  border-radius: 999px;
  background: #FFFFFF;
  color: #0D3B6E;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.bv26-chip:hover {
  background: #EEF4FB;
  border-color: #1565A8;
}

.bv26-chip-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #EEF4FB;
  color: #0D3B6E;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.bv26-chip[aria-pressed="true"] {
  background: #0D3B6E;
  border-color: #0D3B6E;
  color: #FFFFFF;
}

.bv26-chip[aria-pressed="true"] .bv26-chip-num {
  background: #D4A017;
  color: #0D3B6E;
}

/* Full-Width Editorial Readout Card */
.bv26-readout {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F0E8 100%);
  border: 1px solid var(--bv-line-strong, rgba(13, 59, 110, 0.24));
  border-left: 5px solid #0B6B52;
  border-radius: 18px;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 12px 28px -18px rgba(13, 59, 110, 0.22);
  min-width: 0;
}

.bv26-readout-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.7rem;
}

.bv26-readout-titles {
  min-width: 0;
  flex: 1 1 18rem;
}

.bv26-zone-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B6B52;
  margin-bottom: 0.25rem;
}

.bv26-readout-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.24;
  color: #0D3B6E;
}

.bv26-limit-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: #E4F5F0;
  border: 1px solid rgba(11, 107, 82, 0.28);
  color: #0B6B52;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.bv26-readout-desc {
  margin: 0 0 1.05rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #334155;
  max-width: 66rem;
}

.bv26-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.bv26-fact {
  background: #FFFFFF;
  border: 1px solid var(--bv-line, rgba(13, 59, 110, 0.14));
  border-radius: 12px;
  padding: 0.85rem 1rem;
  min-width: 0;
}

.bv26-fact-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B6B52;
  margin-bottom: 0.3rem;
}

.bv26-fact-val {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.5;
  color: #1E293B;
}

/* Mobile responsiveness (zero horizontal overflow at 390px) */
@media (max-width: 780px) {
  .bv26-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .bv26-canvas-bar {
    padding: 0.7rem 0.95rem;
  }
  .bv26-chips {
    padding: 0.8rem 0.9rem;
  }
  .bv26-readout {
    padding: 1.1rem;
  }
  .bv26-pin-dot {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }
}

@media (max-width: 440px) {
  .bv26-chip {
    flex: 1 1 calc(50% - 0.55rem);
    justify-content: flex-start;
    padding: 0.45rem 0.7rem 0.45rem 0.55rem;
    font-size: 0.82rem;
  }
}

/* Pause & reduced-motion guards */
html.bvm-paused .bv26-sec *,
html.bvm-paused .bv26-sec *::before,
html.bvm-paused .bv26-sec *::after {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .bv26-sec *,
  .bv26-sec *::before,
  .bv26-sec *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
