/* landing.css — Landing page specific styles */

/* ── Base overrides for LP body ── */
.lp-body { background: #f7f8fa; }

/* ── Header ── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.lp-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── Hero ── */
/* NOTE: .lp-hero background + padding, and .lp-hero-inner sizing are all set in
   the page's inline critical CSS. Do not duplicate them here — async CSS loads
   after first paint and any override causes CLS. */
.lp-h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.lp-h1 em {
  font-style: normal;
  color: var(--orange);
}
.lp-sub {
  font-size: clamp(.95rem, 2.5vw, 1.08rem);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 32px;
}
.lp-sub strong { color: var(--white); }

/* Form card */
.lp-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  margin-bottom: 20px;
  text-align: left;
}
.lp-form-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.lp-input-wrap {
  position: relative;
  margin-bottom: 10px;
}
.lp-pin-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  pointer-events: none;
}
.lp-input-wrap input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.lp-input-wrap input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.lp-input-wrap input.err { border-color: #ef4444; }
.lp-addr-error {
  display: none;
  color: #ef4444;
  font-size: .78rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.lp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .1s;
  letter-spacing: .01em;
}
.lp-cta-btn:hover { background: var(--orange-dk); transform: translateY(-1px); }
.lp-cta-btn:active { transform: translateY(0); }
.lp-form-fine {
  text-align: center;
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 10px;
  margin-bottom: 0;
}

/* Trust micro */
.lp-trust-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
}

/* ── Stats bar ── */
.lp-stats-bar {
  background: var(--navy);
  padding: 24px 20px;
}
.lp-stats-bar .lp-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.lp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 28px;
  gap: 2px;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.lp-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ── Generic section styles ── */
.lp-section {
  padding: 64px 20px;
}
.lp-container {
  max-width: 960px;
  margin: 0 auto;
}
.lp-section-head {
  text-align: center;
  margin-bottom: 44px;
}
.lp-section-head h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.lp-section-head h2 em { font-style: normal; color: var(--orange); }
.lp-section-head p {
  font-size: .95rem;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Situations grid ── */
.lp-situations { background: var(--white); }
.lp-sit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.lp-sit-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.lp-sit-card:hover { border-color: var(--orange); box-shadow: var(--sh-sm); }
.sit-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ── How It Works ── */
.lp-hiw { background: #f7f8fa; }
.lp-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 24px 20px;
}
.lp-step-num {
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.lp-step-icon { font-size: 2.2rem; margin-bottom: 12px; }
.lp-step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.lp-step p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.lp-step-arrow {
  font-size: 1.6rem;
  color: var(--orange);
  padding: 60px 4px 0;
  align-self: flex-start;
}
.lp-hiw-cta { text-align: center; margin-top: 36px; }
.lp-hiw-cta .lp-cta-btn { max-width: 340px; margin: 0 auto; }

/* ── Comparison table ── */
.lp-compare { background: var(--white); }
.lp-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 560px;
}
.lp-table thead th {
  padding: 14px 16px;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.lp-table thead th:first-child { text-align: left; }
.lp-table .col-us {
  background: #fff8f0;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-bottom: none;
}
.lp-table .col-agent,
.lp-table .col-fsbo { color: var(--gray-500); }
.lp-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.lp-table tbody tr:last-child { border-bottom: none; }
.lp-table tbody td,
.lp-table tbody th { padding: 13px 16px; }
.lp-table tbody .row-label {
  font-weight: 700;
  color: var(--navy);
  font-size: .85rem;
  text-align: left;
}
.lp-table tbody .col-us {
  background: #fff8f0;
  font-weight: 700;
  color: #15803d;
  border-left: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}
.lp-table tbody tr:last-child .col-us { border-bottom: 2px solid var(--orange); }
.lp-table tbody .col-agent,
.lp-table tbody .col-fsbo { color: var(--gray-400); }

/* ── Testimonials ── */
.lp-testimonials { background: #f7f8fa; }
.lp-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.lp-testi-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .05em; }
.testi-quote {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-size: .88rem; font-weight: 800; color: var(--navy); }
.testi-city { font-size: .75rem; color: var(--gray-400); }

/* ── FAQ ── */
.lp-faq { background: var(--white); }
.lp-faq-inner { max-width: 720px; }
.lp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--orange); }
.faq-item summary {
  padding: 16px 20px;
  font-weight: 800;
  font-size: .92rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 16px;
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── Second CTA ── */
.lp-second-cta {
  background: linear-gradient(135deg, #1a2b4a 0%, #243561 100%);
  padding: 64px 20px;
}
.lp-cta2-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.lp-cta2-card h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.lp-cta2-card p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 28px;
}
.lp-form2 { display: flex; flex-direction: column; gap: 10px; }
.lp-input-wrap-alt input {
  background: var(--white);
  border-color: rgba(255,255,255,.2);
}
.lp-cta-btn-alt { background: var(--orange); }
.lp-cta-btn-alt:hover { background: var(--orange-dk); }
.lp-cta2-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin-top: 14px;
}

/* ── Google Places autocomplete dropdown ── */
.pac-container { z-index: 9999; border-radius: 10px; border: 1.5px solid var(--gray-200); box-shadow: var(--sh-md); font-family: inherit; }
.pac-item { padding: 10px 14px; font-size: .9rem; cursor: pointer; }
.pac-item:hover { background: var(--gray-50); }
.pac-matched { font-weight: 700; color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .lp-form-card { padding: 24px 10px 20px; }
  .bbb-img { height: 32px !important; }
  .lp-steps { flex-direction: column; align-items: center; }
  .lp-step-arrow { display: none; }
  .lp-stat-divider { display: none; }
  .lp-stats-bar .lp-container { gap: 0; }
  .lp-stat { padding: 10px 16px; }
  .lp-sit-grid { grid-template-columns: 1fr 1fr; }
  .lp-trust-micro { gap: 10px; }
}
