:root {
	--bg: #000d19;
	--white: #ffffff;
	--muted: rgba(255, 255, 255, .78);
	--line: rgba(255, 255, 255, .2);
	--yellow: #f2d523;
	--cyan: #90ffff;
	--blue: #005eab;
	--grad: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
	--container: 1280px;
	--radius: 8px;
	--pill: 30px;
	--pad: 64px;
	--h1: 72px;
	--h2: 52px;
	--h3: 44px;
	--body: 16px;
	--body-m: 18px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--white);
	font-family: "Roboto", sans-serif;
}

body {
	min-width: 320px;
}

img {
	max-width: 100%;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

h1,
h2,
h3,
h4,
p {
	margin: 0;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
	max-width: var(--container);
	margin: 0 auto;
	width: 100%;
}

.section {
	padding: 80px var(--pad);
	position: relative;
}

.section-lg {
	padding: 112px var(--pad);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
============================================================ */
.title-xl,
.title-lg,
.title-md,
.caps {
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: -1px;
}

.title-xl {
	font-size: var(--h1);
}

.title-lg {
	font-size: var(--h2);
}

.title-md {
	font-size: var(--h3);
}

.tagline {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.text {
	font-size: var(--body);
	line-height: 1.5;
}

.text-m {
	font-size: var(--body-m);
	line-height: 1.5;
}

.text-s {
	font-size: 14px;
	line-height: 1.5;
}

.muted {
	color: var(--muted);
}

.center {
	text-align: center;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border-radius: var(--pill);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
	transition: transform .2s ease, filter .2s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn.small {
	padding: 8px 20px;
}

/* Gradient CTA — brighten + lift */
.btn-grad {
	background: var(--grad);
	color: #000d19;
}

.btn-grad:hover {
	filter: brightness(1.12);
	transform: scale(1.03);
	box-shadow: 0 6px 20px -4px rgba(144, 255, 255, .45);
}

.btn-grad:active {
	transform: scale(0.99);
	filter: brightness(1.05);
}

/* Yellow outline — flood fill on hover */
.btn-outline {
	background: rgba(255, 255, 255, .2);
	border: 2px solid #fff;
	color: #fff;
	position: relative;
	overflow: hidden;
	z-index: 0;
}

.btn-outline::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	transform: translateY(101%);
	transition: transform .25s cubic-bezier(.4, 0, .2, 1);
	z-index: -1;
	border-radius: var(--pill);
}

.btn-outline:hover::before {
	transform: translateY(0);
}

.btn-outline:hover {
	color: #000d19;
}

/* Dark outline — used in gradient CTA band */
.btn-dark-outline {
	background: rgba(255, 255, 255, .2);
	border: 2px solid #000d19;
	color: #000d19;
	position: relative;
	overflow: hidden;
	z-index: 0;
}

.btn-dark-outline::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #000d19;
	transform: translateY(101%);
	transition: transform .25s cubic-bezier(.4, 0, .2, 1);
	z-index: -1;
	border-radius: var(--pill);
}

.btn-dark-outline:hover::before {
	transform: translateY(0);
}

.btn-dark-outline:hover {
	color: #fff;
}

/* White button — invert on hover */
.btn-white {
	background: #fff;
	color: #000d19;
}

.btn-white:hover {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 2px #fff;
}

/* Reduce motion — kill transforms, keep colour transitions */
@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: filter .2s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
	}

	.btn-grad:hover {
		transform: none;
	}

	.btn-outline::before,
	.btn-dark-outline::before {
		transition: none;
	}
}

/* ============================================================
   DIVIDERS
============================================================ */
.divider-wave {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	display: block;
	height: 60px;
	object-fit: cover;
}

.divider-line {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	display: block;
}


@media(max-width: 1280px) {
    .divider-wave {
        object-fit: contain;
        padding: 0 20px;
    }
    .divider-line {
        padding: 0 20px;   
    }
}

/* ============================================================
   SECTION TITLE (shared centred header pattern)
============================================================ */
.section-title {
	max-width: 768px;
	margin: 0 auto 80px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	text-align: center;
}

