/*! Valor Villas — phone fixes (valor-mobile.css), loaded after the other stylesheets */

/* 1. Nothing may make the page wider than the screen. Stops the sideways wobble and keeps the
      WhatsApp button fully on screen (an over-wide page also widens the area it is pinned to). */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* 2. On phones, scroll-in animations rise from below instead of sliding in from the sides. */
@media (max-width: 767px) {
  html.vm-on [data-vm="left"]:not([data-vm-in]),
  html.vm-on [data-vm="right"]:not([data-vm-in]) { transform: translate3d(0, 24px, 0); }
}

/* 3. Hero fits the visible screen while the browser's address/tool bars are showing. */
@supports (min-height: 100svh) {
  [data-loc="client/src/components/HeroSection.tsx:25"] { min-height: 100svh; }
}

/* 4. Form fields at 16px so iPhones don't zoom in when a field is tapped. */
@media (max-width: 1023px) {
  #contact input, #contact select, #contact textarea { font-size: 16px; }
  #contact input.flex-1 { width: 0; min-width: 0; }   /* phone number field: shrink beside the country code */
}
