/**
 * BRO Electrical — EV Charger Installation (page-ev-charger-installation.php).
 * New page. Editorial, less photography-led (two genuine photographs
 * total). No testimonials section — no genuine EV-specific review
 * exists in the verified testimonial source yet (see PHP comment).
 */

.bro-evc-page section {
	padding: var(--bro-section-spacing) 0;
}

/* ---- Hero ----
   Source photo (bro-ev.webp) is a genuine but low-resolution and
   strongly PORTRAIT photograph (236x510). A typical wide/short desktop
   hero box using object-fit:cover on a source this narrow would crop
   away the majority of its height, making the charger hard to identify
   — exactly what was flagged as unacceptable. Instead of cover-cropping,
   the photo is shown via object-fit:contain inside a bounded column
   anchored to one side of the hero, so the ENTIRE photograph is always
   visible, uncropped, at any breakpoint — never just "as much as
   survives a crop." The rest of the hero stays the same dark/overlay/
   typography language as every other service page. */

.bro-evc-hero {
	position: relative;
	min-height: calc(100svh - var(--bro-header-height));
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--bro-charcoal);
	padding: 0;
}

.bro-evc-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--bro-charcoal);
}

.bro-evc-hero__media img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 44%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

.bro-evc-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(20, 23, 26, 0.92) 0%, rgba(20, 23, 26, 0.72) 44%, rgba(20, 23, 26, 0.2) 62%, rgba(20, 23, 26, 0.08) 100%);
}

.bro-evc-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--bro-max-width);
	margin: 0 auto;
	padding: calc(var(--bro-section-spacing) * 0.6) var(--bro-gutter) var(--bro-section-spacing);
}

.bro-evc-hero__heading {
	font-size: var(--bro-text-hero);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--bro-white);
	max-width: 16ch;
	margin: 0 0 1.5rem;
}

.bro-evc-hero__body p {
	font-size: var(--bro-text-lg);
	line-height: 1.55;
	color: var(--bro-white);
	max-width: 46ch;
	margin: 0;
}

.bro-evc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
}

.bro-evc-hero__actions .bro-btn--ghost {
	color: var(--bro-text-muted-on-dark);
	border-color: rgba(245, 242, 236, 0.35);
}

@media (hover: hover) and (pointer: fine) {
	.bro-evc-hero__actions .bro-btn--ghost:hover,
	.bro-evc-hero__actions .bro-btn--ghost:focus-visible {
		color: var(--bro-white);
	}
}

@media (max-width: 900px) {
	.bro-evc-hero__media img {
		width: 56%;
	}

	.bro-evc-hero__overlay {
		background:
			linear-gradient(90deg, rgba(20, 23, 26, 0.94) 0%, rgba(20, 23, 26, 0.78) 52%, rgba(20, 23, 26, 0.24) 74%, rgba(20, 23, 26, 0.1) 100%);
	}
}

@media (max-width: 640px) {
	.bro-evc-hero {
		min-height: 100svh;
		align-items: stretch;
		flex-direction: column;
	}

	.bro-evc-hero__media {
		position: relative;
		height: 42svh;
		min-height: 260px;
		flex: 0 0 auto;
	}

	.bro-evc-hero__media img {
		position: absolute;
		inset: 0;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.bro-evc-hero__overlay {
		background:
			linear-gradient(0deg, rgba(20, 23, 26, 1) 0%, rgba(20, 23, 26, 1) 58%, rgba(20, 23, 26, 0.35) 76%, rgba(20, 23, 26, 0) 100%);
	}

	.bro-evc-hero__content {
		position: relative;
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 2rem var(--bro-gutter) 2.75rem;
	}

	.bro-evc-hero__heading {
		max-width: none;
	}

	.bro-evc-hero__body p {
		max-width: none;
	}

	.bro-evc-hero__actions {
		flex-direction: column;
	}

	.bro-evc-hero__actions .bro-btn {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}

/* ---- Shared reveal stagger ---- */

.bro-evc-page .bro-eyebrow.bro-reveal-fade {
	transition-delay: 0ms;
}

.bro-evc-page h2.bro-reveal-fade {
	transition-delay: 90ms;
}

.bro-evc-page .bro-reveal-fade[data-reveal="body"] {
	transition-delay: 170ms;
}

.bro-evc-page .bro-reveal-fade[data-reveal="extra"] {
	transition-delay: 240ms;
}

/* ---- Introduction ---- */

.bro-evc-intro {
	background: var(--bro-offwhite);
}

.bro-evc-intro__inner {
	max-width: 52rem;
}

.bro-evc-intro__inner h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 1.5rem;
}

.bro-evc-intro__inner p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0 0 1.25rem;
}

