/* ===================================================================
   A&M PUMPS - Landing pages (service area + emergency)
   Loaded only on the "A&M Landing" page template.
   Tokens come from the child theme's style.css :root block.
   =================================================================== */

.am-lp {
	background: var(--am-black);
	color: var(--am-off-white);
}

.am-lp-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- hero ---------- */

.am-lp-hero {
	padding: clamp(48px, 6vw, 76px) 0 clamp(32px, 4vw, 48px);
	background:
		radial-gradient(110% 85% at 8% 0%, var(--am-gold-glow) 0%, rgba(10, 10, 10, 0) 58%),
		var(--am-black);
	border-bottom: 1px solid var(--am-border);
}

/* Text and photo side by side, so the headline is not left floating against a
   half-empty band. Text column is the wider of the two. */
.am-lp-herogrid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.am-lp-herogrid:only-child,
.am-lp-herogrid.is-textonly {
	grid-template-columns: 1fr;
}

@media (max-width: 900px) {
	.am-lp-herogrid {
		grid-template-columns: 1fr;
	}
}

.am-lp-media {
	margin: 0;
}

.am-lp-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(232, 168, 56, 0.24);
	box-shadow:
		0 0 0 7px rgba(255, 255, 255, 0.025),
		0 30px 64px -28px rgba(0, 0, 0, 0.95),
		0 6px 18px -8px rgba(0, 0, 0, 0.7);
}

/* Trust strip under the hero, matching the homepage's stat row. */
.am-lp-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: clamp(28px, 4vw, 44px);
	padding-top: clamp(20px, 3vw, 28px);
	border-top: 1px solid var(--am-border);
}

.am-lp-trustitem {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.am-lp-trustvalue {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	line-height: 1.05;
	color: var(--am-gold);
}

.am-lp-trustlabel {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--am-light-gray);
}

@media (max-width: 640px) {
	.am-lp-trust {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px 10px;
	}
}

.am-lp--emergency .am-lp-media img {
	border-color: rgba(217, 79, 79, 0.32);
}

.am-lp-eyebrow {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--am-gold);
	margin: 0 0 14px;
}

.am-lp-h1 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: var(--am-white);
	text-wrap: balance;
	margin: 0 0 20px;
	max-width: 20ch;
}

.am-lp-lede {
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.6;
	color: var(--am-off-white);
	max-width: 62ch;
	margin: 0 0 32px;
}

.am-lp--emergency .am-lp-hero {
	background:
		radial-gradient(120% 90% at 12% 0%, rgba(217, 79, 79, 0.22) 0%, rgba(10, 10, 10, 0) 62%),
		var(--am-black);
}

.am-lp--emergency .am-lp-eyebrow {
	color: var(--am-danger);
}

/* ---------- buttons ---------- */

.am-lp-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.am-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 14px 26px;
	border-radius: 4px;
	border: 2px solid transparent;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.am-btn--primary {
	background: var(--am-gold);
	color: var(--am-black);
}

.am-btn--primary:hover,
.am-btn--primary:focus-visible {
	background: var(--am-gold-light);
	color: var(--am-black);
}

.am-btn--ghost {
	border-color: var(--am-border);
	color: var(--am-off-white);
}

.am-btn--ghost:hover,
.am-btn--ghost:focus-visible {
	border-color: var(--am-gold);
	color: var(--am-gold);
}

.am-btn--lg {
	font-size: 1.125rem;
	padding: 17px 34px;
}

.am-lp a:focus-visible,
.am-lp .am-btn:focus-visible {
	outline: 3px solid var(--am-gold-light);
	outline-offset: 3px;
}

/* ---------- prose ---------- */

.am-lp-body {
	padding: clamp(44px, 6vw, 72px) 0;
}

.am-lp-prose {
	max-width: 760px;
	margin-inline: auto;
}

.am-lp-prose h2 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	line-height: 1.15;
	color: var(--am-white);
	text-wrap: balance;
	margin: 48px 0 16px;
}

