/*
Theme Name: Maverick's Towing
Description: Lightweight block theme for Maverick's Towing & Transport LLC. Black and silver, mobile-first, no page builder.
Version: 0.2.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: mavericks
*/

:root {
	--mav-chrome: var(--wp--preset--gradient--chrome);
	--mav-black: var(--wp--preset--color--black);
	--mav-charcoal: var(--wp--preset--color--charcoal);
	--mav-steel: var(--wp--preset--color--steel);
	--mav-silver: var(--wp--preset--color--silver);
	--mav-white: var(--wp--preset--color--white);
	--mav-border: #34343a;
	--mav-wide: var(--wp--style--global--wide-size, 1200px);
	--mav-display: var(--wp--preset--font-family--display);
	--mav-tread-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'%3E%3Cpath d='M0 6 30 20 60 6v10L30 30 0 16z' fill='%23fff'/%3E%3C/svg%3E");
	--mav-tread-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'%3E%3Cpath d='M0 6 30 20 60 6v10L30 30 0 16z' fill='%23000'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.text-chrome {
	background: var(--mav-chrome);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.eyebrow {
	font-family: var(--mav-display);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	color: var(--mav-silver);
	margin: 0 0 0.5rem;
}
.rule, h2.has-rule::after {
	display: block;
	width: 64px;
	height: 4px;
	background: var(--mav-chrome);
}
h2.has-rule::after { content: ""; margin-top: 0.9rem; }
.is-centered { text-align: center; }
.is-centered h2.has-rule::after { margin-inline: auto; }

/* Tyre-tread texture: a diagonal strip of chevrons behind the content */
.tread { position: relative; overflow: hidden; isolation: isolate; }
.tread::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -60%;
	left: 6%;
	width: 110px;
	height: 220%;
	background: var(--mav-tread-light) repeat-y center / 110px auto;
	opacity: 0.07;
	transform: rotate(-28deg);
	pointer-events: none;
}
.feature--chrome.tread::before, .band--chrome.tread::before, .hero-card.tread::before { background-image: var(--mav-tread-dark); opacity: 0.08; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 1.6rem;
	border-radius: 2px;
	font-family: var(--mav-display);
	font-weight: 600;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	background: var(--mav-chrome);
	color: var(--mav-black) !important;
	border: 2px solid transparent;
	transition: filter 0.15s, background-color 0.15s, transform 0.15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--mav-white) !important; border-color: var(--mav-silver); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--mav-black); color: var(--mav-white) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--mav-black); }
.topbar { border-bottom: 1px solid var(--mav-border); }
.topbar__inner {
	max-width: var(--mav-wide);
	margin: 0 auto;
	padding: 0.6rem 16px;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.logo { display: block; line-height: 0; flex-shrink: 0; margin-right: auto; }
.logo img { height: 44px; width: auto; }
.topbar__info { display: none; }
.info-item { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; line-height: 1.25; }
.info-item__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mav-white);
	color: var(--mav-black);
}
.info-item strong { display: block; font-family: var(--mav-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--mav-white); font-size: 0.95rem; }
.info-item small { color: var(--mav-silver); font-size: 0.85rem; }
.topbar__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.9rem;
	background: var(--mav-chrome);
	color: var(--mav-black) !important;
	font-family: var(--mav-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	border-radius: 2px;
}
.navbar { display: none; background: var(--mav-charcoal); border-bottom: 1px solid var(--mav-border); }
.navbar__inner { max-width: var(--mav-wide); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 2rem; }
.navbar__inner a {
	padding: 0.95rem 0;
	font-family: var(--mav-display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--wp--preset--color--silver-light);
	border-bottom: 2px solid transparent;
}
.navbar__inner a:hover { color: var(--mav-white); border-bottom-color: var(--mav-silver); }
.navbar__review { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; }
.navbar__review .icon { width: 1em; height: 1em; }

.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; display: grid; gap: 5px; padding: 8px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 24px; height: 2px; background: var(--wp--preset--color--silver-light); }
.mobile-nav nav {
	position: absolute;
	right: 0;
	top: calc(100% + 0.75rem);
	min-width: 230px;
	display: flex;
	flex-direction: column;
	background: var(--mav-charcoal);
	border: 1px solid var(--mav-border);
	padding: 0.5rem;
}
.mobile-nav nav a { padding: 0.8rem 1rem; text-decoration: none; font-family: var(--mav-display); text-transform: uppercase; letter-spacing: 0.06em; }

