/* Header, type-scale and icon refinements for the approved v1.3.2 layout. */
body#transaxle-site :is(#main, #enquiry, .service-panel[id]) {
	scroll-margin-top: 92px;
}

body#transaxle-site .footer-logo-filter {
	position: absolute;
}

body#transaxle-site .footer-logo img {
	height: auto;
	filter: url("#transaxle-logo-on-dark");
}

/* The supplied artwork includes text all the way to its edges. */
body#transaxle-site #refurbishment .service-panel-image {
	display: grid;
	align-items: center;
	min-height: 0;
}

body#transaxle-site #refurbishment .service-panel-image img {
	height: auto;
}

body#transaxle-site .service-field {
	min-width: 0;
}

body#transaxle-site #services-label {
	font-size: .82rem;
	font-weight: 800;
}

body#transaxle-site .service-dropdown {
	position: relative;
}

body#transaxle-site .service-dropdown summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 15px;
	border: 1px solid #cfd2d1;
	background: #fbfaf7;
	list-style: none;
	cursor: pointer;
}

body#transaxle-site .service-dropdown summary::-webkit-details-marker {
	display: none;
}

body#transaxle-site .service-dropdown summary::after {
	content: '';
	flex: 0 0 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

body#transaxle-site .service-dropdown[open] summary::after {
	transform: rotate(225deg);
}

body#transaxle-site #services-selection {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body#transaxle-site .service-options {
	position: absolute;
	inset: calc(100% + 4px) 0 auto;
	z-index: 5;
	margin: 0;
	min-width: 0;
	max-height: min(19rem, 50vh);
	overflow-y: auto;
	padding: 8px 14px;
	border: 1px solid #cfd2d1;
	background: #fff;
	box-shadow: 0 8px 24px rgb(0 0 0 / 15%);
}

body#transaxle-site .service-options-hint {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

body#transaxle-site .service-options label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: .95rem;
	font-weight: 500;
	cursor: pointer;
}

body#transaxle-site .service-options input[type="checkbox"] {
	appearance: auto;
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	padding: 0;
	accent-color: var(--brand-red-dark);
}

body#transaxle-site .service-options input[type="checkbox"]:focus-visible,
body#transaxle-site .service-dropdown summary:focus-visible {
	outline: 2px solid var(--brand-red-dark);
	outline-offset: 3px;
}

body#transaxle-site .logo {
	width: 164px;
	height: 45px;
	background: transparent;
	overflow: visible;
}

body#transaxle-site .logo img,
body#transaxle-site .custom-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

body#transaxle-site .nav-links a:not(.btn) {
	font-size: .95rem;
}

body#transaxle-site .stage-title {
	font-size: clamp(2.75rem, 5.2vw, 4.9rem);
	line-height: .98;
	letter-spacing: -.045em;
}

body#transaxle-site .stage-copy {
	font-size: 1.12rem;
}

body#transaxle-site .quick-action strong {
	font-size: 1.05rem;
}

body#transaxle-site .quick-action span {
	font-size: .9rem;
}

body#transaxle-site .page-hero .display {
	font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

body#transaxle-site.admin-bar .header {
	top: 0 !important;
}

body#transaxle-site .quick-icon svg,
body#transaxle-site .value-card-icon svg,
body#transaxle-site .nav-toggle svg {
	display: block !important;
	position: static !important;
	visibility: visible !important;
	opacity: 1 !important;
	fill: none !important;
	stroke: currentColor !important;
}

@media (max-width: 900px) {
	body#transaxle-site .logo {
		width: 150px;
		height: 41px;
	}

	body#transaxle-site .nav-toggle {
		display: grid;
		place-items: center;
		flex: 0 0 48px;
		padding: 0;
	}

	body#transaxle-site .nav-links,
	body#transaxle-site.admin-bar .nav-links {
		position: absolute;
		inset: 100% 0 auto;
		height: auto;
		max-height: calc(100vh - 72px);
		max-height: calc(100dvh - 72px);
		gap: 4px;
		padding: 12px max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left));
		border-bottom: 1px solid var(--brand-line);
		box-shadow: 0 10px 24px rgb(0 0 0 / 12%);
		transform: none;
		transition: none;
		visibility: hidden;
	}

	body#transaxle-site .nav-links.open {
		visibility: visible;
	}

	body#transaxle-site .nav-links a:not(.btn) {
		display: flex;
		align-items: center;
		min-height: 44px;
	}

	body#transaxle-site .nav-links .btn {
		width: 100%;
		margin-top: 6px;
	}

	body#transaxle-site .contact-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	body#transaxle-site .contact-layout > * {
		min-width: 0;
	}
}

@media (max-width: 620px) {
	body#transaxle-site .stage-title {
		font-size: clamp(2rem, 8.7vw, 3rem);
		line-height: 1.06;
	}

	body#transaxle-site .stage {
		min-height: 0;
	}

	body#transaxle-site .stage-content {
		padding: 52px 0 76px;
	}

	body#transaxle-site .stage-copy {
		margin: 18px 0 24px;
		font-size: 1rem;
	}

	body#transaxle-site .quick-actions-wrap {
		margin-top: -32px;
		margin-bottom: 48px;
	}

	body#transaxle-site .page-hero.has-image {
		min-height: 0;
		padding: 48px 0 70px;
	}

	body#transaxle-site .page-hero .display {
		font-size: clamp(2rem, 8.2vw, 2.8rem);
		line-height: 1.05;
	}

	body#transaxle-site .breadcrumb {
		margin-bottom: 24px;
	}

	body#transaxle-site .contact-actions {
		margin-top: -32px;
	}

	body#transaxle-site .quick-action {
		grid-template-columns: 42px minmax(0, 1fr);
		min-height: 84px;
		gap: 12px;
		padding: 16px;
	}

	body#transaxle-site :is(.quick-action, .footer-links) {
		overflow-wrap: anywhere;
	}

	body#transaxle-site .footer-grid {
		gap: 24px;
	}

	body#transaxle-site .service-options {
		position: static;
		max-height: none;
		margin-top: 4px;
		box-shadow: none;
	}

	body#transaxle-site .form {
		padding: 20px 16px;
	}

	body#transaxle-site .form :is(input, textarea) {
		font-size: 1rem;
	}
}