.bro-evc-intro__list {
	list-style: none;
	margin: 1.75rem 0;
	padding: 1.5rem 0;
	border-top: 1px solid var(--bro-border-on-light);
	border-bottom: 1px solid var(--bro-border-on-light);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 600;
	color: var(--bro-text-on-light);
}

.bro-evc-intro__list li {
	display: flex;
	align-items: center;
}

.bro-evc-intro__list li:not(:last-child)::after {
	content: '\00b7';
	color: var(--bro-orange);
	margin: 0 0 0 1.5rem;
	font-weight: 700;
}

.bro-evc-intro__note {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-h3);
	font-weight: 700;
	line-height: 1.35;
	color: var(--bro-text-on-light);
	max-width: 34ch;
	margin: 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--bro-orange);
}

/* ---- How we approach an EV installation (text-only process) ---- */

.bro-evc-process {
	background: var(--bro-white);
}

.bro-evc-process__intro {
	max-width: 40rem;
	margin: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.bro-evc-process__intro h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 0;
}

.bro-evc-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bro-evc-process__step {
	padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
	border-top: 1px solid var(--bro-border-on-light);
}

.bro-evc-process__list > .bro-evc-process__step:last-child {
	border-bottom: 1px solid var(--bro-border-on-light);
}

.bro-evc-process__step-inner {
	display: flex;
	align-items: flex-start;
	gap: clamp(1.5rem, 4vw, 3rem);
}

.bro-evc-process__index {
	flex: 0 0 auto;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-h2);
	font-weight: 700;
	line-height: 1;
	color: var(--bro-border-on-light);
}

.bro-evc-process__body {
	flex: 1 1 auto;
	max-width: 34rem;
}

.bro-evc-process__title {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: var(--bro-tracking-label);
	text-transform: uppercase;
	color: var(--bro-text-on-light);
	margin: 0 0 0.65rem;
}

.bro-evc-process__text {
	font-size: var(--bro-text-base);
	line-height: 1.6;
	color: var(--bro-text-muted-on-light);
	margin: 0;
}

@media (max-width: 780px) {
	.bro-evc-process__step-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
	}
}

/* ---- Your existing electrical installation ---- */

.bro-evc-existing {
	background: var(--bro-offwhite);
}

.bro-evc-existing__inner {
	max-width: 50rem;
}

.bro-evc-existing__inner h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 1.5rem;
}

.bro-evc-existing__inner > p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0 0 1.5rem;
}

.bro-evc-existing__list {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--bro-border-on-light);
}

.bro-evc-existing__list li {
	position: relative;
	padding-left: 1.2rem;
	font-size: var(--bro-text-base);
	line-height: 1.55;
	color: var(--bro-text-on-light);
	margin-bottom: 0.65rem;
}

.bro-evc-existing__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 8px;
	height: 1px;
	background: var(--bro-orange);
}

.bro-evc-existing__note {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0 0 1.25rem;
}

/* ---- Charger choice ---- */

.bro-evc-choice {
	background: var(--bro-white);
}

.bro-evc-choice__inner {
	max-width: 52rem;
}

.bro-evc-choice__inner h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 1.5rem;
}

.bro-evc-choice__inner > p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0 0 1.5rem;
}

