/*
 * PSE site enhancements — loaded on every page by functions.php
 * (pse_enhancements_inject). Kept separate from the captured stylesheets so
 * the original markup stays untouched and these changes are easy to find.
 *
 *  1. Homepage hero: full-screen-height slider
 *  2. Homepage services grid: heading + "Book a Service" CTA
 *  3. Floating buttons: smaller Collect.chat launcher, WhatsApp above it
 */

:root {
	--pse-radius: 2px; /* one corner size site-wide: sharp, like preciequip.com */
	--pse-red: #ef3f49;
	--pse-red-dark: #d32f39;
	--pse-navy: #091441;
	--pse-ink: #1d1d37;
	--pse-body: #4a4a4a;
	--pse-blue: #285aff;
	--pse-whatsapp: #25d366;
	--pse-whatsapp-dark: #1da851;
	/* Distance from the top of the page to the hero. JS measures the real value;
	   this is the desktop header height as a fallback. */
	--pse-hero-offset: 113px;
}

/* ------------------------------------------------------------------ 1. Hero */

/* The page title bar sat between the header and the slider. Keep the H1 in
   the document for SEO and screen readers, but take it out of the layout so
   the hero starts right under the header. */
body.home .page-header {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Remove the 10px gutter Elementor puts around the slider column. */
body.home .elementor-element-a365498 > .elementor-widget-wrap {
	padding: 0 !important;
}

/* Smart Slider sizes itself from this SVG's 1200×550 aspect ratio. Giving it
   a viewport-based height makes the whole slider fill the screen; the slide
   backgrounds are already object-fit: cover, so images crop rather than
   stretch. */
#n2-ss-3 .n2-ss-preserve-size--slider {
	width: 100% !important;
	height: calc(100vh - var(--pse-hero-offset)) !important;
	height: calc(100svh - var(--pse-hero-offset)) !important;
	min-height: 480px;
}

/* Shade the photos so the headline block is always readable: strong on the
   left where the copy sits, clear on the right where the subject is. */
#n2-ss-3 .n2-ss-slide-background::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 6; /* the photo layer is z-index 5 */
	display: block !important; /* Smart Slider hides ::after on its layers */
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(9, 20, 65, 0.82) 0%, rgba(9, 20, 65, 0.55) 32%, rgba(9, 20, 65, 0.12) 62%, rgba(9, 20, 65, 0) 78%),
		linear-gradient(0deg, rgba(9, 20, 65, 0.45) 0%, rgba(9, 20, 65, 0) 30%);
}

/* ---- Hero headline block --------------------------------------------------
   The slider's original text layers had fixed sizes and positions per device
   and a serif font. They're replaced by our own block (markup in
   pages/index.html, one per slide), which lines up with the same left edge as
   the content in every section below:
     desktop: the 1140px Elementor container + 10px column padding
     smaller: 20px section gutter + 10px column padding = 30px            */
:root {
	--pse-edge: max(calc((100% - 1140px) / 2), 20px); /* % resolves against the full-width element it is used on */
}

#n2-ss-3 .n2-ss-layers-container {
	max-width: none !important;
	width: 100% !important;
}
#n2-ss-3 .n2-ss-layers-container > .n2-ss-layer { display: none !important; }

.pse-hero-copy {
	/* The slide's layer container is a column flexbox: auto margins centre it
	   vertically. */
	margin: auto 0;
	align-self: stretch;
	pointer-events: none; /* let swipes on empty areas reach the slider */
	width: 100%;
	box-sizing: border-box;
	padding: 0 calc(var(--pse-edge) + 10px);
	padding-bottom: 40px;
	font-family: 'Poppins', sans-serif;
	text-align: left;
	color: #fff;
}
.pse-hero-copy__inner { max-width: 580px; pointer-events: auto; }

.pse-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
}
.pse-hero-eyebrow::before {
	content: "";
	flex: none;
	width: 36px;
	height: 3px;
	border-radius: var(--pse-radius);
	background: var(--pse-red);
}

#n2-ss-3 .pse-hero-copy h2.pse-hero-title {
	margin: 18px 0 18px;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(34px, 3.5vw, 56px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
	text-transform: none;
	text-shadow: 0 2px 24px rgba(9, 20, 65, 0.35);
	max-width: 10.5em; /* keeps the copy in the shaded left third */
}
#n2-ss-3 .pse-hero-title span { color: #ff5a63; }

