/* ===== HOME SERVICES REVAMP (tabs + main four) ===== */
.zc-services-revamp .zuri-services-subtitle a {
	color: #1aa7ff;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.zc-services-revamp {
	overflow-x: clip;
	overflow-y: visible;
}

.zc-section-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 14px 18px;
	margin: 0 0 28px;
	padding: 0 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	position: relative;
}

.zc-info-tip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #1aa7ff;
	font-size: 20px;
	line-height: 1;
	cursor: help;
	vertical-align: middle;
	/* Keep the reference icon size instead of the site's 44px CTA minimum. */
	min-height: 0;
	flex-shrink: 0;
}

/* Bootstrap 5 does not supply the reference site's Bootstrap 4 helper. */
.zc-services-revamp .zc-info-tip .sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.zc-info-tip:hover,
.zc-info-tip:focus-visible {
	color: #1aa7ff;
	outline: none;
}

.zc-info-tip:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ffc107;
}

.zc-info-tip__bubble {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	z-index: 20;
	width: min(280px, 70vw);
	padding: 10px 12px;
	border-radius: 10px;
	background: #1aa7ff;
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	box-shadow: 0 8px 22px rgba(26, 167, 255, 0.28);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.zc-info-tip__bubble::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: #1aa7ff;
}

/* Open state driven by JS (.is-tip-open); desktop hover also via :has when fine pointer */
.zc-section-tools.is-tip-open > .zc-info-tip__bubble,
.zc-tabs__header.is-tip-open > .zc-info-tip__bubble {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
	.zc-section-tools:has(.zc-info-tip:hover) > .zc-info-tip__bubble,
	.zc-tabs__header:has(.zc-info-tip:hover) > .zc-info-tip__bubble {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

/* Disposal / Clearance tip: above the tools row (does not push tabs down) */
.zc-section-tools > .zc-info-tip__bubble {
	left: auto;
	right: 12px;
	width: min(320px, calc(100% - 24px));
	max-width: 320px;
	top: auto;
	bottom: calc(100% + 8px);
	transform: translateY(4px);
	box-sizing: border-box;
	z-index: 30;
}

.zc-section-tools > .zc-info-tip__bubble::after {
	top: 100%;
	bottom: auto;
	left: var(--zc-tip-arrow-x, 24px);
	right: auto;
	margin-left: -6px;
	border-bottom-color: transparent;
	border-top-color: #1aa7ff;
}

.zc-tabs__header {
	position: relative;
}

.zc-tabs__header > .zc-info-tip__bubble {
	left: 50%;
	right: auto;
	width: min(320px, calc(100% - 24px));
	max-width: 320px;
	top: calc(100% + 6px);
	bottom: auto;
	transform: translateX(-50%) translateY(-4px);
	box-sizing: border-box;
}

.zc-tabs__header.is-tip-open > .zc-info-tip__bubble,
.zc-tabs__header:has(.zc-info-tip:hover) > .zc-info-tip__bubble {
	transform: translateX(-50%) translateY(0);
}

.zc-tabs__header > .zc-info-tip__bubble::after {
	top: auto;
	bottom: 100%;
	left: var(--zc-tip-arrow-x, 50%);
	right: auto;
	margin-left: -6px;
	border-top-color: transparent;
	border-bottom-color: #1aa7ff;
}

@media (max-width: 640px) {
	.zc-section-tools > .zc-info-tip__bubble {
		left: 12px;
		right: 12px;
		width: auto;
		max-width: none;
		top: auto;
		bottom: calc(100% + 8px);
	}

	.zc-tabs__header > .zc-info-tip__bubble {
		left: 12px;
		right: 12px;
		width: auto;
		max-width: none;
		transform: translateY(-4px);
	}

	.zc-tabs__header.is-tip-open > .zc-info-tip__bubble,
	.zc-tabs__header:has(.zc-info-tip:hover) > .zc-info-tip__bubble {
		transform: translateY(0);
	}
}

.zc-view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 20px;
	border-radius: 999px;
	background: #1aa7ff;
	color: #fff !important;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(26, 167, 255, 0.28);
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.zc-view-all-btn i {
	font-size: 13px;
	transition: transform 0.2s ease;
}

.zc-view-all-btn:hover,
.zc-view-all-btn:focus-visible {
	background: #0f8fd9;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(26, 167, 255, 0.36);
	transform: translateY(-1px);
}

.zc-view-all-btn:hover i,
.zc-view-all-btn:focus-visible i {
	transform: translateX(3px);
}

.zc-tabs__heading .zc-info-tip {
	margin-left: 8px;
	width: 28px;
	height: 28px;
	font-size: 17px;
	vertical-align: middle;
}

.zc-main-four {
	display: flex;
	flex-direction: column;
	gap: 36px;
	margin-bottom: 56px;
}

.zc-main-four__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.zc-main-four__grid .zuri-service-card-link,
.zc-main-four__eot {
	width: 100%;
}

.zc-main-four__grid .zuri-service-card {
	height: 100%;
}

.js-zc-reveal [data-zc-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-zc-reveal [data-zc-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

.zc-tabs-shape-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.zc-tabs {
	margin-top: 12px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	overflow-y: visible;
	box-sizing: border-box;
}

/* Track/pin wrappers kept for markup stability — scroll-scrub disabled for now */
.zc-tabs__track,
.zc-tabs__pin {
	position: relative;
	width: 100%;
	min-height: 0;
	top: auto;
}

.zc-tabs__header {
	text-align: center;
	margin-bottom: 22px;
	padding: 0 12px;
}

.zc-services-revamp .zc-tabs__heading {
	/* Match .com despite the German site's global heading font override. */
	font-family: "Inter", sans-serif !important;
	font-size: 26px;
	font-weight: 700;
	color: #111;
	margin: 0 0 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2px;
	line-height: 1.2;
	letter-spacing: normal;
}

.zc-tabs__lead {
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	color: #444;
	margin: 0;
}

/* Codrops tabs-style-shape port — blue hover */
.zc-tabs--shape .zc-tabs__nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: stretch;
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 0.5em;
	border: 0;
	background: transparent;
	position: relative;
	z-index: 2;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

.zc-tabs--shape .zc-tabs__tab {
	flex: 1 1 0;
	position: relative;
	z-index: 1;
	display: block;
	overflow: visible;
	margin: 0 1.75em 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
	white-space: nowrap;
	min-width: 0;
	/* Label and SVG must have the same height for continuous curves. */
	min-height: 0;
}

.zc-tabs--shape .zc-tabs__tab:last-child {
	margin-right: 0;
}

.zc-tabs--shape .zc-tabs__tab.is-active {
	z-index: 100;
}

.zc-tabs--shape .zc-tabs__label {
	display: block;
	overflow: hidden;
	padding: 0.75em 0.35em;
	background-color: #bdc2c9;
	color: #fff;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: center;
	/* Instant color sync — avoids SVG/label fill mismatch flicker */
	transition: none;
}

.zc-tabs--shape .zc-tabs__tab:first-child .zc-tabs__label {
	padding-left: 1.5em;
	border-radius: 30px 0 0 0;
}

.zc-tabs--shape .zc-tabs__tab:last-child .zc-tabs__label {
	padding-right: 1.5em;
	border-radius: 0 30px 0 0;
}

.zc-tabs--shape .zc-tabs__tab svg {
	position: absolute;
	/* Overlap into label to kill the white vertical seam */
	left: calc(100% - 1.5px);
	top: 0;
	margin: 0;
	width: 1.75em;
	height: 100%;
	fill: #bdc2c9;
	pointer-events: none;
	transition: none;
	shape-rendering: geometricPrecision;
}

.zc-tabs--shape .zc-tabs__tab svg:nth-of-type(2),
.zc-tabs--shape .zc-tabs__tab:last-child svg {
	right: calc(100% - 1.5px);
	left: auto;
	transform: scale3d(-1, 1, 1);
}

.zc-tabs--shape .zc-tabs__tab:hover:not(.is-active) .zc-tabs__label {
	background-color: #fff;
	color: #333;
}

.zc-tabs--shape .zc-tabs__tab:hover:not(.is-active) svg {
	fill: #fff;
}

.zc-tabs--shape .zc-tabs__tab.is-active .zc-tabs__label {
	background: #1aa7ff;
	color: #fff;
}

.zc-tabs--shape .zc-tabs__tab.is-active svg {
	fill: #1aa7ff;
}

.zc-tabs--shape .zc-tabs__tab:focus-visible {
	outline: 2px solid #ffc107;
	outline-offset: 2px;
}

.zc-tabs--shape .zc-tabs__panels {
	position: relative;
	z-index: 1;
	min-height: 120px;
	padding: 28px 20px 32px;
	background: #fff;
	border-radius: 0 0 18px 18px;
	box-shadow: 0 8px 28px rgba(18, 68, 99, 0.08);
	overflow: hidden;
	transition: height 0.4s ease;
}

.zc-tabs__panel {
	position: absolute;
	left: 20px;
	right: 20px;
	top: 28px;
	width: auto;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	z-index: 0;
}

.zc-tabs__panel.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.zc-tabs--disposal .zc-tabs__panel,
.zc-tabs--disposal .zc-tabs__panels {
	transition-duration: 0.45s;
}

.zc-tabs--clearance .zc-tabs__panel,
.zc-tabs--clearance .zc-tabs__panels {
	transition-duration: 0.42s;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.zc-tabs__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	justify-items: stretch;
}

.zc-tabs__card {
	min-height: 100%;
}

.zc-tabs__card img {
	height: 180px;
}

/* Match live home card description (16px) — no clamp / no forced min-height gap */
.zc-tabs__card .zuri-card-content {
	min-height: 0;
	justify-content: flex-start;
	padding: 18px 20px 20px;
}

.zc-tabs__card .zuri-card-content p {
	font-size: 16px;
	line-height: 1.6;
	flex-grow: 0;
}

.zc-tabs__card .zuri-card-btn {
	margin-top: auto;
}

.zc-tabs__feature {
	width: 100%;
}

@media (max-width: 992px) {
	.zc-main-four__grid {
		grid-template-columns: 1fr;
	}

	.zc-tabs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.zc-tabs--shape .zc-tabs__tab {
		margin-right: 1.25em;
		font-size: 13px;
	}

	.zc-tabs--shape .zc-tabs__tab svg {
		width: 1.25em;
	}
}

@media (max-width: 640px) {
	.zc-tabs__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.zc-services-revamp .zc-tabs__heading {
		font-size: 22px;
	}

	.zc-tabs--shape .zc-tabs__nav {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 4px 2px;
	}

	.zc-tabs--shape .zc-tabs__nav::-webkit-scrollbar {
		display: none;
	}

	.zc-tabs--shape .zc-tabs__tab {
		display: block;
		flex: 0 0 auto;
		width: auto;
		min-width: 5.75rem;
		margin: 0 1em 0 0;
		font-size: 13px;
	}

	.zc-tabs--shape .zc-tabs__tab:last-child {
		margin-right: 4px;
	}

	.zc-tabs--shape .zc-tabs__tab svg {
		display: block;
		width: 1em;
	}

	.zc-tabs--shape .zc-tabs__label {
		padding: 0.7em 0.45em;
	}

	.zc-tabs--shape .zc-tabs__tab:first-child .zc-tabs__label {
		padding-left: 1em;
		border-radius: 22px 0 0 0;
	}

	.zc-tabs--shape .zc-tabs__tab:last-child .zc-tabs__label {
		padding-right: 1em;
		border-radius: 0 22px 0 0;
	}

	.zc-tabs--shape .zc-tabs__tab.is-active {
		z-index: 100;
	}

	.zc-tabs--shape .zc-tabs__panels {
		padding: 20px 12px 24px;
		border-radius: 0 0 14px 14px;
	}

	.zc-tabs__panel {
		left: 12px;
		right: 12px;
		top: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-zc-reveal],
	.zc-tabs__panel,
	.zc-tabs--shape .zc-tabs__panels,
	.zc-tabs__tab,
	.zc-tabs__label,
	.zc-tabs--shape .zc-tabs__tab svg {
		transition: none !important;
		animation: none !important;
	}

	.zc-tabs__panel.is-active {
		opacity: 1 !important;
		visibility: visible !important;
	}
}

