/* ChinaHomeRent shared site styles */
:root {
  --primary-color: #2c3e50;
  --primary-dark: #1f2d3d;
  --primary-light: #e8f4fd;
  --primary-faint: #f4f9ff;
  --primary-focus-ring: rgba(52, 152, 219, 0.25);
  --accent-color: #3498db;
  --accent-dark: #2980b9;
  --secondary-color: #27ae60;
  --secondary-dark: #219a52;
  --light-bg: #f4f6f8;
  --text-color: #2c3e50;
  --muted-text: #7f8c8d;
  --border-color: #e9ecef;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-color);
  background: var(--light-bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-color); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main { display: block; }

/* Header */
header {
  background: #fff;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  text-align: center;
}

.logo {
  display: inline-block;
  margin-bottom: 12px;
}

.logo img {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.header-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
}

.header-subtitle {
  margin: 0 0 14px;
  color: var(--muted-text);
  font-size: 1rem;
}

.city-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.city-selector:hover {
  background: #d6ebfa;
}

/* Navigation (exclude breadcrumb bar) */
nav:not(.breadcrumb-nav) {
  background: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

nav:not(.breadcrumb-nav) > .container {
  position: relative;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 12px 0;
}

.nav-toggle-icon { display: inline-flex; align-items: center; }
.nav-toggle-close { display: none; }
nav.nav-open .nav-toggle-open { display: none; }
nav.nav-open .nav-toggle-close { display: inline-flex; }

/* Breadcrumb bar */
nav.breadcrumb-nav {
  position: static;
  background: #f8f9fa !important;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 13px;
  box-shadow: none;
  z-index: auto;
  color: #495057;
}

nav.breadcrumb-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav.breadcrumb-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

nav.breadcrumb-nav li {
  display: flex;
  align-items: center;
  color: #6c757d;
}

nav.breadcrumb-nav li + li::before {
  content: "/";
  margin-right: 4px;
  color: #adb5bd;
}

nav.breadcrumb-nav a {
  color: #3498db !important;
  text-decoration: none;
}

nav.breadcrumb-nav a:hover {
  text-decoration: underline;
}

nav.breadcrumb-nav [aria-current="page"] {
  color: #6c757d;
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #1f2d3d;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  padding: 8px 0;
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Icons */
.icon-inline,
svg.icon-inline {
  display: inline-block;
  vertical-align: middle;
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  fill: none;
}

.lucide-spin {
  animation: chr-spin 1s linear infinite;
}

@keyframes chr-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Property grid */
#properties {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

#properties > h2,
#properties > .properties-empty {
  grid-column: 1 / -1;
}

.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.property-images {
  position: relative;
  background: #f1f5f9;
  min-height: 200px;
}

.property-images-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}

.property-images-scroll::-webkit-scrollbar { height: 6px; }
.property-images-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }

.property-image {
  flex: 0 0 100%;
  width: 100%;
  height: 240px;
  object-fit: cover;
  scroll-snap-align: start;
}

.date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(44, 62, 80, 0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.property-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.property-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.property-title a:hover {
  color: var(--accent-color);
}

.property-details {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.property-detail {
  display: flex;
  gap: 8px;
}

.detail-label {
  color: var(--muted-text);
  min-width: 70px;
  flex-shrink: 0;
}

.detail-value {
  color: var(--text-color);
  font-weight: 500;
}

.price-highlight {
  color: #d97706;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 70px 0 30px;
  font-size: 14px;
  line-height: 1.6;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background-color: #3498db;
  border-radius: 2px;
}

.footer-section p { color: #bdc3c7; margin-bottom: 15px; }

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li { margin-bottom: 12px; }

.footer-links a,
.footer-contact a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #3498db;
  transform: translateX(5px);
}

.footer-contact-icon { margin-right: 12px; color: #3498db; }

.footer-social { display: flex; gap: 15px; }

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #3498db;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.footer-copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #7f8c8d;
  font-size: 12px;
}

/* Back to top */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 9990;
  transition: background 0.2s, transform 0.2s;
}

#back-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

#back-to-top.show { display: flex; }

/* Fullscreen viewer */
.fullscreen-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 10000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-viewer.active,
.fullscreen-viewer[style*="display: flex"] {
  display: flex;
  opacity: 1;
}

.fullscreen-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-close,
.fullscreen-prev,
.fullscreen-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.fullscreen-close { top: 30px; right: 30px; }
.fullscreen-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.fullscreen-next { right: 30px; top: 50%; transform: translateY(-50%); }

.city-info {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  margin: 30px 0;
  line-height: 1.7;
}

/* Homepage hero */
#home {
  background-image: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('/homephotos/hero-advance-search-unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  width: 100%;
  min-height: 320px;
}

#home h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

#home h2 .icon-inline svg {
  stroke: #fff;
  width: 1.35em;
  height: 1.35em;
}

