
@media (min-width: 768px) {
  .container-xxl { --bs-gutter-x: clamp(2.5rem, 6vw, 7rem); }
  .share-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-header .navbar { min-height: 5.4rem; }
  .navbar-brand img { max-width: 150px; }

  .hero { padding-bottom: 4rem; }
  .hero-title { font-size: clamp(2.9rem, 8vw, 4.75rem); }
  .hero-property-body { padding: 1.45rem 1.5rem 1.6rem; }
  .search-field { border-right: 0; }
  .search-panel .row:first-child > div:nth-child(odd) .search-field { border-right: 1px solid var(--color-border); }
  .search-panel .row:first-child > div:nth-child(n + 3) .search-field { border-bottom: 0; }

  .featured-properties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-property-item { grid-column: span 1; }
  .about-preview-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-preview-point {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    padding: 1.4rem 1.25rem;
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
  }
  .about-preview-point:first-child { padding-left: 0; }
  .about-preview-point:last-child { padding-right: 0; border-right: 0; }

  .service-image { height: 34rem; }
  .parish-card { min-height: 15rem; }

  .listing-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mobileFilters.collapse:not(.show) { display: block; }

  .property-detail-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .property-detail-fact,
  .property-detail-fact:nth-child(2n) { border-right: 1px solid var(--color-border); border-bottom: 0; }
  .property-detail-fact:last-child { border-right: 0; }
  .property-detail-fact:last-child:nth-child(odd) { grid-column: auto; }
  .property-detail-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .property-detail-plans { padding: 2rem; }

  .sell-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-process-step:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--color-border); }
  .sell-process-step:nth-child(even) { padding-left: 2rem; }
}

@media (min-width: 992px) {
  .property-detail-page { padding-bottom: 0; }
  .property-mobile-contact { display: none; }

  .navbar-collapse { margin-inline: 0; padding: 0; border-top: 0; background: transparent; }
  .navbar-nav {
    --bs-nav-link-padding-y: .5rem;
    --bs-nav-link-padding-x: .8rem;
    --bs-navbar-nav-link-padding-x: .8rem;
    margin-bottom: 0;
  }
  .navbar-nav .nav-link { border-bottom: 0; }
  .navbar-nav .nav-link::after { display: block; }

  .hero { min-height: 47rem; padding-top: 8.75rem; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.68) 45%, rgba(8,8,8,.28) 100%),
      linear-gradient(0deg, rgba(8,8,8,.74), transparent 48%);
  }
  .hero-title { font-size: clamp(2.9rem, 5.2vw, 5.6rem); }

  .page-hero, .listing-header { padding: 2.5rem 0 3.5rem; }
  .property-detail-top { padding-top: 2.5rem; }
  .listing-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .property-detail-hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 36rem; }
  .property-detail-media { min-height: 36rem; }
  .property-detail-thumbs {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    max-width: 27rem;
    margin-left: auto;
  }
  .property-detail-gallery-count { right: auto; bottom: 1rem; left: 1rem; }
  .property-detail-contact-form { padding: 2rem; }
  .contact-form-panel { min-height: 100%; }

  .sell-hero-side { align-items: stretch; }
}

@media (min-width: 1200px) {
  .hero-property { max-width: 31rem; margin-top: 0; margin-left: auto; }
  .hero-side { min-height: 100%; }
  .hero-empty-note { max-width: 31rem; margin-top: 0; margin-left: auto; }

  .search-field { border-right: 1px solid var(--color-border); border-bottom: 0; }
  .search-panel .row:first-child > div:nth-child(4) .search-field { border-right: 0; }

  .featured-properties-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .featured-property-item { grid-column: span 4; }
  .featured-property-item:first-child:nth-last-child(5),
  .featured-property-item:first-child:nth-last-child(5) + .featured-property-item { grid-column: span 6; }
  .featured-property-item:first-child:nth-last-child(4),
  .featured-property-item:first-child:nth-last-child(4) ~ .featured-property-item { grid-column: span 6; }
  .featured-property-item:first-child:nth-last-child(3),
  .featured-property-item:first-child:nth-last-child(3) ~ .featured-property-item { grid-column: span 4; }
  .featured-property-item:first-child:nth-last-child(2),
  .featured-property-item:first-child:nth-last-child(2) ~ .featured-property-item { grid-column: span 6; }
  .featured-property-item:only-child { grid-column: 3 / span 8; }

  .listing-filter-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(10rem, .92fr) minmax(10rem, .92fr);
  }
  .service-image { height: 100%; min-height: 100%; }
}

@media (min-width: 1400px) {
  .container-xxl { --bs-gutter-x: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .header-actions { gap: .75rem !important; }
  .site-header .header-contact { width: 44px; height: 44px; padding-inline: 0 !important; justify-content: center; }
  .site-header .header-contact span { display: none; }
}