#n2-ss-3 .pse-hero-lead {
	max-width: 460px;
	margin: 0 0 32px;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(15px, 1.15vw, 18px);
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.pse-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.pse-hero-actions .pse-btn--glass {
	border-color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.pse-hero-actions .pse-btn--glass:hover,
.pse-hero-actions .pse-btn--glass:focus-visible { border-color: #fff; background: #fff; color: var(--pse-navy); }
.pse-btn--glass:hover .pse-btn__arrow { transform: translateX(3px); }
.pse-hero-copy .pse-btn:focus-visible { outline-color: #fff; }

/* Entrance: each line rises in when its slide becomes active. */
@keyframes pse-rise {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: none; }
}
#n2-ss-3 .n2-ss-slide-active .pse-hero-copy__inner > * {
	animation: pse-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
#n2-ss-3 .n2-ss-slide-active .pse-hero-copy__inner > :nth-child(2) { animation-delay: 0.12s; }
#n2-ss-3 .n2-ss-slide-active .pse-hero-copy__inner > :nth-child(3) { animation-delay: 0.24s; }
#n2-ss-3 .n2-ss-slide-active .pse-hero-copy__inner > :nth-child(4) { animation-delay: 0.36s; }

/* Slider arrows: they sat on the left/right edges at mid-height, right on top
   of the headline on smaller screens. Move them to the bottom-right corner,
   aligned to the same content edge. */
#n2-ss-3 .n2-ss-slider-controls-absolute-left-center,
#n2-ss-3 .n2-ss-slider-controls-absolute-right-center {
	top: auto !important;
	bottom: 28px !important;
	height: auto !important;
	align-items: flex-end !important;
}
#n2-ss-3 .n2-ss-slider-controls-absolute-left-center { left: auto !important; right: calc(var(--pse-edge) + 10px + 56px) !important; }
#n2-ss-3 .n2-ss-slider-controls-absolute-right-center { right: calc(var(--pse-edge) + 10px) !important; }
#n2-ss-3 .nextend-arrow {
	--widget-offset: 0px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(9, 20, 65, 0.35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 1 !important;
	transition: background 0.2s ease, border-color 0.2s ease;
}
#n2-ss-3 .nextend-arrow:hover { background: var(--pse-red); border-color: var(--pse-red); }
#n2-ss-3 .nextend-arrow img { width: 16px !important; height: 16px !important; }

/* Scroll cue at the bottom of the hero. */
.pse-hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: -22px;
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	color: #fff;
	background: rgba(9, 20, 65, 0.25);
	animation: pse-bob 2s ease-in-out infinite;
	transition: background 0.2s ease;
}
.pse-hero-scroll:hover,
.pse-hero-scroll:focus-visible {
	background: var(--pse-red);
	border-color: var(--pse-red);
	color: #fff;
}
.pse-hero-scroll svg { width: 18px; height: 18px; }

@keyframes pse-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

/* Desktop / landscape: start the headline at the logo's edge (the header is
   90% wide, so 5% in) and keep it within the left ~40% of the screen, so it
   never runs into the people on the right of the photos. */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1200px) {
	.pse-hero-copy { padding-left: 5%; padding-right: 5%; }
	.pse-hero-copy__inner { max-width: min(520px, 34vw); }
	#n2-ss-3 .pse-hero-copy h2.pse-hero-title { font-size: clamp(32px, 3.2vw, 54px); max-width: none; }
	#n2-ss-3 .pse-hero-lead { max-width: 100%; }
	#n2-ss-3 .n2-ss-slider-controls-absolute-right-center { right: 5% !important; }
	#n2-ss-3 .n2-ss-slider-controls-absolute-left-center { right: calc(5% + 56px) !important; }
}

/* Phones and portrait tablets: portrait images, copy at the top over the
   calm sky area, people in the lower half. */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1199px) {
	#n2-ss-3 .n2-ss-preserve-size--slider { min-height: 520px; }
	#n2-ss-3 .n2-ss-slide-background-image { --ss-o-pos-x: 50% !important; --ss-o-pos-y: 50% !important; }
	#n2-ss-3 .n2-ss-slide-background::after {
		background: linear-gradient(180deg, rgba(9, 20, 65, 0.85) 0%, rgba(9, 20, 65, 0.55) 38%, rgba(9, 20, 65, 0.05) 62%, rgba(9, 20, 65, 0) 100%);
	}
	.pse-hero-copy { margin: 0 0 auto; padding-top: 6vh; padding-bottom: 0; }
	.pse-hero-scroll { display: none; }
}

