/* cv20.css — Cornerstone Insurance Self-Storage Site Plan Hotspots (Archetype A1)
   Inland Piedmont architectural blueprint styling. Strictly scoped to .cv20-* */

.cv20-sec .cv20-shell {
  background: #FFFFFF;
  border: 1.5px solid var(--cv-line-strong, rgba(10, 26, 51, 0.28));
  border-radius: 10px;
  box-shadow: var(--cv-shadow, 0 2px 4px rgba(10, 26, 51, 0.05), 0 16px 36px -18px rgba(10, 26, 51, 0.2));
  padding: clamp(0.9rem, 2.2vw, 1.45rem);
  box-sizing: border-box;
}

/* Blueprint Stage — Locked 960/440 aspect ratio (Zero CLS) */
.cv20-sec .cv20-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 440;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--cv-navy, #0A1A33);
  background: #0A1A33;
  margin-bottom: 1rem;
}

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

/* SVG Zone Highlight States (Zero Layout Shift) */
.cv20-sec .cv20-z-frame {
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.cv20-sec .cv20-shell[data-cv20-active="property"] .cv20-z-property .cv20-z-frame,
.cv20-sec .cv20-shell[data-cv20-active="goods"] .cv20-z-goods .cv20-z-frame,
.cv20-sec .cv20-shell[data-cv20-active="lien"] .cv20-z-lien .cv20-z-frame,
.cv20-sec .cv20-shell[data-cv20-active="climate"] .cv20-z-climate .cv20-z-frame,
.cv20-sec .cv20-shell[data-cv20-active="security"] .cv20-z-security .cv20-z-frame {
  opacity: 1;
}

/* GPU-Composited Blueprint Motion */
.cv20-sec .cv20-flow-line {
  animation: cv20-flow 3.8s linear infinite;
}

.cv20-sec .cv20-cam-pulse {
  animation: cv20-beam 4.8s ease-in-out infinite alternate;
}

.cv20-sec .cv20-shell.cv20-idle .cv20-flow-line,
.cv20-sec .cv20-shell.cv20-idle .cv20-cam-pulse,
.cv20-sec .cv20-shell.cv20-idle .cv20-pin-ring {
  animation-play-state: paused;
}

@keyframes cv20-flow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -40; }
}

@keyframes cv20-beam {
  0% { opacity: 0.45; }
  100% { opacity: 0.92; }
}

@keyframes cv20-pulse {
  0% { transform: scale(0.86); opacity: 0.85; }
  100% { transform: scale(1.48); opacity: 0; }
}

/* 44x44 Positioned Accessible HTML Hotspot Pins */
.cv20-sec .cv20-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;
}

.cv20-sec .cv20-pin-ring {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 2px solid #F26822;
  opacity: 0;
  pointer-events: none;
}

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

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

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

.cv20-sec .cv20-pin[aria-pressed="true"] .cv20-pin-ring,
.cv20-sec .cv20-pin-active .cv20-pin-ring {
  opacity: 1;
  animation: cv20-pulse 2s ease-out infinite;
}

/* Synced Horizontal Zone Chip Bar */
.cv20-sec .cv20-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.05rem;
}

.cv20-sec .cv20-chip {
  flex: 1 1 9.5rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  border: 1.5px solid var(--cv-line-strong, rgba(10, 26, 51, 0.28));
  background: var(--cv-fog, #EFF2F5);
  color: var(--cv-navy, #0A1A33);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cv20-sec .cv20-chip:hover {
  background: var(--cv-sky-soft, #E8F2FA);
  border-color: var(--cv-blue, #2E72AC);
}

.cv20-sec .cv20-chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 0.3rem;
  border-radius: 4px;
  background: var(--cv-navy, #0A1A33);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cv20-sec .cv20-chip[aria-pressed="true"],
.cv20-sec .cv20-chip-active {
  background: var(--cv-navy, #0A1A33);
  border-color: var(--cv-navy, #0A1A33);
  color: #FFFFFF;
}

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

/* Full-Width Architectural Editorial Readout Card */
.cv20-sec .cv20-card {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF2F5 100%);
  border: 1.5px solid var(--cv-line-strong, rgba(10, 26, 51, 0.24));
  border-radius: 8px;
  padding: 1.15rem 1.3rem 1.25rem;
  box-sizing: border-box;
}

/* Stacked 3-Slab Keystone Accent */
.cv20-sec .cv20-keystone {
  display: flex;
  gap: 5px;
  margin-bottom: 0.7rem;
}

.cv20-sec .cv20-ks-1 {
  width: 34px;
  height: 5px;
  border-radius: 2px;
  background: #F26822;
}

.cv20-sec .cv20-ks-2 {
  width: 20px;
  height: 5px;
  border-radius: 2px;
  background: #1C4A75;
}

.cv20-sec .cv20-ks-3 {
  width: 12px;
  height: 5px;
  border-radius: 2px;
  background: #579CCD;
}

.cv20-sec .cv20-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin-bottom: 0.45rem;
}

.cv20-sec .cv20-zone-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cv-orange-safe, #B5420B);
}

.cv20-sec .cv20-region-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cv-muted, #475569);
}

.cv20-sec .cv20-card-title {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cv-navy, #0A1A33);
}

.cv20-sec .cv20-card-lead {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--cv-body, #334155);
}

.cv20-sec .cv20-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

@media (max-width: 780px) {
  .cv20-sec .cv20-spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cv20-sec .cv20-spec {
  background: #FFFFFF;
  border: 1px solid var(--cv-line, rgba(10, 26, 51, 0.14));
  border-top: 3px solid var(--cv-slate, #1C4A75);
  border-radius: 6px;
  padding: 0.85rem 0.95rem;
  box-sizing: border-box;
  min-width: 0;
}

.cv20-sec .cv20-spec-k {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cv-slate, #1C4A75);
  margin-bottom: 0.35rem;
}

.cv20-sec .cv20-spec-v {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--cv-body, #334155);
}

@media (max-width: 520px) {
  .cv20-sec .cv20-shell {
    padding: 0.75rem;
  }
  .cv20-sec .cv20-pin-core {
    width: 24px;
    height: 24px;
    font-size: 0.76rem;
  }
  .cv20-sec .cv20-card {
    padding: 1rem;
  }
}
