/* bv11.css — Beach Insurance Contractors (Archetype A1: Interactive Hotspot Anatomy Canvas)
   Scoped strictly to .bv11-* classes. Zero CLS, WCAG 2.2 AA, 390px mobile safe. */

.bv11-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 59, 110, 0.14);
  border-radius: 22px;
  box-shadow: 0 2px 6px rgba(13, 59, 110, 0.05), 0 18px 40px -18px rgba(13, 59, 110, 0.18);
  overflow: hidden;
}

.bv11-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 440;
  background: linear-gradient(180deg, #D7ECFA 0%, #EEF6FC 60%, #FAF4E8 100%);
  border-bottom: 1px solid rgba(13, 59, 110, 0.12);
  overflow: hidden;
}

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

/* Zone illumination (opacity & subtle glow only — zero layout shift) */
.bv11-zone-glow {
  opacity: 0.25;
  transition: opacity 0.28s ease, stroke-width 0.28s ease;
}

.bv11-zone-umb .bv11-umb-arc {
  opacity: 0.52;
  transition: opacity 0.28s ease, stroke-width 0.28s ease;
}

.bv11-card[data-active="gl"] .bv11-zone-gl .bv11-zone-glow,
.bv11-card[data-active="comp"] .bv11-zone-comp .bv11-zone-glow,
.bv11-card[data-active="tools"] .bv11-zone-tools .bv11-zone-glow,
.bv11-card[data-active="auto"] .bv11-zone-auto .bv11-zone-glow {
  opacity: 1;
  stroke-width: 3.5;
}

.bv11-card[data-active="umb"] .bv11-zone-umb .bv11-umb-arc {
  opacity: 1;
  stroke-width: 4.5;
}

/* Ambient GPU-composited coastal motion (only runs when .bv11-inview is active) */
.bv11-clouds {
  transform: translate3d(0, 0, 0);
}
.bv11-card.bv11-inview .bv11-clouds {
  animation: bv11-drift 22s ease-in-out infinite alternate;
}
.bv11-card.bv11-inview .bv11-wave {
  animation: bv11-shimmer 4.5s ease-in-out infinite alternate;
}
.bv11-card.bv11-inview .bv11-umb-arc {
  animation: bv11-dash 18s linear infinite;
}
.bv11-card.bv11-inview .bv11-pipe-flow {
  animation: bv11-dash 7s linear infinite;
}

@keyframes bv11-drift {
  from { transform: translate3d(-10px, 0, 0); }
  to { transform: translate3d(14px, 0, 0); }
}
@keyframes bv11-shimmer {
  from { opacity: 0.35; }
  to { opacity: 0.78; }
}
@keyframes bv11-dash {
  to { stroke-dashoffset: -96; }
}

/* Accessible >=44x44px HTML hotspot pins overlaid on SVG */
.bv11-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bv11-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bv11-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.35);
  font-size: 0.84rem;
  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;
}

.bv11-pin-ring {
  position: absolute;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #0B6B52;
  opacity: 0;
  transform: scale(0.85);
}

.bv11-card.bv11-inview .bv11-pin-ring {
  animation: bv11-pulse 2.6s ease-out infinite;
}

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

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

.bv11-pin[aria-pressed="true"] .bv11-pin-ring {
  border-color: #D4A017;
}

@keyframes bv11-pulse {
  0% { opacity: 0.72; transform: scale(0.85); }
  70% { opacity: 0; transform: scale(1.42); }
  100% { opacity: 0; transform: scale(1.42); }
}

/* Synced horizontal chip bar */
.bv11-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  background: #F5F0E8;
  border-bottom: 1px solid rgba(13, 59, 110, 0.12);
}

.bv11-chip {
  flex: 1 1 155px;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(13, 59, 110, 0.22);
  background: #FFFFFF;
  color: #0D3B6E;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.bv11-chip[aria-selected="true"] {
  background: #0D3B6E;
  border-color: #0D3B6E;
  color: #FFFFFF;
  box-shadow: 0 6px 14px -8px rgba(13, 59, 110, 0.5);
}

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

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

.bv11-chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Full-width editorial readout card */
.bv11-readout {
  padding: 1.35rem 1.45rem 1.55rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFD 100%);
}

.bv11-ro-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.bv11-ro-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.bv11-ro-step {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  background: #D4A017;
  color: #0D3B6E;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bv11-ro-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.76rem;
  border-radius: 999px;
  background: #E4F5F0;
  color: #0B6B52;
  border: 1px solid rgba(11, 107, 82, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bv11-ro-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bv11-nav-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(13, 59, 110, 0.26);
  background: #FFFFFF;
  color: #0D3B6E;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bv11-nav-btn:hover {
  background: #0D3B6E;
  border-color: #0D3B6E;
  color: #FFFFFF;
}

.bv11-ro-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.18rem, 2vw, 1.44rem);
  font-weight: 800;
  line-height: 1.24;
  color: #0D3B6E;
}

.bv11-ro-desc {
  margin: 0 0 1.15rem;
  max-width: 62rem;
  font-size: 0.98rem;
  line-height: 1.58;
  color: #334155;
}

.bv11-ro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.bv11-ro-box {
  min-width: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: #F5F0E8;
  border: 1px solid rgba(13, 59, 110, 0.12);
}

.bv11-ro-k {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B6B52;
}

.bv11-ro-v {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  color: #1E293B;
}

@media (max-width: 820px) {
  .bv11-ro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bv11-card {
    border-radius: 18px;
  }
  .bv11-chips {
    padding: 0.75rem;
    gap: 0.45rem;
  }
  .bv11-chip {
    flex: 1 1 100%;
  }
  .bv11-readout {
    padding: 1.05rem 1rem 1.2rem;
  }
  .bv11-pin-dot {
    width: 26px;
    height: 26px;
    font-size: 0.76rem;
  }
}
