/* Universal Basement Waterproofing — Basement Waterproofing landing page */
.ubw-lp-page {
	--lp-navy: #072434;
	--lp-navy-deep: #051822;
	--lp-navy-soft: #0d3349;
	--lp-ink: #0f1b2a;
	--lp-text: #3a4a60;
	--lp-faded: #66748a;
	--lp-line: #e2e8ef;
	--lp-tint: #f4f7fa;
	--lp-white: #ffffff;
	--lp-blue: #0a76a0;
	--lp-blue-soft: #e8f3f8;
	--lp-sky: #8fd0ea;
	--lp-accent: #f5b324;
	--lp-accent-hover: #ffc23d;
	--lp-danger: #b42318;
	--lp-radius: 14px;
	--lp-radius-lg: 18px;
	--lp-shadow: 0 24px 48px -12px rgba(5, 24, 34, 0.28);
	--lp-shadow-soft: 0 10px 30px -10px rgba(7, 36, 52, 0.16);
	--lp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.3 6.2 11l6.3-6.4' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--lp-check-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.3 6.2 11l6.3-6.4' stroke='%23072434' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ubw-lp-page .l-titlebar {
	display: none;
}

/* Impreza's header is fixed, so the wrapper clears it whichever section comes first.
   The wrapper carries Impreza's "l-section" class (so the theme doesn't box it);
   its side padding is removed so section backgrounds run edge to edge. */
.ubw-lp-page .ubw-lp.l-section {
	overflow-x: clip;
	padding: var(--header-height, 116px) 0 0;
	color: var(--lp-text);
}

.ubw-lp-page .ubw-lp *,
.ubw-lp-page .ubw-lp-sticky * {
	box-sizing: border-box;
}

/* ---------- Base resets inside the page ---------- */
/* Not inside copy built from the Customizer's designed blocks (.ubw-lp-rs-designed), which keep
   their own styles; :where() keeps these rules' specificity unchanged. */
.ubw-lp-page .ubw-lp h1:where(:not(.ubw-lp-rs-designed *)),
.ubw-lp-page .ubw-lp h2:where(:not(.ubw-lp-rs-designed *)),
.ubw-lp-page .ubw-lp h3:where(:not(.ubw-lp-rs-designed *)) {
	margin: 0;
	padding: 0;
	color: var(--lp-navy);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
	text-wrap: balance;
}

.ubw-lp-page .ubw-lp h2:where(:not(.ubw-lp-rs-designed *)) {
	font-size: clamp(28px, 3.1vw, 42px);
	line-height: 1.15;
}

.ubw-lp-page .ubw-lp h3:where(:not(.ubw-lp-rs-designed *)) {
	font-size: 18px;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.ubw-lp-page .ubw-lp p:where(:not(.ubw-lp-rs-designed *)) {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.65;
}

.ubw-lp-page .ubw-lp ul:where(:not(.ubw-lp-rs-designed *)),
.ubw-lp-page .ubw-lp ol:where(:not(.ubw-lp-rs-designed *)) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ubw-lp-page .ubw-lp li:where(:not(.ubw-lp-rs-designed *)) {
	margin: 0;
}

.ubw-lp-page .ubw-lp figure:where(:not(.ubw-lp-rs-designed *)) {
	margin: 0;
}

.ubw-lp-page .ubw-lp img:where(:not(.ubw-lp-rs-designed *)) {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Visually hidden, still read by screen readers. */
.ubw-lp-page .ubw-lp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ubw-lp-page .ubw-lp-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

.ubw-lp-page .ubw-lp-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.ubw-lp-page .ubw-lp .ubw-lp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--lp-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ubw-lp-page .ubw-lp .ubw-lp-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.ubw-lp-page .ubw-lp .ubw-lp-eyebrow .ubw-lp-icon {
	width: 16px;
	height: 16px;
}

.ubw-lp-page .ubw-lp .ubw-lp-eyebrow:has(.ubw-lp-icon)::before {
	display: none;
}

.ubw-lp-page .ubw-lp .ubw-lp-eyebrow--light {
	color: var(--lp-sky);
}

.ubw-lp-page .ubw-lp-head {
	max-width: 780px;
	margin: 0 0 48px;
}

.ubw-lp-page .ubw-lp-head h2 {
	margin-bottom: 16px;
}

.ubw-lp-page .ubw-lp-head p {
	color: var(--lp-text);
	font-size: 17px;
}

.ubw-lp-page .ubw-lp-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ubw-lp-page .ubw-lp-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	max-width: none;
}

.ubw-lp-page .ubw-lp-head--split h2 {
	margin-bottom: 0;
}

.ubw-lp-page .ubw-lp-head--split p {
	max-width: 440px;
}

.ubw-lp-page .ubw-lp a.ubw-lp-link,
.ubw-lp-page .ubw-lp .ubw-lp-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lp-blue);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.ubw-lp-page .ubw-lp-link .ubw-lp-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-link:hover,
.ubw-lp-page .ubw-lp a.ubw-lp-link:focus-visible {
	color: var(--lp-navy);
}

.ubw-lp-page a.ubw-lp-link:hover .ubw-lp-icon,
.ubw-lp-page a:hover > .ubw-lp-link .ubw-lp-icon {
	transform: translateX(4px);
}

/* Inline text links are ~24px tall; an invisible overlay grows the touch target to ~44px without moving anything. */
.ubw-lp-page .ubw-lp a.ubw-lp-link,
.ubw-lp-page .ubw-lp .ubw-lp-card__foot a,
.ubw-lp-page .ubw-lp a.ubw-lp-card__mail,
.ubw-lp-page .ubw-lp a.ubw-lp-inline-link {
	position: relative;
}

.ubw-lp-page .ubw-lp a.ubw-lp-link::after,
.ubw-lp-page .ubw-lp .ubw-lp-card__foot a::after,
.ubw-lp-page .ubw-lp a.ubw-lp-card__mail::after,
.ubw-lp-page .ubw-lp a.ubw-lp-inline-link::after {
	content: "";
	position: absolute;
	inset: -10px 0;
}

/* ---------- Buttons ---------- */
.ubw-lp-page .ubw-lp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ubw-lp-page .ubw-lp-actions--center {
	justify-content: center;
	margin-top: 44px;
}

.ubw-lp-page a.ubw-lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.005em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ubw-lp-page a.ubw-lp-btn .ubw-lp-icon {
	width: 18px;
	height: 18px;
}

.ubw-lp-page a.ubw-lp-btn:focus-visible {
	outline: 3px solid var(--lp-sky);
	outline-offset: 3px;
}

.ubw-lp-page a.ubw-lp-btn--accent {
	background: var(--lp-accent);
	border-color: var(--lp-accent);
	color: var(--lp-navy);
	box-shadow: 0 8px 20px -8px rgba(245, 179, 36, 0.6);
}

.ubw-lp-page a.ubw-lp-btn--accent:hover,
.ubw-lp-page a.ubw-lp-btn--accent:focus-visible {
	background: var(--lp-accent-hover);
	border-color: var(--lp-accent-hover);
	color: var(--lp-navy);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -10px rgba(245, 179, 36, 0.7);
}

.ubw-lp-page a.ubw-lp-btn--ghost,
.ubw-lp-page a.ubw-lp-btn--outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--lp-white);
}

.ubw-lp-page a.ubw-lp-btn--ghost:hover,
.ubw-lp-page a.ubw-lp-btn--ghost:focus-visible,
.ubw-lp-page a.ubw-lp-btn--outline-light:hover,
.ubw-lp-page a.ubw-lp-btn--outline-light:focus-visible {
	background: var(--lp-white);
	border-color: var(--lp-white);
	color: var(--lp-navy);
}

.ubw-lp-page a.ubw-lp-btn--outline {
	background: transparent;
	border-color: var(--lp-navy);
	color: var(--lp-navy);
}

.ubw-lp-page a.ubw-lp-btn--outline:hover,
.ubw-lp-page a.ubw-lp-btn--outline:focus-visible {
	background: var(--lp-navy);
	color: var(--lp-white);
}

.ubw-lp-page a.ubw-lp-btn--navy {
	background: var(--lp-navy);
	border-color: var(--lp-navy);
	color: var(--lp-white);
}

.ubw-lp-page a.ubw-lp-btn--navy:hover,
.ubw-lp-page a.ubw-lp-btn--navy:focus-visible {
	background: var(--lp-navy-deep);
	color: var(--lp-white);
}

.ubw-lp-page a.ubw-lp-btn--block {
	display: flex;
	width: 100%;
}

/* ---------- Hero ---------- */
.ubw-lp-page .ubw-lp-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
	background: var(--lp-navy);
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

/* As the first section, run the photo up behind the fixed header (the wrapper's top padding). */
.ubw-lp-page .ubw-lp > .ubw-lp-hero:first-child .ubw-lp-hero__media {
	top: calc(var(--header-height, 116px) * -1);
}

