:root {
  --ink: #073d4a;
  --teal: #07858f;
  --teal-dark: #053f47;
  --gold: #e9b83f;
  --paper: #ffffff;
  --muted: #64707d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--teal-dark);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

button {
  font: inherit;
}

.mock-home {
  width: 100vw;
  height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(31, 179, 188, 0.28), transparent 32%),
    linear-gradient(135deg, #033c43 0%, #0b6770 52%, #082c35 100%);
}

.visual-stage {
  position: relative;
  width: 100vw;
  height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--teal-dark);
  box-shadow: 0 26px 90px rgba(0, 18, 22, 0.35);
  touch-action: none;
  --image-left: 0px;
  --image-top: 0px;
  --image-width: 100%;
  --image-height: 100%;
}

.image-stack {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center top;
  user-select: none;
}

.home-shot-mobile {
  display: none;
}

.brand-layer,
.desktop-hotspots,
.mobile-hotspots {
  position: absolute;
  left: var(--image-left);
  top: var(--image-top);
  width: var(--image-width);
  height: var(--image-height);
  pointer-events: none;
}

.brand-layer {
  z-index: 3;
}

.brand-logo-app {
  position: absolute;
  left: 1.95%;
  top: 1.65%;
  display: flex;
  align-items: center;
  gap: 1.25%;
  width: 24.2%;
  height: 9.8%;
  padding: 0.54% 1.1% 0.54% 0.66%;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(0, 73, 84, 0.96), rgba(0, 88, 99, 0.9) 78%, rgba(0, 88, 99, 0.24));
  box-shadow:
    0 10px 28px rgba(0, 24, 30, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.brand-logo-app img {
  display: block;
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.brand-logo-text {
  display: grid;
  gap: 4px;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 20, 24, 0.34);
  white-space: nowrap;
}

.brand-logo-text strong {
  color: #ffffff;
  font-size: clamp(1.3rem, 2.35vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo-text span {
  color: #ffffff;
  font-size: clamp(0.84rem, 1.25vw, 1.28rem);
  font-weight: 850;
  letter-spacing: 0;
}

.mobile-hotspots {
  display: none;
}

.truck-cursor,
.truck-dust {
  position: fixed;
  pointer-events: none;
}

.truck-cursor {
  z-index: 90;
  left: 0;
  top: 0;
  width: 64px;
  height: 38px;
  opacity: var(--truck-opacity, 0);
  filter: drop-shadow(0 8px 13px rgba(0, 20, 24, 0.3));
  transform: translate3d(-120px, -120px, 0) scale(0.9);
  transform-origin: 50% 50%;
  transition: opacity 140ms ease;
  will-change: transform, opacity;
}

body.truck-active .truck-cursor {
  opacity: var(--truck-opacity, 1);
}

.truck-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
}

.truck-cursor .truck-wheel {
  animation: wheel-spin 420ms linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.truck-dust {
  z-index: 89;
  left: var(--dust-x);
  top: var(--dust-y);
  width: var(--dust-size, 9px);
  height: var(--dust-size, 9px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.56) 0 26%, rgba(242, 211, 107, 0.34) 58%, rgba(242, 211, 107, 0) 74%);
  filter: blur(1.4px);
  opacity: var(--dust-opacity, 0.24);
  transform: translate3d(-50%, -50%, 0) scale(0.42);
  animation: truck-dust var(--dust-life, 1500ms) cubic-bezier(0.15, 0.74, 0.28, 1) forwards;
  will-change: transform, opacity;
}

@keyframes wheel-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes truck-dust {
  0% {
    opacity: var(--dust-opacity, 0.24);
    transform: translate3d(-50%, -50%, 0) scale(0.42);
  }
  45% {
    opacity: calc(var(--dust-opacity, 0.24) * 0.62);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--dust-dx, -44px)), calc(-50% + var(--dust-dy, 4px)), 0) scale(var(--dust-scale, 2.2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .truck-cursor,
  .truck-dust,
  .truck-cursor .truck-wheel {
    animation: none;
    transition: none;
  }
}

.hotspot {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--hotspot-radius, 999px);
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.hotspot::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.18);
  content: "";
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hotspot:hover,
.hotspot:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0);
}

.hotspot:hover::before,
.hotspot:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.hotspot:active::before {
  opacity: 0.78;
  transform: scale(0.97);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.16);
}

.hotspot.home {
  left: 33.25%;
  top: 4.02%;
  width: 4.56%;
  height: 5.68%;
}

.hotspot.services {
  left: 39.72%;
  top: 4.02%;
  width: 6.65%;
  height: 5.68%;
}

.hotspot.about {
  left: 49.01%;
  top: 4.02%;
  width: 6.03%;
  height: 5.68%;
}

.hotspot.reviews {
  left: 57.14%;
  top: 4.02%;
  width: 5.85%;
  height: 5.68%;
}

.hotspot.gallery {
  left: 64.66%;
  top: 4.02%;
  width: 5.05%;
  height: 5.68%;
}

