/**
 * BRO Electrical — Kitchen Electrics (page-kitchen-electrics.php).
 * New page. Premium, project-led editorial treatment: five genuine
 * project photographs used deliberately (not a gallery), charcoal/
 * off-white/typography variation carries the rhythm between them,
 * text-only process timeline.
 */

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

/* ---- Hero ---- */

.bro-ke-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-ke-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.bro-ke-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 38% 42%;
	display: block;
}

.bro-ke-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(20, 23, 26, 0.74) 0%, rgba(20, 23, 26, 0.34) 48%, rgba(20, 23, 26, 0.1) 78%),
		linear-gradient(0deg, rgba(20, 23, 26, 0.82) 0%, rgba(20, 23, 26, 0.24) 42%, rgba(20, 23, 26, 0.06) 65%);
}

.bro-ke-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-ke-hero__heading {
	font-size: var(--bro-text-hero);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--bro-white);
	margin: 0 0 1.5rem;
}

.bro-ke-hero__lead {
	font-size: var(--bro-text-lg);
	font-weight: 600;
	line-height: 1.5;
	color: var(--bro-white);
	max-width: 46ch;
	margin: 0 0 1rem;
}

.bro-ke-hero__body p {
	font-size: var(--bro-text-base);
	line-height: 1.6;
	color: var(--bro-text-muted-on-dark);
	max-width: 58ch;
	margin: 0;
}

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

@media (max-width: 640px) {
	.bro-ke-hero {
		min-height: 100svh;
	}

	.bro-ke-hero__media img {
		object-position: 46% 38%;
	}

	.bro-ke-hero__overlay {
		background:
			linear-gradient(0deg, rgba(20, 23, 26, 0.9) 0%, rgba(20, 23, 26, 0.5) 32%, rgba(20, 23, 26, 0.12) 60%),
			linear-gradient(180deg, rgba(20, 23, 26, 0.3) 0%, rgba(20, 23, 26, 0) 25%);
	}

	.bro-ke-hero__content {
		padding: 2rem var(--bro-gutter) 2.75rem;
	}

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

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

	.bro-ke-hero__actions .bro-btn {
		width: 100%;
	}
}

/* ---- Shared reveal stagger for simple sections ---- */

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

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

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

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

/* ---- Shared editorial image + text grid (reused by several sections) ---- */

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

.bro-ke-grid--reverse {
	flex-direction: row-reverse;
}

.bro-ke-grid__media {
	flex: 1 1 460px;
}

.bro-ke-grid__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	background: var(--bro-white);
}

.bro-ke-grid__body {
	flex: 1 1 400px;
	max-width: 34rem;
}

.bro-ke-grid__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: 0 0 1.5rem;
}

.bro-ke-grid__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;
}

@media (max-width: 900px) {
	.bro-ke-grid,
	.bro-ke-grid--reverse {
		flex-direction: column;
	}

	.bro-ke-grid__media {
		max-width: 100%;
	}
}

/* ---- Before First Fix ---- */

.bro-ke-before {
	background: var(--bro-offwhite);
}

.bro-ke-before__media {
	max-width: 30rem;
}

.bro-ke-before__media img {
	aspect-ratio: 960 / 720;
}

.bro-ke-before__callout {
	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: 1.75rem 0 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--bro-orange);
}

/* ---- Complete package ---- */

.bro-ke-package {
	background: var(--bro-white);
}

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

.bro-ke-package__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: 0 0 1.5rem;
}

.bro-ke-package__intro p {
	font-size: var(--bro-text-lg);
	line-height: 1.6;
	color: var(--bro-text-muted-on-light);
	max-width: 58ch;
	margin: 0;
}

.bro-ke-package__list {
	list-style: none;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--bro-border-on-light);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem 2rem;
}

.bro-ke-package__list li {
	position: relative;
	padding-left: 1.2rem;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 600;
	color: var(--bro-text-on-light);
}

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

.bro-ke-package__note {
	font-size: var(--bro-text-sm);
	line-height: 1.6;
	color: var(--bro-text-muted-on-light);
	max-width: 54ch;
	margin: 0;
}

@media (max-width: 700px) {
	.bro-ke-package__list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.bro-ke-package__list {
		grid-template-columns: 1fr;
	}
}

/* ---- Appliances & electrical supplies ---- */

.bro-ke-appliances {
	background: var(--bro-offwhite);
}

.bro-ke-appliances__inner {
	max-width: 50rem;
}

.bro-ke-appliances__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: 0 0 1.5rem;
}

.bro-ke-appliances__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;
}

/* ---- Kitchen lighting ---- */

.bro-ke-lighting {
	background: var(--bro-white);
}

.bro-ke-lighting__media img {
	aspect-ratio: 924 / 2000;
}

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

.bro-ke-lighting__layers li {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--bro-border-on-light);
}

.bro-ke-lighting__layers li:last-child {
	border-bottom: none;
}

.bro-ke-lighting__layer-title {
	display: block;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--bro-text-on-light);
	margin: 0 0 0.3rem;
}

.bro-ke-lighting__layer-text {
	display: block;
	font-size: var(--bro-text-sm);
	line-height: 1.5;
	color: var(--bro-text-muted-on-light);
}

