/* ============================================
   SquatFit — Custom Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  margin: 0;
}

img {
  max-width: 100%;
}

a {
  color: #0d9488;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #0f766e;
  text-decoration: underline;
}

section {
  padding: 80px 0;
}

section:nth-child(even):not(.hero):not(.cta-banner) {
  background: #f8fafb;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- Navbar ---------- */
.navbar-sf {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.navbar-sf .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand-sf {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.brand-icon {
  font-size: 26px;
  line-height: 1;
}

.brand-text {
  font-size: 26px;
  font-weight: 800;
  color: #0d9488 !important;
  letter-spacing: -0.5px;
}

.brand-text span {
  color: #1e293b;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: .2px;
  margin-top: 2px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: #0d9488;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 100px;
  background-image: linear-gradient(rgba(15,40,56,.72), rgba(13,30,47,.78)),
                     url('/houses/636670800858761792-squatters-mendota-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero .lead {
  font-size: 20px;
  opacity: .9;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero .btn {
  margin: 0 8px 12px;
}

/* ---------- Buttons ---------- */
.btn-primary-sf {
  display: inline-block;
  padding: 14px 32px;
  background: #0d9488;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
  cursor: pointer;
}

.btn-primary-sf:hover {
  background: #0f766e;
  color: #fff !important;
}

.btn-outline-sf {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .2s;
  cursor: pointer;
}

.btn-outline-sf:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff !important;
}

/* ---------- How It Works ---------- */
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #0d9488;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e293b;
}

.step p {
  color: #64748b;
  font-size: 15px;
}

.step-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  margin-bottom: 16px;
}

/* ---------- Listing Cards ---------- */
.listing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
}

.listing-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.listing-img {
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}

.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-body {
  padding: 20px;
}

.listing-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.listing-body .location {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.listing-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 14px;
  color: #475569;
}

.listing-meta li {
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

.listing-meta li:last-child {
  border-bottom: none;
}

.badge-available {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #dcfce7;
  color: #16a34a;
}

.badge-pending {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #fef3c7;
  color: #d97706;
}

/* ---------- For Owners ---------- */
.owner-benefit {
  text-align: center;
  padding: 24px;
}

.owner-benefit .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.owner-benefit h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.owner-benefit p {
  color: #64748b;
  font-size: 15px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  height: 100%;
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 20px;
  padding: 0;
  border: none;
}

.testimonial-card .author {
  font-weight: 700;
  color: #1e293b;
  font-size: 15px;
}

.testimonial-card .author-location {
  color: #94a3b8;
  font-size: 14px;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border: 2px solid #0d9488;
  position: relative;
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d9488;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 44px;
  font-weight: 800;
  color: #0d9488;
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 500;
  color: #94a3b8;
}

.pricing-card .price-note {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "\2713";
  color: #0d9488;
  font-weight: 700;
  margin-right: 10px;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  transition: all .2s;
}

.btn-pricing-outline {
  border: 2px solid #e2e8f0;
  color: #475569 !important;
  background: #fff;
}

.btn-pricing-outline:hover {
  border-color: #0d9488;
  color: #0d9488 !important;
}

.btn-pricing-filled {
  border: 2px solid #0d9488;
  background: #0d9488;
  color: #fff !important;
}

.btn-pricing-filled:hover {
  background: #0f766e;
  border-color: #0f766e;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

.faq-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.faq-item p {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background-image: linear-gradient(rgba(15,40,56,.78), rgba(13,30,47,.82)),
                     url('/houses/images.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.footer-sf {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 32px;
}

.footer-sf h5 {
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}

.social-links a:hover {
  color: #e2e8f0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 40px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .lead {
    font-size: 17px;
  }

  section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .cta-banner h2 {
    font-size: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-card {
    margin-bottom: 24px;
  }
}