/* ============================================================
   HERO
============================================================ */
.hero {
	padding: 24px var(--pad) 80px;
	background: var(--bg);
}

.hero-card {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	min-height: 640px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px;
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('/wp-content/uploads/2026/03/a-male-electrician-works-in-a-switchboard-with-an-2026-01-09-08-16-58-utc-scaled.jpg') center/cover no-repeat;
}

.hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 950px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: start;
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

/* ============================================================
   SERVICES SPLIT (Domestic / Commercial panels)
============================================================ */
.services-split .section-title {
	margin-bottom: 72px;
}

.dual-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 37px;
}

.feature-panel {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	min-height: 452px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 36px;
	text-align: center;
	border: 2px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease;
}

.feature-panel:hover {
	border-color: var(--cyan);
	box-shadow: 6px 6px 11px -2px rgba(144, 255, 255, .7);
}

.feature-panel .bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.feature-panel>.content {
	position: relative;
	z-index: 1;
	max-width: 440px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-items: center;
}

.feature-panel .title-lg {
	font-size: 52px;
}

.feature-panel .btn-outline {
	transition: border-color .25s ease, color .25s ease;
	margin: 0 auto;
	border-color: var(--yellow);
}

.feature-panel .btn-outline::before {
	display: none;
}

/* suppress yellow flood fill in panels */
.feature-panel:hover .btn-outline {
	border-color: var(--cyan);
	color: var(--cyan);
}

/* ============================================================
   WHY CHOOSE US — INTERACTIVE TABS
   Tabs switch the card image and copy via JS (see bottom of file)
============================================================ */
.why .tabs {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 64px;
}

.tab {
	padding: 8px 0;
	border: 0;
	background: transparent;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: border-color .2s;
	color: #fff;
}

.tab.active {
	border-color: var(--blue);
}

.why-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
}

.why-card .img {
	min-height: 482px;
	background: center/cover no-repeat;
	transition: background-image .35s ease;
}

.why-card .copy {
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
}

.why-card .copy .stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.why-card .copy .stack2 {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Animate copy panel on tab switch */
.why-card .copy {
	transition: opacity .25s ease;
}

.why-card .copy.fade {
	opacity: 0;
}

/* ============================================================
   ACCREDITATION LOGOS
============================================================ */
.logos {
	padding: 80px var(--pad);
}

.logos-row {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 64px;
	align-items: center;
}

.logos-row .brandset {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.logos-row .brandset img:nth-child(1) {
	width: 189px;
}

.logos-row .brandset img:nth-child(2) {
	width: 233px;
}

.logos-row .brandset img:nth-child(3) {
	width: 102px;
}

/* ============================================================
   SERVICES GRID (generated by JS at bottom of file)
============================================================ */
.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.service-card {
	min-height: 320px;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	padding: 24px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--yellow);
	justify-content: center;
	gap: 24px;
	transition: border-color .25s ease, box-shadow .25s ease;
}

.service-card.gradient {
	background: var(--grad);
	border: none;
	color: #000d19;
}

/* Hover: blue glow border + title turns blue */
.service-card:not(.gradient):hover {
	border: 2px solid var(--cyan);
	box-shadow: 6px 6px 11px -2px rgba(144, 255, 255, .7);
}

.service-card:not(.gradient):hover .service-title {
	color: var(--cyan);
}

.service-card .bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .78);
}

.service-card .overlay.light {
	background: rgba(0, 0, 0, .6);
}

.service-card.gradient .overlay {
	display: none;
}

.service-card>* {
	position: relative;
	z-index: 1;
}

.service-top {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.service-icon {
	width: 45px;
	height: 45px;
	object-fit: contain;
}

/* min-height reserves space for 2 lines of title so body text aligns across all cards */
.service-title {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 22px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: -.22px;
	color: var(--yellow);
	min-height: calc(22px * 1.2 * 2);
	display: flex;
	align-items: flex-start;
	transition: color .25s ease;
}

.service-card.gradient .service-title {
	color: #000d19;
	min-height: 0;
}

.service-desc {
	font-size: 16px;
	line-height: 1.3;
	color: #fff;
}

.service-card.gradient .service-desc {
	color: #000d19;
}

.service-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
}

