/* ==========================================================================
   HomeVista — responsive.css
   Extra responsive refinements layered on top of main.css.
   (The core responsive system lives in main.css section 30.)
   ========================================================================== */

/* Wide desktop: allow the composition a little more breathing room */
@media (min-width: 1600px) {
  :root { --hv-container: 1320px; }
  .hero-visual { min-height: 520px; }
  .property-grid { gap: 26px; }
  .promo-copy { padding-inline: 56px; }
}

/* Touch devices: avoid sticky hover states and reveal controls */
@media (hover: none) {
  .property-card:hover,
  .project-card:hover,
  .service-card:hover,
  .team-card:hover,
  .stat-card:hover,
  .agency-dash-card:hover,
  .agent-dash-card:hover,
  .mini-property:hover { transform: none; }
  .team-social { opacity: 1; transform: none; }
  .category-card:hover img,
  .property-card:hover .property-media img { transform: none; }
  .gallery-btn { padding: 10px 14px; }
}

/* KPR unit selector: hide unit names on Android/tablet, keep the price visible */
@media (max-width: 1024px) {
  .js-kpr-units .kpr-unit-name { display: none; }
}

/* Ultra small screens */
@media (max-width: 359px) {
  .brand-tag { display: none; }
  .hero h1 { font-size: 1.7rem; }
  .search-field select,
  .search-field input { font-size: 10px; }
  .property-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .dash-topbar-right .dash-icon-btn { width: 34px; height: 34px; font-size: 13px; }
  .dash-page-head h1 { font-size: 1.35rem; }
  .invoice-sheet { padding: 14px 8px; }
}

/* Mobile landscape: keep the hero artwork from consuming the viewport */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-visual { min-height: 210px; }
  .auth-panel { align-items: flex-start; padding-top: 28px; }
}

/* Print safety for any public page accidentally printed */
@media print {
  .site-header, .topbar, .site-footer, .floating-actions,
  .nav-overlay, .nav-panel, .filter-overlay { display: none !important; }
}
