:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #0ea5e9;
  --dark-bg: #1e293b;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../../images/house8.webp") no-repeat center center/cover;
  color: white;
  padding: 180px 0;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  opacity: 0.95;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
}

.hero-cta {
  margin-top: var(--spacing-md);
}

.cta-primary {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.intro-stats {
  padding: var(--spacing-xl) var(--spacing-md);
  background: white;
}

.intro-stats h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto var(--spacing-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.stat-card {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.neighborhoods {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--light-bg);
}

.neighborhoods-alt {
  background: white;
}

.neighborhoods h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.section-intro {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.neighborhood-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-md);
  transition: all 0.3s ease;
}

.neighborhoods-alt .neighborhood-card {
  border-color: var(--border-color);
}

.neighborhood-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
}

.neighborhood-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.neighborhood-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.neighborhood-median {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success-color);
  margin-top: var(--spacing-sm);
}

.why-sell {
  padding: var(--spacing-xl) var(--spacing-md);
  background: white;
}

.why-sell h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.reason-card {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: var(--spacing-md);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.reason-card:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.reason-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.reason-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.market-insights {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--dark-bg);
  color: white;
}

.market-insights h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.insights-column h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
}

.insights-column h4 {
  font-size: 1.25rem;
  margin: var(--spacing-md) 0 var(--spacing-sm);
  color: white;
}

.insights-column p {
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
}

.market-stats,
.attractions-list,
.reasons-list {
  list-style: none;
  padding-left: 0;
}

.market-stats li,
.attractions-list li,
.reasons-list li {
  padding: var(--spacing-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.9;
}

.market-stats li::before,
.attractions-list li::before,
.reasons-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.process {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--light-bg);
}

.process h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.process-step {
  background: white;
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.15);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-sm);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-light);
  line-height: 1.6;
}

.testimonials {
  padding: var(--spacing-xl) var(--spacing-md);
  background: white;
}

.testimonials h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.testimonial-card {
  background: var(--light-bg);
  padding: var(--spacing-md);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.faq {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--light-bg);
}

.faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.faq-question {
  padding: var(--spacing-md);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: var(--spacing-md);
  max-height: 500px;
}

.final-offer {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
}

.final-offer h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.offer-form {
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-row:has(.form-group + .form-group) {
  grid-template-columns: repeat(2, 1fr);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.offer-form button[type="submit"] {
  width: 100%;
  margin-top: var(--spacing-sm);
}

.contact-info {
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.95;
}

.contact-info a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
}

.contact-info a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .intro-stats h2,
  .neighborhoods h2,
  .why-sell h2,
  .market-insights h2,
  .process h2,
  .testimonials h2,
  .faq h2,
  .final-offer h2 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .neighborhoods-grid,
  .reasons-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .form-row:has(.form-group + .form-group) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
  }

  .hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}