/* =============================================================================
   RWAddress™ — home.css
   Styles specific to index.html (home page)
   Requires: css/main.css loaded first
   ============================================================================= */

/* ── HERO ── */
.hero {
  background: var(--blue-light);
  border-bottom: 1px solid var(--blue-mid);
  padding: 72px 40px;
  text-align: center;
  overflow: visible;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 300;
}

/* ── SEARCH BAR ── */
.search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: visible;
  position: relative;
}

.search-bar input {
  flex: 1;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 14px 18px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  background: var(--white);
}

.search-bar input:focus {
  border-color: var(--blue);
}

.search-bar input::placeholder {
  color: var(--text-light);
}

.search-bar button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0 28px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  white-space: nowrap;
  transition: background 0.15s;
}

.search-bar button:hover {
  background: var(--blue-dark);
}

.hero-note {
  font-size: 13px;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-bar span {
  margin: 0 20px;
  display: inline-block;
}

.trust-bar strong {
  color: var(--blue);
}

/* ── HOW IT WORKS — STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── FOMO BAND ── */
.fomo-band {
  background: var(--blue);
  padding: 56px 40px;
  text-align: center;
}

.fomo-band h2 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.3;
}

.fomo-band p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
  font-weight: 300;
}

/* ── PATH CARDS ── */
.path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  background: var(--white);
}

.path-card.highlight {
  border-color: var(--blue);
  border-width: 2px;
}

.path-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.path-badge.muted {
  background: var(--text-light);
}

.path-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.path-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── LEAD MAGNET ── */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-grid h2 {
  margin-bottom: 10px;
}

.lead-checklist {
  list-style: none;
  margin: 20px 0 28px;
}

.lead-checklist li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-checklist li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── LEAD FORM ── */
.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}

.lead-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.lead-form p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lead-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.lead-form input:focus {
  border-color: var(--blue);
}

.lead-form input::placeholder {
  color: var(--text-light);
}

.lead-form button {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 13px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

.lead-form button:hover {
  background: var(--blue-dark);
}

.lead-form .form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}

/* ── BOOK A SESSION BAND ── */
.book-band {
  background: var(--bg-grey);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 40px;
  text-align: center;
}

.book-band h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.book-band p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

/* ── RESPONSIVE — HOME SPECIFIC ── */
@media (max-width: 768px) {
  .hero {
    padding: 48px 20px;
  }

  .trust-bar span {
    display: block;
    margin: 4px 0;
  }

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

  .path-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .fomo-band,
  .book-band {
    padding: 48px 20px;
  }

  .search-bar {
    flex-direction: column;
    border-radius: 4px;
    box-shadow: none;
  }

  .search-bar input {
    border-right: 2px solid var(--border);
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .search-bar button {
    border-radius: 4px;
    padding: 14px;
  }
}
