* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: #061a3a;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 112, 0, .10), transparent 35%),
    #061a3a;
}

.visual {
  width: min(100vw, 1536px);
  aspect-ratio: 3 / 2;
  position: relative;
  display: block;
  line-height: 0;
  box-shadow: 0 0 70px rgba(0, 0, 0, .28);
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: 18px;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: background .2s ease, box-shadow .2s ease;
}

.hotspot:hover::after,
.hotspot:focus-visible::after {
  background: rgba(255, 115, 0, .08);
  box-shadow: 0 0 0 2px rgba(255, 115, 0, .45);
}

/* Posiciones relativas al diseño 1536 x 1024 */
.phone {
  left: 7.0%;
  top: 69.0%;
  width: 21.0%;
  height: 9.5%;
}

.map {
  left: 54.8%;
  top: 69.0%;
  width: 36.5%;
  height: 13.8%;
}

.whatsapp {
  left: 48.0%;
  bottom: 3.7%;
  width: 3.7%;
  height: 4.5%;
  border-radius: 50%;
}

.loading {
  position: absolute;
  right: 18px;
  bottom: 12px;
  display: flex;
  gap: 5px;
  opacity: .0;
  pointer-events: none;
}

.loading span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff7100;
  animation: pulse 1.1s infinite ease-in-out;
}

.loading span:nth-child(2) { animation-delay: .14s; }
.loading span:nth-child(3) { animation-delay: .28s; }

@keyframes pulse {
  0%, 70%, 100% { transform: scale(.55); opacity: .35; }
  35% { transform: scale(1); opacity: 1; }
}

/* En pantallas verticales se conserva la composición completa. */
@media (max-aspect-ratio: 3/2) {
  .page {
    min-height: 100svh;
    padding: 0;
  }

  .visual {
    width: 100vw;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading span {
    animation: none;
  }
}
