/* ==================== 04. ДОМ ПРОДОЛЖАЕТСЯ ВНУТРИ (VARIANT 2A: CLEAN 16:9 CANVAS & ARCHITECTURAL PINS 01–04) ==================== */
.interior {
  padding: 0 0 116px;
  background: var(--bg);
}

.interior-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin: 0 0 36px;
}

.interior-head p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
  font-size: 14.5px;
  margin: 0;
}

.interior-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #121214;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.interior-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hotspot-wrap {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
}

.hotspot-wrap.active,
.hotspot-wrap:hover {
  z-index: 10;
}

/* Delicate 28x28px Architectural Index Pin (No Radar Glow, No Rotating Diamond) */
.hotspot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ivory);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hotspot-num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

@media (hover: hover) {
  .hotspot-wrap:hover .hotspot {
    background: var(--ivory);
    border-color: var(--ivory);
    color: #111113;
    transform: scale(1.08);
  }
}

.hotspot-wrap.active .hotspot {
  background: var(--ivory);
  border-color: var(--ivory);
  color: #111113;
  transform: scale(1.08);
}

/* Compact 248px Architectural Callout Only on Hover/Click */
.hotspot-card {
  position: absolute;
  width: 248px;
  background: rgba(11, 11, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  color: var(--ivory);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (hover: hover) {
  .hotspot-wrap:hover .hotspot-card {
    opacity: 1;
    pointer-events: auto;
  }
}

.hotspot-wrap.active .hotspot-card {
  opacity: 1;
  pointer-events: auto;
}

.hotspot-card.pos-left {
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-44%);
}

@media (hover: hover) {
  .hotspot-wrap:hover .hotspot-card.pos-left {
    transform: translateY(-50%);
  }
}

.hotspot-wrap.active .hotspot-card.pos-left {
  transform: translateY(-50%);
}

.hotspot-card.pos-right {
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-44%);
}

@media (hover: hover) {
  .hotspot-wrap:hover .hotspot-card.pos-right {
    transform: translateY(-50%);
  }
}

.hotspot-wrap.active .hotspot-card.pos-right {
  transform: translateY(-50%);
}

.hotspot-card.pos-bottom {
  left: 50%;
  top: calc(100% + 14px);
  transform: translate(-50%, 6px);
}

@media (hover: hover) {
  .hotspot-wrap:hover .hotspot-card.pos-bottom {
    transform: translate(-50%, 0);
  }
}

.hotspot-wrap.active .hotspot-card.pos-bottom {
  transform: translate(-50%, 0);
}

.hotspot-card b,
.hotspot-card .hotspot-card-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ivory);
  margin: 0 0 6px;
}

.hotspot-card span {
  display: block;
  font-size: 12px;
  line-height: 1.48;
  color: #c5bdb3;
}

.hotspot-mat {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--gold2);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.interior-mobile-dock {
  display: none;
}

@media (max-width: 1080px) {
  .interior {
    padding: 0 0 88px;
  }
  .interior-head {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .interior {
    padding: 0 0 64px;
  }
  .interior-head {
    gap: 12px;
    margin-bottom: 22px;
  }
  .interior-head p {
    font-size: 14px;
    line-height: 1.54;
  }
  .interior-stage {
    aspect-ratio: 4 / 3;
  }
  .hotspot {
    width: 34px;
    height: 34px;
    position: relative;
  }
  .hotspot::before {
    content: "";
    position: absolute;
    inset: -6px;
  }
  .hotspot-num {
    font-size: 11px;
  }
  .hotspot-card {
    display: none !important;
  }
  .interior-mobile-dock {
    display: block;
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 0;
    padding: 18px 16px;
  }
  .interior-dock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .interior-dock-index {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .interior-dock-dots {
    display: flex;
    gap: 6px;
  }
  .interior-dock-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    display: grid;
    place-items: center;
    padding: 0;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .interior-dock-dot.active {
    background: var(--ivory);
    border-color: var(--ivory);
    color: #111113;
  }
  .interior-mobile-dock b {
    display: block;
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.18;
    color: var(--ivory);
    margin-bottom: 6px;
  }
  .interior-mobile-dock span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #c5bdb3;
  }
}
