:root {
  color-scheme: dark;
  --page-pad: clamp(20px, 4vw, 64px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans, Arial, sans-serif);
  background: var(--bg);
  color: var(--fg);
  text-rendering: optimizeLegibility;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: #fff;
  color: #111;
}
.skip:focus {
  top: 16px;
}
.preview {
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px var(--page-pad);
  font-size: 12px;
  background: #fff;
  color: #111;
}
.preview span:last-child {
  opacity: 0.62;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.phone:hover {
  transform: translateY(-2px);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}
.map-link,
.whatsapp-placeholder {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.map-link {
  border: 1px solid currentColor;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.map-link:hover {
  transform: translateY(-2px);
}
.whatsapp-placeholder {
  border: 1px dashed currentColor;
  opacity: 0.66;
  cursor: not-allowed;
  user-select: none;
}
.whatsapp-placeholder:before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.62;
}
.status {
  font-size: 12px;
  opacity: 0.7;
}
.generated-note {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.56;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-media {
    display: none;
  }
  .poster {
    display: block;
  }
  .phone,
  .map-link {
    transition: none;
  }
}
@media (max-width: 680px) {
  .preview {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .preview span:last-child {
    display: none;
  }
}