#home p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #f8f9fa;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Search box */
.search-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  margin: -40px auto 30px;
  position: relative;
  z-index: 5;
  max-width: 900px;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.search-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-color);
  background: #fff;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--primary-focus-ring);
}

.search-button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-button:hover {
  background: var(--accent-dark);
}

.search-button:last-child {
  background: var(--secondary-color);
}

.search-button:last-child:hover {
  background: var(--secondary-dark);
}

/* Section headings */
section > h2,
.container section > h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--primary-color);
  margin: 0 0 20px;
  text-align: center;
}

#properties > h2 {
  text-align: left;
  margin-bottom: 4px;
}

/* Property card footer buttons */
.property-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.property-footer > div:empty {
  display: none;
}

.view-property,
.quick-fav-btn,
.view-compound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.view-compound-btn {
  background: transparent;
  color: #15803d;
  border: 1.5px solid #86efac;
}

.view-compound-btn:hover {
  background: rgba(34, 197, 94, 0.06);
  border-color: #4ade80;
}

.view-property {
  background: transparent;
  color: #2563eb;
  border: 1.5px solid #3b82f6;
}

.view-property:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: #2563eb;
}

.quick-fav-btn {
  background: #fff7ed;
  color: #b45309;
  border: 1.5px solid #facc15;
}

.quick-fav-btn:hover {
  background: #fef3c7;
  border-color: #eab308;
}

.quick-fav-btn--saved {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}

.property-images-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  background: #f5f7fa;
  color: #4b5563;
  font-size: 14px;
  text-align: center;
  padding: 12px;
}

/* Testimonials */
#testimonials {
  background: #fff;
  padding: 50px 0;
  margin: 30px 0;
  border-radius: 12px;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin: 0 0 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
}

.author-title {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dots .dot.active {
  background: var(--accent-color);
  transform: scale(1.15);
}

/* Services */
#services,
#onboarding-steps,
#after-onboarding,
#faq {
  margin: 40px 0;
}

.section-hero-image {
  margin: 18px 0 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.section-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid #eef2f6;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.service-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.service-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Timeline / onboarding */
.onboarding-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -28px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--primary-color);
}

.timeline-content p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.onboarding-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: sticky;
  top: 80px;
}

.onboarding-visual-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.support-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 30px;
}

.support-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* Accordion */
.accordion {
  margin-top: 24px;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  background: #fafbfc;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--primary-faint);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color);
}

.accordion-content {
  display: none;
  padding: 0 20px 16px;
  color: #555;
  line-height: 1.6;
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-item.open .accordion-header {
  background: var(--primary-light);
}

/* City highlights */
.city-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.highlight-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid #eef2f6;
  transition: transform 0.2s;
}

.highlight-card:hover {
  transform: translateY(-3px);
}

.highlight-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.highlight-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--primary-color);
}

.highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* FAQ */
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background: #fafbfc;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--primary-faint);
}

.faq-answer {
  padding: 0 20px 16px;
  color: #555;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  background: var(--primary-light);
}

/* About features */
.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 92px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.feature-photo img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-text h4 {
  margin: 0 0 6px;
  color: var(--primary-color);
}

.feature-text p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  #properties { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .onboarding-layout { grid-template-columns: 1fr; }
  .onboarding-visual-grid { position: static; }
  .support-photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-container {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }

  nav.nav-open .nav-container { display: flex; }

  .nav-link {
    width: 100%;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0;
  }

  .header-title { font-size: 1.25rem; }

  #properties { grid-template-columns: 1fr; }
  #home { padding: 80px 15px; }
  .search-box { margin-top: -24px; padding: 16px; }
  .search-form { flex-direction: column; }
  .search-button { width: 100%; }
  .property-footer { grid-template-columns: 1fr; }
  .onboarding-visual-grid { grid-template-columns: 1fr 1fr; }
  .support-photo-grid { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 1fr; gap: 10px; }
  .feature-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 576px) {
  .footer-top { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .city-highlights { grid-template-columns: 1fr; }
}