@media (min-width: 960px) {
	.site-header { position: static; }
	.navbar { display: block; position: sticky; top: 0; z-index: 50; }
	.logo img { height: 64px; }
	.topbar__inner { padding-block: 0.9rem; gap: 2.5rem; }
	.topbar__info { display: flex; gap: 2.5rem; }
	.topbar__cta { padding: 1.1rem 1.75rem; font-size: 1.05rem; }
	.topbar__cta .icon { display: none; }
	.mobile-nav { display: none; }
}
@media (max-width: 959px) {
	.topbar__cta span { display: none; }
	.topbar__cta { padding: 0.7rem; }
}

/* ---------------------------------------------------------------- Sections */
.site-main { margin-block-start: 0; }
/* Full-width sections butt together (override the block gap between them). */
.site-main > *, .site-main > .wp-block-post-content > * { margin-block: 0; }
.section { padding: clamp(3.5rem, 9vw, 6rem) 16px; }
.section--alt { background: var(--mav-charcoal); }
.section--flush { padding-block: 0; }
.section > * { max-width: min(100%, var(--mav-wide)); margin-inline: auto; }
.section > h2:not(:first-child) { margin-top: 2.75rem; }
.section > .eyebrow + h2 { margin-top: 0; }
.section > h2 + p, .section > h2 + .wp-block-html { margin-top: 1.5rem; }
.prose > p, .prose > ul, .prose > h2 { max-width: min(100%, 860px); }
.lead { font-size: var(--wp--preset--font-size--large); }

/* Home hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; padding-bottom: 4rem; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 45%, rgba(10,10,10,0.25) 100%), linear-gradient(0deg, rgba(10,10,10,0.9), transparent 40%); }
.hero__content { position: relative; z-index: 1; width: 100%; max-width: var(--mav-wide); margin: 0 auto; padding: 4rem 16px 3rem; }
.hero__content .eyebrow { color: var(--mav-white); font-size: 0.95rem; }
.hero__content h1 { margin: 0.5rem 0 1.25rem; line-height: 0.98; }
.hero__content h1 span { display: block; }
.hero__lead { max-width: 36rem; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--silver-light); margin-top: 1.5rem; }
.hero-wrap { position: relative; }
.hero-card {
	position: relative;
	z-index: 2;
	display: block;
	margin: -3rem 16px 0;
	padding: 1.4rem 1.6rem;
	background: var(--mav-chrome);
	color: var(--mav-black) !important;
	text-decoration: none;
	border-radius: 4px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.hero-card__label { display: block; font-family: var(--mav-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem; }
.hero-card__phone { display: block; font-family: var(--mav-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.1; }
@media (min-width: 760px) {
	.hero-card { position: absolute; bottom: -3rem; margin: 0; right: max(16px, calc((100vw - var(--mav-wide)) / 2 + 16px)); width: 460px; padding: 1.75rem 2.25rem; }
}

/* Trust strip */
.trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 2.25rem;
	padding: 2.5rem 16px 2.25rem;
	border-bottom: 1px solid var(--mav-border);
	font-family: var(--mav-display);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mav-white);
}
@media (min-width: 760px) { .trust-strip { padding-top: 5.5rem; } }
.trust-strip span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-strip .icon { color: var(--mav-silver); }

/* Inner page hero */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 420px; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.75) 55%, rgba(10,10,10,0.45) 100%); }
.page-hero__content { position: relative; z-index: 1; width: 100%; max-width: var(--mav-wide); margin: 0 auto; padding: 4rem 16px 3.5rem; }
.page-hero__content h1 { margin: 0.25rem 0 1rem; max-width: 18ch; }
.page-hero__content .lead { max-width: 40rem; margin: 0; }
.crumbs { font-size: var(--wp--preset--font-size--small); color: var(--mav-silver); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--mav-display); }
.crumbs a { text-decoration: none; color: var(--mav-silver); }
.crumbs span { margin: 0 0.35rem; opacity: 0.6; }

