/* Small layout corrections; the original colours, photos and page design remain. */
[hidden] { display: none !important; }
#vdfLangMenu { max-height: min(75vh, 36rem); overflow-y: auto; min-width: 11rem; }
#vdfLangMenu a[aria-current="page"] { background: #f4f4f5; font-weight: 700; }
a:focus-visible, button:focus-visible { outline: 3px solid #0b6; outline-offset: 4px; }
header nav { flex-wrap: wrap; }
header nav a { overflow-wrap: anywhere; }
.highlights-inline { white-space: normal !important; }
.booking-quote-note { color: #475569; font-size: 0.95rem; line-height: 1.5; }
#reservation { scroll-margin-top: 5rem; }
#facts > div > div { min-width: 0; overflow-wrap: anywhere; }
#lbOverlay img { max-width: 92vw; max-height: 85vh; object-fit: contain; }
@media (max-width: 760px) {
  #hero-home > div:first-child { grid-template-columns: 1fr !important; }
  #facts > div { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #grid-gallery > div { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #amenities > div { grid-template-columns: 1fr !important; }
  #hero-home h1 { font-size: 1.8rem !important; }
  form[name="contact-villa"] > div[style*="grid-template-columns:1fr 1fr;"] { grid-template-columns: 1fr !important; }
  .vdf-lang-menu { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

#hero-home h1 { text-align: center; font-size: 2.2rem; font-weight: 700; line-height: 1.35; color: #c91616; background: none; margin: 1rem 0; }
#hero-home .subtitle { text-align: center; font-size: 1.1rem; color: #164e9b; line-height: 1.55; }
@media (max-width: 760px) { #hero-home h1 { font-size: 1.8rem !important; } }

/* Keep decorative animations proportional when HTML provides intrinsic image dimensions. */
#home-planes-layer img, #vdf-planes-layer img { height: auto; }