/* ---- Power where you'll actually use it ---- */

.bro-ke-power {
	background: var(--bro-offwhite);
}

.bro-ke-power__media img {
	aspect-ratio: 4 / 3;
}

.bro-ke-power__list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 600;
	color: var(--bro-text-on-light);
}

.bro-ke-power__list li {
	display: flex;
	align-items: center;
}

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

/* ---- Process (text-only — no photos, ever) ---- */

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

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

.bro-ke-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-ke-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

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

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

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

.bro-ke-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-ke-process__body {
	flex: 1 1 auto;
	max-width: 34rem;
}

.bro-ke-process__title {
	font-size: var(--bro-text-h3);
	font-weight: 700;
	line-height: 1.2;
	color: var(--bro-text-on-light);
	margin: 0 0 0.65rem;
}

.bro-ke-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-ke-process__step-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
	}
}

/* ---- Working around the joinery ---- */

.bro-ke-joinery {
	background: var(--bro-offwhite);
}

.bro-ke-joinery__media img {
	aspect-ratio: 768 / 1024;
}

.bro-ke-joinery__list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.bro-ke-joinery__list li {
	position: relative;
	padding-left: 1.2rem;
	font-size: var(--bro-text-sm);
	line-height: 1.5;
	color: var(--bro-text-on-light);
	margin-bottom: 0.55rem;
}

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

/* ---- For joiners, kitchen companies & builders ---- */

.bro-ke-builders {
	background: var(--bro-charcoal);
}

.bro-ke-builders__intro {
	max-width: 46rem;
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.bro-ke-builders__intro 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-ke-builders__intro 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.1rem;
}

.bro-ke-practices {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
	padding: 0;
	border-top: 1px solid var(--bro-border-on-dark);
}

.bro-ke-practice {
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
	border-bottom: 1px solid var(--bro-border-on-dark);
	border-right: 1px solid var(--bro-border-on-dark);
}

.bro-ke-practices > .bro-ke-practice:nth-child(3n) {
	border-right: none;
}

.bro-ke-practices > .bro-ke-practice:last-child {
	border-right: none;
}

.bro-ke-practice__title {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bro-white);
	margin: 0 0 0.6rem;
}

.bro-ke-practice__text {
	font-size: var(--bro-text-sm);
	line-height: 1.55;
	color: var(--bro-text-muted-on-dark);
	margin: 0;
}

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

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

@media (max-width: 767px) {
	.bro-ke-practices {
		grid-template-columns: 1fr;
	}

	.bro-ke-practice {
		border-right: none;
	}
}

/* ---- Changes & variations ---- */

.bro-ke-changes {
	background: var(--bro-white);
}

.bro-ke-changes__inner {
	max-width: 50rem;
}

.bro-ke-changes__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: 0 0 1.5rem;
}

.bro-ke-changes__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-ke-changes__examples {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 600;
	color: var(--bro-text-on-light);
}

.bro-ke-changes__examples li {
	display: flex;
	align-items: center;
}

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

/* ---- Testing & certification (text + NICEIC badge, no photo) ---- */

.bro-ke-certification {
	background: var(--bro-charcoal);
	text-align: center;
}

.bro-ke-certification__inner {
	max-width: 42rem;
	margin: 0 auto;
}

.bro-ke-certification__eyebrow {
	justify-content: center;
}

.bro-ke-certification__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: 0 0 1.25rem;
}

.bro-ke-certification__inner p {
	font-size: var(--bro-text-base);
	line-height: 1.65;
	color: var(--bro-text-muted-on-dark);
	max-width: 52ch;
	margin: 0 auto 1.5rem;
}

.bro-ke-certification__badge-row {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bro-border-on-dark);
}

.bro-ke-certification__badge-row img {
	height: 56px;
	width: auto;
	background: var(--bro-white);
	padding: 7px 10px;
	border-radius: var(--bro-radius-sm);
	flex: 0 0 auto;
}

.bro-ke-certification__badge-text {
	font-family: var(--bro-font-display);
	font-size: var(--bro-text-sm);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bro-white);
	text-align: left;
}

@media (max-width: 420px) {
	.bro-ke-certification__badge-row {
		flex-direction: column;
	}
}

/* ---- Reviews (reuses testimonials.css .bro-review component) ---- */

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

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

.bro-ke-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-ke-reviews__pair {
	margin-top: 2.5rem;
}

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

.bro-ke-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;
}

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

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

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

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

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

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

.bro-ke-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-ke-faq__list {
	border-top: 1px solid var(--bro-border-on-light);
}

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

.bro-ke-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-ke-faq__item summary::-webkit-details-marker {
	display: none;
}

.bro-ke-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-ke-faq__item[open] summary::after {
	transform: rotate(45deg);
}

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

.bro-ke-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-ke-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-ke-faq__answer a:hover,
.bro-ke-faq__answer a:focus-visible {
	color: var(--bro-orange);
	text-decoration-color: var(--bro-orange);
}

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

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

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

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

.bro-ke-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-ke-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-ke-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

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

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

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

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