/* =========================================================
   BASE
   ========================================================= */
:root {
  --canvas-width: 1024;
  --canvas-height: 1536;
  --page-bg: #f7f3ee;
  --focus-color: #ef4f78;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
}

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

img {
  display: block;
  max-width: 100%;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.page-header,
.page-footer {
  height: 0;
}

.poster-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.poster {
  position: relative;
  width: min(100vw, 1024px);
  aspect-ratio: 2 / 3;
  background: var(--page-bg);
}

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

/* =========================================================
   INTERACTIVE AREAS
   Coordinates are proportional to the 1024 × 1536 artwork.
   ========================================================= */
.hotspot {
  position: absolute;
  display: block;
  z-index: 2;
  border-radius: 18px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus-visible {
  box-shadow: 0 0 0 4px rgba(239, 79, 120, 0.55);
}

.hotspot-whatsapp {
  left: 2.9%;
  top: 31.2%;
  width: 94.2%;
  height: 9.7%;
}

.hotspot-address {
  left: 2.5%;
  top: 74.3%;
  width: 21.2%;
  height: 11.2%;
}

.hotspot-facebook {
  left: 80.2%;
  top: 74.2%;
  width: 17.2%;
  height: 11.2%;
}

/* =========================================================
   RESPONSIVE BEHAVIOR
   The artwork scales proportionally without being redesigned.
   ========================================================= */
@media (min-width: 1025px) {
  body {
    display: flex;
    justify-content: center;
  }

  .poster-shell {
    width: 1024px;
  }
}

@media (max-width: 640px) {
  .hotspot {
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .poster {
    animation: page-enter 260ms ease-out both;
  }

  @keyframes page-enter {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
