nano wp-content/themes/platinum-towing/assets/css/theme.cssnano wp-content/themes/platinum-towing/assets/css/theme.cssnano wp-content/themes/platinum-towing/assets/css/theme.css/**
 * Platinum Towing Service — component styles.
 *
 * Colours: semantic tokens from theme.json (var(--wp--custom--color--…)),
 * which alias the six approved palette colours. Section "contexts" below
 * re-point those tokens, so components work on black, gunmetal, orange and
 * off-white without new colours.
 *
 * Motion: transform/opacity only (no layout shift). Hidden-before-reveal
 * states apply only under html.pt-js (see functions.php); everything is
 * disabled for prefers-reduced-motion at the end of this file.
 */

:root {
	--pt-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--pt-slant: 12%;
	/* WhatsApp glyph (Simple Icons, CC0) used as a CSS mask in the call bar. */
	--pt-wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E");
}

/* ===========================================================================
 * Typography tokens theme.json cannot express on its own
 * ======================================================================== */

/* Label (paragraph style "Label"; .pt-label kept as an alias). */
.is-style-label,
.pt-label {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* body-lg: 18px / 1.5. */
.has-body-lg-font-size {
	line-height: 1.5;
}

/* caption: 12px / 1.4 / 500 / 0.04em. */
.has-caption-font-size {
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

/* Phone numbers shown as display text. */
.pt-phone {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-md);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.15;
}

.pt-phone a {
	text-decoration: none;
}

.pt-phone a:hover {
	text-decoration: underline;
}

.pt-phone--xl {
	font-size: clamp(36px, 5vw, 64px);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
}

/* ===========================================================================
 * Section colour contexts (palette only)
 * ======================================================================== */

/* Gunmetal: orange text would be 3.4:1 here, so labels/links turn off-white. */
.pt-section-gunmetal {
	--wp--custom--color--surface: var(--wp--preset--color--gunmetal);
	--wp--custom--color--accent-text: var(--wp--preset--color--off-white);
	--wp--custom--color--hairline: var(--wp--preset--color--jet-black);
	background: var(--wp--custom--color--surface);
}

/* Off-white: brand guide light application — deep orange for orange text (4.8:1). */
.pt-section-light {
	--wp--custom--color--surface: var(--wp--preset--color--off-white);
	--wp--custom--color--ink: var(--wp--preset--color--jet-black);
	--wp--custom--color--ink-muted: var(--wp--preset--color--gunmetal);
	--wp--custom--color--accent-text: var(--wp--preset--color--deep-orange);
	--wp--custom--color--hairline: var(--wp--preset--color--platinum-silver);
	--wp--custom--color--focus-ring: var(--wp--preset--color--jet-black);
	--wp--custom--color--link-hover: var(--wp--preset--color--jet-black);
	background: var(--wp--custom--color--surface);
	color: var(--wp--custom--color--ink);
}

/* Orange band: Jet Black text on Platinum Orange (6.6:1). */
.pt-band-accent {
	--wp--custom--color--accent-text: var(--wp--preset--color--jet-black);
	--wp--custom--color--ink: var(--wp--preset--color--jet-black);
	--wp--custom--color--focus-ring: var(--wp--preset--color--jet-black);
	--wp--custom--color--link-hover: var(--wp--preset--color--jet-black);
	background: var(--wp--custom--color--accent);
	color: var(--wp--custom--color--on-accent);
}

/* Buttons inside the band invert: black fill, off-white label (19.3:1). */
.pt-band-accent .wp-block-button__link {
	background: var(--wp--preset--color--jet-black);
	color: var(--wp--preset--color--off-white);
}

.pt-band-accent .wp-block-button__link:hover {
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--jet-black);
}

/* ===========================================================================
 * Interactive states
 * ======================================================================== */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--custom--color--focus-ring);
	outline-offset: 3px;
}

.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--pt-ease);
}

@media (hover: hover) {
	.wp-block-button__link:hover {
		transform: translateY(-2px);
	}
}

.wp-block-button__link:active {
	transform: none;
}

/* Outline buttons on dark: Off-white label and border. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--custom--color--ink);
	color: var(--wp--custom--color--ink);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--custom--color--button-hover-bg);
	color: var(--wp--custom--color--on-accent);
}

.wp-block-button.is-style-outline > .wp-block-button__link:active {
	background: var(--wp--custom--color--button-active-bg);
	border-color: var(--wp--custom--color--button-active-bg);
	color: var(--wp--custom--color--on-accent);
}

/* ===========================================================================
 * Header
 * ======================================================================== */

.pt-site-header {
	background: var(--wp--custom--color--surface);
	position: relative;
}

/* Orange rule that draws in once the page is scrolled (desktop). */
.pt-site-header::after {
	background: var(--wp--custom--color--accent);
	bottom: -1px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.4s var(--pt-ease);
}