@media (max-width: 767px) {
	.pse-hero-eyebrow { font-size: 12px; letter-spacing: 0.12em; gap: 10px; }
	.pse-hero-eyebrow::before { width: 24px; }
	#n2-ss-3 .pse-hero-copy h2.pse-hero-title { font-size: 31px; margin: 14px 0 12px; }
	#n2-ss-3 .pse-hero-lead { font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
	.pse-hero-actions { gap: 10px; }
	/* One button on phones keeps the copy in the sky area, above the people. */
	.pse-hero-actions .pse-btn--glass { display: none; }
	.pse-hero-copy { padding-top: 4vh; }
	.pse-hero-actions .pse-btn { width: auto; min-height: 44px; padding: 11px 16px; font-size: 14px; border-radius: var(--pse-radius); }
	.pse-hero-actions .pse-btn svg { width: 16px; height: 16px; }
	#n2-ss-3 .n2-ss-slider-controls-absolute-left-center,
	#n2-ss-3 .n2-ss-slider-controls-absolute-right-center { bottom: 18px !important; }
	#n2-ss-3 .nextend-arrow { width: 40px; height: 40px; }
	#n2-ss-3 .n2-ss-slider-controls-absolute-left-center { right: calc(var(--pse-edge) + 10px + 50px) !important; }
}

@media (prefers-reduced-motion: reduce) {
	#n2-ss-3 .n2-ss-slide-active .pse-hero-copy__inner > * { animation: none; }
}

/* ---- Same content edge for the services section --------------------------
   On tablets/phones this section had no 20px section gutter and its own 5%
   side padding, so the cards and the Book a Service card sat at a different
   edge from every other section. */
.services-cards-section { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 1179px) {
	body.home .elementor-element-2a056d4 > .elementor-container { padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
}

/* Header menu: same spacing as preciequip.com (20px either side of each
   item) with larger text (was 14px). Only on narrower laptops, where 8 items
   at that size would wrap onto a second line and double the fixed header's
   height, do the gaps and text step down. */
#site-navigation-wrap .dropdown-menu > li > a { font-size: 16px !important; font-weight: 500 !important; }
#site-navigation-wrap .dropdown-menu ul li a { font-size: 15px !important; }
@media (min-width: 960px) and (max-width: 1499px) {
	#site-navigation-wrap .dropdown-menu > li > a { font-size: 15px !important; }
}
@media (min-width: 960px) and (max-width: 1399px) {
	#site-navigation-wrap .dropdown-menu > li > a { padding-left: 15px !important; padding-right: 15px !important; }
}
@media (min-width: 960px) and (max-width: 1279px) {
	#site-navigation-wrap .dropdown-menu > li > a { padding-left: 10px !important; padding-right: 10px !important; font-size: 14px !important; }
	#site-logo #site-logo-inner a img { max-width: 160px !important; }
}
@media (min-width: 960px) and (max-width: 1099px) {
	#site-navigation-wrap .dropdown-menu > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: 13.5px !important; }
}
@media (min-width: 960px) and (max-width: 1023px) {
	#site-navigation-wrap .dropdown-menu > li > a { padding-left: 5px !important; padding-right: 5px !important; font-size: 13px !important; letter-spacing: 0.2px !important; }
	#site-logo #site-logo-inner a img { max-width: 140px !important; }
}

/* ---------------------------------------------------- 2. Services heading/CTA */

.pse-services-head {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}

.pse-eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pse-red);
}

.services-cards-section .pse-services-head h2.pse-services-title {
	margin: 0 0 14px;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--pse-ink);
	text-align: center;
	width: auto;
}

.pse-services-head p {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--pse-body);
}

/* CTA: split card. Copy and actions on the left, onsite photo on the right. */
.pse-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	margin: 30px 0 0;
	border-radius: var(--pse-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 60px -24px rgba(9, 20, 65, 0.35), 0 0 0 1px rgba(9, 20, 65, 0.06);
	text-align: left;
}

