/* Diendei Land Investments - site styles */
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #d4a84b; outline-offset: 2px; }
img { max-width: 100%; }
video[data-hero-video] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Layout switches by page width (iPad and phone) */
@container (max-width: 760px) {
  .dn { display: none !important; }
  .dm { display: flex !important; }
  .pl { grid-auto-rows: auto !important; gap: 0 !important; background: #f5f4f0; border-radius: 10px; padding: 4px 16px !important; }
  .pl li { background: none !important; border-radius: 0 !important; padding: 11px 0 !important; border-top: 1px solid #dddbd3; }
  .pl li:first-child { border-top: 0; }
  .gal { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; padding-bottom: 8px; }
  .gal figure { flex: 0 0 86% !important; scroll-snap-align: center; }
}

/* Call and offer bar fixed to the bottom of phone screens */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: #0c0c0c; border-top: 1px solid #3a3a36; font-family: Inter, system-ui, sans-serif; }
  body.has-callbar { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
