/* Contractor SEO page. Loads after index.css and uses the homepage header, hero, section headers,
   deliverables, dark steps band, plain question rows, closing section and shared footer as they are. Only what
   the homepage does not have is defined here, all scoped to .contractor-seo-page. */
.contractor-seo-page .nav a:focus-visible, .contractor-seo-page .hero a:focus-visible, .contractor-seo-page .how-it-works a:focus-visible { outline-color: #f5f1e7; }

/* Hero: the homepage hero. Headings keep their source text and use the homepage's uppercase style. The heading is
   longer than "CONTRACTOR WEBSITES", so the copy column is wider and the heading a step smaller (as on the cost guide). */
.contractor-seo-page .hero h1 { text-transform: uppercase; }
@media (min-width: 801px) {
    .contractor-seo-page .hero-content { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); }
    .contractor-seo-page .hero h1 { font-size: clamp(40px, 3.4vw, 48px); }
}
@media (max-width: 1099px) { .contractor-seo-page .hero h1 br { display: none; } }

/* Cream band between white sections (homepage rhythm). */
.contractor-seo-page .cs-cream { padding: var(--space-section-phone) 1.5rem; background: var(--bg-cream); }
@media (min-width: 768px) { .contractor-seo-page .cs-cream { padding: var(--space-section) var(--gutter); } }
.contractor-seo-page .cs-cream .deliverable-item { background: #fff; }

/* "A sales tool, not a brochure": copy beside plain divider rows. */
.cs-split { display: grid; gap: 2.5rem; max-width: 1100px; margin: 0 auto; }
/* Split headings are sentences: size, weight and case come from h2.h2-statement in index.css. */
.cs-split h2 { color: var(--text-headline); margin-bottom: 1.25rem; }
.cs-split-copy p { font-size: var(--fs-body); line-height: 1.65; margin-bottom: 1rem; }
.cs-rows { list-style: none; margin: 0; padding: 0; }
.cs-rows li { padding: 1.1rem 0; border-top: 1px solid var(--card-border); color: var(--text-body); line-height: 1.6; }
.cs-rows li:last-child { border-bottom: 1px solid var(--card-border); }
.cs-rows strong { display: block; color: var(--text-headline); font-size: var(--fs-lead); margin-bottom: .25rem; }
@media (min-width: 801px) { .cs-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }

/* How customers decide: three check rows on the homepage dark band, light text on dark. */
.cs-decide { list-style: none; display: grid; gap: 1.5rem; margin: 0 0 3rem; padding: 0; }
.cs-decide li { position: relative; padding: 1.25rem 0 0 2.75rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.cs-decide li::before { content: '\2713'; position: absolute; left: 0; top: 1.15rem; width: 30px; height: 30px; border-radius: 50%; background: var(--action-orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: var(--fs-body); }
.cs-decide strong { display: block; color: #fff; font-size: var(--fs-lead); line-height: 1.35; margin-bottom: .4rem; }
.cs-decide p { color: var(--on-dark-muted); font-size: var(--fs-body); line-height: 1.6; }
@media (min-width: 900px) { .cs-decide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.cs-center { text-align: center; }
/* Dark bands sit on the page column, left-aligned like every other section. */
.how-it-works .cs-center { text-align: left; }

/* What proof means: two plain lists (include with the homepage check, avoid with a muted dash). */
.cs-compare { display: grid; gap: 2.5rem; max-width: 1000px; margin: 0 auto; }
.cs-compare h3 { font-size: var(--fs-lead); font-weight: 700; color: var(--text-headline); margin-bottom: .75rem; }
.cs-compare-list { list-style: none; margin: 0; padding: 0; }
.cs-compare-list li { display: flex; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--card-border); color: var(--text-body); line-height: 1.55; }
.cs-compare-list li::before { flex: 0 0 auto; font-weight: 800; }
.cs-include li::before { content: '\2713'; color: var(--action-orange-deep); }
.cs-avoid li::before { content: '\2013'; color: var(--muted); }
@media (min-width: 801px) { .cs-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }

/* Related pages under the questions: plain divider rows, no pills. */
.cs-links { list-style: none; max-width: 760px; margin: 3rem auto 0; padding: 0; display: grid; column-gap: 2rem; }
.cs-links li { border-bottom: 1px solid var(--card-border); }
.cs-links a { display: flex; align-items: center; min-height: 48px; color: var(--action-orange-deep); font-weight: 700; text-decoration: none; }
.cs-links a::after { content: '\2192'; margin-left: auto; padding-left: .75rem; }
.cs-links a:hover, .cs-links a:focus-visible { text-decoration: underline; }
@media (min-width: 640px) { .cs-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fine print before the closing section. */
.contractor-seo-page .cs-note { padding-top: 3rem; padding-bottom: 3rem; }
.cs-note p { max-width: 760px; margin: 0 auto; font-size: var(--fs-fine); line-height: 1.6; color: var(--muted); text-align: center; }




/* Phones: "FOUNDATIONS" is a long word at the homepage's phone size; one step smaller sets the headline as
   "SEO FOUNDATIONS / FOR CONTRACTORS" instead of four ragged lines. */
@media (max-width: 420px) { .contractor-seo-page .hero h1 { font-size: clamp(28px, 8.4vw, 36px); } }