.chev {
	width: 6px;
	height: 11px;
}

/* ============================================================
   TESTIMONIALS CAROUSEL
   Auto-plays every 5s, manual prev/next, dot indicators.
   Shows 3 cards on desktop, 1 on mobile.
============================================================ */
.testimonials-carousel-wrap {
	position: relative;
	overflow: hidden;
}

.testimonials-track {
	display: flex;
	gap: 32px;
	transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.testimonial {
	flex: 0 0 calc((100% - 64px) / 3);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.testimonial .stars {
	display: block;
	line-height: 0;
}

.author {
	display: flex;
	flex-direction: column;
}

.author .name {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5;
}

.author .role {
	font-size: 16px;
	line-height: 1.5;
}

/* Carousel controls */
.carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}

.carousel-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--line);
	background: transparent;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: border-color .2s, background .2s;
}

.testimonials-track polygon {
    fill: #F2D523;
    stroke-width: 0;
}

.carousel-btn:hover {
	border-color: var(--cyan);
	background: rgba(144, 255, 255, .08);
}

.carousel-dots {
	display: flex;
	gap: 8px;
}

.carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--line);
	cursor: pointer;
	transition: background .2s, transform .2s;
	border: none;
}

.carousel-dot.active {
	background: var(--cyan);
	transform: scale(1.3);
}