.ubw-lp-page .ubw-lp .ubw-lp-hero__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.ubw-lp-page .ubw-lp-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(5, 24, 34, 0.96) 0%, rgba(7, 36, 52, 0.88) 48%, rgba(7, 36, 52, 0.62) 100%),
		linear-gradient(0deg, rgba(5, 24, 34, 0.5) 0%, rgba(5, 24, 34, 0) 40%);
}

.ubw-lp-page .ubw-lp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.ubw-lp-page .ubw-lp .ubw-lp-hero h1 {
	margin: 0 0 20px;
	color: var(--lp-white);
	font-size: clamp(36px, 4.8vw, 60px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
}

.ubw-lp-page .ubw-lp .ubw-lp-hero__lead {
	max-width: 40rem;
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.6;
}

.ubw-lp-page .ubw-lp .ubw-lp-hero__checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 12px 32px;
	margin: 0 0 32px;
}

.ubw-lp-page .ubw-lp-hero__checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--lp-white);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
}

.ubw-lp-page .ubw-lp-hero__checks .ubw-lp-icon {
	width: 24px;
	height: 24px;
	padding: 5px;
	border-radius: 50%;
	background: var(--lp-accent);
	color: var(--lp-navy);
	stroke-width: 3;
}

/* Google rating badge (Google's own greys and star yellow so it reads as a Google badge). */
.ubw-lp-page .ubw-lp a.ubw-lp-greview {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
	padding: 10px 16px 10px 12px;
	border-radius: 12px;
	background: var(--lp-white);
	color: #202124;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-greview:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.6);
}

.ubw-lp-page .ubw-lp a.ubw-lp-greview:focus-visible {
	outline: 3px solid var(--lp-sky);
	outline-offset: 3px;
}

.ubw-lp-page .ubw-lp-greview__logo {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
}

.ubw-lp-page .ubw-lp-greview__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-left: 12px;
	border-left: 1px solid #e8eaed;
}

.ubw-lp-page .ubw-lp-greview__score {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ubw-lp-page .ubw-lp-greview__score strong {
	color: #202124;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ubw-lp-page .ubw-lp-greview__stars {
	display: inline-flex;
	gap: 1px;
	color: #fbbc05;
}

.ubw-lp-page .ubw-lp-greview__stars .ubw-lp-icon {
	width: 17px;
	height: 17px;
}

.ubw-lp-page .ubw-lp-greview__label {
	color: #5f6368;
	font-size: 12.5px;
	font-weight: 500;
}

.ubw-lp-page .ubw-lp-greview__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: stretch;
	margin-left: 4px;
	padding-left: 16px;
	border-left: 1px solid #e8eaed;
	color: var(--lp-blue);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}

.ubw-lp-page .ubw-lp-greview__cta .ubw-lp-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-greview:hover .ubw-lp-greview__cta .ubw-lp-icon {
	transform: translateX(3px);
}

/* ---------- Cards & forms ---------- */
.ubw-lp-page .ubw-lp-card {
	position: relative;
	padding: 30px 28px 24px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-lg);
	background: var(--lp-white);
	box-shadow: var(--lp-shadow);
	color: var(--lp-text);
	scroll-margin-top: calc(var(--header-sticky-height, 60px) + 24px);
}

.ubw-lp-page .ubw-lp .ubw-lp-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--lp-blue-soft);
	color: var(--lp-blue);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.ubw-lp-page .ubw-lp-card__badge .ubw-lp-icon {
	width: 16px;
	height: 16px;
}

.ubw-lp-page .ubw-lp .ubw-lp-card .ubw-lp-card__title {
	margin: 0 0 6px;
	color: var(--lp-navy);
	font-size: 26px;
	line-height: 1.2;
}

.ubw-lp-page .ubw-lp .ubw-lp-card__intro {
	margin: 0 0 18px;
	color: var(--lp-text);
	font-size: 15px;
	line-height: 1.55;
}

.ubw-lp-page .ubw-lp .ubw-lp-card__foot {
	margin: 16px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--lp-line);
	color: var(--lp-faded);
	font-size: 14.5px;
	text-align: center;
}

.ubw-lp-page .ubw-lp-card__foot a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--lp-navy);
	font-weight: 700;
	text-decoration: none;
	vertical-align: middle;
}

.ubw-lp-page .ubw-lp-card__foot .ubw-lp-icon {
	width: 16px;
	height: 16px;
}

