/* ============================================================
   HowMuchToPaint.com — shared design system
   Southeast Homeworks · interior painting lead-gen site
   ============================================================ */

:root {
  --bg:        #e5ded2;   /* warm sand background */
  --paper:     #ffffff;   /* cards / surfaces */
  --ink:       #1a1a1a;   /* primary text */
  --muted:     #777777;   /* secondary text */
  --faint:     #aaaaaa;   /* tertiary text */
  --accent:    #c48853;   /* terracotta */
  --accent-dk: #a9713f;   /* darker terracotta for hovers */
  --line:      #e8e3dc;   /* hairline borders */
  --line-soft: #f0ece7;   /* softer borders */
  --serif:     'Georgia', 'Times New Roman', serif;
  --sans:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --maxw:      1080px;
  --radius:    6px;
  --shadow:    0 2px 24px rgba(0,0,0,0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(229, 222, 210, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
}
.brand-mark {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--ink);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}
.nav-links a.nav-cta:hover { background: var(--accent-dk); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s, transform 0.1s;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); color: #fff; }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-lg { font-size: 1.02rem; padding: 16px 34px; }

/* ---------- Section scaffolding ---------- */
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 3rem;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-sub .accent { color: var(--accent); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6fae7b;
  display: inline-block;
}

/* Hero visual card */
.hero-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.hero-card .hc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: 10px;
}
.hero-card .hc-range {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.hero-card .hc-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.hc-bars { display: flex; flex-direction: column; gap: 12px; }
.hc-bar-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.hc-bar { height: 8px; border-radius: 4px; background: var(--line-soft); flex: 1; margin: 0 14px; position: relative; overflow: hidden; }
.hc-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; opacity: 0.85; }

/* ---------- Steps / how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.step-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
.step-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  width: 46px; height: 46px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { font-family: var(--serif); font-weight: normal; font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }

/* ---------- Feature / trust grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.feature h3 .tick {
  color: var(--accent);
  font-size: 1.1rem;
}
.feature p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }

/* ---------- Band (accent call-to-action) ---------- */
.band {
  background: var(--ink);
  color: #f4efe8;
}
.band .section-title { color: #fff; }
.band .section-lead { color: #cfc7bb; }
.band .btn-outline { border-color: var(--accent); color: #f4d9c0; }
.band .btn-outline:hover { background: var(--accent); color: #fff; }

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.stat-row { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.stat .num { font-family: var(--serif); font-size: 2.1rem; color: var(--accent); }
.stat .lbl { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Google review badge ---------- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 22px 10px 18px;
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.15s, transform 0.1s;
}
a.google-badge:hover { box-shadow: 0 3px 16px rgba(0,0,0,0.10); transform: translateY(-1px); }
.google-badge .g-logo { width: 22px; height: 22px; flex-shrink: 0; }
.google-badge .g-meta { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.google-badge .g-top { display: flex; align-items: center; gap: 8px; }
.google-badge .g-rating { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.google-badge .g-stars { color: #fbbc05; letter-spacing: 1px; font-size: 0.92rem; }
.google-badge .g-count { font-size: 0.78rem; color: var(--muted); }
.badge-wrap { margin-top: 26px; display: flex; justify-content: center; }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.review {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
.review .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-family: var(--serif); font-size: 1rem; line-height: 1.6; color: var(--ink); margin-bottom: 14px; }
.review .who { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item h3 { font-family: var(--serif); font-weight: normal; font-size: 1.12rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.93rem; color: var(--muted); line-height: 1.7; }

/* ---------- Service area ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 26px;
}
.area-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1a1a;
  color: #b8b0a4;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .brand-mark { color: #fff; }
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer a, .site-footer p { font-size: 0.9rem; color: #b8b0a4; line-height: 2; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #857e73;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.3rem; }
  .steps, .features, .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a.nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
}