.pse-cta__body {
	position: relative;
	padding: 48px 48px 44px;
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(40, 90, 255, 0.07) 0%, rgba(40, 90, 255, 0) 60%),
		#fff;
}

/* Red accent bar along the top of the copy column. */
.pse-cta__body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 48px;
	width: 64px;
	height: 4px;
	border-radius: 0;
	background: var(--pse-red);
}

.pse-cta .pse-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pse-cta .pse-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pse-red);
	box-shadow: 0 0 0 4px rgba(239, 63, 73, 0.18);
}

.services-cards-section .pse-cta h3.pse-cta__title {
	margin: 0 0 12px;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--pse-ink);
}
.pse-cta__title span { color: var(--pse-red); }

.pse-cta__lead {
	max-width: 520px;
	margin: 0 0 22px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: var(--pse-body);
}

.pse-cta__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.pse-cta__points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #e3e7f1;
	border-radius: var(--pse-radius);
	background: #f5f7fc;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--pse-ink);
}
.pse-cta__points svg {
	flex: none;
	width: 16px;
	height: 16px;
	padding: 3px;
	box-sizing: border-box;
	border-radius: 50%;
	background: var(--pse-blue);
	color: #fff;
}

.pse-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
}

.pse-cta__call {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 6px;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	line-height: 1.3;
	color: var(--pse-body);
	text-decoration: none;
	text-align: left;
}
.pse-cta__call strong { display: block; font-size: 15px; font-weight: 600; color: var(--pse-ink); transition: color 0.2s ease; }
.pse-cta__call-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(9, 20, 65, 0.06);
	color: var(--pse-navy);
	transition: background 0.2s ease, color 0.2s ease;
}
.pse-cta__call-icon svg { width: 18px; height: 18px; }
.pse-cta__call:hover .pse-cta__call-icon,
.pse-cta__call:focus-visible .pse-cta__call-icon { background: var(--pse-navy); color: #fff; }
.pse-cta__call:hover strong { color: var(--pse-red); }

/* Photo column */
.pse-cta__media {
	position: relative;
	min-height: 100%;
	background: var(--pse-navy);
	overflow: hidden;
}
.pse-cta__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 1.2s ease;
}
.pse-cta:hover .pse-cta__media img { transform: scale(1.04); }
.pse-cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 16%),
		linear-gradient(0deg, rgba(9, 20, 65, 0.7) 0%, rgba(9, 20, 65, 0.05) 55%);
}

/* Stat badge over the photo */
.pse-cta__badge {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border-radius: var(--pse-radius);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 30px -10px rgba(9, 20, 65, 0.5);
	font-family: 'Poppins', sans-serif;
	text-align: left;
}
.pse-cta__badge-num { font-size: 30px; font-weight: 700; line-height: 1; color: var(--pse-red); }
.pse-cta__badge-text { font-size: 12px; line-height: 1.35; color: var(--pse-ink); }

.pse-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: var(--pse-radius);
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pse-btn svg { width: 18px; height: 18px; flex: none; }
.pse-btn:hover { transform: translateY(-2px); }