.hotspot.contact {
  left: 71.86%;
  top: 4.02%;
  width: 5.6%;
  height: 5.68%;
}

.hotspot.phone {
  left: 83.5%;
  top: 3.72%;
  width: 14.66%;
  height: 5.68%;
}

.hotspot.quote-main {
  left: 2.89%;
  top: 56.55%;
  width: 17.18%;
  height: 7.33%;
}

.hotspot.book-main {
  left: 21.49%;
  top: 56.55%;
  width: 15.02%;
  height: 7.33%;
}

.hotspot.services-panel {
  --hotspot-radius: 16px;
  left: 2.89%;
  top: 68.94%;
  width: 39.53%;
  height: 17.65%;
}

.hotspot.quote-card {
  --hotspot-radius: 24px;
  left: 73.09%;
  top: 19.81%;
  width: 24.26%;
  height: 59.44%;
}

.hotspot.quote-submit {
  left: 75%;
  top: 66.25%;
  width: 20.75%;
  height: 5.88%;
}

.hotspot.qr-panel {
  --hotspot-radius: 16px;
  left: 62.56%;
  top: 80.19%;
  width: 35.65%;
  height: 14.76%;
}

.hotspot.services-panel::before,
.hotspot.quote-card::before,
.hotspot.qr-panel::before,
.hotspot.mobile-form::before {
  display: none;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 25, 30, 0.62);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 30px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 12, 18, 0.35);
  text-align: center;
}

.modal-card img {
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
}

.modal-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.2;
}

.modal-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(233, 184, 63, 0.8);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0aa9b5, #087c88);
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .mock-home {
    align-items: flex-start;
    background:
      radial-gradient(circle at 50% 18%, rgba(31, 179, 188, 0.35), transparent 34%),
      linear-gradient(180deg, #03424a 0%, #006b73 55%, #003b43 100%);
  }

  .visual-stage {
    width: 100vw;
    height: 100svh;
    box-shadow: none;
  }

  .home-shot-desktop {
    display: none;
  }

  .home-shot-mobile {
    display: block;
  }

  .desktop-hotspots {
    display: none;
  }

  .mobile-hotspots {
    display: block;
  }

  .brand-logo-app {
    left: 2.8%;
    top: 0.82%;
    width: 55.3%;
    height: 7.35%;
    gap: 2.6%;
    padding: 1.05% 2.4% 1.05% 1.45%;
    border-radius: 6px;
    background:
      linear-gradient(90deg, rgba(0, 73, 84, 0.95), rgba(0, 88, 99, 0.86) 78%, rgba(0, 88, 99, 0.18));
    box-shadow:
      0 7px 18px rgba(0, 24, 30, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .brand-logo-text {
    gap: 2px;
  }

  .brand-logo-text strong {
    font-size: clamp(1.05rem, 6.2vw, 1.55rem);
  }

  .brand-logo-text span {
    font-size: clamp(0.68rem, 3.8vw, 1rem);
  }

  .truck-cursor {
    width: 48px;
    height: 28px;
    filter: drop-shadow(0 5px 8px rgba(0, 20, 24, 0.22));
    transition: opacity 90ms ease;
  }

  .truck-dust {
    filter: none;
    background:
      radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 24%, rgba(242, 211, 107, 0.18) 55%, rgba(242, 211, 107, 0) 74%);
    will-change: transform, opacity;
  }

  .hotspot.mobile-phone {
    left: 75.12%;
    top: 1.9%;
    width: 9.62%;
    height: 4.88%;
  }

  .hotspot.mobile-menu {
    left: 88.26%;
    top: 2.82%;
    width: 7.75%;
    height: 3.31%;
  }

  .hotspot.mobile-quote {
    left: 6.1%;
    top: 47.91%;
    width: 42.61%;
    height: 4.72%;
  }

  .hotspot.mobile-book {
    left: 51.17%;
    top: 47.91%;
    width: 42.25%;
    height: 4.72%;
  }

  .hotspot.mobile-form {
    --hotspot-radius: 16px;
    left: 4.69%;
    top: 54.8%;
    width: 90.49%;
    height: 26.61%;
  }

  .hotspot.mobile-call-card {
    --hotspot-radius: 16px;
    left: 4.69%;
    top: 83.09%;
    width: 90.61%;
    height: 6.72%;
  }

  .hotspot.mobile-whatsapp {
    left: 5.63%;
    top: 92.03%;
    width: 26.53%;
    height: 4.88%;
  }

  .hotspot.mobile-call {
    left: 32.28%;
    top: 92.03%;
    width: 17.72%;
    height: 4.88%;
  }

  .hotspot.mobile-email {
    left: 50%;
    top: 92.03%;
    width: 20.42%;
    height: 4.88%;
  }

  .hotspot.mobile-message {
    left: 70.42%;
    top: 92.03%;
    width: 24.41%;
    height: 4.88%;
  }

  .modal {
    padding: 18px;
  }

  .modal-card {
    padding: 28px;
    border-radius: 12px;
  }
}
