/* BrightStart Housing Initiative — styles.css */
/* Colors: yellow #FFD54F, orange #FF8A00, white #FFFFFF, dark text #1F2937 */
:root {
  --yellow: #FFD54F;
  --orange: #FF8A00;
  --orange-700: #E67600;
  --text: #1F2937;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --off: #FFF7E6;
  --card: #FFFFFF;
  --ring: rgba(255,138,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 4rem 0; }
.section.alt { background: var(--off); }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; padding: .5rem 1rem; background: var(--yellow); }

/* Header */
.site-header {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  color: #111;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}
.brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .75rem; }
.logo {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12);
  font-size: 24px;
}
.brand-title { margin: 0; line-height: 1; font-size: 1.25rem; font-weight: 800; }
.brand-tagline { margin: .25rem 0 0; font-size: .9rem; color: #222; }

.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a {
  color: #111; text-decoration: none; font-weight: 600; padding: .5rem .75rem; border-radius: 999px;
}
.site-nav a:hover { background: rgba(255,255,255,.5); }
.site-nav .phone { background: #fff; border: 2px solid #00000010; }

.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.5rem; }

/* Hero */
.hero {
  background: radial-gradient(80% 80% at 0% 0%, #FFF3CD, transparent 60%), #fff;
  padding: 3rem 0 2rem;
}
.hero-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}
.hero-copy h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem); line-height: 1.2; margin: 0 0 1rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-card {
  background: linear-gradient(180deg, #fff, #FFF7E6);
  border: 1px solid #00000010;
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 10px 24px rgba(255,138,0,.15);
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li::before { content: "✓"; margin-right: .6rem; color: var(--orange); font-weight: 800; }
.checklist li { margin: .5rem 0; }

/* Sections */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.card {
  background: var(--card);
  border: 1px solid #00000010;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}
.card.highlight { border-left: 6px solid var(--orange); }

.service h4 { margin-top: 0; }

/* FAQ */
.faq { margin-top: 1rem; }
.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #00000015;
  border-radius: 12px;
  padding: .9rem 1rem;
  font-weight: 700;
  cursor: pointer;
  margin: .5rem 0;
}
.faq-q[aria-expanded="true"] { border-color: var(--orange); box-shadow: 0 0 0 4px var(--ring); }
.faq-a {
  display: none;
  padding: .5rem 1rem .9rem;
  background: #fff;
  border: 1px solid #00000010;
  border-radius: 0 0 12px 12px;
  border-top: 0;
  margin-top: -10px;
}

/* Form */
.intake-form {
  background: #fff;
  border: 1px solid #00000010;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(255,138,0,.08);
}
fieldset { border: 0; padding: 0; margin: 1rem 0; }
legend { font-weight: 800; margin-bottom: .5rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
label { display: block; font-weight: 600; }
label.inline { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
input, select, textarea {
  width: 100%; border: 1px solid #00000020; border-radius: 10px;
  padding: .65rem .75rem; font-size: 1rem; outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--ring);
}
.checkboxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; padding-top: .35rem; }
.hidden { display: none; }

.form-actions { display: flex; flex-direction: column; gap: .5rem; align-items: start; }
.disclaimer { color: var(--muted); font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: .7rem 1rem; border-radius: 999px; border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-700); }
.btn-outline { background: white; color: var(--text); border-color: #00000020; }
.btn-outline:hover { border-color: #00000035; }

/* Footer */
.site-footer { background: #111; color: #eee; padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.footer-cta { color: var(--yellow); text-decoration: none; }
.footer-cta:hover { text-decoration: underline; }
.site-footer a { color: #fff; }
.copyright { text-align: center; color: #9CA3AF; margin: 1rem 0 0; }

/* Success page */
.success-page { background: radial-gradient(80% 80% at 100% 0%, #FFF3CD, transparent 60%), #fff; }
.success { padding: 10vh 0; text-align: center; }
.success h1 { font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem); }
.muted { color: var(--muted); }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; flex-direction: column; align-items: flex-start; padding-bottom: 1rem; }
  .site-nav.open { display: flex; }
}