/* Pittsburgh Pressure Washing — main styles */

:root {
	--color-bg: #f6f8fa;
	--color-surface: #ffffff;
	--color-text: #1a2332;
	--color-muted: #5c6b7a;
	--color-accent: #0d6e8c;
	--color-accent-dark: #0a5a73;
	--color-accent-soft: #e6f4f8;
	--font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--radius: 10px;
	--shadow: 0 8px 24px rgba(26, 35, 50, 0.08);
	--max-width: 1120px;
	--header-height: 72px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

.wrap {
	width: min(100% - 2rem, var(--max-width));
	margin-inline: auto;
}

.wrap--narrow {
	width: min(100% - 2rem, 720px);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--color-surface);
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}

a {
	color: var(--color-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--color-accent-dark);
}

/* Header */
.top-bar {
	background: var(--color-text);
	color: #e8ecf0;
	font-size: 0.9rem;
}

.top-bar .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.5rem 0;
}

.top-bar__phone {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.top-bar__phone:hover {
	color: #b8dce8;
}

.site-header {
	background: var(--color-surface);
	box-shadow: 0 1px 0 rgba(26, 35, 50, 0.06);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-main {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 1rem 1.5rem;
	padding: 1rem 0;
}

.branding {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: var(--color-text);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--color-accent);
}

.site-tagline {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: var(--color-muted);
}

.primary-nav {
	justify-self: end;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	align-items: center;
}

.menu a {
	color: var(--color-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
}

.menu a:hover {
	color: var(--color-accent);
}

.header-cta {
	white-space: nowrap;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	justify-self: end;
}

.nav-toggle__bar {
	display: block;
	height: 2px;
	width: 22px;
	background: var(--color-text);
	border-radius: 1px;
}

@media (max-width: 768px) {
	.header-main {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
	}

	.branding {
		grid-column: 1;
	}

	.nav-toggle {
		display: flex;
		grid-column: 2;
		grid-row: 1;
	}

	.header-cta {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.primary-nav {
		grid-column: 1 / -1;
		display: none;
		width: 100%;
		padding: 0.5rem 0 1rem;
		border-top: 1px solid rgba(26, 35, 50, 0.08);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: var(--radius);
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.button--primary {
	background: var(--color-accent);
	color: #fff;
}

.button--primary:hover {
	background: var(--color-accent-dark);
	color: #fff;
}

.button--ghost {
	background: transparent;
	color: var(--color-accent);
	border-color: var(--color-accent);
}

.button--ghost:hover {
	background: var(--color-accent-soft);
	color: var(--color-accent-dark);
}

.button--large {
	padding: 0.85rem 1.5rem;
	font-size: 1.05rem;
}

/* Hero */
.hero {
	background: linear-gradient(135deg, #0d4f66 0%, var(--color-accent) 45%, #1496be 100%);
	color: #fff;
	padding: 3rem 0 3.5rem;
}

.hero__inner {
	max-width: 720px;
}

.hero .eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.9;
}

.hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	line-height: 1.2;
	font-weight: 700;
}

.hero__lead {
	margin: 0 0 1.5rem;
	font-size: 1.1rem;
	opacity: 0.95;
	line-height: 1.65;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.hero__actions .button--ghost {
	border-color: rgba(255, 255, 255, 0.85);
	color: #fff;
}

.hero__actions .button--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.hero__trust {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	font-size: 0.9rem;
	opacity: 0.92;
}

.hero__trust li {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.hero__trust li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #7dd3fc;
	border-radius: 50%;
	flex-shrink: 0;
}

/* Sections */
.section {
	padding: 3.5rem 0;
}

.section--alt {
	background: var(--color-surface);
}

.section--cta {
	background: var(--color-text);
	color: #e8ecf0;
}

.section--cta .section__title,
.section--cta .section__intro {
	color: #e8ecf0;
}

.section--cta .section__intro {
	opacity: 0.9;
}

.section__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.5rem;
}

.section__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	line-height: 1.25;
}

.section__intro {
	margin: 0;
	color: var(--color-muted);
	font-size: 1.05rem;
}

.section--cta .section__intro {
	color: #c5ced8;
}

/* Cards */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.card {
	background: var(--color-bg);
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid rgba(26, 35, 50, 0.06);
}

.section--alt .card {
	background: var(--color-bg);
}

.card__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.card__text {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.98rem;
}

/* Checklist */
.checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 1rem;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 2px;
	background: var(--color-accent);
	box-shadow: 0 0 0 3px var(--color-accent-soft);
}

/* Service area */
.service-area {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.service-area__text {
	color: var(--color-muted);
	margin: 0 0 1.5rem;
	text-align: left;
}

/* FAQ */
.faq {
	margin: 0;
}

.faq__item {
	margin: 0 0 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.faq__item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.faq__q {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.faq__a {
	margin: 0;
	color: var(--color-muted);
}

/* Contact */
.contact-block {
	text-align: center;
}

.contact-block__phone {
	margin: 0 0 1rem;
}

.contact-block__email {
	margin: 0 0 1.5rem;
}

.contact-block__email a {
	color: #7dd3fc;
}

.section--cta .contact-block__email a {
	color: #7dd3fc;
}

.contact-block__editor {
	text-align: left;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--color-text);
	background: var(--color-surface);
	padding: 1.5rem;
	border-radius: var(--radius);
}

.contact-block__editor .button,
.contact-block__editor input[type="submit"] {
	margin-top: 0.5rem;
}

/* Footer */
.site-footer {
	background: #121a24;
	color: #aeb8c4;
}

.footer-cta {
	padding: 3rem 0 2rem;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta__title {
	margin: 0 0 0.75rem;
	color: #fff;
	font-size: 1.5rem;
}

.footer-cta__text {
	margin: 0 0 1.5rem;
	max-width: 520px;
	margin-inline: auto;
}

.footer-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.footer-cta .button--ghost {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.footer-cta .button--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.footer-bottom {
	padding: 1.5rem 0 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}

.footer-bottom .menu a {
	color: #aeb8c4;
	font-size: 0.9rem;
}

.footer-bottom .menu a:hover {
	color: #fff;
}

.copyright {
	margin: 0;
	font-size: 0.875rem;
}

/* Blog / page */
.page-content {
	padding-top: 2.5rem;
	padding-bottom: 3rem;
}

.page-content__title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.75rem, 3vw, 2rem);
}

.page-content__body {
	max-width: 720px;
}

.post-card {
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.post-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
}

.post-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--color-accent);
}

.post-card__excerpt {
	margin: 0;
	color: var(--color-muted);
}

.post-meta {
	margin: -0.5rem 0 1.5rem;
	font-size: 0.9rem;
	color: var(--color-muted);
}

/* Netlify contact form */
.hp-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form-wrap {
	text-align: left;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-form {
	background: var(--color-surface);
	padding: 1.5rem;
	border-radius: var(--radius);
	max-width: 520px;
	margin: 0 auto;
}

.contact-form .form-row {
	margin-bottom: 1rem;
}

.contact-form label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	font-size: 1rem;
	font-family: inherit;
	border: 1px solid rgba(26, 35, 50, 0.15);
	border-radius: var(--radius);
	background: #fff;
	color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--color-accent-soft);
	border-color: var(--color-accent);
}

.contact-form textarea {
	resize: vertical;
	min-height: 100px;
}

.contact-form button[type="submit"] {
	margin-top: 0.5rem;
	border: 0;
	width: 100%;
}

@media (min-width: 480px) {
	.contact-form button[type="submit"] {
		width: auto;
	}
}