.pse-btn--primary { background: var(--pse-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(239, 63, 73, 0.8); }
.pse-btn--primary:hover,
.pse-btn--primary:focus-visible { background: var(--pse-red-dark); color: #fff; box-shadow: 0 14px 26px -10px rgba(239, 63, 73, 0.9); }
.pse-btn__arrow { transition: transform 0.2s ease; }
.pse-btn--primary:hover .pse-btn__arrow { transform: translateX(3px); }

.pse-btn--whatsapp { background: var(--pse-whatsapp); color: #fff; box-shadow: 0 10px 22px -12px rgba(37, 211, 102, 0.9); }
.pse-btn--whatsapp:hover,
.pse-btn--whatsapp:focus-visible { background: var(--pse-whatsapp-dark); color: #fff; }

.pse-btn:focus-visible { outline: 2px solid var(--pse-navy); outline-offset: 2px; }

@media (max-width: 1024px) {
	.pse-cta { grid-template-columns: 1fr; }
	.pse-cta__media { order: -1; min-height: 240px; }
	.pse-cta__media::after { background: linear-gradient(0deg, rgba(9, 20, 65, 0.7) 0%, rgba(9, 20, 65, 0.05) 60%); }
}

@media (max-width: 767px) {
	.pse-services-head { margin-bottom: 28px; }
	.pse-cta { margin: 10px 0 0; border-radius: var(--pse-radius); }
	.pse-cta__media { min-height: 190px; }
	.pse-cta__badge { right: 14px; bottom: 14px; padding: 10px 14px; }
	.pse-cta__badge-num { font-size: 24px; }
	.pse-cta__body { padding: 30px 22px 26px; }
	.pse-cta__body::before { left: 22px; }
	.pse-cta__points li { font-size: 12px; padding: 7px 12px; }
	.pse-cta__actions { flex-direction: column; align-items: stretch; }
	.pse-btn { width: 100%; }
	.pse-cta__call { margin: 6px 0 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.pse-cta:hover .pse-cta__media img,
	.pse-btn--primary:hover .pse-btn__arrow { transform: none; }
}

/* -------------------------------------------------------- 3. Floating buttons */

/* Collect.chat launcher: 55px → about 42px. Scaled from its bottom-right
   corner so it stays anchored where it was. */
#chat-bot-launcher-container #chat-bot-launcher {
	transform: scale(0.76) !important;
	transform-origin: 100% 100% !important;
}

/* WhatsApp sits directly above the chat launcher, same right edge. */
.pse-whatsapp-float {
	position: fixed;
	right: 12px;
	bottom: 130px;
	z-index: 2147482998; /* just under Collect.chat's own layer */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--pse-whatsapp);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}
.pse-whatsapp-float:hover,
.pse-whatsapp-float:focus-visible {
	background: var(--pse-whatsapp-dark);
	color: #fff;
	transform: scale(1.06);
}
.pse-whatsapp-float:focus-visible { outline: 2px solid var(--pse-navy); outline-offset: 3px; }
.pse-whatsapp-float svg { width: 26px; height: 26px; }

/* Tooltip label on hover (desktop only). */
.pse-whatsapp-float__label {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 10px;
	border-radius: var(--pse-radius);
	background: var(--pse-ink);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.pse-whatsapp-float:hover .pse-whatsapp-float__label,
.pse-whatsapp-float:focus-visible .pse-whatsapp-float__label { opacity: 1; }

@media (hover: none) {
	.pse-whatsapp-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.pse-hero-scroll { animation: none; }
	.pse-btn:hover,
	.pse-whatsapp-float:hover { transform: none; }
}

/* ---- "What We Do / Our Services": same typography as the homepage's own
   "GET STARTED / Don't Let the Complexities…" heading on this site:
   label Rajdhani 21px 400 grey; heading Rajdhani 32px 700 #1d1d37 with a
   1.18 line-height, 26px at 900px and below. */
.pse-services-head .pse-eyebrow {
	font-family: 'Rajdhani', sans-serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 21px;
	letter-spacing: normal;
	text-transform: uppercase;
	color: #7a7a7a;
}
.services-cards-section .pse-services-head h2.pse-services-title {
	font-family: 'Rajdhani', sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: normal;
	color: #1d1d37;
}
@media (max-width: 900px) {
	.services-cards-section .pse-services-head h2.pse-services-title { font-size: 26px; }
}

/* ---- Floating buttons hidden over the homepage hero -----------------------
   Enquire Now, WhatsApp and the chat launcher stay out of the way while the
   hero fills the screen, then fade in once the visitor scrolls past half of
   it (pse-enhancements.js adds .pse-floats-show). Other pages unchanged. */
body.home .psep-float-button,
body.home .pse-whatsapp-float,
body.home #chat-bot-launcher-container {
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
}
body.home:not(.pse-floats-show) .psep-float-button,
body.home:not(.pse-floats-show) .pse-whatsapp-float,
body.home:not(.pse-floats-show) #chat-bot-launcher-container {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translateY(12px) !important;
}

/* ==========================================================================
   Homepage: transparent header over a full-bleed hero, logo-blue accents
   ========================================================================== */
:root {
	--pse-logo-blue: #1084ff;     /* exact colour of the PSE logo */
	--pse-logo-blue-dark: #0b6fd9;
	--pse-logo-deep: 4, 38, 92;   /* deep shade of the logo blue (rgb) */
}

/* The hero runs up behind the header (pse-enhancements.js pulls it to the
   top of the page), so the headline block is padded by the header height to
   stay centred in the visible area. */
body.home .pse-hero-copy { padding-top: var(--pse-header-h, 110px); }
@media (max-width: 767px), (orientation: portrait) and (max-width: 1199px) {
	body.home .pse-hero-copy { padding-top: calc(var(--pse-header-h, 110px) + 4vh); }
}

/* The thin email/phone top bar was always covered by the fixed white
   header; with a transparent header it would show through, so hide it. */
body.home #top-bar-wrap { display: none !important; }

/* Header: transparent while it sits over the hero, solid white after. */
body.home #site-header { transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important; }
body.home:not(.pse-header-over) #site-header { box-shadow: 0 2px 18px rgba(4, 38, 92, 0.08); }
body.home.pse-header-over #site-header {
	background-color: transparent !important;
	border-bottom-color: rgba(255, 255, 255, 0.15) !important;
	box-shadow: none !important;
}
body.home.pse-header-over #site-navigation-wrap .dropdown-menu > li > a,
body.home.pse-header-over #site-navigation-wrap .dropdown-menu > li > a .nav-arrow,
body.home.pse-header-over .oceanwp-mobile-menu-icon a { color: #fff !important; }
body.home.pse-header-over #site-navigation-wrap .dropdown-menu > li > a:hover { color: rgba(255, 255, 255, 0.75) !important; }
body.home.pse-header-over #site-navigation-wrap .dropdown-menu > .current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--pse-logo-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

/* White logo over the hero, the normal logo once the header turns white. */
#site-logo a.custom-logo-link { position: relative; display: inline-block; }
#site-logo .pse-logo-white {
	position: absolute;
	left: 2.47%;
	top: 13.8%;
	width: 94.1%;
	height: auto;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
#site-logo a.custom-logo-link img.custom-logo { transition: opacity 0.3s ease; }
body.home.pse-header-over #site-logo .pse-logo-white { opacity: 1; }
body.home.pse-header-over #site-logo img.custom-logo { opacity: 0; }

/* Photo shade in the logo's blue instead of navy: deep logo blue on the
   left under the copy, a light logo-blue tint fading out to the right, and a
   darker band at the top so the white menu reads on bright skies. */
#n2-ss-3 .n2-ss-slide-background::after {
	background:
		linear-gradient(180deg, rgba(var(--pse-logo-deep), 0.6) 0%, rgba(var(--pse-logo-deep), 0) 24%),
		linear-gradient(90deg, rgba(var(--pse-logo-deep), 0.88) 0%, rgba(var(--pse-logo-deep), 0.6) 32%, rgba(16, 132, 255, 0.18) 60%, rgba(16, 132, 255, 0) 80%),
		linear-gradient(0deg, rgba(var(--pse-logo-deep), 0.45) 0%, rgba(var(--pse-logo-deep), 0) 30%) !important;
}
@media (max-width: 767px), (orientation: portrait) and (max-width: 1199px) {
	#n2-ss-3 .n2-ss-slide-background::after {
		background: linear-gradient(180deg, rgba(var(--pse-logo-deep), 0.9) 0%, rgba(var(--pse-logo-deep), 0.6) 40%, rgba(16, 132, 255, 0.12) 62%, rgba(16, 132, 255, 0) 100%) !important;
	}
}

