/* Home Offer Solutions — shared styles */
:root {
  --navy: #2A3830;      /* DARK  */
  --navy-2: #3A4E44;    /* NAVY2 */
  --blue: #5C6D62;      /* SAGE  (links, accents) */
  --blue-dark: #4a5850; /* darker sage (hover)    */
  --accent: #B85042;    /* TERRA */
  --terra: #B85042;
  --terra-dark: #9e4339;
  --orange: #C4883A;    /* ORANGE */
  --muted-light: #8FA89E; /* MUTED */
  --cream: #F5F0E8;     /* CREAM */
  --ink: #1E2820;       /* TXTDARK */
  --muted: #4B5E53;     /* TXTMID  */
  --line: #dde4de;
  --bg: #ffffff;        /* WHITE */
  --bg-soft: #F0F3F0;   /* LIGHT */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 56, 48, 0.10);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); font-size: 19px; }
.brand .logo {
  width: 46px; height: 46px; border-radius: 50%; display: block;
  box-shadow: 0 2px 8px rgba(42,56,48,.22);
}
.brand-lockup { height: 48px; width: auto; display: block; }
.site-footer .brand-lockup { height: 56px; }
@media (max-width: 880px) { .brand-lockup { height: 42px; } }
.brand span.sub { display:block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.btn {
  display: inline-block; background: var(--terra); color: #fff !important;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; border: none; cursor: pointer;
  transition: background .15s ease, transform .05s ease; font-size: 15px;
}
.btn:hover { background: var(--terra-dark); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 84px 0 96px; position: relative; }
.hero::after { content:""; position:absolute; right:-120px; top:-80px; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(184,80,66,.32), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; position: relative; z-index: 2; }
.hero-sticky { position: sticky; top: 90px; padding-top: 40px; }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: #d4dcd5; margin: 0 0 30px; max-width: 540px; }
.hero .pill { display:inline-block; background: rgba(255,255,255,.12); color:#e9d9c4; padding:6px 14px; border-radius:999px; font-size:13px; font-weight:600; margin-bottom:20px; letter-spacing:.03em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-size: 14px; color: #b6c5ba; display:flex; gap:18px; flex-wrap:wrap; }
.hero-trust span { display:flex; align-items:center; gap:7px; }

/* Lead form card */
.lead-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; color: var(--ink); }
.lead-card h3 { margin: 0 0 4px; font-size: 21px; color: var(--navy); }
.lead-card p.sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 14px; }
.field label { display:block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: var(--font); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(92,109,98,.20); }
.consent { display:flex; gap:10px; align-items:flex-start; background: var(--bg-soft); border:1px solid var(--line); border-radius:10px; padding:12px; margin: 6px 0 16px; }
.consent input { margin-top: 3px; }
.consent label { font-size: 12px; color: var(--muted); line-height: 1.5; font-weight: 400; }
.form-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height:1.5; }

/* Sections */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: 34px; margin: 10px 0 12px; color: var(--navy); letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.bg-soft { background: var(--bg-soft); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 11px; background: rgba(184,80,66,.10); color: var(--terra); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color:#fff; display:grid; place-items:center; font-weight:700; margin-bottom:14px; }
.step h3 { margin: 0 0 6px; font-size:18px; color: var(--navy); }
.step p { margin:0; color: var(--muted); font-size:15px; }

.cta-band { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color:#fff; border-radius: 18px; padding: 48px; text-align:center; }
.cta-band h2 { font-size: 30px; margin: 0 0 10px; }
.cta-band p { color:#d9e0da; margin: 0 0 24px; font-size:17px; }
.cta-band .btn { background: var(--terra); color: #fff !important; }
.cta-band .btn:hover { background: var(--terra-dark); }

/* Footer */
.site-footer { background: var(--navy); color: #bcccc2; padding: 54px 0 30px; font-size: 14.5px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.site-footer .brand { color:#fff; margin-bottom: 14px; }
.site-footer h4 { color:#fff; font-size: 14px; text-transform: uppercase; letter-spacing:.06em; margin: 0 0 14px; }
.site-footer a { color:#bcccc2; display:block; margin-bottom: 9px; }
.site-footer a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:#94a89c; }
.footer-bottom a { color:#94a89c; }

/* Legal / content pages */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 38px; color: var(--navy); margin: 0 0 6px; letter-spacing:-0.01em; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; color: var(--navy); margin: 38px 0 10px; }
.legal h3 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; }
.legal p, .legal li { color: #33414f; font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .callout { background: var(--bg-soft); border:1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 18px; margin: 22px 0; font-size: 15px; }
.legal .toc { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; }
.legal .toc strong { color: var(--navy); }

@media (max-width: 880px) {
  .hero-grid, .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
  .nav-links.show-cta { display: flex; }
  section { padding: 52px 0; }
  .cta-band { padding: 32px 22px; }
}