.pt-scroll-sentinel {
	height: 24px;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 1px;
}

.pt-site-header__logo img {
	aspect-ratio: 601 / 149; /* reserves space (no width/height attributes on the block) */
	display: block;
	height: auto;
	transform-origin: left center;
	transition: transform 0.3s var(--pt-ease);
	width: clamp(150px, 30vw, 220px);
}

.pt-site-header .pt-site-header__logo {
	flex-shrink: 0;
}

.pt-site-header .pt-header-call .wp-block-button__link {
	white-space: nowrap;
}

@media (min-width: 782px) {
	/* Sticky on desktop only; height never changes (no layout shift). */
	.wp-site-blocks > header.wp-block-template-part {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 50;
	}

	.is-scrolled .pt-site-header::after {
		transform: scaleX(1);
	}

	.is-scrolled .pt-site-header__logo img {
		transform: scale(0.85);
	}

	/* Anchor targets clear the sticky header. */
	[id] {
		scroll-margin-top: 112px;
	}
}

/* Desktop navigation: underline draws in from the left. */
.pt-site-nav .wp-block-navigation-item__content {
	position: relative;
	text-decoration: none;
}

.pt-site-nav .wp-block-navigation-item__content:hover,
.pt-site-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--custom--color--accent-text);
}

.pt-site-nav .wp-block-navigation-item__content:active {
	color: var(--wp--custom--color--ink-muted);
}

@media (min-width: 600px) {
	.pt-site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after {
		background: var(--wp--custom--color--accent);
		bottom: -6px;
		content: "";
		height: 2px;
		left: 0;
		position: absolute;
		right: 0;
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.25s var(--pt-ease);
	}

	.pt-site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover::after,
	.pt-site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:focus-visible::after,
	.pt-site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .current-menu-item > .wp-block-navigation-item__content::after {
		transform: scaleX(1);
	}
}

/* In-menu Call Now: only inside the mobile overlay (the header button covers desktop). */
.pt-site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .pt-nav-call {
	display: none;
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav-call {
	margin-bottom: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--30); /* first item in the overlay (and in focus order) */
	width: 100%;
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav-call .wp-block-button,
.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav-call .wp-block-button__link {
	width: 100%;
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav-call .wp-block-button__link {
	font-size: var(--wp--custom--typography--button--size);
	min-height: 56px;
	padding: 16px;
}

/* EN/ES switcher (rendered only when Polylang is active). */
.pt-site-nav .pt-lang .wp-block-navigation-item__content {
	color: var(--wp--custom--color--ink-muted);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.16em;
}

.pt-site-nav .pt-lang--current .wp-block-navigation-item__content {
	color: var(--wp--custom--color--accent-text);
}

/* EN | ES divider only in the inline (desktop) menu; overlay rows already have dividers. */
.pt-site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .pt-lang + .pt-lang {
	border-left: 1px solid var(--wp--custom--color--hairline);
	padding-left: 0.75em;
}

/*
 * The Navigation block switches to its overlay at a fixed 600px; with the
 * full menu (and the longer Spanish labels + EN/ES) the inline list needs
 * ~1150px. Below 1200px use the ☰ overlay instead of the inline list.
 */
@media (max-width: 1199px) {
	.pt-site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.pt-site-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (min-width: 1200px) and (max-width: 1320px) {
	.pt-site-nav .wp-block-navigation__container {
		gap: 1.1em;
	}
}

/* Menu open/close buttons: at least 44 × 44px touch targets. */
.pt-site-nav .wp-block-navigation__responsive-container-open,
.pt-site-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}

/* Mobile menu overlay (colours from the Navigation block's overlay settings). */
.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--20);
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	padding-top: calc(44px + var(--wp--preset--spacing--30));
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: stretch;
	border-bottom: 1px solid var(--wp--custom--color--hairline);
	width: 100%;
}

.pt-site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	font-size: var(--wp--preset--font-size--headline-md);
	padding: var(--wp--preset--spacing--20) 0;
}

/* Full-width page sections sit edge to edge (no black block-gap strips). */
.wp-block-post-content > .alignfull + .alignfull {
	margin-block-start: 0;
}

/* ===========================================================================
 * Section headings
 * ======================================================================== */

.pt-section-head {
	margin-bottom: var(--wp--preset--spacing--40);
}

.pt-section-head > * + * {
	margin-top: var(--wp--preset--spacing--20);
}

.pt-section-head .is-style-label {
	align-items: center;
	color: var(--wp--custom--color--accent-text);
	display: flex;
	gap: 12px;
}

/* Short orange rule before section labels, as in the brand guide. */
.pt-section-head .is-style-label::before {
	background: var(--wp--custom--color--accent);
	content: "";
	flex: 0 0 32px;
	height: 2px;
	transform-origin: left center;
}

.pt-band-accent .pt-section-head .is-style-label::before {
	background: var(--wp--preset--color--jet-black);
}