/* Hero accents in the logo colour (were red). */
.pse-hero-eyebrow::before { background: var(--pse-logo-blue); }
#n2-ss-3 .pse-hero-title span { color: var(--pse-logo-blue); }
.pse-hero-actions .pse-btn--primary { background: var(--pse-logo-blue); box-shadow: 0 10px 22px -10px rgba(16, 132, 255, 0.85); }
.pse-hero-actions .pse-btn--primary:hover,
.pse-hero-actions .pse-btn--primary:focus-visible { background: var(--pse-logo-blue-dark); box-shadow: 0 14px 26px -10px rgba(16, 132, 255, 0.95); }
.pse-hero-scroll:hover,
.pse-hero-scroll:focus-visible,
#n2-ss-3 .nextend-arrow:hover { background: var(--pse-logo-blue); border-color: var(--pse-logo-blue); }

/* Lighter headline weight (was 700). */
#n2-ss-3 .pse-hero-copy h2.pse-hero-title { font-weight: 600; }

/* ==========================================================================
   Site-wide responsive fixes (audit, 18 Nov 2026)
   ========================================================================== */

/* No sideways scrolling: Elementor entrance animations (fadeInLeft/Right)
   start their columns off-screen, and gallery negative margins poke out by a
   few pixels. `clip` doesn't create a scroll container, so window scroll
   events and the fixed header keep working. */
