* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #faf8f5;
  color: #4a5a4a;
  line-height: 1.6;
  /* Prevent layout shift from font loading */
  font-display: swap;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e4dd;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 2rem;
  width: auto;
}

@media (min-width: 768px) {
  .logo-img {
    height: 2.5rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  color: #5a6a5a;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #4a5a4a;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #4a5a4a;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  background-color: #faf8f5;
  border-top: 1px solid #e8e4dd;
  padding: 1rem 1.5rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: #5a6a5a;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Image Strip */
.hero-image {
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: center 40%;
}

@media (min-width: 768px) {
  .hero-image {
    height: 144px;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  background-color: #faf8f5;
}

.hero-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #78b83b;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #8a9a8a;
}

.hero p {
  color: #5a6a5a;
  font-size: 1rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.125rem;
  }
}

/* Added steps-title styling for centered text */
.steps-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.steps-title h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5a4a;
}

@media (min-width: 768px) {
  .steps-title h2 {
    font-size: 1.5rem;
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: #f5841f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number span {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5a4a;
  margin-bottom: 0.5rem;
}

.step p {
  color: #5a6a5a;
  font-size: 0.875rem;
  max-width: 200px;
  margin: 0 auto;
}

/* Benefits Section - Orange background version (kept for reference) */
.benefits {
  padding: 5rem 0;
  background-color: #f5841f;
}

/* Benefits Section - Light/original version */
.benefits-light {
  padding: 5rem 0;
  background-color: #f5f3ef;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.section-title-line {
  width: 4rem;
  height: 4px;
  background-color: white;
  margin: 0 auto;
  border-radius: 9999px;
}

/* Dark text version for light backgrounds */
.section-title-dark {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title-dark h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a5a4a;
  margin-bottom: 1rem;
}

.section-title-line-dark {
  width: 4rem;
  height: 4px;
  background-color: #6b7f6b;
  margin: 0 auto;
  border-radius: 9999px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background-color: white;
  border: none;
  transition: box-shadow 0.2s;
}

.benefit-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #6b7f6b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

.benefit-card span {
  color: #4a5a4a;
  font-weight: 500;
  line-height: 1.4;
}

/* Light benefit card for beige background */
.benefit-card-light {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background-color: white;
  border: 1px solid #e8e4dd;
  transition: box-shadow 0.2s;
}

.benefit-card-light:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.benefit-card-light span {
  color: #6a7a6a;
  font-weight: 500;
  line-height: 1.4;
}

/* Green icon for light cards */
.benefit-icon-green {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #78b83b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon-green svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

/* CTA Button */
.cta-section {
  text-align: center;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
  border: none;
}

/* Primary button is now orange by default */
.btn-primary {
  background-color: #f5841f;
  color: white;
}

.btn-primary:hover {
  background-color: #e07318;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #6b7f6b;
  color: #6b7f6b;
}

.btn-outline:hover {
  background-color: #6b7f6b;
  color: white;
}

/* Orange button class with higher specificity */
.btn-orange,
.btn.btn-orange {
  background-color: #f5841f;
  color: white;
}

.btn-orange:hover,
.btn.btn-orange:hover {
  background-color: #e07318;
}

/* White button for use on orange backgrounds */
.btn-white,
.btn.btn-white {
  background-color: white;
  color: #f5841f;
}

.btn-white:hover,
.btn.btn-white:hover {
  background-color: #fff8f0;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 4rem 0 3rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #78b83b;
  margin-bottom: 1rem;
}

.page-header p {
  color: #5a6a5a;
  font-size: 1.125rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
}

/* FAQ Section */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.faq-item {
  background-color: white;
  border: 1px solid #e8e4dd;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #faf8f5;
}

.faq-question span {
  color: #4a5a4a;
  font-weight: 500;
  padding-right: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #f5841f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: #5a6a5a;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Cards */
.card {
  background-color: white;
  border: 1px solid #e8e4dd;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(245, 132, 31, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #f5841f;
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5a4a;
}

.card p {
  color: #5a6a5a;
  margin-bottom: 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* City tags */
.city-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .city-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.city-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #faf8f5;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #5a6a5a;
}

.city-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #f5841f;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-pill {
  padding: 0.375rem 0.75rem;
  background-color: #f5f3ef;
  color: #5a6a5a;
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Enhanced error box styling */
.error-box {
  background-color: #fef2f2;
  border: 2px solid #e74c3c;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.error-box p {
  color: #c0392b;
  font-size: 0.9rem;
  margin-bottom: 0.375rem;
}

.error-box p:first-child {
  font-weight: 600;
  color: #a93226;
  margin-bottom: 0.75rem;
}

.error-box p:last-child {
  margin-bottom: 0;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  padding-bottom: 4rem;
}

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

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: #4a5a4a;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid #e8e4dd;
  border-radius: 0.75rem;
  background-color: #faf8f5;
  color: #4a5a4a;
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #f7c4a5;
}

.form-control::placeholder {
  color: #a0a0a0;
}

textarea.form-control {
  resize: none;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7f6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

/* Enhanced field error styling with higher visibility */
.field-error,
input.field-error,
select.field-error,
textarea.field-error {
  border: 2px solid #e74c3c !important;
  background-color: #fef2f2 !important;
}

.field-error-msg {
  display: block;
  color: #c0392b;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.5rem;
  padding-left: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: #6b7f6b;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: #5a6a5a;
  line-height: 1.5;
}

.checkbox-group a {
  color: #6b7f6b;
  text-decoration: underline;
}

/* Progress indicator */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.progress-circle.active {
  background-color: #f5841f;
}

.progress-circle.done {
  background-color: #6b7f6b;
}

.progress-circle.inactive {
  background-color: #e8e4dd;
  color: #8a9a8a;
}

.progress-step span:last-child {
  font-weight: 500;
  font-size: 0.875rem;
}

.progress-step.active span:last-child {
  color: #4a5a4a;
}

.progress-step.done span:last-child {
  color: #6b7f6b;
}

.progress-step.inactive span:last-child {
  color: #8a9a8a;
}

.progress-line {
  width: 3rem;
  height: 2px;
  background-color: #e8e4dd;
}

.progress-line.done {
  background-color: #6b7f6b;
}

/* Property summary */
.property-summary {
  background-color: white;
  border: 1px solid #e8e4dd;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-summary .details p:first-child {
  color: #4a5a4a;
  font-weight: 500;
}

.property-summary .details p:last-child {
  color: #5a6a5a;
  font-size: 0.875rem;
}

.property-summary a {
  color: #6b7f6b;
  font-size: 0.875rem;
  font-weight: 500;
}

.property-summary a:hover {
  text-decoration: underline;
}

/* Buttons row */
.btn-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-row .btn {
  flex: 1;
}

/* Success message */
.success-container {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 0;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background-color: #6b7f6b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

.success-container h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a5a4a;
  margin-bottom: 1rem;
}

.success-container > p {
  color: #5a6a5a;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.summary-card {
  background-color: white;
  border: 1px solid #e8e4dd;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.summary-card h3 {
  color: #4a5a4a;
  font-weight: 600;
  margin-bottom: 1rem;
}

.summary-card p {
  color: #5a6a5a;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.summary-card p span {
  color: #4a5a4a;
  font-weight: 500;
}

/* Narrow container */
.container-narrow {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-form {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Added upload section styles */
/* Upload Section */
.upload-section {
  background-color: white;
  border: 1px solid #e8e4dd;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.upload-section h3 {
  color: #4a5a4a;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.upload-description {
  color: #5a6a5a;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.upload-form {
  margin-bottom: 1rem;
}

.upload-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 3rem;
  border: 2px dashed #e8e4dd;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7f6b;
}

.upload-label:hover {
  border-color: #f5841f;
  background-color: #fff8f0;
}

.upload-label:hover svg {
  color: #f5841f;
}

.upload-label svg {
  color: #6b7f6b;
  transition: color 0.2s;
}

.upload-label span {
  font-weight: 500;
  font-size: 0.95rem;
  color: #5a6a5a;
}

.upload-note {
  color: #8a9a8a;
  font-size: 0.8rem;
  margin-top: 1rem;
}

.upload-formats {
  color: #8a9a8a;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.upload-success {
  background-color: #f0fdf4;
  border: 1px solid #6b7f6b;
  color: #4a5a4a;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.upload-success b {
  color: #f5841f;
}

.upload-error {
  background-color: #fef2f2;
  border: 1px solid #e74c3c;
  color: #c0392b;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: #f5f3ef;
  border-top: 1px solid #e8e4dd;
  padding: 1rem 0;
  margin-top: 3rem;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #5a6a5a;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #78b83b;
}

.footer-sep {
  color: #c0c0c0;
  font-size: 0.75rem;
}

.footer-info {
  color: #8a9a8a;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-info a {
  color: #78b83b;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-copyright {
  color: #a0a0a0;
  font-size: 0.7rem;
}
