/* ============================================
   Real Estate Help Now — Main Stylesheet
   Navy #1B3A5C | Sage #6B8F71 | Amber #D4954A
   Playfair Display + DM Sans
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #4A4A4A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; }

:root {
  --navy: #1B3A5C;
  --navy-dark: #142d47;
  --sage: #6B8F71;
  --amber: #D4954A;
  --amber-hover: #c4842e;
  --off-white: #F8F6F3;
  --text: #4A4A4A;
  --text-light: #6b6b6b;
  --light-gray: #E8E5E0;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(27,58,92,0.08);
  --shadow-lg: 0 8px 30px rgba(27,58,92,0.12);
  --radius: 10px;
  --max-width: 1200px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; text-align: center; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 0.75rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); }
.text-center { text-align: center; }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 650px; margin: -8px auto 40px; font-size: 0.95rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-size: 1rem; font-weight: 600;
  border-radius: var(--radius); transition: all 0.25s ease; text-decoration: none;
}
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn-amber-outline { border: 2px solid var(--amber); color: var(--amber); background: transparent; }
.btn-amber-outline:hover { background: var(--amber); color: #fff; }
.btn-white-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid #eee;
  padding: 0 24px; height: 70px;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); }
.logo { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 0.9rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; margin-right: 4px; vertical-align: middle; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: 0.3s; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; padding: 24px;
  flex-direction: column; gap: 0;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { padding: 16px 0; font-size: 1.1rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid #eee; }
.mobile-nav .btn { margin-top: 16px; text-align: center; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 520px;
  background: linear-gradient(135deg, rgba(27,58,92,0.88) 0%, rgba(27,58,92,0.65) 50%, rgba(27,58,92,0.3) 100%), url('../images/hero-wisconsin.jpg') center/cover no-repeat;
  display: flex; align-items: center; padding: 60px 0;
}
.hero .container { display: flex; align-items: center; gap: 40px; }
.hero-content { flex: 1; color: #fff; }
.hero-content h1 { color: #fff; font-size: 2.5rem; margin-bottom: 16px; max-width: 520px; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 24px; max-width: 480px; line-height: 1.7; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500; }
.hero-badge svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

/* Hero form */
.hero-form-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-lg); width: 400px; flex-shrink: 0;
}
.hero-form-card h3 { text-align: center; font-size: 1.3rem; margin-bottom: 20px; color: var(--navy); }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: var(--radius);
  font-size: 0.95rem; color: var(--text); background: #fff; transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.form-group select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%234A4A4A'/%3E%3C/svg%3E") right 14px center/12px no-repeat; padding-right: 36px; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--amber); }
.form-group input::placeholder { color: #aaa; }
.form-submit { width: 100%; padding: 14px; font-size: 1.05rem; font-weight: 700; background: var(--amber); color: #fff; border: none; border-radius: var(--radius); cursor: pointer; transition: background 0.25s; }
.form-submit:hover { background: var(--amber-hover); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 12px; }

/* ===== PAIN POINTS / SITUATIONS ===== */
.situations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.situation-card {
  background: #fff; border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
}
.situation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.situation-icon { width: 40px; height: 40px; margin-bottom: 12px; color: var(--amber); }
.situation-card h3 { font-size: 1rem; margin-bottom: 6px; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); }
.situation-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* ===== HOW IT WORKS ===== */
.steps { display: flex; gap: 40px; justify-content: center; margin: 48px 0 32px; }
.step { text-align: center; flex: 1; max-width: 320px; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber); color: #fff; font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ===== WHY CHOOSE US ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--navy); }
.benefit h3 { font-size: 1rem; margin-bottom: 4px; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); }
.benefit p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.testimonial-stars { color: var(--amber); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.9rem; color: var(--text); font-style: italic; line-height: 1.6; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testimonial-location { font-size: 0.8rem; color: var(--text-light); }

/* ===== SERVICE AREA ===== */
.city-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.city-chip {
  padding: 10px 20px; border-radius: 50px; border: 1px solid #ccc;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  transition: all 0.2s; background: #fff;
}
.city-chip:hover { border-color: var(--amber); color: var(--amber); background: rgba(212,149,74,0.05); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; color: var(--navy);
  background: none; border: none; cursor: pointer; text-align: left;
}
.faq-question svg { width: 20px; height: 20px; color: var(--text-light); transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-answer p { padding: 0 0 20px; font-size: 0.93rem; color: var(--text); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; }

/* ===== CTA BANNER ===== */
.cta-banner { text-align: center; padding: 72px 24px; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1rem; }
.cta-banner .cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-banner .cta-phone { color: #fff; font-size: 0.95rem; font-weight: 500; }
.cta-banner .cta-phone svg { width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark, #142d47); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer p { font-size: 0.85rem; line-height: 1.6; }
.footer a { font-size: 0.85rem; display: block; padding: 3px 0; transition: color 0.2s; }
.footer a:hover { color: var(--amber); }
.footer-phone { color: var(--amber); font-weight: 600; font-size: 0.95rem; margin-top: 12px; display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: 0.8rem; }

/* ===== MOBILE STICKY CTA ===== */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--navy); padding: 12px 16px;
  justify-content: space-between; align-items: center; gap: 12px;
}
.mobile-cta a { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; }
.mobile-cta .mc-call { background: #fff; color: var(--navy); }
.mobile-cta .mc-offer { background: var(--amber); color: #fff; }

/* ===== INTERIOR PAGE HERO ===== */
.page-hero { background: var(--off-white); padding: 48px 0 40px; }
.page-hero h1 { text-align: center; font-size: 2.2rem; margin-bottom: 8px; }
.breadcrumb { text-align: center; font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.breadcrumb a { color: var(--amber); }
.breadcrumb a:hover { text-decoration: underline; }

/* Interior content */
.content-section { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.content-section h2 { text-align: left; font-size: 1.6rem; margin: 32px 0 12px; }
.content-section p { font-size: 0.95rem; line-height: 1.75; }
.content-section ul { margin: 12px 0 20px 20px; }
.content-section li { font-size: 0.95rem; line-height: 1.7; margin-bottom: 6px; list-style: disc; }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 0.9rem; }
.comparison-table th { background: var(--navy); color: #fff; padding: 14px 16px; text-align: left; font-weight: 600; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid #eee; }
.comparison-table tr:nth-child(even) { background: var(--off-white); }
.comparison-table .label { font-weight: 600; color: var(--navy); width: 160px; }

/* Bottom form section on interior pages */
.bottom-form { background: var(--off-white); padding: 60px 0; text-align: center; }
.bottom-form h2 { margin-bottom: 8px; }
.bottom-form .form-wrap { max-width: 500px; margin: 24px auto 0; background: #fff; padding: 32px 28px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Values grid for About page */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 24px 0; }
.value-card { background: var(--off-white); border-radius: var(--radius); padding: 24px; }
.value-card h3 { color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 0.9rem; margin: 0; color: var(--text-light); }

/* City neighborhoods */
.neighborhoods { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.neighborhoods span { background: var(--off-white); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .situations-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 48px 0; }
  .nav-links, .nav-right .nav-phone { display: none; }
  .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .hero .container { flex-direction: column; }
  .hero-content h1 { font-size: 2rem; }
  .hero-form-card { width: 100%; }
  .hero { min-height: auto; padding: 40px 0; }
  .steps { flex-direction: column; align-items: center; gap: 32px; }
  .situations-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .values-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 8px; }
}
