/* Plain page header. Replaces the photo hero on service and services-hub pages.
   Clean, quiet top section that gives the eye a place to land without a
   background image. Works well on desktop and mobile. */
.page-header{
	padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(2.25rem, 4vw, 3.75rem);
	background: linear-gradient(180deg, var(--rjw-cream) 0%, var(--rjw-paper) 100%);
	border-bottom: 1px solid var(--rjw-line);
	text-align: center;
}
.page-header__inner{
	max-width: 62rem;
	margin: 0 auto;
}
.page-header__eyebrow{
	margin-bottom: 1.1rem;
}
.page-header__title{
	font-family: var(--font-display);
	font-size: clamp(2rem, 2.4vw + .9rem, 3.5rem);
	line-height: 1.08;
	letter-spacing: -.02em;
	font-weight: 700;
	margin: 0 auto .9rem;
	color: var(--rjw-ink);
	max-width: 26ch;
	text-wrap: balance;
}
.page-header__title em{
	font-style: italic;
	font-weight: 400;
	color: var(--rjw-accent);
}
.page-header__lead{
	color: var(--rjw-muted);
	font-size: clamp(1.05rem, .8vw + .8rem, 1.3rem);
	line-height: 1.6;
	max-width: 42rem;
	margin: 0 auto 1.75rem;
}
.page-header__cta-row{
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	justify-content: center;
}
@media (max-width: 640px){
	.page-header{
		padding: clamp(2rem, 8vw, 3rem) 0 clamp(1.5rem, 5vw, 2.25rem);
	}
	.page-header__cta-row{
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	.page-header__cta-row .btn{ width: 100%; }
}

/* ---------- Desktop friendliness inside .container--narrow ----------
   The service pages, service-area pages, and other long-form content
   use container--narrow. On desktop we want real breathing room around
   headings, generous line-height, and lists that flow into two columns
   so the page never feels cramped. */
.container--narrow > *:first-child{ margin-top: 0; }
.container--narrow p{ line-height: 1.7; }
.container--narrow p.lead{
	font-size: clamp(1.15rem, .8vw + .85rem, 1.4rem);
	color: var(--rjw-ink-soft);
	line-height: 1.55;
	margin-bottom: 1.75rem;
	max-width: 60ch;
}
.container--narrow h2{
	font-size: clamp(1.75rem, 1.4vw + .9rem, 2.4rem);
	margin-top: 2.5rem;
	margin-bottom: .85rem;
}
.container--narrow h3{ margin-top: 2rem; }
.container--narrow ul,
.container--narrow ol{
	padding-left: 1.35em;
	margin: 0 0 1.5em;
}
.container--narrow li{
	margin-bottom: .55em;
	line-height: 1.65;
}

/* Two-column feature lists on desktop keep long checklists from feeling like a wall. */
@media (min-width: 900px){
	.container--narrow ul{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .35rem 2.5rem;
	}
	.container--narrow ul li{ margin-bottom: .35em; }
}

/* Give sections more room to breathe on wide screens. */
@media (min-width: 1024px){
	.section{ padding-block: clamp(4.5rem, 6.5vw, 7.5rem); }
	.section-header{ margin-bottom: clamp(2.25rem, 3.25vw, 3.75rem); }
}

/* Sherwin-Williams partner badge. Rendered on painting service pages just
   below the page header so the trust signal lands above the fold. */
.sw-badge{
	padding: 1.25rem 0 0;
	text-align: center;
}
.sw-badge__link{
	display: inline-block;
	line-height: 0;
	border-radius: 6px;
	transition: transform .18s ease, filter .18s ease;
}
.sw-badge__link:hover,
.sw-badge__link:focus-visible{
	transform: translateY(-1px);
	filter: drop-shadow(0 6px 18px rgba(0,0,0,.10));
}
.sw-badge__link:focus-visible{
	outline: 2px solid var(--rjw-accent);
	outline-offset: 4px;
}
.sw-badge__img{
	display: block;
	width: auto;
	height: clamp(48px, 6vw, 72px);
	max-width: 100%;
}
@media (max-width: 640px){
	.sw-badge{ padding-top: 1rem; }
}