.bro-evc-choice__list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--bro-border-on-light);
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 600;
	color: var(--bro-text-on-light);
}

.bro-evc-choice__list li {
	display: flex;
	align-items: center;
}

.bro-evc-choice__list li:not(:last-child)::after {
	content: '\00b7';
	color: var(--bro-orange);
	margin: 0 0.6em;
	font-weight: 700;
}

.bro-evc-choice__note {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0;
}

/* ---- A neat installation matters — bro-evcharger3.jpg section ---- */

.bro-evc-neat {
	background: var(--bro-offwhite);
}

.bro-evc-neat__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5.5rem);
}

.bro-evc-neat__media {
	flex: 1 1 460px;
}

.bro-evc-neat__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	background: var(--bro-white);
}

.bro-evc-neat__body {
	flex: 1 1 400px;
	max-width: 34rem;
}

.bro-evc-neat__body h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 1.5rem;
}

.bro-evc-neat__body p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 54ch;
	margin: 0 0 1.25rem;
}

.bro-evc-neat__callout {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-base);
	font-weight: 600;
	color: var(--bro-text-on-light);
	max-width: 54ch;
	margin: 1.5rem 0 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--bro-orange);
}

@media (max-width: 900px) {
	.bro-evc-neat__grid {
		flex-direction: column;
	}

	.bro-evc-neat__media {
		max-width: 100%;
	}
}

/* ---- EV charging as part of a renovation / new project ---- */

.bro-evc-project {
	background: var(--bro-charcoal);
}

.bro-evc-project__inner {
	max-width: 52rem;
}

.bro-evc-project__inner h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--bro-white);
	margin: 1rem 0 1.5rem;
}

.bro-evc-project__inner p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-dark);
	max-width: 58ch;
	margin: 0 0 1.25rem;
}

.bro-evc-project__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--bro-border-on-dark);
}

.bro-evc-project__links a {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: var(--bro-tracking-label);
	text-transform: uppercase;
	color: var(--bro-white);
	text-decoration: none;
	border-bottom: 1px solid rgba(245, 242, 236, 0.35);
	padding-bottom: 0.2em;
	transition: color var(--bro-transition-base), border-color var(--bro-transition-base);
}

.bro-evc-project__links a:hover,
.bro-evc-project__links a:focus-visible {
	color: var(--bro-orange);
	border-color: var(--bro-orange);
}

/* ---- What the customer gains ---- */

.bro-evc-benefits {
	background: var(--bro-white);
}

.bro-evc-benefits__intro {
	max-width: 46rem;
	margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.bro-evc-benefits__intro h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 0;
}

.bro-evc-benefits__list {
	border-top: 1px solid var(--bro-border-on-light);
}

.bro-evc-benefit {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem) 0;
	border-bottom: 1px solid var(--bro-border-on-light);
}

.bro-evc-benefit__index {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-h2);
	font-weight: 700;
	line-height: 1;
	color: var(--bro-border-on-light);
}

.bro-evc-benefit__title {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: var(--bro-tracking-label);
	text-transform: uppercase;
	color: var(--bro-orange-burnt);
	margin: 0.35rem 0 0.65rem;
}

.bro-evc-benefit__text {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 56ch;
	margin: 0;
}

@media (max-width: 620px) {
	.bro-evc-benefit {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
}

/* ---- Solar / battery note ---- */

.bro-evc-solar {
	background: var(--bro-offwhite);
}

.bro-evc-solar__inner {
	max-width: 46rem;
}

.bro-evc-solar__inner h2 {
	font-size: var(--bro-text-h2);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.005em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 1.25rem;
}

.bro-evc-solar__inner p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0;
}

/* ---- Reviews (reuses testimonials.css .bro-review component).
   Deliberately only two genuine reviews — one featured, one support —
   so the support review is shown standalone (centred, own max-width)
   rather than inside the site's usual .bro-review-pair two-column grid,
   which is built for exactly two support reviews and would leave an
   awkward empty gap with only one. */