.am-lp-prose h2:first-child {
	margin-top: 0;
}

.am-lp-prose h3 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	color: var(--am-gold);
	margin: 30px 0 10px;
}

.am-lp-prose p {
	font-size: 1.0625rem;
	line-height: 1.7;
	margin: 0 0 18px;
}

.am-lp-prose ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.am-lp-prose ul li {
	position: relative;
	padding-left: 26px;
	line-height: 1.6;
}

.am-lp-prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 8px;
	height: 8px;
	background: var(--am-gold);
	border-radius: 1px;
	transform: rotate(45deg);
}

.am-lp-prose strong {
	color: var(--am-white);
}

/* ---------- service grid ---------- */

.am-lp-services {
	padding: clamp(44px, 6vw, 72px) 0;
	background: var(--am-dark);
	border-top: 1px solid var(--am-border);
	border-bottom: 1px solid var(--am-border);
}

.am-lp-services h2,
.am-lp-nearby h2,
.am-lp-closer h2 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	line-height: 1.15;
	color: var(--am-white);
	text-wrap: balance;
	margin: 0 0 28px;
}

.am-lp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.am-lp-card {
	background: var(--am-dark-gray);
	border: 1px solid var(--am-border);
	border-top: 3px solid var(--am-gold);
	padding: 20px 22px;
}

.am-lp-card h3 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 1.1875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--am-white);
	margin: 0 0 8px;
}

.am-lp-card p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--am-light-gray);
	margin: 0;
}

/* ---------- nearby towns ---------- */

.am-lp-nearby {
	padding: clamp(40px, 5vw, 64px) 0;
}

.am-lp-townlist {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.am-lp-townlist a {
	display: inline-block;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 9px 16px;
	border: 1px solid var(--am-border);
	border-radius: 3px;
	color: var(--am-off-white);
	transition: border-color 0.25s ease, color 0.25s ease;
}

.am-lp-townlist a:hover,
.am-lp-townlist a:focus-visible {
	border-color: var(--am-gold);
	color: var(--am-gold);
}

.am-lp-allareas {
	margin: 0;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- closer ---------- */

.am-lp-closer {
	padding: clamp(48px, 6vw, 80px) 0;
	background:
		linear-gradient(180deg, var(--am-dark) 0%, var(--am-black) 100%);
	border-top: 1px solid var(--am-border);
	text-align: center;
}

.am-lp-closer p {
	max-width: 56ch;
	margin: 0 auto 28px;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--am-light-gray);
}

.am-lp-closer .am-btn {
	justify-content: center;
}

/* ---------- service-area hub ---------- */

/* The hub's town list sits inside .am-lp-prose, whose generic `ul` rule is a
   flex column with bullet pseudo-elements. These selectors are deliberately
   scoped through .am-lp-prose so they outrank it. */
.am-lp--hub .am-lp-prose {
	max-width: 1100px;
}

.am-lp-prose .am-lp-hubgrid,
.am-lp-hubgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.am-lp-prose .am-lp-hubgrid li,
.am-lp-hubgrid li {
	padding: 0;
	position: static;
}

.am-lp-prose .am-lp-hubgrid li::before,
.am-lp-hubgrid li::before {
	content: none;
}

.am-lp-hubgrid a {
	display: block;
	background: var(--am-dark-gray);
	border: 1px solid var(--am-border);
	padding: 18px 20px;
	color: var(--am-white);
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.am-lp-hubgrid a:hover,
.am-lp-hubgrid a:focus-visible {
	border-color: var(--am-gold);
	background: var(--am-medium-gray);
	color: var(--am-white);
}

.am-lp-hubgrid .am-lp-hubtown {
	display: block;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.am-lp-hubgrid .am-lp-hubcounty {
	display: block;
	font-size: 0.875rem;
	color: var(--am-light-gray);
	margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.am-lp * {
		transition-duration: 0.01ms !important;
	}
}