/* ===========================================================================
 * Hero
 * ======================================================================== */

.pt-hero {
	overflow: hidden;
	position: relative;
}

.pt-hero .pt-section-head {
	margin-bottom: var(--wp--preset--spacing--30);
}

.pt-hero h1 {
	max-width: 20ch;
	text-wrap: balance;
}

.pt-hero .has-body-lg-font-size {
	color: var(--wp--custom--color--ink-muted);
	max-width: 42ch;
}

/* Photo frame: slanted like the italic "TOWING SERVICE" lettering. */
.pt-hero__media-col {
	position: relative;
}

.pt-hero__media-col::before {
	background: var(--wp--custom--color--accent);
	clip-path: polygon(var(--pt-slant) 0, 100% 0, calc(100% - var(--pt-slant)) 100%, 0 100%);
	content: "";
	inset: 18px -14px -18px 14px;
	position: absolute;
}

.wp-block-cover.pt-hero__media {
	aspect-ratio: 10 / 11;
	background-color: var(--wp--preset--color--gunmetal); /* neutral while the photo loads */
	clip-path: polygon(var(--pt-slant) 0, 100% 0, calc(100% - var(--pt-slant)) 100%, 0 100%);
	min-height: 0;
	padding: 0;
}

/* No photo yet: the official shield, centred (desktop only — see below). */
.wp-block-cover.pt-hero__media:not(:has(.wp-block-cover__image-background))::after {
	background: url(../images/shield.png) center / contain no-repeat;
	content: "";
	inset: 22% 28%;
	position: absolute;
	z-index: 1;
}

@media (max-width: 1023px) {
	/* Hide the frame on tablet/mobile until a real photo is set. */
	.pt-hero__media-col:not(:has(.wp-block-cover__image-background)) {
		display: none;
	}

	.pt-hero__grid:not(:has(.wp-block-cover__image-background)) > .pt-hero__copy {
		flex-basis: 100% !important;
	}
}

@media (max-width: 781px) {
	.wp-block-cover.pt-hero__media {
		aspect-ratio: 16 / 10;
	}
}

/*
 * With a real photo: the frame takes the photo's own 4:3 shape and only the
 * left edge is slanted, so nothing of the vehicle is cropped. The orange slab
 * follows the same shape. (Phones use 16:10, which trims only floor and wall.)
 */
.pt-hero__media-col:has(.wp-block-cover__image-background) {
	--pt-photo-clip: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
}

.pt-hero__media-col:has(.wp-block-cover__image-background)::before {
	clip-path: var(--pt-photo-clip);
	inset: 16px -16px -16px 16px;
}

.pt-hero__media-col .wp-block-cover.pt-hero__media:has(.wp-block-cover__image-background) {
	aspect-ratio: 4 / 3;
	clip-path: var(--pt-photo-clip);
}

@media (max-width: 781px) {
	/* Keep the photo's own 4:3 on phones too: zero cropping of the vehicle. */
	.pt-hero__media-col .wp-block-cover.pt-hero__media:has(.wp-block-cover__image-background) {
		aspect-ratio: 4 / 3;
	}

	.pt-hero__media-col:has(.wp-block-cover__image-background)::before {
		inset: 10px -10px -10px 10px;
	}
}

/* Photo entrance: a slow settle from 106% (transform only; the image paints immediately). */
@keyframes pt-settle {
	from { transform: scale(1.06); }
	to { transform: none; }
}

.pt-hero__media .wp-block-cover__image-background {
	animation: pt-settle 1.4s var(--pt-ease) both;
}