.bro-evc-reviews {
	background: var(--bro-offwhite);
}

.bro-evc-reviews__intro {
	max-width: 44rem;
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.bro-evc-reviews__intro h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 0;
}

.bro-evc-reviews__support {
	max-width: 36rem;
	margin: 2.5rem auto 0;
}

.bro-evc-reviews__cta {
	margin-top: clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.bro-evc-reviews__cta a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: var(--bro-tracking-label);
	text-transform: uppercase;
	color: var(--bro-text-on-light);
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.bro-evc-reviews__cta a:hover .bro-icon-arrow,
	.bro-evc-reviews__cta a:focus-visible .bro-icon-arrow {
		transform: translateX(4px);
	}
}

.bro-evc-reviews__cta a:hover,
.bro-evc-reviews__cta a:focus-visible {
	color: var(--bro-orange);
}

/* ---- FAQs ---- */

.bro-evc-faq {
	background: var(--bro-white);
}

.bro-evc-faq__inner {
	max-width: 52rem;
}

.bro-evc-faq__inner h2 {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--bro-text-on-light);
	margin: 1rem 0 clamp(2rem, 4vw, 3rem);
}

.bro-evc-faq__list {
	border-top: 1px solid var(--bro-border-on-light);
}

.bro-evc-faq__item {
	border-bottom: 1px solid var(--bro-border-on-light);
}

.bro-evc-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 0;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-base);
	font-weight: 700;
	color: var(--bro-text-on-light);
	cursor: pointer;
	list-style: none;
}

.bro-evc-faq__item summary::-webkit-details-marker {
	display: none;
}

.bro-evc-faq__item summary::after {
	content: '+';
	flex: 0 0 auto;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--bro-orange);
	line-height: 1;
	transition: transform var(--bro-transition-base);
}

.bro-evc-faq__item[open] summary::after {
	transform: rotate(45deg);
}

.bro-evc-faq__item summary:focus-visible {
	outline: 2px solid var(--bro-orange);
	outline-offset: 3px;
}

.bro-evc-faq__answer {
	margin: 0 0 1.75rem;
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
}

.bro-evc-faq__answer a {
	color: var(--bro-text-on-light);
	text-decoration: underline;
	text-decoration-color: var(--bro-border-on-light);
	text-underline-offset: 3px;
}

.bro-evc-faq__answer a:hover,
.bro-evc-faq__answer a:focus-visible {
	color: var(--bro-orange);
	text-decoration-color: var(--bro-orange);
}

/* ---- Final CTA ---- */

.bro-evc-cta {
	background: var(--bro-charcoal);
	text-align: center;
}

.bro-evc-cta__inner {
	max-width: 46rem;
	margin: 0 auto;
}

.bro-evc-cta__eyebrow {
	justify-content: center;
}

.bro-evc-cta__heading {
	font-size: var(--bro-text-h1);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--bro-white);
	margin: 0 0 1.5rem;
}

.bro-evc-cta__text {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-dark);
	max-width: 54ch;
	margin: 0 auto 2.25rem;
}

.bro-evc-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
}

.bro-evc-cta__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--bro-white);
	text-decoration: none;
}

.bro-evc-cta__phone svg {
	width: 18px;
	height: 18px;
}

.bro-evc-cta__phone:hover,
.bro-evc-cta__phone:focus-visible {
	color: var(--bro-orange);
}

.bro-evc-cta .bro-icon-arrow {
	width: 14px;
	height: 14px;
	transition: transform var(--bro-transition-base);
}

@media (hover: hover) and (pointer: fine) {
	.bro-evc-cta .bro-btn:hover .bro-icon-arrow,
	.bro-evc-cta .bro-btn:focus-visible .bro-icon-arrow {
		transform: translateX(4px);
	}
}

@media (max-width: 480px) {
	.bro-evc-cta__actions {
		flex-direction: column;
	}

	.bro-evc-cta__actions .bro-btn {
		width: 100%;
	}
}
