/* NearMe Homepage Scoped CSS */
:root {
  --primary-dark: #1D3557;
  --canvas: #FFFFFF;
  --surface-alt: #F7F8FA;
  --text-primary: #121212;
  --link-info: #22A2FF;
  --cta-primary: #F4A261;
  --urgent: #EF1300;
  --whatsapp: #4ADF5F;
}

body {
  background-color: var(--canvas);
  color: var(--text-primary);
}

.btn-primary, .button-primary, a[href*="form.typeform.com"] {
  background-color: var(--cta-primary);
  color: var(--text-primary);
  border: none;
  border-radius: 8px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: bold;
}

.sticky-cta, a[href*="wa.me"], a[href*="whatsapp"] {
  background-color: var(--whatsapp);
  color: var(--text-primary);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 24px;
}

/* Ensure 44px touch targets globally for links and buttons */
a, button {
  min-height: 44px;
  min-width: 44px;
  display: inline-block;
}

a.inline-link {
  min-height: auto;
  min-width: auto;
  display: inline;
}

.surface-card, .faq-item {
  background-color: var(--surface-alt);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
  }
}

/* v2.1 (2026-07-11): fix dark/light theme-collision contrast defects.
   Live audit found 27 WCAG failures: FAQ summaries 1.01:1 (invisible),
   section H2s 1.46:1 (navy on dark), FAQ bodies 1.94:1. */
.section-alt h1, .section-alt h2, .section-alt h3,
.section-alt h4, .section-alt h5, .section-alt h6 {
  color: #F4F8F2;
}
.faq-item summary,
.faq-item h3,
.faq-item p,
.faq-item li,
.faq-item .faq-body {
  color: var(--text-primary);
}
.faq-item .faq-disclaimer {
  color: #4A5568;
}
.faq-item .faq-toggle {
  color: var(--primary-dark);
  background: rgba(29, 53, 87, 0.10);
}
