/* =========================================================================
   Specialty Paving — main stylesheet
   Brand: #81C342 (taken from the live site's CSS, 110 uses) on black.
   The logo raster samples ~#8CC000; the declared brand value wins.
   ========================================================================= */

:root {
	--green: #81C342;
	--green-dark: #6BA736;
	--green-glow: rgba(129, 195, 66, .25);
	--black: #0B0B0B;
	--ink: #231F20;
	--ink-2: #4F4F4F;
	--grey: #8F8F8F;
	--line: #E4E4E4;
	--bg-alt: #F5F6F4;
	--white: #FFFFFF;

	--wrap: 1200px;
	--radius: 4px;
	--shadow: 0 2px 20px rgba(0, 0, 0, .08);

	--h-font: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
	--b-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--b-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--ink); text-decoration-color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
	font-family: var(--h-font);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .01em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--green); color: #000; padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

.muted { color: var(--grey); }

/* ------------------------------------------------------------------ buttons */
.btn {
	display: inline-flex; align-items: center; gap: .55rem;
	font-family: var(--h-font); font-size: 1.15rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .03em;
	padding: .85rem 1.6rem; border-radius: var(--radius);
	text-decoration: none; border: 2px solid transparent;
	transition: transform .12s ease, background .12s ease, color .12s ease;
	cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { font-size: 1rem; padding: .6rem 1.1rem; }

.btn-primary { background: var(--green); color: #0B0B0B; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #0B0B0B; }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.on-light .btn-ghost, .band-light .btn-ghost { color: var(--ink); border-color: var(--line); }
.on-light .btn-ghost:hover, .band-light .btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------------------------------------------- header */
.topbar {
	background: var(--black); color: rgba(255,255,255,.75);
	font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.topbar-inner span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .icon { color: var(--green); }

.site-header { background: var(--black); position: sticky; top: 0; z-index: 100; }
.header-inner {
	display: flex; align-items: center; gap: 1.5rem;
	padding: .7rem 0; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { border-radius: 3px; }
.brand-text {
	font-family: var(--h-font); text-transform: uppercase; line-height: .95;
	display: flex; flex-direction: column;
}
.brand-text strong { color: var(--white); font-size: 1.35rem; letter-spacing: .06em; }
.brand-text em { color: var(--green); font-style: normal; font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; }

.nav-list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a {
	color: var(--white); text-decoration: none; font-weight: 600;
	font-size: .95rem; text-transform: uppercase; letter-spacing: .04em;
	padding: .5rem 0; display: inline-block;
}
.nav-list > li > a:hover { color: var(--green); }

.has-children { position: relative; }
.submenu {
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: var(--white); box-shadow: var(--shadow); border-top: 3px solid var(--green);
	list-style: none; margin: 0; padding: .4rem 0;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease;
}
.has-children:hover .submenu,
.has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
	display: block; padding: .6rem 1.1rem; text-decoration: none;
	color: var(--ink); font-size: .95rem; font-weight: 500;
}
.submenu a:hover { background: var(--bg-alt); color: var(--green-dark); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
	display: inline-flex; align-items: center; gap: .45rem;
	color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.05rem;
}
.header-phone .icon { color: var(--green); }
.header-phone:hover { color: var(--green); }

.nav-toggle {
	display: none; background: none; border: 0; color: var(--white);
	padding: .35rem; cursor: pointer;
}

/* --------------------------------------------------------------------- hero */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; opacity: .38; }
.hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.62) 55%, rgba(11,11,11,.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 0; max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 span { color: var(--green); display: block; }
.hero-desc { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 60ch; }

.eyebrow {
	display: inline-block; font-family: var(--h-font); text-transform: uppercase;
	letter-spacing: .18em; font-size: 1rem; font-weight: 600;
	color: var(--green); margin-bottom: .9rem;
	border-left: 3px solid var(--green); padding-left: .7rem;
}

/* ---------------------------------------------------------------- trust bar */
.trustbar { background: var(--green); color: #0B0B0B; }
.trustbar ul {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	list-style: none; margin: 0; padding: 1rem 0;
	font-family: var(--h-font); text-transform: uppercase;
	font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
}
.trustbar li { display: inline-flex; align-items: center; gap: .5rem; }

/* ------------------------------------------------------------------ section */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--black); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 780px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.lead { font-size: 1.15rem; color: var(--ink-2); }
.section-dark .lead { color: rgba(255,255,255,.78); }

/* --------------------------------------------------------------- grids/cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
	background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 1.75rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon-wrap {
	width: 48px; height: 48px; border-radius: var(--radius);
	background: var(--green-glow); color: var(--green-dark);
	display: grid; place-items: center; margin-bottom: 1rem;
}
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .card .icon-wrap { background: rgba(129,195,66,.18); color: var(--green); }

/* service cards with imagery */
.svc-card {
	display: flex; flex-direction: column; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--white); text-decoration: none; color: inherit;
	transition: transform .15s ease, box-shadow .15s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.svc-card picture { display: block; aspect-ratio: 4 / 3; }
.svc-card picture img { width: 100%; height: 100%; object-fit: cover; }
.svc-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.svc-card-body h3 { margin-bottom: .35rem; }
.svc-card-body p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.svc-more {
	font-family: var(--h-font); text-transform: uppercase; font-weight: 700;
	color: var(--green-dark); display: inline-flex; align-items: center; gap: .4rem;
	letter-spacing: .04em;
}

/* ----------------------------------------------------------------- process */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
	display: grid; grid-template-columns: 62px 1fr; gap: 1.25rem;
	align-items: start; padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before {
	counter-increment: step; content: counter(step, decimal-leading-zero);
	font-family: var(--h-font); font-size: 2.1rem; font-weight: 700;
	color: var(--green); line-height: 1;
}
.step h3 { margin-bottom: .25rem; }
.step p { margin: 0; }
.section:not(.section-dark) .step { border-bottom-color: var(--line); }

/* -------------------------------------------------------------------- lists */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.check-list .icon { color: var(--green); margin-top: .25rem; }

/* ---------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details {
	border-bottom: 1px solid var(--line); padding: 1.15rem 0;
}
.faq summary {
	font-family: var(--h-font); font-size: 1.3rem; font-weight: 700;
	text-transform: uppercase; cursor: pointer; list-style: none;
	display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: '+'; color: var(--green); font-size: 1.8rem; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: '–'; }
.faq details > p { margin: .9rem 0 0; color: var(--ink-2); max-width: 72ch; }

/* ------------------------------------------------------------- split blocks */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split picture img { width: 100%; border-radius: var(--radius); }

/* -------------------------------------------------------------- CTA banding */
.band-cta { background: var(--green); color: #0B0B0B; padding: 3rem 0; }
.band-cta h2 { margin-bottom: .3em; }
.band-cta p { margin: 0; max-width: 58ch; font-weight: 500; }
.band-cta-inner {
	display: flex; flex-wrap: wrap; gap: 2rem;
	align-items: center; justify-content: space-between;
}
.band-cta .btn-primary { background: #0B0B0B; color: var(--green); border-color: #0B0B0B; }
.band-cta .btn-primary:hover { background: var(--white); color: #0B0B0B; border-color: var(--white); }
.band-cta .btn-ghost { color: #0B0B0B; border-color: rgba(0,0,0,.35); }
.band-cta .btn-ghost:hover { background: #0B0B0B; color: var(--green); border-color: #0B0B0B; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .9rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-brand img { margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; gap: .5rem; align-items: start; }
.contact-list .icon, .footer-list .icon { color: var(--green); flex: none; margin-top: .2rem; }
.area-list { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.9; }
.footer-bottom {
	display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
	border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem;
	font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------------- breadcrumbs */
.breadcrumbs { font-size: .85rem; color: var(--grey); padding: 1rem 0 0; }
.breadcrumbs a { color: var(--grey); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-dark); }

/* -------------------------------------------------------------------- forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
	width: 100%; padding: .75rem .9rem; border: 1px solid var(--line);
	border-radius: var(--radius); font: inherit; font-size: 1rem; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .req { color: #C0392B; }

/* --------------------------------------------------------------------- blog */
.post-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--white); }
.post-card h3 { margin-bottom: .4rem; }
.post-card h3 a { text-decoration: none; }
.post-meta { font-size: .85rem; color: var(--grey); margin-bottom: .8rem; }
.entry { max-width: 76ch; }
.entry h2 { margin-top: 2rem; }
.entry img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry ul, .entry ol { padding-left: 1.3rem; }
.entry li { margin-bottom: .5rem; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 980px) {
	.topbar-inner .topbar-hours { display: none; }
	.header-phone span { display: none; }

	.nav-toggle { display: block; order: 3; }
	.nav { order: 3; }
	.nav-list {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; gap: 0; background: var(--black);
		border-top: 1px solid rgba(255,255,255,.12);
		padding: .5rem 0; max-height: 75vh; overflow-y: auto;
	}
	.nav-list.is-open { display: flex; }
	.nav-list > li > a { display: block; padding: .85rem 1.25rem; }
	.submenu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; background: rgba(255,255,255,.05); border-top: 0;
		padding: 0 0 .4rem;
	}
	.submenu a { color: rgba(255,255,255,.8); padding-left: 2.25rem; }
	.submenu a:hover { background: transparent; color: var(--green); }
	.site-header { position: relative; }
	.header-inner { position: relative; flex-wrap: wrap; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.trustbar ul { justify-content: flex-start; font-size: .95rem; gap: .75rem 1.25rem; }
	.band-cta-inner { flex-direction: column; align-items: flex-start; }
	.cta-row .btn { width: 100%; justify-content: center; }
	.step { grid-template-columns: 44px 1fr; gap: .9rem; }
	.step::before { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------ WPForms overrides
   WPForms Lite ships its own blue button and input styling. Match the theme
   rather than fighting it per-field. Selectors are scoped to .form-card so
   they cannot leak into the admin form builder. */
.form-card .wpforms-container { margin: 0; }
.form-card .wpforms-form .wpforms-field { padding: 0 0 1.1rem; }
.form-card .wpforms-form .wpforms-field-label {
	font-family: var(--b-font); font-weight: 600; font-size: .95rem;
	color: var(--ink); margin-bottom: .35rem;
}
.form-card .wpforms-form .wpforms-field-sublabel,
.form-card .wpforms-form .wpforms-field-description {
	font-size: .85rem; color: var(--grey);
}
.form-card .wpforms-form input[type=text],
.form-card .wpforms-form input[type=email],
.form-card .wpforms-form input[type=tel],
.form-card .wpforms-form select,
.form-card .wpforms-form textarea {
	width: 100%; padding: .75rem .9rem; border: 1px solid var(--line);
	border-radius: var(--radius); font: inherit; font-size: 1rem;
	background: var(--white); color: var(--ink); box-shadow: none;
}
.form-card .wpforms-form input:focus,
.form-card .wpforms-form select:focus,
.form-card .wpforms-form textarea:focus {
	outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green);
}
.form-card .wpforms-form textarea { min-height: 130px; }
.form-card .wpforms-form .wpforms-required-label { color: #C0392B; }

.form-card .wpforms-form button[type=submit],
.form-card .wpforms-form .wpforms-submit {
	background: var(--green); color: #0B0B0B; border: 2px solid var(--green);
	font-family: var(--h-font); font-size: 1.15rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .03em;
	padding: .85rem 1.6rem; border-radius: var(--radius);
	width: 100%; cursor: pointer; transition: background .12s ease;
}
.form-card .wpforms-form button[type=submit]:hover,
.form-card .wpforms-form .wpforms-submit:hover {
	background: var(--green-dark); border-color: var(--green-dark); color: #0B0B0B;
}
.form-card .wpforms-confirmation-container-full {
	background: var(--green-glow); border: 1px solid var(--green);
	border-radius: var(--radius); padding: 1.25rem; color: var(--ink);
}
.form-card .wpforms-error { color: #C0392B; font-size: .85rem; }