/* ============================================================
   STATS
============================================================ */
.stats-copy {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	margin-bottom: 80px;
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.stat {
	padding-left: 32px;
	border-left: 1px solid var(--line);
}

.stat .num {
	font-size: 80px;
	font-weight: 700;
	line-height: 1.3;
}

.stat .label {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 22px;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: -1px;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 399px 398px;
	gap: 20px;
}

.gallery-grid .g1 {
	grid-column: 1 / span 2;
	grid-row: 1;
}

.gallery-grid .g2 {
	grid-column: 3;
	grid-row: 1;
}

.gallery-grid .g3 {
	grid-column: 4;
	grid-row: 1;
}

.gallery-grid .g4 {
	grid-column: 1;
	grid-row: 2;
}

.gallery-grid .g5 {
	grid-column: 2;
	grid-row: 2;
}

.gallery-grid .g6 {
	grid-column: 3 / span 2;
	grid-row: 2;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

/* ============================================================
   CTA BAND
============================================================ */
.cta {
	background: var(--grad);
	color: #000d19;
}

.cta .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.cta .title-lg {
	color: #fff;
}

.cta-right {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.cta-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
}

.contact-left {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.contact-left .section-head {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-left h2 {
	color: var(--cyan);
}

.contact-lines {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 8px 0;
}

.contact-line {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.contact-line .icon {
	width: 24px;
	height: 24px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.input,
.textarea {
	width: 100%;
	background: rgba(255, 255, 255, .2);
	border: 1px solid #fff;
	border-radius: 6px;
	color: #fff;
	font: 400 16px/1.5 "Roboto", sans-serif;
	padding: 12px;
}

.input {
	height: 48px;
}

.textarea {
	height: 180px;
	resize: vertical;
}

.textarea::placeholder,
.input::placeholder {
	color: rgba(255, 255, 255, .5);
}

.check {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 16px;
	font-size: 14px;
}

.check input {
	width: 18px;
	height: 18px;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, .2);
    border: 1px solid #fff;
    border-radius: 2px;
    color: #fff;
    padding: 12px;
    font: 400 16px / 1.5 'Roboto', sans-serif;
    outline: none;
    padding: 0;
}

.check input:checked {
	background-color: #ffffff;
	position: relative;
}

/* Tick mark */
.check input:checked::after {
	content: '';
	position: absolute;
	top: 45%;
	left: 50%;
	width: 4px;
	height: 8px;
	border: solid #000;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
	padding: 80px var(--pad);
	background: var(--bg);
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 64px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.footer-copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer-copy .block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.socials {
	display: flex;
	gap: 14px;
}

.socials img {
	width: 20px;
	height: 20px;
}

.footer-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.footer-links .col {
	display: flex;
	flex-direction: column;
}

.footer-links a {
	padding: 8px 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.footer-bottom {
	margin-top: 80px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.credits {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 14px;
	line-height: 1.5;
}

.credit-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.underline {
	text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1200px)
============================================================ */
@media (max-width: 1200px) {
	:root {
		--pad: 28px;
		--h1: 56px;
		--h2: 42px;
		--h3: 36px;
	}

	.service-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
	}

	.gallery-grid .g1,
	.gallery-grid .g2,
	.gallery-grid .g3,
	.gallery-grid .g4,
	.gallery-grid .g5,
	.gallery-grid .g6 {
		grid-column: auto;
		grid-row: auto;
	}

	.gallery-grid img {
		height: 320px;
	}

	.stats-row {
		grid-template-columns: 1fr;
	}

	.stats-copy,
	.cta .wrap,
	.contact-grid,
	.footer-top,
	.logos-row,
	.dual-grid,
	.why-card {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.why-card .img {
		min-height: 360px;
	}

	.logos-row .brandset {
		justify-content: flex-start;
	}

	.nav-wrap {
		flex-direction: row;
	}

	.nav-links {
		display: none;
	}

	.nav-cta {
		display: none;
	}

	.nav-hamburger {
		display: flex;
	}


	/* Carousel: show 2 cards on tablet */
	.testimonial {
		flex: 0 0 calc((100% - 32px) / 2);
	}
}

/* ============================================================
   RESPONSIVE — MOBILE (≤780px)
============================================================ */
@media (max-width: 780px) {
	:root {
		--pad: 18px;
		--h1: 40px;
		--h2: 32px;
		--h3: 30px;
	}

	.topbar {
		padding-top: 18px;
	}

	.nav-links {
		display: none;
	}

	.hero-card {
		min-height: 520px;
		padding: 24px;
	}

	.hero-copy .text-m {
		font-size: 16px;
	}

	.hero-actions, .cta-actions{
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
	}

	.hero-actions .btn,
	.cta-actions .btn {
		width: 100%;
	}

	.section,
	.section-lg,
	.hero,
	.logos,
	footer {
		padding: 40px 18px;
	}

	.dual-grid,
	.service-grid {
		grid-template-columns: 1fr;
	}

	.service-grid {
		gap: 20px;
	}

	.feature-panel {
		min-height: 360px;
	}

	.footer-links {
		grid-template-columns: 1fr;
	}

	.credits,
	.credit-links {
		flex-direction: column-reverse;
	}

	.logos-row .brandset img:nth-child(1) {
		width: 150px;
	}

	.logos-row .brandset img:nth-child(2) {
		width: 180px;
	}

	.logos-row .brandset img:nth-child(3) {
		width: 80px;
	}

	.stat .num {
		font-size: 58px;
	}

	.footer-brand {
		align-items: center;
	}

	.footer-copy .block {
		align-items: center;
	}

	.footer-links a {
		text-align: center;
	}

	.credits div,
	.credit-links a {
		text-align: center;
	}

	/* Carousel: show 1 card on mobile */
	.testimonial {
		flex: 0 0 100%;
	}
	
	.hero-copy p, .hero-copy h1 {
	    text-align: center;
	}
	
	.feature-panel>.content {
	    align-items: center;
	}
	
	.feature-panel .content p {
	    text-align: center;
	}
	
	.why .tabs {
	    justify-content: center;
	}
	
	.section-lg {
    	padding: 63px var(--pad);
    }
    
    section.logos p {
        text-align: center;
    }
    
    .brandset {
        flex-direction: column;
    }
    
    p.service-desc {
        display: none;
    }
    
    .service-title {
        min-height: unset;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }
    
    .cta .wrap {
        gap: 20px;
    }
    
    .service-top {
        align-items: center;
    }
    
    .service-link {
        justify-content: center;
    }
    
    .service-title {
        text-align: center;
    }
    
    .service-card {
        min-height: 220px;
    }
}