/* Jonesborough Home Builders — orange / white / charcoal */
:root {
  --orange: #FF8200;
  --orange-dark: #D96E00;
  --charcoal: #232325;
  --smoke: #58595B;
  --line: #E6E2DB;
  --cream: #FBF8F3;
  --white: #FFFFFF;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--smoke); max-width: 46em; }

/* Header */
.topbar { background: var(--orange); height: 6px; }
header.site {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand b { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; }
.brand span { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); }
nav.main { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: .98rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--orange-dark); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 6px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  font-family: inherit;
}
.btn-primary { background: var(--orange); color: var(--charcoal); }
.btn-primary:hover { background: #FF9A2E; }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #000; }
nav.main a.btn { color: var(--charcoal); padding: 10px 18px; }

/* Hero */
.hero { position: relative; background: var(--charcoal); color: var(--white); overflow: hidden; }
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 150px; }
.hero .eyebrow { color: var(--orange); }
.hero p.lead { color: #E9E7E3; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero.photo {
  background:
    linear-gradient(90deg, rgba(20,20,22,.88) 0%, rgba(20,20,22,.62) 42%, rgba(20,20,22,.12) 78%),
    url("images/hero.jpg") center 62% / cover no-repeat var(--charcoal);
}
.hero.photo .wrap { padding-top: 120px; padding-bottom: 170px; }
.hero.photo h1, .hero.photo p.lead { max-width: 15em; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero.photo p.lead { max-width: 26em; }
@media (max-width: 760px) {
  .hero.photo {
    background:
      linear-gradient(180deg, rgba(20,20,22,.80), rgba(20,20,22,.62)),
      url("images/hero.jpg") center / cover no-repeat var(--charcoal);
  }
  .hero.photo .wrap { padding-top: 70px; padding-bottom: 110px; }
}
.hero.small .wrap { padding-top: 64px; padding-bottom: 72px; }

/* Proof strip */
.strip { background: var(--orange); color: var(--charcoal); }
.strip ul {
  list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 10px 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); font-weight: 700;
}
.strip li::before { content: "\2713"; margin-right: 8px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--cream); }
.grid3 { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 36px; }
.grid2 { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }

/* Home cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card .art { background: #F1EEE8; border-bottom: 4px solid var(--orange); }
.card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start; background: var(--charcoal); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; margin-bottom: 12px;
}
.specs { list-style: none; margin: 0 0 18px; padding: 0; font-size: .95rem; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs li span:first-child { color: var(--smoke); }
.specs li span:last-child { font-weight: 600; text-align: right; }
.card .btn { margin-top: auto; text-align: center; }
.note { font-size: .85rem; color: var(--smoke); margin-top: 18px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--orange); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.steps p { margin: 0; color: var(--smoke); }

/* Facts list */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 14px; background: var(--orange); transform: rotate(45deg); }
.facts b { display: block; }
.panel { background: var(--charcoal); color: var(--white); border-radius: 12px; padding: 36px; }
.panel h3 { color: var(--orange); }
.panel p:last-child { margin-bottom: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { font-weight: 700; cursor: pointer; font-size: 1.1rem; }
details p { margin: 12px 0 0; color: var(--smoke); }

/* Form */
.formbox { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 10px; padding: 30px; }
form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 16px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit;
  border: 1px solid #C9C5BD; border-radius: 6px; background: var(--white); color: var(--charcoal);
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.bigphone { font-size: 1.9rem; font-weight: 800; color: var(--charcoal); text-decoration: none; }

/* CTA band */
.band { background: var(--charcoal); color: var(--white); text-align: center; }
.band p { color: #E9E7E3; max-width: 40em; margin-left: auto; margin-right: auto; }

/* Footer */
footer.site { background: #18181A; color: #C9C7C3; padding: 48px 0 28px; font-size: .95rem; }
footer.site .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h3 { color: var(--white); font-size: 1rem; }
footer.site a { color: #C9C7C3; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .legal { border-top: 1px solid #333; margin-top: 30px; padding-top: 18px; font-size: .82rem; color: #9A9894; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
  .hero .wrap { padding-top: 60px; padding-bottom: 110px; }
  nav.main { gap: 14px; }
}