/* Gravity Forms inside the cards */
.ubw-lp-page .ubw-lp-form .gform_wrapper,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme {
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.ubw-lp-page .ubw-lp-form .gform_heading,
.ubw-lp-page .ubw-lp-form .gform_required_legend,
.ubw-lp-page .ubw-lp-form--callback #field_1_11,
.ubw-lp-page .ubw-lp-form--callback #field_1_16,
.ubw-lp-page .ubw-lp-form--callback #field_1_17 {
	display: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_fields {
	row-gap: 14px;
	column-gap: 12px;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield {
	margin: 0;
	padding: 0;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	color: var(--lp-navy);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_required {
	color: var(--lp-danger);
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_required_text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_required::after {
	content: "*";
	margin-left: 2px;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_required .gfield_required::after {
	content: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme input[type="text"],
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme input[type="email"],
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme input[type="tel"],
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme select,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme textarea {
	width: 100%;
	max-width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 13px 15px;
	border: 1px solid #cfd8e3;
	border-radius: 10px;
	background-color: #fbfcfd;
	color: var(--lp-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.8 8 10.6l4.8-4.8' stroke='%23072434' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 16px;
	appearance: none;
}

/* The theme draws its own chevron on the select wrapper; keep only ours. */
.ubw-lp-page .ubw-lp-form .ginput_container_select::after {
	display: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme textarea {
	min-height: 104px;
	height: 104px;
	resize: vertical;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme input::placeholder,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme textarea::placeholder {
	color: #8994a6;
	opacity: 1;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme input:focus,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme select:focus,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme textarea:focus {
	border-color: var(--lp-blue);
	background-color: var(--lp-white);
	box-shadow: 0 0 0 4px rgba(10, 118, 160, 0.14);
	outline: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .ginput_container_consent input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .ginput_container_consent label {
	color: var(--lp-text);
	font-size: 13.5px;
	line-height: 1.5;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_footer {
	margin: 16px 0 0;
	padding: 0;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_footer button,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button {
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 15px 22px;
	border: 0;
	border-radius: 10px;
	/* Site-wide inline CSS forces white text on every Gravity Forms submit button. */
	background: var(--lp-accent) !important;
	color: var(--lp-navy) !important;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 10px 22px -10px rgba(245, 179, 36, 0.8);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button:hover,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button:focus-visible {
	background: var(--lp-accent-hover) !important;
	color: var(--lp-navy) !important;
	transform: translateY(-1px);
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 3px;
}

/* Submitting: Gravity Forms adds .gform-has-spinner and injects .gform-loader into the button. */
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button.gform-has-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0 !important; /* hides the label text; ::after shows the busy text */
	background: #f8c75a !important;
	box-shadow: none;
	transform: none;
	cursor: progress;
	pointer-events: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button.gform-has-spinner::after {
	content: "Sending your request\2026";
	color: var(--lp-navy);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button .gform-loader {
	position: static !important;
	inset: auto !important;
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	margin: 0 10px 0 0 !important;
	border: 2.5px solid rgba(7, 36, 52, 0.2) !important;
	border-top-color: var(--lp-navy) !important;
	border-radius: 50%;
	animation: ubw-lp-spin 0.75s linear infinite !important;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper:has(.gform-has-spinner) .gform_fields {
	opacity: 0.6;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

@keyframes ubw-lp-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Validation summary. Impreza forces border:none!important here, so the
   outline and left accent are drawn with inset shadows instead. */
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_validation_errors {
	margin: 0 0 18px;
	padding: 14px 16px 14px 20px;
	border-radius: 10px;
	background: #fef3f2;
	box-shadow: inset 4px 0 0 #d92d20, inset 0 0 0 1px #fecdca;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_validation_errors:focus {
	outline: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_validation_errors > h2 {
	position: relative;
	margin: 0;
	padding: 0 0 0 30px;
	color: var(--lp-danger);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon {
	display: none;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_validation_errors > h2::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23d92d20'/%3E%3Cpath d='M10 5.6v5' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14' r='1.15' fill='%23fff'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_validation_errors ol {
	margin: 8px 0 0 30px;
	padding: 0;
	color: var(--lp-danger);
	font-size: 13.5px;
}

/* Field errors. Impreza forces padding:0!important on these, so the icon sits in a flex row. */
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_validation_message,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .validation_message {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 6px 0 0;
	color: var(--lp-danger);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_validation_message::before,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .validation_message::before {
	content: "";
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	margin-top: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23d92d20'/%3E%3Cpath d='M10 5.6v5' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14' r='1.15' fill='%23fff'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error input:not([type="checkbox"]),
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error select,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error textarea {
	border-color: #d92d20;
	background-color: #fffbfa;
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error input:not([type="checkbox"]):focus,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error select:focus,
.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error textarea:focus {
	border-color: #d92d20;
	background-color: var(--lp-white);
	box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.14);
}

.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gfield_error .ginput_container_consent input[type="checkbox"] {
	outline: 2px solid #d92d20;
	outline-offset: 1px;
}

.ubw-lp-page .ubw-lp-form .gform_confirmation_message {
	color: var(--lp-navy);
	font-size: 16px;
	font-weight: 600;
}

/* ---------- Trust strip ---------- */
.ubw-lp-page .ubw-lp-trust {
	border-bottom: 1px solid var(--lp-line);
	background: var(--lp-white);
}

.ubw-lp-page .ubw-lp-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ubw-lp-page .ubw-lp-stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 30px 24px;
	border-left: 1px solid var(--lp-line);
}

.ubw-lp-page .ubw-lp-stats li:first-child {
	padding-left: 0;
	border-left: 0;
}

.ubw-lp-page .ubw-lp-stats strong {
	color: var(--lp-navy);
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ubw-lp-page .ubw-lp-stats span {
	color: var(--lp-faded);
	font-size: 14px;
	line-height: 1.4;
}

.ubw-lp-page .ubw-lp-brands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 40px;
	padding: 20px 0 24px;
	border-top: 1px solid var(--lp-line);
}

.ubw-lp-page .ubw-lp-brands__label {
	color: var(--lp-faded);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ubw-lp-page .ubw-lp-brands__name {
	color: #8a96a8;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
}

/* ---------- Sections ---------- */
.ubw-lp-page .ubw-lp-section {
	padding: clamp(64px, 8vw, 108px) 0;
	background: var(--lp-white);
}

.ubw-lp-page .ubw-lp-section--compact {
	padding: clamp(48px, 6vw, 80px) 0;
}

.ubw-lp-page .ubw-lp-section--tint {
	background: var(--lp-tint);
}

.ubw-lp-page .ubw-lp-section--navy {
	position: relative;
	isolation: isolate;
	background: var(--lp-navy);
	color: rgba(255, 255, 255, 0.82);
}

.ubw-lp-page .ubw-lp-section--navy::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(10, 118, 160, 0.28) 0%, rgba(10, 118, 160, 0) 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(143, 208, 234, 0.1) 0%, rgba(143, 208, 234, 0) 60%);
	pointer-events: none;
}

.ubw-lp-page .ubw-lp .ubw-lp-section--navy h2,
.ubw-lp-page .ubw-lp .ubw-lp-section--navy h3 {
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-section--navy .ubw-lp-head p {
	color: rgba(255, 255, 255, 0.78);
}

/* ---------- Grids & tiles ---------- */
.ubw-lp-page .ubw-lp-grid {
	display: grid;
	gap: 24px;
}

.ubw-lp-page .ubw-lp-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ubw-lp-page .ubw-lp-tile,
.ubw-lp-page a.ubw-lp-case {
	position: relative;
	height: 100%;
	padding: 28px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ubw-lp-page .ubw-lp-tile:hover,
.ubw-lp-page a.ubw-lp-case:hover {
	border-color: #cddae6;
	box-shadow: var(--lp-shadow-soft);
	transform: translateY(-3px);
}

.ubw-lp-page .ubw-lp-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--lp-blue-soft);
	color: var(--lp-blue);
}

.ubw-lp-page .ubw-lp-tile__icon .ubw-lp-icon {
	width: 26px;
	height: 26px;
}

.ubw-lp-page .ubw-lp-tile__icon--solid {
	flex: 0 0 52px;
	background: var(--lp-navy);
	color: var(--lp-accent);
}

.ubw-lp-page .ubw-lp .ubw-lp-tile h3 {
	margin: 20px 0 8px;
}

.ubw-lp-page .ubw-lp .ubw-lp-tile p,
.ubw-lp-page .ubw-lp .ubw-lp-case p {
	color: var(--lp-text);
	font-size: 15px;
	line-height: 1.6;
}

.ubw-lp-page .ubw-lp-tile--row {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.ubw-lp-page .ubw-lp .ubw-lp-tile--row h3 {
	margin-top: 2px;
}

/* Callout banner */
.ubw-lp-page .ubw-lp-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	margin-top: 40px;
	padding: 32px 36px;
	border-radius: var(--lp-radius-lg);
	background: var(--lp-navy) linear-gradient(110deg, var(--lp-navy) 0%, var(--lp-navy-soft) 100%);
}

.ubw-lp-page .ubw-lp .ubw-lp-banner h3 {
	margin-bottom: 6px;
	color: var(--lp-white);
	font-size: 22px;
}

.ubw-lp-page .ubw-lp .ubw-lp-banner p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 15.5px;
}

/* ---------- Split / about ---------- */
/* The image column stretches to the height of the copy so there is no dead space above or below it. */
.ubw-lp-page .ubw-lp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: stretch;
}

.ubw-lp-page .ubw-lp-split__media {
	position: relative;
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	height: 100%;
	padding: 0 28px 28px 0;
}

.ubw-lp-page .ubw-lp-split__photo {
	position: relative;
	min-height: 220px;
	overflow: hidden;
	border-radius: var(--lp-radius-lg);
	background: var(--lp-line);
	box-shadow: var(--lp-shadow-soft);
}

.ubw-lp-page .ubw-lp .ubw-lp-split__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center; /* keeps the Universal logo badge (bottom-right of each photo) uncropped */
}

.ubw-lp-page .ubw-lp-split__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(5, 24, 34, 0.78);
	color: var(--lp-white);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	backdrop-filter: blur(4px);
}

.ubw-lp-page .ubw-lp-split__stat {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 260px;
	padding: 22px 24px;
	border-radius: var(--lp-radius);
	background: var(--lp-navy);
	box-shadow: var(--lp-shadow);
}

.ubw-lp-page .ubw-lp-split__stat strong {
	color: var(--lp-accent);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ubw-lp-page .ubw-lp-split__stat span {
	color: rgba(255, 255, 255, 0.82);
	font-size: 13.5px;
	line-height: 1.45;
}

.ubw-lp-page .ubw-lp .ubw-lp-split__copy h2 {
	margin-bottom: 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-split__copy p + p {
	margin-top: 14px;
}

/* Link inside body copy (e.g. to the Universal Home Build group site). */
.ubw-lp-page .ubw-lp a.ubw-lp-inline-link {
	color: var(--lp-blue);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.ubw-lp-page .ubw-lp a.ubw-lp-inline-link:hover,
.ubw-lp-page .ubw-lp a.ubw-lp-inline-link:focus-visible {
	color: var(--lp-navy);
	text-decoration-thickness: 2px;
}

.ubw-lp-page .ubw-lp a.ubw-lp-inline-link .ubw-lp-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 2px;
	vertical-align: -1px;
}

.ubw-lp-page .ubw-lp .ubw-lp-split__copy .ubw-lp-link {
	margin-top: 26px;
}

/* Technician tasks card */
.ubw-lp-page .ubw-lp-tasks {
	margin-top: 28px;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-soft);
}

.ubw-lp-page .ubw-lp-tasks__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	background: var(--lp-navy) linear-gradient(110deg, var(--lp-navy) 0%, var(--lp-navy-soft) 100%);
}

.ubw-lp-page .ubw-lp-tasks__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--lp-accent);
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp-tasks__badge .ubw-lp-icon {
	width: 20px;
	height: 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-tasks__head h3 {
	margin: 0;
	color: var(--lp-white);
	font-size: 18px;
}

.ubw-lp-page .ubw-lp .ubw-lp-tasks__head p {
	margin: 2px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13.5px;
	line-height: 1.4;
}

.ubw-lp-page .ubw-lp .ubw-lp-tasks__list {
	padding: 4px 22px;
}

.ubw-lp-page .ubw-lp .ubw-lp-tasks__list li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-tasks__list li + li {
	border-top: 1px solid var(--lp-line);
}

.ubw-lp-page .ubw-lp-tasks__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--lp-blue-soft);
	color: var(--lp-blue);
}

.ubw-lp-page .ubw-lp-tasks__icon .ubw-lp-icon {
	width: 20px;
	height: 20px;
}

.ubw-lp-page .ubw-lp-tasks__list strong {
	display: block;
	color: var(--lp-navy);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
}

.ubw-lp-page .ubw-lp-tasks__list li > div > span {
	display: block;
	margin-top: 2px;
	color: var(--lp-text);
	font-size: 14px;
	line-height: 1.5;
}

/* Checklists */
.ubw-lp-page .ubw-lp-checklist {
	display: grid;
	gap: 12px;
}

.ubw-lp-page .ubw-lp .ubw-lp-checklist li {
	position: relative;
	padding-left: 34px;
	color: var(--lp-text);
	font-size: 15.5px;
	line-height: 1.5;
}

.ubw-lp-page .ubw-lp-checklist li::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--lp-navy) var(--lp-check) center / 13px no-repeat;
}

.ubw-lp-page .ubw-lp .ubw-lp-checklist--light li {
	color: rgba(255, 255, 255, 0.9);
}

.ubw-lp-page .ubw-lp-checklist--light li::before {
	background: var(--lp-accent) var(--lp-check-navy) center / 13px no-repeat;
}

/* ---------- Systems (BS 8102 type tabs) ---------- */
.ubw-lp-page .ubw-lp-types__tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	max-width: 720px;
	margin: 0 auto 28px;
	padding: 6px;
	border: 1px solid var(--lp-line);
	border-radius: 16px;
	background: var(--lp-tint);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 64px;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--lp-navy);
	font-family: inherit;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab strong {
	font-size: 17px;
	font-weight: 800;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab span {
	color: var(--lp-faded);
	font-size: 13px;
	font-weight: 600;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab:hover {
	background: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab[aria-selected="true"] {
	background: var(--lp-navy);
	color: var(--lp-white);
	box-shadow: 0 8px 18px -8px rgba(7, 36, 52, 0.55);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab[aria-selected="true"] span {
	color: var(--lp-sky);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__tab:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 2px;
}

.ubw-lp-page .ubw-lp-types__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 52px);
	align-items: center;
	padding: clamp(20px, 3vw, 36px);
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius-lg);
	background: var(--lp-white);
	box-shadow: var(--lp-shadow-soft);
}

/* Author display rules would otherwise override the hidden attribute. */
.ubw-lp-page .ubw-lp-types__panel[hidden] {
	display: none;
}

.ubw-lp-page .ubw-lp a.ubw-lp-types__figure {
	display: block;
	padding: 18px;
	border-radius: var(--lp-radius);
	background: var(--lp-tint);
	text-decoration: none;
}

.ubw-lp-page .ubw-lp-types__scroll {
	display: block;
	border-radius: 8px;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__figure img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.ubw-lp-page .ubw-lp-types__swipe {
	display: none;
}

.ubw-lp-page .ubw-lp-types__zoom {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--lp-blue);
	font-size: 13.5px;
	font-weight: 600;
}

.ubw-lp-page .ubw-lp-types__zoom .ubw-lp-icon {
	width: 16px;
	height: 16px;
}

.ubw-lp-page .ubw-lp a.ubw-lp-types__figure:hover .ubw-lp-types__zoom {
	color: var(--lp-navy);
	text-decoration: underline;
}

.ubw-lp-page .ubw-lp-types__badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--lp-navy);
	color: var(--lp-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__body h3 {
	margin: 12px 0 10px;
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.2;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__summary {
	color: var(--lp-ink);
	font-size: 17px;
	line-height: 1.6;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__use {
	margin-top: 10px;
	color: var(--lp-text);
	font-size: 15px;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__use strong {
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__media h4 {
	margin: 22px 0 12px;
	padding: 0;
	color: var(--lp-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Numbered key matching the labels on each diagram. */
.ubw-lp-page .ubw-lp .ubw-lp-types__parts {
	display: grid;
	gap: 10px;
	counter-reset: ubw-part;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__parts--cols {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__parts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--lp-text);
	font-size: 14.5px;
	line-height: 1.45;
	counter-increment: ubw-part;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__parts li::before {
	content: counter(ubw-part);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	height: 24px;
	margin-top: -2px;
	border-radius: 50%;
	background: var(--lp-navy);
	color: var(--lp-white);
	font-size: 12px;
	font-weight: 700;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--lp-blue-soft);
	color: var(--lp-text);
	font-size: 14px;
	line-height: 1.5;
}

.ubw-lp-page .ubw-lp-types__note .ubw-lp-icon {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--lp-blue);
}

.ubw-lp-page .ubw-lp-types__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 26px;
}

.ubw-lp-page .ubw-lp-types__extra {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.ubw-lp-page .ubw-lp-types__combine,
.ubw-lp-page .ubw-lp-types__expert {
	padding: 28px;
	border-radius: var(--lp-radius-lg);
}

.ubw-lp-page .ubw-lp-types__combine {
	border: 1px solid var(--lp-line);
	background: var(--lp-tint);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__extra h3 {
	font-size: 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__pairs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__pairs li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 7px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-white);
	color: var(--lp-faded);
	font-size: 15px;
	font-weight: 700;
}

.ubw-lp-page .ubw-lp-types__pairs span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--lp-navy);
	color: var(--lp-white);
	font-size: 14px;
}

.ubw-lp-page .ubw-lp .ubw-lp-types__extra p {
	color: var(--lp-text);
	font-size: 15px;
}

.ubw-lp-page .ubw-lp-types__expert {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: var(--lp-navy) linear-gradient(110deg, var(--lp-navy) 0%, var(--lp-navy-soft) 100%);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__expert h3 {
	margin-bottom: 8px;
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-types__expert p {
	margin-bottom: 16px;
	color: rgba(255, 255, 255, 0.8);
}

.ubw-lp-page .ubw-lp a.ubw-lp-link--light {
	color: var(--lp-sky);
}

.ubw-lp-page .ubw-lp a.ubw-lp-link--light:hover,
.ubw-lp-page .ubw-lp a.ubw-lp-link--light:focus-visible {
	color: var(--lp-white);
}

/* ---------- Process ---------- */
.ubw-lp-page .ubw-lp-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.ubw-lp-page .ubw-lp .ubw-lp-step {
	position: relative;
	padding: 30px 26px 28px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--lp-radius);
	background: rgba(255, 255, 255, 0.04);
}

.ubw-lp-page .ubw-lp-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 56px;
	right: -25px;
	width: 26px;
	border-top: 2px dashed rgba(245, 179, 36, 0.6);
}

.ubw-lp-page .ubw-lp-step__num {
	position: absolute;
	top: 18px;
	right: 22px;
	color: rgba(255, 255, 255, 0.1);
	font-size: 54px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ubw-lp-page .ubw-lp-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--lp-accent);
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp .ubw-lp-step h3 {
	margin-bottom: 10px;
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-step p {
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Projects ---------- */
.ubw-lp-page .ubw-lp-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 210px;
	gap: 16px;
}

.ubw-lp-page .ubw-lp-gallery__item {
	overflow: hidden;
	border-radius: var(--lp-radius);
	background: var(--lp-tint);
}

.ubw-lp-page .ubw-lp-gallery__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.ubw-lp-page .ubw-lp-gallery__item:nth-child(2) {
	grid-column: span 2;
}

.ubw-lp-page .ubw-lp .ubw-lp-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.ubw-lp-page .ubw-lp-gallery__item:hover img {
	transform: scale(1.04);
}

.ubw-lp-page .ubw-lp-cases {
	margin-top: 24px;
}

.ubw-lp-page a.ubw-lp-case {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.ubw-lp-page .ubw-lp-case__loc {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 5px 12px 5px 9px;
	border-radius: 999px;
	background: var(--lp-blue-soft);
	color: var(--lp-blue);
	font-size: 13px;
	font-weight: 700;
}

.ubw-lp-page .ubw-lp-case__loc .ubw-lp-icon {
	width: 15px;
	height: 15px;
}

.ubw-lp-page .ubw-lp .ubw-lp-case h3 {
	margin-bottom: 10px;
}

.ubw-lp-page .ubw-lp .ubw-lp-case p {
	flex: 1 1 auto;
	margin-bottom: 20px;
}

/* ---------- Areas ---------- */
.ubw-lp-page .ubw-lp-areas {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.ubw-lp-page .ubw-lp .ubw-lp-areas__copy h2 {
	margin-bottom: 14px;
	font-size: clamp(26px, 2.6vw, 34px);
}

.ubw-lp-page .ubw-lp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ubw-lp-page .ubw-lp-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-white);
	color: var(--lp-navy);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ubw-lp-page .ubw-lp-chips a:hover,
.ubw-lp-page .ubw-lp-chips a:focus-visible {
	border-color: var(--lp-navy);
	background: var(--lp-navy);
	color: var(--lp-white);
}

/* ---------- FAQ ---------- */
.ubw-lp-page .ubw-lp-faq {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}

.ubw-lp-page .ubw-lp-faq__aside {
	position: sticky;
	top: calc(var(--header-sticky-height, 60px) + 32px);
}

.ubw-lp-page .ubw-lp .ubw-lp-faq__aside h2 {
	margin-bottom: 16px;
}

.ubw-lp-page .ubw-lp .ubw-lp-faq__aside > p {
	margin-bottom: 28px;
	font-size: 17px;
}

.ubw-lp-page .ubw-lp-card--navy {
	border: 0;
	background: var(--lp-navy);
	box-shadow: var(--lp-shadow-soft);
}

.ubw-lp-page .ubw-lp .ubw-lp-card--navy h3 {
	margin-bottom: 6px;
	color: var(--lp-white);
	font-size: 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-card--navy p {
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.ubw-lp-page .ubw-lp-card__mail {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.ubw-lp-page .ubw-lp-card__mail:hover,
.ubw-lp-page .ubw-lp-card__mail:focus-visible {
	color: var(--lp-white);
	text-decoration: underline;
}

.ubw-lp-page .ubw-lp-card__mail .ubw-lp-icon {
	width: 18px;
	height: 18px;
}

.ubw-lp-page .ubw-lp-faq__list {
	display: grid;
	gap: 12px;
}

.ubw-lp-page .ubw-lp-faq__item {
	border: 1px solid var(--lp-line);
	border-radius: 12px;
	background: var(--lp-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ubw-lp-page .ubw-lp-faq__item[open] {
	border-color: #cddae6;
	box-shadow: var(--lp-shadow-soft);
}

.ubw-lp-page .ubw-lp-faq__item summary {
	position: relative;
	display: block;
	padding: 20px 64px 20px 24px;
	color: var(--lp-navy);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
	border-radius: 12px;
}

.ubw-lp-page .ubw-lp-faq__item summary::-webkit-details-marker {
	display: none;
}

.ubw-lp-page .ubw-lp-faq__item summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: var(--lp-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%230a76a0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.ubw-lp-page .ubw-lp-faq__item[open] summary::after {
	background-color: var(--lp-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8h9' stroke='%23072434' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	transform: rotate(180deg);
}

.ubw-lp-page .ubw-lp-faq__item summary:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 2px;
}

.ubw-lp-page .ubw-lp-faq__answer {
	padding: 0 24px 22px;
}

.ubw-lp-page .ubw-lp .ubw-lp-faq__answer p {
	color: var(--lp-text);
	font-size: 15.5px;
	line-height: 1.7;
}

.ubw-lp-page .ubw-lp .ubw-lp-faq__answer strong {
	color: var(--lp-navy);
}

/* ---------- Final CTA ---------- */
.ubw-lp-page .ubw-lp-quote__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
}

.ubw-lp-page .ubw-lp .ubw-lp-quote__copy h2 {
	margin-bottom: 18px;
}

.ubw-lp-page .ubw-lp .ubw-lp-quote__copy > p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 17px;
}

.ubw-lp-page .ubw-lp .ubw-lp-quote__copy h3 {
	margin: 32px 0 16px;
}

.ubw-lp-page .ubw-lp-contact {
	display: grid;
	gap: 14px;
	margin-top: 36px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ubw-lp-page a.ubw-lp-contact__item {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--lp-white);
	text-decoration: none;
}

.ubw-lp-page .ubw-lp-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--lp-accent);
	transition: background-color 0.2s ease;
}

.ubw-lp-page a.ubw-lp-contact__item:hover .ubw-lp-contact__icon {
	background: rgba(255, 255, 255, 0.14);
}

.ubw-lp-page .ubw-lp-contact__item small {
	display: block;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	line-height: 1.3;
}

.ubw-lp-page .ubw-lp-contact__item strong {
	display: block;
	color: var(--lp-white);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

/* ---------- Page content & rich text ---------- */
.ubw-lp-page .ubw-lp-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(40px, 5vw, 80px);
	align-items: start;
}

.ubw-lp-page .ubw-lp-content__main {
	max-width: 800px;
}

.ubw-lp-page .ubw-lp .ubw-lp-content__title {
	margin: 0 0 24px;
}

.ubw-lp-page .ubw-lp-content__aside {
	position: sticky;
	top: calc(var(--header-sticky-height, 60px) + 32px);
}

.ubw-lp-page .ubw-lp .ubw-lp-content__aside h3 {
	margin-bottom: 18px;
	color: var(--lp-white);
	font-size: 21px;
}

.ubw-lp-page .ubw-lp .ubw-lp-content__aside .ubw-lp-checklist {
	margin-bottom: 24px;
}

.ubw-lp-page .ubw-lp-wrap.ubw-lp-richtext {
	max-width: 908px;
}

/* Long-form copy from the editor (Description fields, rich text sections). */
.ubw-lp-page .ubw-lp .ubw-lp-prose {
	color: var(--lp-text);
	font-size: 16.5px;
	line-height: 1.75;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose p,
.ubw-lp-page .ubw-lp .ubw-lp-prose ul,
.ubw-lp-page .ubw-lp .ubw-lp-prose ol,
.ubw-lp-page .ubw-lp .ubw-lp-prose blockquote,
.ubw-lp-page .ubw-lp .ubw-lp-prose figure,
.ubw-lp-page .ubw-lp .ubw-lp-prose table {
	margin: 0 0 18px;
	font-size: inherit;
	line-height: inherit;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose h2 {
	margin: 44px 0 14px;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.2;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose h3 {
	margin: 32px 0 10px;
	font-size: 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose h4 {
	margin: 26px 0 8px;
	color: var(--lp-navy);
	font-size: 17px;
	font-weight: 700;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose > :first-child {
	margin-top: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose ul li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 32px;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose ul li::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--lp-navy) var(--lp-check) center / 12px no-repeat;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose ol {
	padding-left: 24px;
	list-style: decimal;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose ol li {
	margin: 0 0 8px;
	padding-left: 4px;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose ol li::marker {
	color: var(--lp-navy);
	font-weight: 700;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose a {
	color: var(--lp-blue);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose a:hover,
.ubw-lp-page .ubw-lp .ubw-lp-prose a:focus-visible {
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp .ubw-lp-prose strong {
	color: var(--lp-ink);
}

.ubw-lp-page .ubw-lp .ubw-lp-prose img {
	height: auto;
	border-radius: 12px;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose blockquote {
	padding: 16px 20px;
	border-left: 4px solid var(--lp-accent);
	border-radius: 0 10px 10px 0;
	background: var(--lp-tint);
}

.ubw-lp-page .ubw-lp .ubw-lp-prose hr {
	margin: 36px 0;
	border: 0;
	border-top: 1px solid var(--lp-line);
}

.ubw-lp-page .ubw-lp .ubw-lp-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose th,
.ubw-lp-page .ubw-lp .ubw-lp-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--lp-line);
	text-align: left;
}

.ubw-lp-page .ubw-lp .ubw-lp-prose th {
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp-banner--standalone {
	margin-top: 0;
}

/* ---------- Case studies ---------- */
.ubw-lp-page .ubw-lp-hero__grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.ubw-lp-page .ubw-lp-hero__grid--single .ubw-lp-hero__copy {
	max-width: 780px;
}

.ubw-lp-page .ubw-lp-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	line-height: 1.4;
}

.ubw-lp-page .ubw-lp .ubw-lp-crumbs li {
	color: rgba(255, 255, 255, 0.6);
}

.ubw-lp-page .ubw-lp .ubw-lp-crumbs li + li::before {
	content: "\203A";
	margin: 0 10px;
	color: rgba(255, 255, 255, 0.45);
}

/* Padding with matching negative margin gives a ~40px touch target without moving anything. */
.ubw-lp-page .ubw-lp .ubw-lp-crumbs a {
	display: inline-block;
	margin: -10px 0;
	padding: 10px 0;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.ubw-lp-page .ubw-lp .ubw-lp-crumbs a:hover,
.ubw-lp-page .ubw-lp .ubw-lp-crumbs a:focus-visible {
	color: var(--lp-white);
	text-decoration: underline;
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-hero h1 {
	font-size: clamp(32px, 4.2vw, 54px);
}

/* "Project at a glance" card */
.ubw-lp-page .ubw-lp-cs-facts__list {
	margin: 4px 0 0;
}

.ubw-lp-page .ubw-lp-cs-facts__row {
	padding: 14px 0;
	border-top: 1px solid var(--lp-line);
}

.ubw-lp-page .ubw-lp-cs-facts__row:first-child {
	border-top: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-facts dt {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 5px;
	color: var(--lp-blue);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ubw-lp-page .ubw-lp-cs-facts dt .ubw-lp-icon {
	width: 16px;
	height: 16px;
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-facts dd {
	margin: 0;
	color: var(--lp-ink);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.5;
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-facts__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--lp-line);
	color: var(--lp-navy);
	font-size: 13.5px;
	font-weight: 600;
}

.ubw-lp-page .ubw-lp-cs-facts__foot .ubw-lp-icon {
	width: 18px;
	height: 18px;
	color: var(--lp-blue);
}

/* System components panel */
.ubw-lp-page .ubw-lp-cs-components {
	margin-top: 36px;
	padding: 28px;
	border: 1px solid var(--lp-line);
	border-left: 4px solid var(--lp-accent);
	border-radius: var(--lp-radius);
	background: var(--lp-tint);
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-components h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-size: 20px;
}

.ubw-lp-page .ubw-lp-cs-components h3 .ubw-lp-icon {
	color: var(--lp-blue);
}

/* Gallery */
.ubw-lp-page .ubw-lp .ubw-lp-cs-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	gap: 14px;
}

.ubw-lp-page .ubw-lp-cs-gallery__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-gallery--few {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-auto-rows: 280px;
}

.ubw-lp-page .ubw-lp-cs-gallery--few .ubw-lp-cs-gallery__item:first-child {
	grid-column: auto;
	grid-row: auto;
}

.ubw-lp-page .ubw-lp a.ubw-lp-cs-gallery__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: var(--lp-radius);
	background: var(--lp-line);
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-gallery__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-cs-gallery__link:hover img,
.ubw-lp-page .ubw-lp a.ubw-lp-cs-gallery__link:focus-visible img {
	transform: scale(1.05);
}

.ubw-lp-page .ubw-lp a.ubw-lp-cs-gallery__link:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 3px;
}

.ubw-lp-page .ubw-lp-cs-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--lp-navy);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ubw-lp-page .ubw-lp-cs-gallery__zoom .ubw-lp-icon {
	width: 18px;
	height: 18px;
}

.ubw-lp-page a.ubw-lp-cs-gallery__link:hover .ubw-lp-cs-gallery__zoom,
.ubw-lp-page a.ubw-lp-cs-gallery__link:focus-visible .ubw-lp-cs-gallery__zoom {
	opacity: 1;
	transform: none;
}

/* Lightbox */
html.ubw-lp-noscroll {
	overflow: hidden;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(5, 24, 34, 0.95);
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox::backdrop {
	background: rgba(5, 24, 34, 0.6);
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: calc(100vw - 180px);
	margin: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 130px);
	border-radius: 8px;
	object-fit: contain;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__caption {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--lp-white);
	font-family: inherit;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__btn:hover,
.ubw-lp-page .ubw-lp .ubw-lp-lightbox__btn:focus-visible {
	background: rgba(255, 255, 255, 0.24);
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__btn:focus-visible {
	outline: 3px solid var(--lp-sky);
	outline-offset: 2px;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__close {
	top: 18px;
	right: 18px;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__prev,
.ubw-lp-page .ubw-lp .ubw-lp-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__prev {
	left: 24px;
}

.ubw-lp-page .ubw-lp .ubw-lp-lightbox__next {
	right: 24px;
}

.ubw-lp-page .ubw-lp-lightbox__btn .ubw-lp-icon {
	width: 24px;
	height: 24px;
}

.ubw-lp-page .ubw-lp-lightbox__prev .ubw-lp-icon {
	transform: rotate(180deg);
}

.ubw-lp-page .ubw-lp-lightbox.is-single .ubw-lp-lightbox__prev,
.ubw-lp-page .ubw-lp-lightbox.is-single .ubw-lp-lightbox__next {
	display: none;
}

/* Related case study cards with a photo */
.ubw-lp-page .ubw-lp a.ubw-lp-case--media {
	padding: 0;
	overflow: hidden;
}

.ubw-lp-page .ubw-lp-case__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--lp-line);
}

.ubw-lp-page .ubw-lp .ubw-lp-case__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-case--media:hover .ubw-lp-case__img img {
	transform: scale(1.05);
}

.ubw-lp-page .ubw-lp-case__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 22px 26px 26px;
}

.ubw-lp-page .ubw-lp-cs-more {
	margin-top: 44px;
	text-align: center;
}

.ubw-lp-page .ubw-lp .ubw-lp-cs-more h3 {
	margin-bottom: 16px;
	color: var(--lp-faded);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ubw-lp-page .ubw-lp-cs-more .ubw-lp-chips {
	justify-content: center;
}

/* ---------- Case study index ---------- */
.ubw-lp-page .ubw-lp-csi-section {
	scroll-margin-top: calc(var(--header-sticky-height, 60px) + 8px);
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 36px;
	margin: 0 0 30px;
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 14px;
	border-left: 2px solid var(--lp-accent);
}

.ubw-lp-page .ubw-lp-csi-stats strong {
	color: var(--lp-white);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ubw-lp-page .ubw-lp-csi-stats span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

/* "Browse case studies" card */
.ubw-lp-page .ubw-lp a.ubw-lp-csi-browse__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 0;
	border-top: 1px solid var(--lp-line);
	color: var(--lp-ink);
	text-decoration: none;
}

.ubw-lp-page .ubw-lp a.ubw-lp-csi-browse__link:last-child {
	padding-bottom: 4px;
}

.ubw-lp-page .ubw-lp-csi-browse__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--lp-blue-soft);
	color: var(--lp-blue);
}

.ubw-lp-page .ubw-lp-csi-browse__icon--accent {
	background: var(--lp-accent);
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp-csi-browse__icon .ubw-lp-icon {
	width: 22px;
	height: 22px;
}

.ubw-lp-page .ubw-lp-csi-browse__text {
	flex: 1 1 auto;
	min-width: 0;
}

.ubw-lp-page .ubw-lp-csi-browse__text strong {
	display: block;
	color: var(--lp-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.ubw-lp-page .ubw-lp-csi-browse__text em {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--lp-navy);
	color: var(--lp-white);
	font-size: 12px;
	font-style: normal;
	vertical-align: 2px;
}

.ubw-lp-page .ubw-lp-csi-browse__text > span {
	display: block;
	margin-top: 2px;
	color: var(--lp-faded);
	font-size: 13.5px;
	line-height: 1.4;
}

.ubw-lp-page .ubw-lp-csi-browse__arrow {
	width: 18px;
	height: 18px;
	color: var(--lp-blue);
	transition: transform 0.2s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-csi-browse__link:hover strong,
.ubw-lp-page .ubw-lp a.ubw-lp-csi-browse__link:focus-visible strong {
	color: var(--lp-blue);
}

.ubw-lp-page .ubw-lp a.ubw-lp-csi-browse__link:hover .ubw-lp-csi-browse__arrow {
	transform: translateX(3px);
}

/* Filter buttons above the case study grid */
.ubw-lp-page .ubw-lp .ubw-lp-csi-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: -16px 0 28px;
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter[hidden] {
	display: none;
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 9px 18px;
	border: 1px solid var(--lp-line);
	border-radius: 999px;
	background: var(--lp-white);
	color: var(--lp-navy);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter__btn span {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--lp-tint);
	color: var(--lp-faded);
	font-size: 12px;
	font-weight: 700;
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter__btn:hover {
	border-color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter__btn[aria-pressed="true"] {
	border-color: var(--lp-navy);
	background: var(--lp-navy);
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter__btn[aria-pressed="true"] span {
	background: var(--lp-accent);
	color: var(--lp-navy);
}

.ubw-lp-page .ubw-lp .ubw-lp-csi-filter__btn:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 2px;
}

/* Cards hidden by the filter (the card's own display rule would otherwise override [hidden]). */
.ubw-lp-page .ubw-lp [data-ubw-filter-grid] > [hidden] {
	display: none;
}

/* ---------- Services page (its own content, restyled) ---------- */
.ubw-lp-page .ubw-lp .ubw-lp-svi-hero .ubw-lp-hero__lead p {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.ubw-lp-page .ubw-lp-icon--down {
	transform: rotate(90deg);
}

.ubw-lp-page #service {
	scroll-margin-top: var(--header-sticky-height, 60px);
}

/* "Request a call" form, shown with its own title and text. */
.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gform_heading {
	display: block;
	margin: 0 0 4px;
}

.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gform_title {
	margin: 0;
	color: var(--lp-navy);
	font-size: 26px;
	line-height: 1.2;
}

.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gsection {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gsection_title {
	margin: 0;
	color: var(--lp-text);
	font-size: 15.5px;
	font-weight: 500;
	letter-spacing: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gfield_html p {
	margin: 0;
	color: var(--lp-faded);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* The phone link carries an inline white colour meant for the old dark background. */
.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gfield_html a {
	position: relative;
	color: var(--lp-navy) !important;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

/* ~44px touch target without moving anything. */
.ubw-lp-page .ubw-lp .ubw-lp-form--plain .gfield_html a::after {
	content: "";
	position: absolute;
	inset: -12px 0;
}

/* Service cards */
.ubw-lp-page .ubw-lp a.ubw-lp-pcard {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-white);
	color: inherit;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-pcard:hover,
.ubw-lp-page .ubw-lp a.ubw-lp-pcard:focus-visible {
	border-color: #cddae6;
	box-shadow: var(--lp-shadow-soft);
	transform: translateY(-3px);
}

.ubw-lp-page .ubw-lp a.ubw-lp-pcard:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 2px;
}

.ubw-lp-page .ubw-lp-pcard__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--lp-line);
}

.ubw-lp-page .ubw-lp .ubw-lp-pcard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ubw-lp-page .ubw-lp a.ubw-lp-pcard:hover .ubw-lp-pcard__img img {
	transform: scale(1.05);
}

.ubw-lp-page .ubw-lp-pcard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.ubw-lp-page .ubw-lp .ubw-lp-pcard h2 {
	margin: 0 0 8px;
	color: var(--lp-navy);
	font-size: 18px;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.ubw-lp-page .ubw-lp .ubw-lp-pcard p {
	margin: 0 0 18px;
	color: var(--lp-text);
	font-size: 14.5px;
	line-height: 1.6;
}

.ubw-lp-page .ubw-lp-pcard__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	width: 38px;
	height: 38px;
	margin-top: auto;
	border-radius: 50%;
	background: var(--lp-blue-soft);
	color: var(--lp-blue);
	transition: background-color 0.25s ease, color 0.25s ease;
}

.ubw-lp-page .ubw-lp-pcard__go .ubw-lp-icon {
	width: 18px;
	height: 18px;
}

.ubw-lp-page .ubw-lp a.ubw-lp-pcard:hover .ubw-lp-pcard__go {
	background: var(--lp-navy);
	color: var(--lp-accent);
}

/* ---------- Restyled single service pages (original content, UBW design) ---------- */
.ubw-lp-page .ubw-lp .ubw-lp-rs-hero .ubw-lp-rs-tagline {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(17px, 1.4vw, 19px);
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-hero .ubw-lp-actions {
	margin-top: 4px;
}

/* .ubw-lp prefix so lists (galleries, sliders) don't lose the gap to the theme's list reset. */
.ubw-lp-page .ubw-lp .ubw-lp-rs-flow > * + * {
	margin-top: 32px;
}

/* Long-form copy reads best at ~70 characters a line. */
.ubw-lp-page .ubw-lp-rs-flow > .ubw-lp-rs-heading,
.ubw-lp-page .ubw-lp-rs-flow > .ubw-lp-rs-text,
.ubw-lp-page .ubw-lp-rs-flow > .ubw-lp-rs-faq {
	max-width: 860px;
	margin-right: auto;
	margin-left: auto;
}

.ubw-lp-page .ubw-lp-rs-flow > .ubw-lp-rs-heading + .ubw-lp-rs-text {
	margin-top: 16px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-heading {
	color: var(--lp-navy);
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-title {
	color: var(--lp-navy);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-title.is-center {
	text-align: center;
}

/* Survey call-to-action boxes */
.ubw-lp-page .ubw-lp .ubw-lp-rs-flow > .ubw-lp-rs-cta {
	margin-top: 56px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-cta h2 {
	margin: 0 0 8px;
	color: var(--lp-white);
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
}

.ubw-lp-page .ubw-lp-rs-cta__text {
	flex: 1 1 420px;
	min-width: 0;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-cta__body p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15.5px;
	line-height: 1.6;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-cta__body p + p {
	margin-top: 6px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-cta__body strong {
	color: var(--lp-white);
}

/* Case study slider */
.ubw-lp-page .ubw-lp-rs-slider {
	position: relative;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__track {
	display: flex;
	gap: 24px;
	margin: 0;
	/* No side padding: snapping would offset the first card and leave "previous" enabled at the start. */
	padding: 6px 0 10px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ubw-lp-page .ubw-lp-rs-slider__track::-webkit-scrollbar {
	display: none;
}

.ubw-lp-page .ubw-lp-rs-slider__track:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 4px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__item {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
}

.ubw-lp-page .ubw-lp-rs-slider__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--lp-line);
	border-radius: 50%;
	background: var(--lp-white);
	color: var(--lp-navy);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__btn:hover:not(:disabled) {
	border-color: var(--lp-navy);
	background: var(--lp-navy);
	color: var(--lp-white);
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__btn:focus-visible {
	outline: 3px solid var(--lp-blue);
	outline-offset: 2px;
}

.ubw-lp-page .ubw-lp-icon--back {
	transform: rotate(180deg);
}

/* Main column + sidebar rows (e.g. "Our Services" menu) */
.ubw-lp-page .ubw-lp-rs-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.ubw-lp-page .ubw-lp-rs-cols .ubw-lp-rs-flow > * {
	max-width: none;
}

.ubw-lp-page .ubw-lp-rs-aside {
	position: sticky;
	top: calc(var(--header-sticky-height, 60px) + 32px);
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-aside .ubw-lp-card {
	box-shadow: var(--lp-shadow-soft);
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-aside-title {
	margin: 0 0 12px;
	color: var(--lp-navy);
	font-size: 19px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-menu {
	margin: 0 0 20px;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-menu li + li {
	border-top: 1px solid var(--lp-line);
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 0;
	color: var(--lp-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-menu a:hover,
.ubw-lp-page .ubw-lp .ubw-lp-rs-menu a:focus-visible {
	padding-left: 6px;
	color: var(--lp-blue);
}

.ubw-lp-page .ubw-lp .ubw-lp-rs-menu a[aria-current="page"] {
	color: var(--lp-navy);
	font-weight: 700;
}

/* ---------- Mobile sticky bar ---------- */
.ubw-lp-page .ubw-lp-sticky {
	display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.ubw-lp-page .ubw-lp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ubw-lp-page .ubw-lp-step:not(:last-child)::after {
		display: none;
	}
}

@media (max-width: 1024px) {
	.ubw-lp-page .ubw-lp-rs-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.ubw-lp-page .ubw-lp-rs-aside {
		position: static;
		max-width: 560px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__item {
		flex-basis: calc((100% - 24px) / 2);
	}

	.ubw-lp-page .ubw-lp-hero__grid,
	.ubw-lp-page .ubw-lp-quote__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ubw-lp-page .ubw-lp-hero__copy {
		max-width: 720px;
	}

	.ubw-lp-page .ubw-lp-hero .ubw-lp-card,
	.ubw-lp-page .ubw-lp-quote .ubw-lp-card {
		max-width: 640px;
	}

	.ubw-lp-page .ubw-lp-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Avoid a lone card on the two-column layout. */
	.ubw-lp-page .ubw-lp-grid--3 > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	/* ...except photo-card grids, where a full-width photo card would tower over the rest. */
	.ubw-lp-page .ubw-lp-grid--3.ubw-lp-cases--media > :last-child:nth-child(odd) {
		grid-column: auto;
	}

	.ubw-lp-page .ubw-lp-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ubw-lp-page .ubw-lp-stats li {
		padding: 22px 20px;
	}

	.ubw-lp-page .ubw-lp-stats li:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.ubw-lp-page .ubw-lp-stats li:nth-child(n + 3) {
		border-top: 1px solid var(--lp-line);
	}

	.ubw-lp-page .ubw-lp-faq,
	.ubw-lp-page .ubw-lp-areas,
	.ubw-lp-page .ubw-lp-split,
	.ubw-lp-page .ubw-lp-types__panel,
	.ubw-lp-page .ubw-lp-types__extra,
	.ubw-lp-page .ubw-lp-content {
		grid-template-columns: minmax(0, 1fr);
	}

	.ubw-lp-page .ubw-lp-content__aside {
		position: static;
		max-width: 560px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-cs-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-rows: 180px;
	}

	.ubw-lp-page .ubw-lp-cs-facts {
		max-width: 640px;
	}

	/* Stacked layout: no copy column to match, so the two photos sit side by side at a fixed shape. */
	.ubw-lp-page .ubw-lp-split__media {
		grid-template-rows: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		height: auto;
	}

	.ubw-lp-page .ubw-lp-split__photo {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.ubw-lp-page .ubw-lp-faq__aside {
		position: static;
	}
}

@media (max-width: 899px) {
	.ubw-lp-page .ubw-lp-head--split {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.ubw-lp-page .ubw-lp-gallery {
		grid-auto-rows: 170px;
	}
}

@media (max-width: 767px) {
	.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__item {
		flex-basis: 85%;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-rs-slider__track {
		gap: 14px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-rs-flow > .ubw-lp-rs-cta {
		margin-top: 40px;
	}

	/* Long button labels ("Request Your Basement Survey Today!") wrap rather than overflow on phones. */
	.ubw-lp-page a.ubw-lp-btn {
		white-space: normal;
	}

	.ubw-lp-page {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}

	.ubw-lp-page .w-toplink {
		display: none;
	}

	.ubw-lp-page .grecaptcha-badge {
		bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
	}

	.ubw-lp-page .ubw-lp-wrap {
		padding: 0 16px;
	}

	.ubw-lp-page .ubw-lp-hero {
		padding-top: 32px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-hero__checks {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		margin-bottom: 26px;
	}

	.ubw-lp-page .ubw-lp-hero .ubw-lp-actions,
	.ubw-lp-page .ubw-lp-banner .ubw-lp-actions,
	.ubw-lp-page .ubw-lp-actions--center {
		flex-direction: column;
		align-items: stretch;
	}

	.ubw-lp-page .ubw-lp-actions a.ubw-lp-btn {
		width: 100%;
	}

	.ubw-lp-page .ubw-lp-card {
		padding: 24px 18px 20px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-card .ubw-lp-card__title {
		font-size: 23px;
	}

	.ubw-lp-page .ubw-lp-grid--3,
	.ubw-lp-page .ubw-lp-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.ubw-lp-page .ubw-lp-tile,
	.ubw-lp-page a.ubw-lp-case,
	.ubw-lp-page .ubw-lp .ubw-lp-step {
		padding: 24px 20px;
	}

	.ubw-lp-page .ubw-lp-head {
		margin-bottom: 32px;
	}

	.ubw-lp-page .ubw-lp-head p,
	.ubw-lp-page .ubw-lp .ubw-lp-quote__copy > p,
	.ubw-lp-page .ubw-lp .ubw-lp-faq__aside > p {
		font-size: 16px;
	}

	.ubw-lp-page .ubw-lp-banner {
		padding: 26px 20px;
	}

	/* Photos are too small to overlay on phones, so the stat card becomes its own row below them. */
	.ubw-lp-page .ubw-lp-split__media {
		gap: 10px;
		padding: 0;
	}

	.ubw-lp-page .ubw-lp-split__tag {
		top: 8px;
		left: 8px;
		padding: 4px 9px;
		font-size: 12px;
	}

	.ubw-lp-page .ubw-lp-tasks__head {
		padding: 16px 18px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-tasks__list {
		padding: 2px 18px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-tasks__list li {
		align-items: start;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-types__tab {
		min-height: 58px;
		padding: 8px 6px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-types__tab strong {
		font-size: 15.5px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-types__tab span {
		font-size: 12px;
	}

	.ubw-lp-page .ubw-lp a.ubw-lp-types__figure {
		padding: 10px;
	}

	/* At phone width the diagram labels would be ~6px; show it at a readable size and let it scroll sideways. */
	.ubw-lp-page .ubw-lp-types__scroll {
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: thin;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-types__scroll img {
		width: 600px;
		max-width: none;
	}

	.ubw-lp-page .ubw-lp-types__swipe {
		display: block;
		margin-top: 8px;
		color: var(--lp-faded);
		font-size: 12.5px;
		font-weight: 600;
		text-align: center;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-types__parts--cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.ubw-lp-page .ubw-lp-types__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ubw-lp-page .ubw-lp-types__actions a.ubw-lp-btn {
		width: 100%;
	}

	.ubw-lp-page .ubw-lp-types__combine,
	.ubw-lp-page .ubw-lp-types__expert {
		padding: 22px 18px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-prose {
		font-size: 16px;
		line-height: 1.7;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-prose h2 {
		margin-top: 36px;
		font-size: 23px;
	}

	/* Compact service cards on phones: thumbnail beside the title, so 38 services don't make a very long scroll. */
	.ubw-lp-page .ubw-lp .ubw-lp-svi-grid a.ubw-lp-pcard {
		flex-direction: row;
	}

	.ubw-lp-page .ubw-lp-svi-grid .ubw-lp-pcard__img {
		flex: 0 0 96px;
		aspect-ratio: auto;
		min-height: 84px;
	}

	.ubw-lp-page .ubw-lp-svi-grid .ubw-lp-pcard__body {
		justify-content: center;
		min-width: 0;
		padding: 12px 16px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-svi-grid .ubw-lp-pcard h2 {
		margin: 0;
		font-size: 16px;
	}

	/* The whole card is the link; the arrow would only squeeze the title. */
	.ubw-lp-page .ubw-lp-svi-grid .ubw-lp-pcard__go {
		display: none;
	}

	.ubw-lp-page .ubw-lp-svi-grid .ubw-lp-grid {
		gap: 12px;
	}

	/* Three compact stats in one row rather than stacked. */
	.ubw-lp-page .ubw-lp .ubw-lp-csi-stats {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
		margin-bottom: 26px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-csi-stats li {
		padding-left: 10px;
	}

	.ubw-lp-page .ubw-lp-csi-stats strong {
		font-size: 20px;
	}

	.ubw-lp-page .ubw-lp-csi-stats span {
		font-size: 12px;
		line-height: 1.35;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-cs-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 140px;
		gap: 10px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-cs-gallery--few {
		grid-auto-rows: 200px;
	}

	.ubw-lp-page .ubw-lp-cs-gallery__zoom {
		display: none;
	}

	.ubw-lp-page .ubw-lp-cs-components {
		padding: 22px 18px;
	}

	.ubw-lp-page .ubw-lp-case__body {
		padding: 20px;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-lightbox__figure {
		max-width: calc(100vw - 24px);
	}

	.ubw-lp-page .ubw-lp .ubw-lp-lightbox__img {
		max-height: calc(100vh - 190px);
	}

	/* Arrows sit within thumb reach below the photo. */
	.ubw-lp-page .ubw-lp .ubw-lp-lightbox__prev,
	.ubw-lp-page .ubw-lp .ubw-lp-lightbox__next {
		top: auto;
		bottom: calc(24px + env(safe-area-inset-bottom, 0px));
		transform: none;
	}

	.ubw-lp-page .ubw-lp .ubw-lp-lightbox__prev {
		left: calc(50% - 66px);
	}

	.ubw-lp-page .ubw-lp .ubw-lp-lightbox__next {
		right: calc(50% - 66px);
	}

	.ubw-lp-page .ubw-lp-split__stat {
		position: static;
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		gap: 14px;
		max-width: none;
		padding: 16px 18px;
		box-shadow: var(--lp-shadow-soft);
	}

	.ubw-lp-page .ubw-lp-split__stat strong {
		font-size: 22px;
		white-space: nowrap;
	}

	.ubw-lp-page .ubw-lp-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 140px;
		gap: 10px;
	}

	.ubw-lp-page .ubw-lp-stats strong {
		font-size: 24px;
	}

	.ubw-lp-page .ubw-lp-brands {
		gap: 10px 24px;
	}

	.ubw-lp-page .ubw-lp-brands__label {
		flex: 1 0 100%;
		text-align: center;
	}

	.ubw-lp-page .ubw-lp-brands__name {
		font-size: 18px;
	}

	.ubw-lp-page .ubw-lp-faq__item summary {
		padding: 18px 56px 18px 18px;
		font-size: 15.5px;
	}

	.ubw-lp-page .ubw-lp-faq__item summary::after {
		right: 14px;
	}

	.ubw-lp-page .ubw-lp-faq__answer {
		padding: 0 18px 20px;
	}

	.ubw-lp-page .ubw-lp-chips a {
		min-height: 40px;
		padding: 8px 14px;
		font-size: 14px;
	}

	.ubw-lp-page .ubw-lp-sticky {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: flex;
		gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--lp-line);
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -10px 28px -8px rgba(7, 36, 52, 0.22);
		transition: transform 0.3s ease;
	}

	.ubw-lp-page .ubw-lp-sticky.is-hidden {
		transform: translateY(110%);
	}

	.ubw-lp-page .ubw-lp-sticky a.ubw-lp-btn {
		flex: 1 1 0;
		min-width: 0;
		min-height: 50px;
		padding: 10px 12px;
		font-size: 15.5px;
		box-shadow: none;
	}
}

@media (max-width: 480px) {
	/* The whole badge is the link, so the "Read reviews" column can go where space is short. */
	.ubw-lp-page .ubw-lp-greview__cta {
		display: none;
	}
}

@media (max-width: 400px) {
	.ubw-lp-page .ubw-lp .ubw-lp-hero h1 {
		font-size: 32px;
	}

	.ubw-lp-page .ubw-lp-stats li {
		padding: 18px 12px;
	}

	.ubw-lp-page .ubw-lp-stats span {
		font-size: 13px;
	}

	.ubw-lp-page .ubw-lp-split__stat {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	/* Keeps "Basement Waterproofing" and the submit label from clipping or wrapping.
	   Fields stay at 16px: anything smaller makes iOS Safari zoom in on focus. */
	.ubw-lp-page .ubw-lp-card {
		padding-left: 14px;
		padding-right: 14px;
	}

	.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme select {
		padding-left: 12px;
		padding-right: 34px;
		background-position: right 11px center;
	}

	.ubw-lp-page .ubw-lp-form .gform_wrapper.gravity-theme .gform_button {
		padding-left: 12px;
		padding-right: 12px;
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ubw-lp-page .ubw-lp *,
	.ubw-lp-page .ubw-lp-sticky {
		transition: none !important;
	}
}
