@media (max-width: 1199.98px) {
  .nav-actions {
    width: 100%;
    margin-top: 18px;
    align-items: stretch;
  }

  .nav-actions .btn-brand {
    width: 100%;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lang-option {
    flex: 1 1 0;
    text-align: center;
  }

  body::after {
    background-position:
      top right,
      12% 32%,
      84% 56%,
      calc(100% + 126px) 16%,
      -132px 74%;
    background-size:
      auto,
      auto,
      auto,
      200px,
      160px;
  }

  .hero-panel {
    border-radius: 34px;
  }

  .floating-note {
    left: 18px;
  }

  .floating-badge {
    right: 18px;
  }

  .filter-grid,
  .detail-grid,
  .stats-inline-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-shell,
  .city-spotlight,
  .map-card-premium {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
  }

  .footer-member-grid {
    justify-content: center;
    gap: 16px 20px;
  }
}

@media (max-width: 991.98px) {
  body {
    background-attachment: scroll;
  }

  body::before {
    background-size: 360px 360px;
    opacity: 0.3;
  }

  body::after {
    background-position:
      top right,
      12% 28%,
      86% 58%,
      calc(100% + 112px) 18%,
      -110px 76%;
    background-size:
      auto,
      auto,
      auto,
      170px,
      138px;
    opacity: 0.38;
  }

  .site-header {
    padding-top: 0;
  }

  .header-frame {
    width: calc(100% - 24px);
  }

  .navbar-collapse {
    padding-top: 18px;
  }

  .hero-section {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-card img {
    min-height: auto;
  }

  .search-band {
    margin-top: 30px;
  }

  .section-block {
    padding: 86px 0;
  }

  .search-heading,
  .section-heading,
  .split-heading,
  .about-impact-head,
  .footer-memberships-head,
  .results-toolbar,
  .cta-panel,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery-main img,
  .detail-gallery-stack img {
    min-height: auto;
  }

  .detail-gallery-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apartment-card.list-layout {
    flex-direction: column;
  }

  .list-layout .apartment-card-media img {
    min-height: 260px;
  }
}

@media (max-width: 767.98px) {
  body {
    background:
      radial-gradient(circle at 12% 8%, rgba(227, 31, 38, 0.05), transparent 20%),
      radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.94), transparent 24%),
      radial-gradient(circle at 28% 88%, rgba(255, 255, 255, 0.66), transparent 22%),
      linear-gradient(180deg, #fffefd 0%, #fbf6f1 100%);
    background-attachment: scroll;
  }

  body::before {
    background-size: 300px 300px;
    opacity: 0.24;
  }

  body::after {
    background-position:
      top right,
      14% 22%,
      92% 64%,
      calc(100% + 140px) 18%,
      -94px 78%;
    background-size:
      auto,
      auto,
      auto,
      126px,
      104px;
    opacity: 0.28;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-panel,
  .search-card,
  .filter-shell,
  .form-card,
  .map-card,
  .experience-card,
  .cta-panel,
  .testimonial-highlight,
  .stats-panel,
  .city-spotlight,
  .page-hero-shell,
  .detail-content,
  .why-card,
  .process-card,
  .stat-card,
  .benefit-card,
  .office-card,
  .contact-card,
  .testimonial-card,
  .detail-info-card,
  .meta-card,
  .mini-stat {
    padding: 22px;
    border-radius: 24px;
  }

  .floating-note,
  .floating-badge {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .page-hero-shell-visual {
    min-height: 280px;
    padding: 24px 20px;
  }

  .page-hero-note {
    max-width: none;
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .page-hero-shell-visual h1 {
    font-size: 2rem;
  }

  .page-hero-shell-visual p {
    font-size: 0.92rem;
  }

  .office-map-btn {
    width: 100%;
    text-align: center;
  }

  .page-hero-note span {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .metric-strip,
  .cta-actions,
  .hero-actions {
    width: 100%;
  }

  .metric-chip,
  .cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .filter-grid,
  .detail-grid,
  .stats-inline-wrap,
  .footer-grid,
  .detail-gallery-stack {
    grid-template-columns: 1fr;
  }

  .footer-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-impact-shell {
    padding: 24px;
    border-radius: 26px;
  }

  .mini-stat {
    min-height: 110px;
    padding: 22px 20px;
    border-radius: 24px;
  }

  .mini-stat-accent {
    height: 56px;
  }

  .mini-stat span {
    font-size: 1rem;
  }

  .city-chip-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .city-chip-row button {
    white-space: nowrap;
  }

  .brand-mark {
    width: 132px;
  }

  .footer-grid {
    padding-top: 26px;
  }

  .footer-memberships {
    padding: 20px 18px;
  }

  .footer-member-grid {
    justify-content: center;
    gap: 14px 18px;
  }

  .footer-member-item img {
    max-width: 110px;
    max-height: 34px;
  }

  .footer-bottom {
    font-size: 0.86rem;
  }
}

@media (max-width: 575.98px) {
  .header-frame,
  .footer-inner {
    width: calc(100% - 16px);
  }

  .hero-panel {
    padding: 26px 20px;
  }

  .page-hero {
    padding: 34px 0 60px;
  }

  .section-block {
    padding: 72px 0;
  }

  .apartment-card-media img {
    height: 220px;
  }

  .card-actions {
    flex-direction: column;
  }

  .card-actions .btn {
    width: 100%;
  }

  .map-pin {
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 1199.98px) {
  .site-header {
    padding-top: 0;
  }

  .premium-navbar {
    padding: 16px 18px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 30px 24px;
  }

  .footer-column-social {
    grid-column: 1 / -1;
    max-width: 420px;
  }

}

@media (max-width: 991.98px) {
  .premium-navbar {
    gap: 14px;
    border: 1px solid rgba(28, 28, 26, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(18, 18, 18, 0.08);
    backdrop-filter: blur(18px);
  }

  .premium-offcanvas {
    --bs-offcanvas-width: 100%;
    width: 100%;
    max-width: 100% !important;
    border-left: 0;
    box-shadow: none;
  }

  .premium-offcanvas .offcanvas-header,
  .premium-offcanvas .offcanvas-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer {
    padding-top: 76px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding-bottom: 30px;
  }

  .footer-memberships {
    padding: 22px 0 18px;
  }

  .footer-member-grid {
    gap: 16px 18px;
  }

  .footer-column-social {
    grid-column: 1 / -1;
    max-width: 460px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .premium-navbar {
    padding: 14px 16px;
    border-bottom-width: 1px;
    border-radius: 20px;
  }

  .premium-menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .premium-offcanvas {
    --bs-offcanvas-width: 100%;
    width: 100%;
    max-width: 100% !important;
  }

  .premium-offcanvas .offcanvas-header {
    padding: 18px 16px 16px;
  }

  .premium-offcanvas .offcanvas-body {
    gap: 18px;
    padding: 18px 16px 24px;
  }

  .site-footer {
    padding-top: 68px;
  }

  .footer-memberships {
    margin-top: 0;
    padding: 16px 0 14px;
  }

  .footer-member-grid {
    justify-content: center;
    gap: 14px 16px;
  }

  .footer-memberships-head,
  .footer-member-collection {
    width: min(100%, calc(100% - 28px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 26px;
  }

  .footer-company-meta,
  .footer-legal-links {
    width: 100%;
  }

  .footer-column-social,
  .footer-column-social p,
  .footer-company-text,
  .footer-company-address {
    max-width: 100%;
  }

  .footer-meta-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-member-item {
    min-width: 74px;
    max-width: 96px;
  }

  .footer-member-item img {
    max-height: 32px;
  }

  .footer-bottom {
    gap: 12px;
    padding-top: 18px;
  }
}