/* Entrance: label rule draws, H1 rises (transform only — no LCP delay), frame slides. */
@keyframes pt-draw {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes pt-rise {
	from { transform: translateY(14px); }
	to { transform: none; }
}

@keyframes pt-slide {
	from { transform: translateX(28px); }
	to { transform: none; }
}

.pt-hero .pt-section-head .is-style-label::before {
	animation: pt-draw 0.5s var(--pt-ease) both;
}

.pt-hero h1 {
	animation: pt-rise 0.6s var(--pt-ease) both;
}

.pt-hero__media-col {
	animation: pt-slide 0.7s 0.15s var(--pt-ease) both;
}

/* ===========================================================================
 * Service cards
 * ======================================================================== */

.pt-service-card {
	--wp--custom--color--surface: var(--wp--preset--color--jet-black);
	--wp--custom--color--accent-text: var(--wp--preset--color--platinum-orange);
	--wp--custom--color--hairline: var(--wp--preset--color--jet-black);
	background: var(--wp--custom--color--surface);
	border: 1px solid var(--wp--custom--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	border-top: 3px solid var(--wp--custom--color--accent);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: var(--wp--preset--spacing--30);
	position: relative;
	transition: border-color 0.25s ease, transform 0.25s var(--pt-ease), background-color 0.3s ease;
}

/* Hover/focus: black → dark gray (a mix of the approved Jet Black and Gunmetal). */
.pt-service-card:hover,
.pt-service-card:focus-within {
	background-color: color-mix(in srgb, var(--wp--preset--color--gunmetal) 45%, var(--wp--preset--color--jet-black));
}

.pt-service-card > * {
	position: relative;
	z-index: 1;
}

/* Slanted orange slab that slides into the corner on hover/focus. */
.pt-service-card::after {
	background: var(--wp--custom--color--accent);
	bottom: 0;
	content: "";
	height: 6px;
	left: 0;
	position: absolute;
	right: 0;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s var(--pt-ease);
}

.pt-service-card .is-style-label {
	color: var(--wp--custom--color--ink-muted);
}

.pt-service-card p:not(.is-style-label):not(.pt-card-link) {
	color: var(--wp--custom--color--ink-muted);
}

.pt-card-link {
	font-family: var(--wp--preset--font-family--display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--20);
	text-transform: uppercase;
}

.pt-card-link a {
	display: inline-block;
	padding: 6px 0;
	text-decoration: none;
}

.pt-card-link a::after {
	content: "\2192";
	display: inline-block;
	margin-left: 8px;
	transition: transform 0.25s var(--pt-ease);
}

.pt-card-link a:hover {
	text-decoration: underline;
}

.pt-service-card:hover,
.pt-service-card:focus-within {
	border-color: var(--wp--custom--color--accent);
}

.pt-service-card:hover::after,
.pt-service-card:focus-within::after {
	transform: scaleX(1);
}

.pt-service-card:hover .pt-card-link a::after,
.pt-service-card:focus-within .pt-card-link a::after {
	transform: translateX(4px);
}

@media (hover: hover) {
	.pt-service-card:hover,
	.pt-service-card:focus-within {
		box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.6);
		transform: translateY(-4px);
	}
}

/* Decorative brand icon drawn above a heading (no image URL stored in content). */
.pt-icon::before {
	background: center / contain no-repeat;
	content: "";
	display: block;
	height: 64px;
	margin-bottom: var(--wp--preset--spacing--20);
	width: 64px;
}

.pt-icon--towing::before { background-image: url(../images/icons/towing.png); }
.pt-icon--roadside::before { background-image: url(../images/icons/roadside.png); }
.pt-icon--recovery::before { background-image: url(../images/icons/recovery.png); }
/* Vehicle Transportation: car-carrier icon drawn in the brand icon style (interim — replace with the designer's vector when supplied). */
.pt-icon--transport::before { background-image: url(../images/icons/transport.svg); }

/* Service-specific icon motion (whole raster icon; part animation needs SVGs). */
@keyframes pt-drive {
	0%, 100% { transform: none; }
	45% { transform: translateX(6px); }
}

@keyframes pt-wobble {
	0%, 100% { transform: none; }
	30% { transform: rotate(-6deg); }
	65% { transform: rotate(5deg); }
}

@keyframes pt-hoist {
	0%, 100% { transform: none; }
	45% { transform: translateY(-5px); }
}

.pt-service-card:is(:hover, :focus-within) .pt-icon--towing::before,
.pt-service-card:is(:hover, :focus-within) .pt-icon--transport::before {
	animation: pt-drive 0.45s var(--pt-ease) 1;
}

.pt-service-card:is(:hover, :focus-within) .pt-icon--roadside::before {
	animation: pt-wobble 0.5s var(--pt-ease) 1;
}

.pt-service-card:is(:hover, :focus-within) .pt-icon--recovery::before {
	animation: pt-hoist 0.45s var(--pt-ease) 1;
}

/* Touch screens: play each icon's motion once as the card scrolls into view. */
@media (hover: none) {
	.pt-service-card.is-revealed .pt-icon--towing::before,
	.pt-service-card.is-revealed .pt-icon--transport::before {
		animation: pt-drive 0.5s 0.35s var(--pt-ease) 1;
	}

	.pt-service-card.is-revealed .pt-icon--roadside::before {
		animation: pt-wobble 0.55s 0.35s var(--pt-ease) 1;
	}

	.pt-service-card.is-revealed .pt-icon--recovery::before {
		animation: pt-hoist 0.5s 0.35s var(--pt-ease) 1;
	}
}

/* ===========================================================================
 * How it works
 * ======================================================================== */

.pt-steps {
	position: relative;
}

.pt-step {
	border-left: 1px solid var(--wp--custom--color--hairline);
	padding-left: var(--wp--preset--spacing--30);
}

.pt-step__num {
	color: var(--wp--custom--color--accent-text);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-xl);
	font-style: italic;
	font-weight: 800;
	line-height: 1;
}

.pt-step p:not(.pt-step__num) {
	color: var(--wp--custom--color--ink-muted);
}

