/* =============================================
   Maryland Property Guys - Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:    #1a6b3a;   /* Maryland green */
  --primary-dk: #124d2a;
  --accent:     #e8a020;   /* Gold accent */
  --dark:       #1c1c1c;
  --dark-2:     #2d2d2d;
  --light-bg:   #f7f7f5;
  --card-bg:    #ffffff;
  --text:       #1c1c1c;
  --text-muted: #555555;
  --border:     #ddd;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --font:       'Inter', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

img { max-width: 100%; display: block; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dk); text-decoration: none; }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #c98a10; text-decoration: none; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }

.header-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--primary-dk); text-decoration: none; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: var(--light-bg);
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
}

/* --- Lead Form Card --- */
.lead-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px 32px;
  border: 1px solid #e8e8e8;
}

.lead-form-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
}

.lead-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,58,0.12);
  background: #fff;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* --- SMS Consent Checkboxes --- */
.consent-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.consent-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  border-radius: 3px;
}

.consent-item label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent-item label strong {
  color: var(--text);
}

.consent-item label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.3px;
}

.form-submit-btn:hover {
  background: var(--primary-dk);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 12px;
}

/* --- Hero Image Side --- */
.hero-image-side {
  position: relative;
}

.hero-house-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 420px;
  background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 50%, #81c784 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.offer-badge {
  position: absolute;
  background: var(--dark);
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.offer-badge.top-right {
  top: 24px;
  right: -16px;
}

.offer-badge.mid-left {
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
}

.offer-badge .badge-label {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 2px;
}

.offer-badge .badge-amount {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
}

/* --- Trust badges below hero --- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}

.trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item .trust-icon {
  font-size: 1.3rem;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 80px 24px;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.step-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us {
  background: var(--light-bg);
  padding: 80px 24px;
}

.why-us-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.why-us-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
}

.benefit-list li .check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  margin-top: 1px;
}

.why-us-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  border-radius: 20px;
  padding: 48px 36px;
  color: #fff;
  text-align: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.stat-box {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 16px;
}

.stat-box .stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 80px 24px;
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #eee;
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* =============================================
   CTA BANNER (dark)
   ============================================= */
.cta-banner {
  background: var(--dark);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.75;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-accent {
  font-size: 1.1rem;
  padding: 16px 44px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark-2);
  color: #ccc;
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #aaa;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #888;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: #bbb;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* =============================================
   INNER PAGES (T&C, Privacy)
   ============================================= */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 60px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.85;
}

.page-content {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--dark);
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--dark);
}

.page-content p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.page-content ul {
  margin: 10px 0 14px 24px;
}

.page-content ul li {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.page-content a {
  color: var(--primary);
  text-decoration: underline;
}

.last-updated {
  display: inline-block;
  background: var(--light-bg);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-side {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .why-us-inner {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

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

@media (max-width: 600px) {
  .hero {
    padding: 48px 16px 40px;
  }

  .lead-form-card {
    padding: 24px 18px;
  }

  .trust-bar-inner {
    gap: 24px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}