html { overflow-x: hidden; }
@supports (overflow: clip) {
	html, body { overflow-x: clip; }
}

/* Calibration tabs (homepage): on tablets and small laptops the eight tabs ran
   off the right edge. Two rows of four instead. Phones keep the stacked list. */
@media (min-width: 768px) and (max-width: 1199px) {
	.eael-tabs-nav > ul { flex-wrap: wrap !important; }
	.eael-tabs-nav > ul > li {
		flex: 1 1 25% !important;
		max-width: 25%;
		min-width: 0 !important;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
}

/* Phones: long breadcrumbs wrap instead of being cut off. */
@media (max-width: 767px) {
	.site-breadcrumbs,
	.site-breadcrumbs * { white-space: normal !important; }
	.site-breadcrumbs { height: auto !important; line-height: 1.6 !important; }
}

/* Phones and tablets: a lighter header (70px instead of 111px) and a proper
   44px tap area for the menu button. The top bar sat hidden behind the fixed
   header at these sizes, so it is removed and the content offset by the
   header height instead. */
@media (max-width: 959px) {
	#site-logo #site-logo-inner { height: 70px !important; }
	#site-logo #site-logo-inner a img { max-height: 42px !important; width: auto !important; }
	.oceanwp-mobile-menu-icon a {
		display: inline-flex !important;
		align-items: center;
		height: 70px;
		line-height: 70px !important;
		padding: 0 14px !important;
		margin-left: -14px;
	}
	body:not(.home) #top-bar-wrap { display: none !important; }
	body:not(.home) #wrap { padding-top: 71px; }
	body:not(.home) #main { margin-top: 0 !important; }
}

/* Small text: blog "Continue Reading" links and post tags were 11px. */
.blog-entry-readmore a { font-size: 13px !important; }
.post-tags, .post-tags a { font-size: 12px !important; }

/* "Book a Service" card: logo blue instead of red, matching the hero. */
.pse-cta__body::before { background: var(--pse-logo-blue); }
.pse-cta .pse-eyebrow { color: var(--pse-logo-blue); }
.pse-cta .pse-eyebrow::before { background: var(--pse-logo-blue); box-shadow: 0 0 0 4px rgba(16, 132, 255, 0.18); }
.services-cards-section .pse-cta h3.pse-cta__title span,
.pse-cta__title span { color: var(--pse-logo-blue); }
.pse-cta__badge-num { color: var(--pse-logo-blue); }
.pse-cta__call:hover strong { color: var(--pse-logo-blue); }
.pse-cta .pse-btn--primary { background: var(--pse-logo-blue); box-shadow: 0 10px 22px -10px rgba(16, 132, 255, 0.85); }
.pse-cta .pse-btn--primary:hover,
.pse-cta .pse-btn--primary:focus-visible { background: var(--pse-logo-blue-dark); box-shadow: 0 14px 26px -10px rgba(16, 132, 255, 0.95); }

/* Corner consistency (23 Nov 2026): every rectangle uses the same 2px corner.
   Circles (icon buttons, slider arrows, dots, chat launcher) stay round. */
.services-card, .services-card img, .services-card-layer,
.pse-blog-card, .pse-blogs__all,
.elementor-widget-image img, .attachment-large,
.elementor-widget-wrap.elementor-element-populated,
.psep-modal__panel, .psep-modal input, .psep-modal textarea, .psep-modal select, .psep-submit,
.psep-float-button, .psep-enquiry-button,
.psep-enquiry-box, .psep-input, .psep-enquiry-submit, .psep-grid-enquiry-form__qty,
.wp-block-search__input, .wp-block-search__button { border-radius: var(--pse-radius) !important; }

/* Final responsive audit (23 Nov 2026) */
/* /services/: the cards section sits outside a page container there, so give it
   one (the homepage copy is already inside a 1120px container and is unaffected). */
body:not(.home) .services-cards-section {
	max-width: 1170px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}
/* Flow meter repair galleries ran 29px past their column on phones and tablets. */
@media (max-width: 1024px) {
	.gallery { margin-right: 0 !important; }
	.gallery .gallery-item { max-width: 100%; }
}
/* About Us skill-bar percentages were 10-11px on phones. */
.elementor-progress-percentage { font-size: 12px !important; }
/* Blog "Read more" links: at least a 24px tap target. */
.pse-blog-card__more { display: inline-flex; align-items: center; min-height: 24px; }

/* Service page answer blocks, FAQs and tables (23 Nov 2026) */
.pse-svc { padding: 56px 0 64px; background: #f6f8fc; border-top: 1px solid #e6ecf5; font-family: 'Poppins', sans-serif; }
.pse-svc__wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.pse-svc h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: var(--pse-navy); font-weight: 600; margin: 0 0 16px; }
.pse-svc h3 { font-size: 19px; color: var(--pse-navy); font-weight: 600; margin: 32px 0 10px; }
.pse-svc p { font-size: 16px; line-height: 1.75; color: var(--pse-body); margin: 0 0 12px; max-width: 860px; }
.pse-svc .pse-svc__lead { font-size: 17px; color: var(--pse-ink); border-left: 3px solid var(--pse-logo-blue); padding-left: 18px; }
.pse-svc__table { margin: 28px 0 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pse-svc__table table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; border: 1px solid #e3e9f3; font-size: 14.5px; }
.pse-svc__table caption { text-align: left; font-weight: 600; color: var(--pse-navy); padding: 0 0 10px; font-size: 15px; }
.pse-svc__table th { background: var(--pse-navy); color: #fff; text-align: left; font-weight: 600; padding: 11px 14px; }
.pse-svc__table td { padding: 10px 14px; border-top: 1px solid #e9eef6; color: var(--pse-ink); vertical-align: top; }
.pse-svc__table tbody tr:nth-child(even) td { background: #fafbfe; }
.pse-svc__table figcaption { font-size: 13px; color: #6b7385; margin-top: 8px; }
.pse-svc .pse-svc__faq-h { font-size: 22px; margin-top: 40px; }
.pse-svc__faq details { background: #fff; border: 1px solid #e3e9f3; border-radius: var(--pse-radius); margin: 0 0 10px; }
.pse-svc__faq summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 600; font-size: 15.5px; color: var(--pse-navy); position: relative; }
.pse-svc__faq summary::-webkit-details-marker { display: none; }
.pse-svc__faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--pse-logo-blue); }
.pse-svc__faq details[open] summary::after { content: "\2212"; }
.pse-svc__faq details p { padding: 0 18px 16px; margin: 0; font-size: 15px; }
.pse-svc .pse-svc__cta { margin-top: 24px; font-weight: 500; color: var(--pse-ink); }
.pse-svc__cta a { color: var(--pse-logo-blue); font-weight: 600; }
@media (max-width: 767px) { .pse-svc { padding: 40px 0 48px; } .pse-svc .pse-svc__lead { font-size: 16px; } }

/* Contact page social links and blog author box */
.pse-social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; }
.pse-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.55); border-radius: var(--pse-radius); color: inherit; font-weight: 500; text-decoration: none; }
.pse-social a:hover, .pse-social a:focus-visible { background: var(--pse-logo-blue); border-color: var(--pse-logo-blue); color: #fff; }
.pse-author { margin: 32px 0 0; padding: 18px 20px; background: #f6f8fc; border-left: 3px solid var(--pse-logo-blue); border-radius: var(--pse-radius); font-size: 15px; }
.pse-author p { margin: 6px 0 0; }

/* Final audit (26 Nov 2026) */
/* Homepage: start the content at the top, where pse-enhancements.js would
   otherwise pull it ~0.9 s after load (a 0.11 layout shift). */
body.home #main { margin-top: 0 !important; }
/* Product pages and the enquiry basket (WordPress templates): hide the desktop
   menu below the mobile breakpoint, as the saved pages already do. */
@media (max-width: 959px) { #site-navigation-wrap { display: none !important; } }
/* 24px minimum tap targets: blog post meta and product breadcrumbs. */
ul.meta li a, .psep-product-crumbs a, .psep-product-meta dd a { display: inline-block; min-height: 24px; line-height: 24px; }
