/* ============================================================
   esunshine.com — site styles
   BRAND KIT IS PLACEHOLDER: swap the variables below when the
   real logo + hex colors arrive. Nothing else should need edits.
   ============================================================ */
:root {
  --brand:        #E9A820;  /* placeholder sunny gold */
  --brand-dark:   #C78A0D;
  --ink:          #1F2937;  /* near-black text */
  --ink-soft:     #4B5563;
  --paper:        #FFFFFF;
  --paper-soft:   #F7F7F4;
  --line:         #E5E7EB;
  --ok:           #166534;
  --max:          1080px;
  --radius:       10px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }

/* ---------- header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.logo span { color: var(--brand-dark); }
.nav nav { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.nav nav a[aria-current="page"], .nav nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; padding: 0.6rem 1.1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; border: 2px solid var(--brand);
}
.btn.solid { background: var(--brand); color: #fff; }
.btn.solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { color: var(--brand-dark); background: transparent; }
.btn.ghost:hover { background: var(--paper-soft); }

/* ---------- hero ---------- */
.hero { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.hero .inner {
  max-width: var(--max); margin: 0 auto; padding: 4rem 1rem 3.5rem;
  text-align: center;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 0.75rem; }
.hero p.sub { color: var(--ink-soft); font-size: 1.15rem; max-width: 46rem; margin: 0 auto 1.75rem; }
.hero .ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- trust stats ---------- */
.stats {
  max-width: var(--max); margin: 0 auto; padding: 2.5rem 1rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem;
  text-align: center;
}
.stats .stat b { display: block; font-size: 1.6rem; color: var(--brand-dark); }
.stats .stat small { color: var(--ink-soft); }

/* ---------- sections & cards ---------- */
section.band { padding: 3rem 1rem; }
section.band.alt { background: var(--paper-soft); border-block: 1px solid var(--line); }
.band .inner { max-width: var(--max); margin: 0 auto; }
.band h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.band p.lead { color: var(--ink-soft); max-width: 46rem; margin-bottom: 1.5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.card h3 { font-size: 1.1rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.card a.more { font-weight: 700; text-decoration: none; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-dark); margin-bottom: 0.35rem;
}

/* ---------- page hero (interior pages) ---------- */
.page-hero { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.page-hero .inner { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1rem; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { color: var(--ink-soft); max-width: 46rem; }

/* ---------- content helpers ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin: 1.75rem 0 0.5rem; font-size: 1.35rem; }
.prose ul { margin: 0.5rem 0 1rem 1.25rem; }
.checklist { list-style: none; margin: 0.75rem 0 1rem; }
.checklist li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.notice {
  background: #FFF8E6; border: 1px solid #F0D48A; border-radius: var(--radius);
  padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.95rem;
}

/* ---------- forms ---------- */
form.contact { display: grid; gap: 1rem; max-width: 40rem; }
form.contact label { font-weight: 600; display: block; margin-bottom: 0.25rem; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  border-radius: 8px; font: inherit;
}
form.contact textarea { min-height: 8rem; }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #D1D5DB; margin-top: 3rem; }
footer.site .inner {
  max-width: var(--max); margin: 0 auto; padding: 2.5rem 1rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
footer.site h4 { color: #fff; margin-bottom: 0.5rem; font-size: 1rem; }
footer.site a { color: #D1D5DB; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.35rem; }
footer.site .legal {
  border-top: 1px solid #374151; text-align: center; padding: 1rem;
  font-size: 0.85rem; color: #9CA3AF;
}
