#villa-floorplan-callout {
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
}
#villa-floorplan-callout[hidden] { display: none !important; }
.villa-floorplan-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.villa-floorplan-line path {
  fill: none;
  stroke: rgba(255,255,255,.96);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.55));
  animation: villa-floorplan-draw .9s linear .35s both;
}
.villa-floorplan-dot {
  fill: rgba(255,255,255,.96);
  stroke: rgba(0,0,0,.2);
  stroke-width: 1;
}
.villa-floorplan-ring {
  fill: none;
  stroke: rgba(255,255,255,.95);
  stroke-width: 1.6;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
.villa-floorplan-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: villa-floorplan-pulse 2.6s ease-out 3;
}
.villa-floorplan-label {
  position: absolute;
  box-sizing: border-box;
  padding: 12px 38px 12px 14px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 4px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 12px 36px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.9);
  color: #000;
  opacity: 0;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  animation: villa-floorplan-reveal .7s ease-out 1.25s both;
}
.villa-floorplan-label p { margin: 0; color: #000; font: 600 14px/1.4 Arial, sans-serif; }
.villa-floorplan-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  color: #000;
  font: 20px/1 Arial, sans-serif;
  cursor: pointer;
  pointer-events: auto;
}
.villa-floorplan-close:hover { background: rgba(255,255,255,.96); }
.villa-floorplan-close:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
@keyframes villa-floorplan-draw { to { stroke-dashoffset: 0; } }
@keyframes villa-floorplan-reveal { 0% { opacity: 0; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } 15% { opacity: 1; } 45% { opacity: 1; clip-path: polygon(58% 0, 100% 0, 100% 100%, 70% 100%); } 100% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes villa-floorplan-pulse { from { opacity: .9; transform: scale(.75); } to { opacity: 0; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) {
  .villa-floorplan-line path { animation: none; stroke-dashoffset: 0; }
  .villa-floorplan-pulse { animation: none; opacity: .45; }
  .villa-floorplan-label { animation: none; opacity: 1; clip-path: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .villa-floorplan-label { background: rgba(255,255,255,.96); }
}

.villa-floorplan-info {
  position: fixed;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
  color: #000;
  font: bold 20px/1 Georgia, serif;
  cursor: pointer;
}
.villa-floorplan-info[hidden] { display: none !important; }
.villa-floorplan-info:hover { background: rgba(255,255,255,.96); }
.villa-floorplan-info:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
/* The point appears first; the caption follows the completed line. */
.villa-floorplan-dot, .villa-floorplan-ring:not(.villa-floorplan-pulse) {
  transform-box: fill-box;
  transform-origin: center;
  animation: villa-floorplan-point .35s ease-out both;
}
.villa-floorplan-label p, .villa-floorplan-close {
  animation: villa-floorplan-text .3s ease-out 1.75s both;
}
@keyframes villa-floorplan-point { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes villa-floorplan-text { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .villa-floorplan-dot, .villa-floorplan-ring:not(.villa-floorplan-pulse),
  .villa-floorplan-label p, .villa-floorplan-close { animation: none; }
}