/* Split: photo + copy */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 2px; position: relative; z-index: 1; }
.split__media::before { content: ""; position: absolute; inset: 12px -10px -12px 12px; border: 3px solid var(--mav-silver); opacity: 0.5; }
@media (min-width: 900px) { .split__media::before { inset: 18px -18px -18px 18px; } }
.split__badge {
	position: absolute;
	z-index: 2;
	left: -8px;
	bottom: 24px;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.1rem;
	background: var(--mav-chrome);
	color: var(--mav-black);
	font-family: var(--mav-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.split__body h2 { margin-top: 0; }
.split__body p { margin: 1rem 0 0; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
	.split--reverse .split__media { order: 2; }
}

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.7rem; text-align: left; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist .icon { margin-top: 0.15rem; color: var(--mav-black); background: var(--mav-chrome); border-radius: 50%; padding: 3px; width: 1.35em; height: 1.35em; }

/* Services mosaic */
.mosaic { display: grid; gap: 4px; margin-top: 2.5rem; text-align: left; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 280px; overflow: hidden; text-decoration: none; color: var(--mav-white) !important; isolation: isolate; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,0.92) 5%, rgba(10,10,10,0.35) 60%, rgba(10,10,10,0.15)); }
.tile--tint::after { background: linear-gradient(0deg, rgba(10,10,10,0.94) 8%, rgba(24,24,27,0.45) 60%, rgba(200,200,210,0.18)); }
.tile--tint .tile__img { filter: grayscale(1) contrast(1.25) brightness(0.9); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__body { display: block; padding: 1.75rem; }
.tile__title { margin: 0 0 0.4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tile__text { display: block; max-width: 30rem; color: var(--wp--preset--color--silver-light); }
.tile__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; font-family: var(--mav-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--mav-silver); transition: gap 0.2s; }
.tile:hover .tile__more { gap: 0.75rem; color: var(--mav-white); }
@media (min-width: 760px) {
	.mosaic { grid-template-columns: repeat(3, 1fr); }
	.tile--wide { grid-column: span 2; }
	.tile { min-height: 340px; }
}

/* Feature trio */
.features { display: grid; max-width: min(100%, var(--mav-wide)); }
.feature { padding: 2.75rem 2.25rem; }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 2px solid currentColor; border-radius: 50%; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { margin: 1.25rem 0 0.6rem; font-size: 1.6rem; color: inherit; }
.feature p { margin: 0; }
.feature--black { background: #000; color: var(--mav-white); }
.feature--chrome { background: var(--mav-chrome); color: var(--mav-black); }
.feature--chrome h3 { color: var(--mav-black); }
.feature--steel { background: #3a3a40; color: var(--mav-white); }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* Service-area chips and link grids */
.area-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-top: 2.25rem; text-align: left; }
.area-chip, .link-grid a {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1.1rem 1.25rem;
	background: var(--mav-steel);
	border: 1px solid var(--mav-border);
	border-left: 4px solid var(--mav-silver);
	text-decoration: none;
	font-family: var(--mav-display);
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: background 0.15s, transform 0.15s;
}
.area-chip span, .link-grid a span { flex: 1; }
.area-chip:hover, .link-grid a:hover { background: #303036; transform: translateY(-2px); }
.area-chip .icon:last-child, .link-grid .icon { color: var(--mav-silver); }
.link-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 2rem; }
.link-grid a { font-size: 1.05rem; }

/* Service-area map: Google embed of the Business Profile listing */
.map-wrap { display: grid; gap: 0; margin-top: 2.5rem; text-align: left; background: var(--mav-steel); border: 1px solid var(--mav-border); }
.map { position: relative; min-height: 420px; overflow: hidden; background: var(--mav-charcoal); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__label {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 0.4rem 0.75rem;
	background: var(--mav-black);
	color: var(--mav-white);
	font-family: var(--mav-display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	pointer-events: none;
}
.map-panel { padding: 2rem; }
.map-panel h3 { margin: 0.25rem 0 0.75rem; font-size: clamp(1.75rem, 4vw, 2.4rem); }
.map-panel p { margin: 0 0 1rem; }
.map-panel .area-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin: 1.25rem 0 1.5rem; gap: 0.5rem; }
.map-panel .area-chip { padding: 0.75rem 0.9rem; font-size: 1rem; }
@media (min-width: 900px) {
	.map-wrap { grid-template-columns: 1.4fr 1fr; }
	.map { min-height: 520px; }
	.map-panel { padding: 2.5rem; }
}

/* Info cards / two columns */
.two-col { display: grid; gap: 2rem; text-align: left; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.info-card { padding: 2rem; background: var(--mav-steel); border-top: 4px solid var(--mav-silver); }
.info-card > .icon { width: 30px; height: 30px; color: var(--mav-silver); }
.info-card h3 { margin: 0.6rem 0 0.75rem; }
.info-card h3 ~ .icon { margin-top: 1.5rem; }
.info-card ul { margin: 0; padding-left: 1.2rem; }
.info-card li { margin: 0.3rem 0; }

/* Gallery */
.gallery-grid { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 2.25rem; }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.6s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.wide-figure { margin: 2.5rem auto 0; }
.wide-figure img { width: 100%; display: block; }

/* FAQ */
.faq > h3, .faq > p { max-width: min(100%, 860px); }
.faq h3 { margin: 1.75rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--mav-border); font-size: 1.3rem; }
.faq h3 + p { margin-top: 0.5rem; color: var(--wp--preset--color--silver-light); }

/* Bands */
.band { padding: clamp(3.5rem, 9vw, 5.5rem) 16px; text-align: center; }
.band__inner { max-width: 760px; margin: 0 auto; }
.band h2 { font-size: var(--wp--preset--font-size--xx-large); margin: 0.25rem 0 1rem; }
.band--chrome { background: var(--mav-chrome); color: var(--mav-black); }
.band--chrome h2, .band--chrome .eyebrow { color: var(--mav-black); }
.band .btn { margin-top: 1.25rem; }

.cta-band {
	position: relative;
	padding: clamp(4rem, 10vw, 7rem) 16px;
	text-align: center;
	background: linear-gradient(rgba(10,10,10,0.82), rgba(10,10,10,0.88)), url("assets/cta-bg.webp") center / cover;
	border-top: 1px solid var(--mav-border);
}
.cta-band__inner { max-width: 900px; margin: 0 auto; }
.cta-band__title { font-size: var(--wp--preset--font-size--xx-large); margin: 0.25rem 0 1.75rem; }
.cta-band__title span { display: block; }
.cta-band__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	font-family: var(--mav-display);
	font-weight: 700;
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	text-decoration: none;
	background: var(--mav-chrome);
	color: var(--mav-black) !important;
	border-radius: 2px;
	transition: transform 0.15s;
}
.cta-band__phone:hover { transform: scale(1.03); }

/* Blog listing (core post-template renders a <ul>) */
.wp-block-post-template.card-grid, .latest-posts { list-style: none; padding: 0; margin: 2.25rem auto 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); text-align: left; }
.card, .latest-posts li { background: var(--mav-steel); border: 1px solid var(--mav-border); overflow: hidden; }
.card img, .latest-posts img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card .wp-block-post-featured-image { margin: 0; }
.card__body { padding: 1.5rem; }
.card__body .wp-block-post-title { font-size: 1.4rem; margin: 0 0 0.5rem; }
.card__body .wp-block-post-title a, .latest-posts li > a { text-decoration: none; }
.card__body .wp-block-post-date, .latest-posts .wp-block-latest-posts__post-date { font-size: var(--wp--preset--font-size--small); color: var(--mav-silver); text-transform: uppercase; letter-spacing: 0.08em; }
.latest-posts li { padding-bottom: 1.25rem; }
.latest-posts .wp-block-latest-posts__featured-image { margin: 0 0 1rem; }
.latest-posts li > a { display: block; padding: 0 1.25rem; font-family: var(--mav-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.2; color: var(--mav-white); }
.latest-posts .wp-block-latest-posts__post-date { display: block; padding: 0.5rem 1.25rem 0; }
.wp-block-query-pagination { margin-top: 2rem; gap: 1rem; }
.blog-index > * { max-width: min(100%, var(--mav-wide)); margin-inline: auto; }

/* Single post */
.post-single > * { max-width: min(100%, 780px); margin-inline: auto; }
.post-single h1 { font-size: var(--wp--preset--font-size--x-large); }
.post-single h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.post-byline { gap: 0.5rem 1.5rem; color: var(--mav-silver); font-size: var(--wp--preset--font-size--small); text-transform: uppercase; letter-spacing: 0.08em; }
.post-byline p { margin: 0; }
.post-related { margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-left: 4px solid var(--mav-silver); background: var(--mav-charcoal); }
.post-related h2 { font-size: var(--wp--preset--font-size--large); margin-top: 0; }

/* Quote form */
.quote-form { display: grid; gap: 1rem; max-width: 720px; margin: 3rem auto 0; padding: 2rem; background: var(--mav-steel); border-top: 4px solid var(--mav-silver); }
.quote-form h2 { margin: 0; }
.quote-form label { display: grid; gap: 0.35rem; font-weight: 600; }
.quote-form input, .quote-form textarea { font: inherit; padding: 0.8rem; border: 0; border-bottom: 2px solid var(--mav-border); background: var(--mav-black); color: var(--mav-white); }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-bottom-color: var(--mav-silver); }
.quote-form button { justify-self: start; cursor: pointer; border: 0; }
.quote-form__hp { position: absolute; left: -9999px; }
.quote-form__notice { padding: 0.75rem 1rem; background: var(--mav-black); }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: #050505; border-top: 1px solid var(--mav-border); padding: 4rem 16px 0; }
.site-footer__inner { max-width: var(--mav-wide); margin: 0 auto; display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer__brand img { height: 70px; width: auto; }
.site-footer__brand p { color: var(--mav-silver); margin: 1rem 0 0; max-width: 22rem; }
.site-footer nav, .site-footer__contact { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a { text-decoration: none; color: var(--wp--preset--color--silver-light); }
.site-footer a:hover { color: var(--mav-white); }
.site-footer p { margin: 0; }
.site-footer__heading { font-family: var(--mav-display); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--mav-white); margin-bottom: 0.6rem !important; }
.site-footer__heading::after { content: ""; display: block; width: 36px; height: 3px; background: var(--mav-chrome); margin-top: 0.6rem; }
.contact-line { display: flex; align-items: center; gap: 0.65rem; }
.contact-line .icon { color: var(--mav-silver); }
.site-footer__bar {
	max-width: var(--mav-wide);
	margin: 3rem auto 0;
	padding: 1.5rem 0 6.5rem;
	border-top: 1px solid var(--mav-border);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--mav-silver);
}

/* Sticky mobile call bar */
.mobile-call {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 60;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.6rem;
	padding: 1rem;
	border-radius: 4px;
	font-family: var(--mav-display);
	font-weight: 700;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	background: var(--mav-chrome);
	color: var(--mav-black) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
@media (min-width: 960px) {
	.mobile-call { display: none; }
	.site-footer__bar { padding-bottom: 1.5rem; }
}

/* ---------------------------------------------------------------- Reference-inspired details */
/* Light sections (silver-white) alternate with the dark ones */
.section--light { background: #ececee; color: #27272a; }
.section--light h2, .section--light h3:not(.tile__title) { color: var(--mav-black); }
.section--light .eyebrow { color: #52525b; }
.section--light .text-chrome { background: linear-gradient(180deg, #71717a 0%, #27272a 55%, #52525b 100%); -webkit-background-clip: text; background-clip: text; }
.section--light h2.has-rule::after { background: linear-gradient(180deg, #71717a, #27272a); }
.is-centered h2.has-rule::after { width: 140px; height: 3px; background: linear-gradient(90deg, transparent, var(--mav-silver) 30%, var(--mav-silver) 70%, transparent); }
.section--light.is-centered h2.has-rule::after { background: linear-gradient(90deg, transparent, #3f3f46 30%, #3f3f46 70%, transparent); }

/* Hero stats box */
.hero-stats { display: inline-grid; grid-auto-flow: column; margin-top: 1.75rem; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(10, 10, 10, 0.55); }
.hero-stats div { padding: 0.8rem 1.25rem; text-align: center; }
.hero-stats div + div { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero-stats strong { display: block; font-family: var(--mav-display); font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.1; text-transform: uppercase; background: var(--mav-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mav-silver); }
@media (max-width: 520px) { .hero-stats div { padding: 0.7rem 0.6rem; } }

/* "What we haul" chips */
.trust-strip { flex-direction: column; align-items: center; gap: 1rem; text-transform: none; letter-spacing: 0; }
.trust-strip .eyebrow { margin: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 980px; }
.chip { padding: 0.5rem 0.95rem; border: 1px solid var(--mav-border); background: var(--mav-charcoal); font-family: var(--mav-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; color: var(--mav-white); }

/* Numbered feature cards */
.feature { position: relative; }
.feature__num { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--mav-display); font-weight: 700; font-size: 3.5rem; line-height: 1; opacity: 0.14; }
.features { text-align: left; gap: 0; margin-top: 2.5rem; }
.section--flush .features { margin-top: 0; }

/* Call band: framed box with corner brackets */
.cta-band__inner { position: relative; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(10, 10, 10, 0.45); }
.cta-band__inner::before, .cta-band__inner::after { content: ""; position: absolute; width: 40px; height: 40px; border: 3px solid var(--mav-silver); }
.cta-band__inner::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.cta-band__inner::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.cta-band__phone { flex-wrap: wrap; justify-content: center; }

/* ---------------------------------------------------------------- Motion
   Hero entrance runs on load (CSS only). Scroll reveals are added by
   assets/reveal.js, which only hides elements once it's running, so content
   is never invisible without JS. Everything is off for reduced-motion users. */
@keyframes mav-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes mav-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__img { animation: mav-zoom 8s ease-out both; }
.hero__content > *, .page-hero__content > * { animation: mav-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__content > :nth-child(2), .page-hero__content > :nth-child(2) { animation-delay: 0.12s; }
.hero__content > :nth-child(3), .page-hero__content > :nth-child(3) { animation-delay: 0.24s; }
.hero__content > :nth-child(4), .page-hero__content > :nth-child(4) { animation-delay: 0.36s; }
.hero__content > :nth-child(5) { animation-delay: 0.48s; }
.hero-card { animation: mav-up 0.9s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.reveal-on .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--reveal-delay, 0s); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

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