/* On gunmetal the 56px numerals stay orange: 3.4:1 passes for large text (3:1). */
.pt-section-gunmetal .pt-step__num {
	color: var(--wp--preset--color--platinum-orange);
}

/* ===========================================================================
 * Our fleet — two photo cards (Image blocks)
 * ======================================================================== */

.pt-fleet-grid {
	gap: var(--wp--preset--spacing--30);
}

.pt-fleet-card {
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.pt-fleet-card img {
	aspect-ratio: 16 / 9; /* both fleet photos are 16:9 — no cropping */
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 0.7s var(--pt-ease);
	width: 100%;
}

@media (hover: hover) {
	.pt-fleet-card:hover img {
		transform: scale(1.04);
	}
}

/*
 * Unit label sits BELOW the photo (never over the vehicle). It is stacked
 * above the image so the hover zoom cannot paint over it.
 */
.pt-fleet-card figcaption {
	align-items: center;
	background: var(--wp--custom--color--surface);
	border-top: 3px solid var(--wp--custom--color--accent);
	color: var(--wp--custom--color--ink);
	display: flex;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	gap: 12px;
	letter-spacing: 0.16em;
	line-height: 1.3;
	margin: 0;
	padding: 14px 0 0;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

.pt-fleet-card figcaption::before {
	background: var(--wp--custom--color--accent);
	content: "";
	flex: 0 0 24px;
	height: 2px;
}

.pt-safety-note {
	border-left: 3px solid var(--wp--custom--color--accent);
	margin-top: var(--wp--preset--spacing--40);
	padding-left: var(--wp--preset--spacing--20);
}

@media (min-width: 782px) {
	/* Connector rule that draws across the three steps. */
	.pt-steps::before {
		background: var(--wp--custom--color--accent);
		content: "";
		height: 2px;
		left: 0;
		position: absolute;
		right: 0;
		top: -24px;
		transform-origin: left center;
		transition: transform 0.9s 0.2s var(--pt-ease);
	}

	.pt-js .pt-steps:not(.is-revealed)::before {
		transform: scaleX(0);
	}
}

/* ===========================================================================
 * Service area — location marker
 * ======================================================================== */

.pt-locator {
	align-items: flex-start;
	border: 2px solid var(--wp--preset--color--jet-black);
	border-left-width: 10px;
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-left: auto;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) var(--wp--preset--spacing--30) calc(var(--wp--preset--spacing--30) + 64px);
	position: relative;
	width: fit-content;
}

.pt-locator::before {
	background: url(../images/icons/hook.png) center / contain no-repeat;
	content: "";
	height: 48px;
	left: var(--wp--preset--spacing--30);
	position: absolute;
	top: calc(var(--wp--preset--spacing--30) + 4px);
	width: 46px;
}

.pt-locator > .pt-place {
	margin: 0;
}

.pt-place--city {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(36px, 4vw, 56px);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
	text-transform: uppercase;
	text-wrap: balance;
}

.pt-place--state {
	border-top: 2px solid var(--wp--preset--color--jet-black);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.3em;
	margin-top: 10px !important;
	padding-top: 10px;
	text-transform: uppercase;
}

@media (max-width: 781px) {
	.pt-locator {
		margin-left: 0;
	}
}

/* ===========================================================================
 * FAQ (off-white section, native Details blocks)
 * ======================================================================== */

.pt-faq__prompt a {
	font-weight: 700;
}

.pt-faq .wp-block-details {
	border-bottom: 1px solid var(--wp--custom--color--hairline);
	padding: var(--wp--preset--spacing--20) 0;
}

.pt-faq .wp-block-details:first-child {
	border-top: 1px solid var(--wp--custom--color--hairline);
}

.pt-faq .wp-block-details summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	list-style: none;
	padding: 4px 48px 4px 0;
	position: relative;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.pt-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

/* Plus/minus built from two bars; the vertical bar rotates flat when open. */
.pt-faq .wp-block-details summary::before,
.pt-faq .wp-block-details summary::after {
	background: var(--wp--custom--color--accent-text);
	content: "";
	height: 2px;
	position: absolute;
	right: 8px;
	top: 50%;
	transition: transform 0.25s var(--pt-ease);
	width: 18px;
}

.pt-faq .wp-block-details summary::after {
	transform: rotate(90deg);
}

.pt-faq .wp-block-details[open] summary::after {
	transform: rotate(0deg);
}

.pt-faq .wp-block-details summary:hover {
	color: var(--wp--custom--color--accent-text);
}

.pt-faq .wp-block-details > :not(summary) {
	color: var(--wp--custom--color--ink-muted);
	margin-top: var(--wp--preset--spacing--20);
	max-width: 62ch;
}

/* ===========================================================================
 * Closing call to action
 * ======================================================================== */

.pt-cta {
	overflow: hidden;
	position: relative;
}

.pt-cta__inner {
	position: relative;
	z-index: 1;
}

.pt-cta__inner > * + * {
	margin-top: var(--wp--preset--spacing--30);
}

.pt-cta .has-body-lg-font-size {
	color: var(--wp--custom--color--ink-muted);
}

/* Slanted gunmetal panel with an orange edge (echoes the logo lettering). */
.pt-cta::before {
	background:
		linear-gradient(var(--wp--custom--color--accent), var(--wp--custom--color--accent)) left / 12px 100% no-repeat,
		var(--wp--preset--color--gunmetal);
	bottom: -10%;
	content: "";
	position: absolute;
	right: -4%;
	top: -10%;
	transform: skewX(-14deg);
	width: 26%;
}

@media (max-width: 781px) {
	.pt-cta::before {
		display: none;
	}
}

/* ===========================================================================
 * Section transition: angled top edge on the orange Service areas band,
 * rising left to right like the logo's italic lettering. The band overlaps
 * the section above by the cut height; that section gets the same extra
 * bottom padding, so no content moves or is covered (no layout shift).
 * ======================================================================== */

.pt-band-accent {
	--pt-cut: clamp(20px, 3.5vw, 48px);
	clip-path: polygon(0 var(--pt-cut), 100% 0, 100% 100%, 0 100%);
	margin-block-start: calc(-1 * var(--pt-cut)) !important;
	padding-top: calc(var(--wp--preset--spacing--50) + var(--pt-cut)) !important;
	position: relative;
	z-index: 1;
}

.wp-block-post-content > .alignfull:has(+ .pt-band-accent) {
	padding-bottom: calc(var(--wp--preset--spacing--50) + clamp(20px, 3.5vw, 48px)) !important;
}

/* ===========================================================================
 * Footer
 * ======================================================================== */

.pt-site-footer {
	border-top: 2px solid var(--wp--custom--color--accent);
}

/* Four groups: 4 columns on desktop, 2 on tablet, 1 on phones. */
.pt-footer-grid {
	display: grid;
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.pt-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.pt-footer-grid {
		grid-template-columns: 1.3fr 1fr 1.4fr 1fr;
	}
}

.pt-footer-col > * + * {
	margin-top: var(--wp--preset--spacing--20);
}

.pt-footer-logo img {
	aspect-ratio: 601 / 149;
	height: auto;
	width: 180px;
}

.pt-footer-name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pt-footer-muted,
.pt-footer-list {
	color: var(--wp--custom--color--ink-muted);
}

.pt-site-footer .is-style-label {
	color: var(--wp--custom--color--ink-muted);
}

.pt-footer-list {
	list-style: none;
	padding-left: 0;
}

.pt-footer-list li + li {
	margin-top: 8px;
}

/* Footer links: off-white, orange on hover; long email/address wrap safely. */
.pt-footer-list a {
	color: var(--wp--custom--color--ink);
	overflow-wrap: anywhere;
	text-decoration: none;
}

.pt-footer-list a:hover {
	color: var(--wp--custom--color--accent-text);
	text-decoration: underline;
}

.pt-footer-contact li:nth-child(2) a {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--headline-md);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.pt-footer-facts li {
	color: var(--wp--custom--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pt-footer-bar {
	border-top: 1px solid var(--wp--custom--color--hairline);
	color: var(--wp--custom--color--ink-muted);
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--20);
}

/* ===========================================================================
 * WhatsApp: floating button (tablet/desktop) and call-bar icon (phones)
 * Black disc, off-white glyph, orange ring — the approved palette.
 * ======================================================================== */

.pt-whatsapp-float {
	align-items: center;
	background: var(--wp--preset--color--jet-black);
	border: 2px solid var(--wp--preset--color--platinum-orange);
	border-radius: 50%;
	bottom: 24px;
	color: var(--wp--preset--color--off-white);
	display: none;
	height: 56px;
	justify-content: center;
	position: fixed;
	right: 24px;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--pt-ease);
	width: 56px;
	z-index: 90;
}

.pt-whatsapp-float:hover {
	background: var(--wp--preset--color--platinum-orange);
	color: var(--wp--preset--color--jet-black);
	transform: translateY(-2px);
}

.pt-whatsapp-float:focus-visible {
	outline: 3px solid var(--wp--preset--color--off-white);
	outline-offset: 3px;
}

@media (min-width: 782px) {
	.pt-whatsapp-float {
		display: flex;
	}

	/* Keep the last footer row clear of the floating button. */
	.pt-footer-bar {
		padding-right: 88px;
	}
}

/* Service-area marker: Newnan first, Coweta County and surroundings second. */
.pt-place--region {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--h5--size);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.25;
	margin-top: 10px !important;
	text-transform: uppercase;
}

