.seo-pages-container {
  background: #f2f2f97a;
  min-height: 100vh;
}

.seo-header-section {
  background: linear-gradient(135deg, #3759ff 0%, #2d4ae6 100%);
  color: white;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
}

.seo-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.seo-header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.breadcrumb-link {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-link:hover {
  opacity: 0.8;
}

.breadcrumb-separator {
  opacity: 0.6;
}

.breadcrumb-current {
  font-weight: 500;
}

.seo-header-title {
  margin-bottom: 1.5rem;
}

.seo-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.seo-description {
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 800px;
}

.seo-header-filters {
  margin-bottom: 1.5rem;
}

.filter-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}

.filter-badge i {
  font-size: 1rem;
}

.seo-header-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.seo-content-section {
  padding: 0 1.5rem 3rem;
}

.properties-grid-wrapper {
  position: relative;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
}

.property-item-fade {
  position: relative;
  opacity: 0.4;
  filter: blur(2px);
  transition: opacity 0.3s, filter 0.3s;
}

.properties-expand-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0 2rem;
  margin-top: -6rem;
  background: linear-gradient(to bottom, rgba(242, 242, 249, 0) 0%, rgba(242, 242, 249, 0.7) 20%, rgba(242, 242, 249, 0.95) 100%);
  z-index: 10;
}

@media (max-width: 768px) {
  .properties-expand-section {
    margin-top: -4rem;
    padding: 2rem 0 1.5rem;
  }
}

.learn-more-btn {
  background: #3759ff;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(55, 89, 255, 0.3);
  transition: all 0.3s;
}

.learn-more-btn:hover {
  background: #2d4ae6;
  box-shadow: 0 6px 20px rgba(55, 89, 255, 0.4);
  transform: translateY(-2px);
}

.learn-more-btn i {
  transition: transform 0.3s;
}

.learn-more-btn:hover i {
  transform: translateY(3px);
}

.property-item {
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-item:hover {
  transform: translateY(-4px);
}

.property-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.property-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.property-image-container {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f5f5f5;
}

.property-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.property-card:hover .property-image {
  transform: scale(1.05);
}

.mega-photo-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-photo-btn:hover {
  background: white;
}

.property-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 10;
}

.property-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-badge-primary {
  background: #3759ff;
  color: white;
}

.property-badge-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
}

.property-price {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
}

.price-amount {
  display: inline-block;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.5rem;
  color: #3759ff;
  box-shadow: 0 2px 8px rgba(35, 84, 193, 0.15);
}

.property-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(55, 89, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 5;
}

.property-card:hover .property-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.property-location i {
  color: #3759ff;
}

.property-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4b5563;
  font-size: 0.85rem;
  font-weight: 600;
}

.feature-item i {
  color: #3759ff;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.property-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.property-view-btn {
  background: #3759ff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-view-btn:hover {
  background: #2d4ae6;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.empty-state-description {
  color: #6b7280;
  margin-bottom: 2rem;
}

.empty-state-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.seo-lead-form-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.seo-faq-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem 0;
}

.faq-container {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: #3759ff;
  box-shadow: 0 2px 8px rgba(55, 89, 255, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: #f9fafb;
  transition: background 0.3s;
  user-select: none;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-question span {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  flex: 1;
}

.faq-question i {
  color: #3759ff;
  transition: transform 0.3s;
  font-size: 0.9rem;
}

.faq-item.active .faq-question {
  background: #f0f4ff;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.25rem 1.5rem;
}

.faq-answer p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 1.5rem;
  }

  .faq-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question span {
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem;
  }
}

.seo-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Property Modal Styles */
.property-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.property-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.property-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.property-modal-close:hover {
  background: white;
  border-color: #3759ff;
  box-shadow: 0 4px 12px rgba(55, 89, 255, 0.2);
  transform: scale(1.1);
}

.property-modal-body {
  padding: 0;
}

/* Photo Modal Styles */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
}

.photo-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.photo-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.2s;
}

.photo-modal-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.photo-modal-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.photo-modal-slider img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.photo-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 0.5rem;
  transition: transform 0.2s;
}

.photo-modal-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.photo-modal-arrow#photo-modal-prev {
  left: 1rem;
}

.photo-modal-arrow#photo-modal-next {
  right: 1rem;
}

.photo-modal-counter {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .seo-main-title {
    font-size: 1.8rem;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .seo-header-section {
    padding: 2rem 0 1.5rem;
  }
}

