/* cv12.css — Cornerstone Insurance Electricians (Archetype A1: Interactive Hotspot Anatomy Canvas)
   Inland Piedmont architectural blueprint language. Strictly scoped to .cv12-* */

.cv12-shell {
  background: #FFFFFF;
  border: 1px solid rgba(10, 26, 51, 0.22);
  border-top: 4px solid #0A1A33;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(10, 26, 51, 0.06), 0 18px 38px -18px rgba(10, 26, 51, 0.22);
  padding: clamp(0.9rem, 2.2vw, 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

/* Locked Aspect-Ratio Blueprint Canvas (CLS = 0.000) */
.cv12-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 440;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid #1C4A75;
  background: #0A1A33;
}

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

/* SVG Zone Highlight States (Zero Layout Shift) */
.cv12-zone-box {
  opacity: 0.16;
  transition: opacity 0.26s ease, stroke-width 0.26s ease;
}

.cv12-shell.cv12-active-1 .cv12-zone-1 .cv12-zone-box,
.cv12-shell.cv12-active-2 .cv12-zone-2 .cv12-zone-box,
.cv12-shell.cv12-active-3 .cv12-zone-3 .cv12-zone-box,
.cv12-shell.cv12-active-4 .cv12-zone-4 .cv12-zone-box,
.cv12-shell.cv12-active-5 .cv12-zone-5 .cv12-zone-box {
  opacity: 1;
  stroke-width: 2.8;
}

.cv12-zone {
  transition: opacity 0.26s ease;
}

.cv12-shell.cv12-active-1 .cv12-zone:not(.cv12-zone-1),
.cv12-shell.cv12-active-2 .cv12-zone:not(.cv12-zone-2),
.cv12-shell.cv12-active-3 .cv12-zone:not(.cv12-zone-3),
.cv12-shell.cv12-active-4 .cv12-zone:not(.cv12-zone-4),
.cv12-shell.cv12-active-5 .cv12-zone:not(.cv12-zone-5) {
  opacity: 0.62;
}

/* GPU-Composited Blueprint Motion */
@keyframes cv12-dash-flow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

@keyframes cv12-pin-ripple {
  0% { transform: scale(0.86); opacity: 0.72; }
  70% { transform: scale(1.42); opacity: 0; }
  100% { transform: scale(1.42); opacity: 0; }
}

@keyframes cv12-arc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.cv12-conduit-flow {
  animation: cv12-dash-flow 2.6s linear infinite;
}

.cv12-arc-mark {
  animation: cv12-arc-blink 1.6s ease-in-out infinite;
}

.cv12-shell.cv12-paused .cv12-conduit-flow,
.cv12-shell.cv12-paused .cv12-arc-mark,
.cv12-shell.cv12-paused .cv12-pin-pulse {
  animation-play-state: paused !important;
}

/* Accessible >=44x44px HTML Hotspot Overlay Pins */
.cv12-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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.cv12-pin-pulse {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 2px solid #F26822;
  pointer-events: none;
  animation: cv12-pin-ripple 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.cv12-pin-core {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 2px solid #FFFFFF;
  background: #1C4A75;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 26, 51, 0.48);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cv12-pin:hover .cv12-pin-core {
  background: #2E72AC;
  transform: scale(1.08);
}

.cv12-pin[aria-pressed="true"] .cv12-pin-core {
  background: #F26822;
  color: #0A1A33;
  border-color: #FFFFFF;
  transform: scale(1.1);
}

.cv12-pin[aria-pressed="true"] .cv12-pin-pulse {
  border-color: #FFFFFF;
}

@media (max-width: 540px) {
  .cv12-pin-core {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }
  .cv12-pin-pulse {
    width: 26px;
    height: 26px;
  }
}

/* Synced Horizontal Chip Bar */
.cv12-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cv12-chip {
  flex: 1 1 150px;
  min-width: 0;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  border: 1.5px solid rgba(10, 26, 51, 0.22);
  background: #EFF2F5;
  color: #0A1A33;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cv12-chip:hover {
  background: #E4ECF4;
  border-color: #1C4A75;
}

.cv12-chip[aria-pressed="true"] {
  background: #0A1A33;
  border-color: #0A1A33;
  border-left: 4px solid #F26822;
  color: #FFFFFF;
}

.cv12-chip-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #FFFFFF;
  color: #0A1A33;
  font-size: 0.74rem;
  font-weight: 800;
}

.cv12-chip[aria-pressed="true"] .cv12-chip-num {
  background: #F26822;
  color: #0A1A33;
}

.cv12-chip-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Full-Width Editorial Readout Panel */
.cv12-panel {
  border-radius: 8px;
  border: 1px solid rgba(10, 26, 51, 0.16);
  border-left: 4px solid #F26822;
  background: #F7F9FB;
  padding: clamp(1rem, 2.2vw, 1.3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cv12-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(10, 26, 51, 0.12);
}

.cv12-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 260px;
}

.cv12-keystone {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 22px;
  margin-bottom: 0.1rem;
}

.cv12-keystone span:nth-child(1) {
  display: block;
  height: 3px;
  width: 22px;
  background: #F26822;
}

.cv12-keystone span:nth-child(2) {
  display: block;
  height: 3px;
  width: 16px;
  background: #1C4A75;
}

.cv12-keystone span:nth-child(3) {
  display: block;
  height: 3px;
  width: 11px;
  background: #0A1A33;
}

.cv12-panel-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #B5420B;
}

.cv12-panel-title {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0A1A33;
}

.cv12-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.cv12-step-count {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1C4A75;
  padding: 0 0.35rem;
}

.cv12-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  border: 1.5px solid #0A1A33;
  background: #FFFFFF;
  color: #0A1A33;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cv12-step-btn:hover {
  background: #0A1A33;
  color: #FFFFFF;
}

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

@media (max-width: 860px) {
  .cv12-panel-grid {
    grid-template-columns: 1fr;
  }
}

.cv12-panel-col {
  min-width: 0;
}

.cv12-panel-specs {
  background: #FFFFFF;
  border: 1px solid rgba(10, 26, 51, 0.12);
  border-radius: 6px;
  padding: 0.78rem 0.9rem;
}

.cv12-panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1C4A75;
}

.cv12-panel-copy {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.56;
  color: #1E293B;
}

.cv12-spec-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #0A1A33;
  font-weight: 600;
}
