/* =============================================
   HOMES FOR ANGELS — SHARED STYLESHEET
   Edit colors at the top to restyle the whole site.
   All pages link to this one file.
============================================= */

/* --- COLORS --- */
:root {
  --teal:       #1D9E75;
  --teal-dark:  #0F6E56;
  --teal-light: #E1F5EE;
  --blue:       #378ADD;
  --blue-light: #E6F1FB;
  --text:       #1a1a1a;
  --muted:      #555;
  --border:     #ddd;
  --bg:         #fff;
  --bg-alt:     #f8f9fb;
}

/* --- BASE RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* --- LAYOUT --- */
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 52px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* --- TYPOGRAPHY --- */
.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
h1 { font-size: 30px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
h2 { font-size: 24px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal-light); text-decoration: none; }
.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { background: #eef9f5; text-decoration: none; color: var(--teal-dark); }
.btn-white-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.65);
  display: inline-block; padding: 10px 20px;
  border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: #fff; }

/* --- NAVIGATION --- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 820px; margin: 0 auto; padding: 0 24px;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-name { font-size: 15px; font-weight: 700; color: var(--teal-dark); }
.nav-logo-sub  { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  font-size: 12px; color: var(--muted);
  padding: 5px 9px; border-radius: 6px;
}
.nav-links a:hover { background: var(--teal-light); color: var(--teal-dark); text-decoration: none; }
.nav-links a.active { color: var(--teal-dark); font-weight: 600; }
.nav-cta {
  background: var(--teal); color: #fff !important;
  font-size: 12px; font-weight: 600;
  padding: 7px 14px !important; border-radius: 7px;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* --- MOBILE HAMBURGER MENU --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 24px 16px;
  position: absolute;
  top: 58px; left: 0; right: 0;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 14px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.nav-cta-mobile {
  margin-top: 8px;
  background: var(--teal);
  color: #fff !important;
  padding: 11px 16px;
  border-radius: 8px;
  text-align: center;
  border-bottom: none;
}

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--blue-light) 100%);
  padding: 48px 24px 40px;
}
.page-hero h1 { color: #085041; max-width: 560px; }
.page-hero p  { color: #2a5c4f; max-width: 500px; font-size: 15px; margin-top: 8px; }

/* --- CARDS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: var(--teal); box-shadow: 0 2px 12px rgba(29,158,117,0.1); }
.card-icon { font-size: 22px; margin-bottom: 8px; }
.card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.card .card-link {
  display: inline-block; margin-top: 10px;
  font-size: 12px; font-weight: 600; color: var(--teal);
}

/* --- PILLS --- */
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  background: var(--teal-light); color: #085041;
  border: 1px solid rgba(15,110,86,.2);
  border-radius: 99px; padding: 5px 13px; font-size: 12px;
}

/* --- FORMS --- */
.form-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  max-width: 640px;
}
.form-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label.field-label {
  font-size: 12px; font-weight: 600;
  color: var(--text); margin-bottom: 3px; display: block;
}
input[type=text], input[type=email], input[type=tel],
input[type=date], input[type=number], input[type=url],
select, textarea {
  width: 100%; padding: 9px 11px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 7px;
  background: #fff; color: var(--text); font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
textarea { resize: vertical; min-height: 88px; }
.form-submit { margin-top: 6px; }
.form-submit .btn-primary { width: 100%; text-align: center; padding: 12px; font-size: 14px; }
.field-note { font-size: 11px; color: var(--muted); margin-top: 3px; }
.form-divider {
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px; margin: 20px 0 14px;
}
.radio-group { display: flex; flex-direction: column; gap: 6px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; cursor: pointer; }
.checkbox-group { display: flex; flex-direction: column; gap: 6px; }
.checkbox-group label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 400; cursor: pointer; }

/* --- FORMSPREE SETUP WARNING BANNER --- */
.setup-warning {
  background: #fff8e1;
  border: 1.5px solid #f5a623;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: #7a4f00;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.setup-warning strong { display: block; margin-bottom: 3px; }

/* --- CTA BAND --- */
.cta-band {
  background: var(--teal-dark); color: #fff;
  padding: 48px 24px; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p  { font-size: 14px; margin-bottom: 24px; opacity: .88; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- FAQ ACCORDION --- */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-question {
  font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; width: 100%; text-align: left;
  color: var(--text); padding: 0;
}
.faq-question span { font-size: 18px; color: var(--teal); transition: transform 0.2s; flex-shrink: 0; margin-left: 12px; }
.faq-answer {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer.open { max-height: 300px; padding-top: 10px; }
.faq-question span.open { transform: rotate(45deg); }

/* --- RESOURCE LINKS --- */
.resource-list { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.resource-item {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.resource-item-left h4 { font-size: 14px; font-weight: 600; }
.resource-item-left p  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.resource-item a { font-size: 12px; font-weight: 600; color: var(--teal); white-space: nowrap; flex-shrink: 0; }

/* --- FOOTER --- */
footer {
  background: #04342C; color: rgba(255,255,255,.65);
  padding: 36px 24px 20px;
}
.footer-inner {
  max-width: 820px; margin: 0 auto;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 20px;
}
.footer-brand-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.footer-brand-sub  { font-size: 10px; opacity: .5; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 9px; }
.footer-tagline    { font-size: 12px; max-width: 240px; }
.footer-col h4     { color: #fff; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.footer-col a      { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 820px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px;
  font-size: 11px; opacity: .4;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}

/* --- RESPONSIVE --- */
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .form-row  { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .resource-item { flex-direction: column; align-items: flex-start; }
}