/* ===========================================================================
 * Contact page
 * ======================================================================== */

.pt-contact-lead {
	color: var(--wp--custom--color--ink-muted);
	max-width: 62ch;
}

.pt-contact-grid {
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}

.pt-contact-card {
	border: 1px solid var(--wp--custom--color--hairline);
	border-radius: var(--wp--custom--radius--md);
	border-top: 3px solid var(--wp--custom--color--accent);
	padding: var(--wp--preset--spacing--30);
}

.pt-contact-card > * + * {
	margin-top: var(--wp--preset--spacing--10);
}

.pt-contact-card .is-style-label {
	color: var(--wp--custom--color--ink-muted);
}

.pt-contact-card .pt-contact-card__title {
	/* H2 for correct heading order, styled as headline-md (upright). */
	font-size: var(--wp--preset--font-size--headline-md);
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.pt-contact-card__title a {
	color: var(--wp--custom--color--ink);
	text-decoration: none;
}

/* Email address: keep its real (lower) case and fit one line in a card. */
.pt-contact-card__title a[href^="mailto:"] {
	font-size: 17px;
	letter-spacing: 0.01em;
	text-transform: none;
}

.pt-contact-card__title a:hover {
	color: var(--wp--custom--color--accent-text);
	text-decoration: underline;
}

.pt-contact-card p:not(.is-style-label) {
	color: var(--wp--custom--color--ink-muted);
}

/* ===========================================================================
 * Scroll reveals (only while html.pt-js; theme.js adds .is-revealed once)
 * Uses the individual `translate` property so hover `transform` effects
 * keep their own timing.
 * ======================================================================== */

:is(.pt-section-head, .pt-service-card, .pt-step, .pt-locator, .pt-faq__list) {
	transition-property: opacity, translate, border-color, transform, background-color, box-shadow;
	transition-duration: 0.5s, 0.5s, 0.25s, 0.25s, 0.3s, 0.25s;
	transition-timing-function: ease-out, var(--pt-ease), ease, var(--pt-ease), ease, ease;
}

/* Fade in + 20px rise; Call buttons, the closing CTA and contact content are never hidden. */
.pt-js :is(.pt-section-head:not(.pt-hero .pt-section-head):not(:has(h1)), .pt-service-card, .pt-step, .pt-locator, .pt-faq__list):not(.is-revealed) {
	opacity: 0;
	translate: 0 20px;
}

/* Short stagger for cards and steps (80 ms apart; applies to the reveal only). */
.pt-card-grid > :nth-child(2),
.pt-steps > :nth-child(2),
.pt-locator {
	transition-delay: 0.08s, 0.08s, 0s, 0s, 0s, 0s;
}

.pt-card-grid > :nth-child(3),
.pt-steps > :nth-child(3) {
	transition-delay: 0.16s, 0.16s, 0s, 0s, 0s, 0s;
}

.pt-card-grid > :nth-child(4) {
	transition-delay: 0.24s, 0.24s, 0s, 0s, 0s, 0s;
}

/* ===========================================================================
 * Mobile call bar: fixed on small screens, hidden on wide screens
 * ======================================================================== */

.pt-call-bar {
	display: none;
}

@media (max-width: 781px) {
	.pt-site-header .pt-header-call {
		display: none;
	}

	/*
	 * Bar height and page bottom padding share --wp--custom--call-bar--height:
	 * 1px border + 8px + 48px button + 8px = 65px, plus the home-indicator area.
	 */
	.pt-call-bar {
		background: var(--wp--preset--color--jet-black);
		border-top: 1px solid var(--wp--custom--color--accent);
		bottom: 0;
		box-sizing: border-box;
		display: block;
		height: calc(var(--wp--custom--call-bar--height) + env(safe-area-inset-bottom));
		left: 0;
		padding: 8px var(--wp--preset--spacing--20) calc(8px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		z-index: 100;
	}

	.pt-call-bar .wp-block-button__link {
		min-height: 48px;
	}

	/* Call Now fills the bar; WhatsApp is a 48px icon button beside it. */
	.pt-call-bar .pt-call-bar__buttons {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.pt-call-bar .pt-call-bar__call {
		flex: 1 1 auto;
		min-width: 0;
	}

	.pt-call-bar .pt-call-bar__call .wp-block-button__link {
		align-items: center;
		display: flex;
		justify-content: center;
		white-space: nowrap;
		width: 100%;
	}

	.pt-call-bar .pt-call-bar__wa {
		flex: 0 0 48px;
	}

	/* Icon-only: the text stays in the DOM as the link's accessible name. */
	.pt-call-bar .pt-call-bar__wa .wp-block-button__link {
		background: var(--wp--preset--color--jet-black);
		border: 2px solid var(--wp--preset--color--platinum-orange);
		color: var(--wp--preset--color--off-white);
		font-size: 0;
		height: 48px;
		overflow: hidden;
		padding: 0;
		position: relative;
		width: 48px;
	}

	.pt-call-bar .pt-call-bar__wa .wp-block-button__link::before {
		background: currentColor;
		content: "";
		height: 24px;
		inset: 0;
		margin: auto;
		-webkit-mask: var(--pt-wa-icon) center / contain no-repeat;
		mask: var(--pt-wa-icon) center / contain no-repeat;
		position: absolute;
		width: 24px;
	}

	body {
		padding-bottom: calc(var(--wp--custom--call-bar--height) + env(safe-area-inset-bottom));
	}

	/* Keyboard focus never lands behind the call bar (WCAG 2.4.11). */
	html {
		scroll-padding-bottom: calc(var(--wp--custom--call-bar--height) + 16px);
	}

	.pt-step {
		border-left: 0;
		border-top: 1px solid var(--wp--custom--color--hairline);
		padding-left: 0;
		padding-top: var(--wp--preset--spacing--20);
	}
}

/* The editor canvas shows the bar in flow instead of fixed. */
.editor-styles-wrapper .pt-call-bar {
	display: block;
	position: static;
}

.editor-styles-wrapper {
	padding-bottom: 0;
}

/* ===========================================================================
 * Reduced motion: no movement anywhere.
 * ======================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.pt-service-card:hover,
	.pt-service-card:focus-within,
	.wp-block-button__link:hover {
		transform: none;
	}
}

/* Reduce the upper spacing of the Services section */
.pt-band-accent {
    padding-top: calc(var(--wp--preset--spacing--30) + var(--pt-cut)) !important;
}

/* Services section: reduce top spacing on EN and ES pages. */
#services.pt-section-gunmetal {
    padding-top: 24px !important;
}

/* Desktop homepage hero: consolidated EN/ES rules */
@media (min-width: 1024px) {
    .pt-hero {
        min-height: calc(100svh - 110px);
        box-sizing: border-box;
        display: block;
    }

    html[lang^="es"] .pt-hero {
        padding-top: 24px !important;
    }
}

/* Mobile call bar: prevent clipped text on narrow screens. */
@media (max-width: 389px) {
  .pt-call-bar .pt-call-bar__buttons {
    gap: 6px;
  }

  .pt-call-bar .pt-call-bar__call .wp-block-button__link {
    font-size: clamp(10px, 3.2vw, 12px);
    letter-spacing: 0;
    padding-inline: 4px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .pt-call-bar .pt-call-bar__wa {
    flex-basis: 44px;
  }

  .pt-call-bar .pt-call-bar__wa .wp-block-button__link {
    width: 44px;
    height: 48px;
  }
}

/* Mobile call bar: abbreviated label on narrow screens. */
.pt-call-bar__label-short {
  display: none;
}

@media (max-width: 389px) {
  .pt-call-bar__label-full {
    display: none;
  }

  .pt-call-bar__label-short {
    display: inline;
  }

  .pt-call-bar .pt-call-bar__call .wp-block-button__link {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding-inline: 8px;
  }
}

/* Responsive mobile call button labels */
.pt-call-bar__label-short {
    display: none;
}

@media (max-width: 781px) {
    .pt-call-bar__label-full {
        display: none;
    }

    .pt-call-bar__label-short {
        display: inline;
    }

    .pt-call-bar .pt-call-bar__call .wp-block-button__link {
        font-size: clamp(18px, 5.5vw, 24px);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: 0;
        padding: 10px 6px;
        white-space: nowrap;
    }
}

/* Mobile call bar: show only the appropriate label */
.pt-call-bar .pt-call-bar__label-full {
    display: inline;
}

.pt-call-bar .pt-call-bar__label-short {
    display: none;
}

@media (max-width: 781px) {
    .pt-call-bar .pt-call-bar__label-full {
        display: none !important;
    }

    .pt-call-bar .pt-call-bar__label-short {
        display: inline !important;
    }

    .pt-call-bar .pt-call-bar__call .wp-block-button__link {
        font-size: 18px !important;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: 0;
        white-space: nowrap;
        text-align: center;
    }
}

/* Mobile call bar — responsive fix for iPhone and Android */

@media (max-width: 781px) {

  .pt-call-bar .pt-call-bar__label-full {
    display: none !important;
  }

  .pt-call-bar .pt-call-bar__label-short {
    display: inline !important;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
  }

  .pt-call-bar .pt-call-bar__buttons {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .pt-call-bar .pt-call-bar__call {
    flex: 1 1 0;
    min-width: 0;
  }

  .pt-call-bar .pt-call-bar__call .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: clamp(17px, 5.5vw, 22px) !important;
    font-weight: 800 !important;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
    padding: 8px 4px;
    overflow: hidden;
  }

  .pt-call-bar .pt-call-bar__wa {
    flex: 0 0 48px;
    width: 48px;
  }
}

/* Contact page EN/ES: reduce space below navigation */
.pt-contact-page {
    padding-top: 32px !important;
}

@media (max-width: 781px) {
    .pt-contact-page {
        padding-top: 24px !important;
    }
}
