/**
 * PRO trade page (templates/page-pro.html) — styles scoped to .wow-pro-page
 * so nothing here can leak onto/collide with the rest of the site. Loaded
 * conditionally (see functions.php, is_page('pro')) — never sitewide.
 *
 * Reuses the theme's existing design tokens (theme.json color/font presets,
 * already-self-hosted Josefin Sans) rather than redeclaring its own — this
 * page is a normal part of the site, sharing header/footer/fonts, not a
 * standalone document.
 */

.wow-pro-page {
	--wow-pro-line: #e8e4dd;
	--wow-pro-bg: #faf9f7;
}

.wow-pro-page * {
	box-sizing: border-box;
}

.wow-pro-page img {
	max-width: 100%;
	display: block;
}

/* ── Hero — sits under the floating header via body.wow-has-hero (see
     functions.php: is_page('pro') added to that same body-class filter as
     shop/product pages), so no separate topbar/logo needed here. ── */
.wow-pro-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	background: #000 url('https://wheelsonwalls.shop/wp-content/uploads/2026/07/PRO-BANNER.webp') center / cover no-repeat;
}

.wow-pro-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.78) 100%);
}

.wow-pro-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0 32px 90px;
	max-width: 1280px;
	margin: 0 auto;
	color: #fff;
}

.wow-pro-hero__eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: rgba(255,255,255,0.7);
	margin: 0 0 18px;
}

.wow-pro-hero__title {
	font-size: clamp(30px, 4.6vw, 60px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.5px;
	margin: 0 0 22px;
	max-width: 800px;
}

.wow-pro-hero__desc {
	font-size: clamp(15px, 1.6vw, 19px);
	font-weight: 300;
	color: rgba(255,255,255,0.85);
	max-width: 560px;
	margin: 0 0 36px;
}

.wow-pro-hero__ctas {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* ── Buttons ── */
.wow-pro-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 30px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wow-pro-btn--light {
	background: #fff;
	color: var(--wp--preset--color--text);
}

.wow-pro-btn--light:hover {
	background: var(--wp--preset--color--accent);
	color: #fff;
	transform: translateY(-2px);
}

.wow-pro-btn--outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.6);
}

.wow-pro-btn--outline:hover {
	background: rgba(255,255,255,0.12);
	transform: translateY(-2px);
}

.wow-pro-btn--dark {
	background: var(--wp--preset--color--black);
	color: #fff;
	border: none;
}

.wow-pro-btn--dark:hover {
	background: var(--wp--preset--color--accent);
	transform: translateY(-2px);
}

/* ── Stats bar ── */
.wow-pro-stats {
	padding: 90px 32px;
	background: #fff;
}

.wow-pro-stats__grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.wow-pro-stat__num {
	font-family: var(--wp--preset--font-family--josefin);
	font-size: clamp(30px, 3.4vw, 52px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -1px;
	color: var(--wp--preset--color--accent);
	margin: 0 0 12px;
}

.wow-pro-stat__label {
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp--preset--color--grey);
}

/* ── 50/50 split sections ── */
.wow-pro-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 88vh;
}

.wow-pro-split__media {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 420px;
}

.wow-pro-split__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 90px 80px;
	background: #fff;
}

.wow-pro-split--reverse {
	direction: rtl;
}

.wow-pro-split--reverse > * {
	direction: ltr;
}

.wow-pro-eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--wp--preset--color--accent);
	margin: 0 0 18px;
}

.wow-pro-split__title {
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.1;
	margin: 0 0 24px;
	color: var(--wp--preset--color--black);
}

.wow-pro-split__body {
	font-size: 16px;
	font-weight: 300;
	color: var(--wp--preset--color--grey);
	max-width: 480px;
	margin: 0 0 32px;
}

.wow-pro-paths {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 36px;
	max-width: 480px;
}

.wow-pro-path {
	border: 1px solid var(--wow-pro-line);
	border-radius: 14px;
	padding: 22px 24px;
	background: #fff;
}

.wow-pro-path__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--wp--preset--color--black);
	margin: 0 0 8px;
}

.wow-pro-path__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	flex-shrink: 0;
	display: inline-block;
}

.wow-pro-path__desc {
	font-size: 14px;
	font-weight: 300;
	color: var(--wp--preset--color--grey);
	margin: 0;
}

.wow-pro-venues {
	margin: 0 0 36px;
	max-width: 480px;
	padding: 20px 24px;
	border-left: 2px solid var(--wp--preset--color--accent);
}

.wow-pro-venues__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp--preset--color--grey);
	margin: 0 0 10px;
}

.wow-pro-venues__list {
	font-size: 17px;
	font-weight: 400;
	color: var(--wp--preset--color--black);
	line-height: 1.6;
	margin: 0;
}

.wow-pro-designer-list {
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.wow-pro-designer-list li {
	display: flex;
	gap: 14px;
	font-size: 15px;
	font-weight: 300;
	color: var(--wp--preset--color--grey);
}

.wow-pro-designer-list strong {
	font-weight: 700;
	color: var(--wp--preset--color--black);
	white-space: nowrap;
}

/* ── Contact ── */
.wow-pro-contact {
	padding: 130px 32px;
	text-align: center;
	background: #fff;
}

.wow-pro-contact__eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--wp--preset--color--accent);
	margin: 0 0 18px;
}

.wow-pro-contact__title {
	font-size: clamp(28px, 3.6vw, 52px);
	font-weight: 700;
	letter-spacing: -1px;
	max-width: 720px;
	margin: 0 auto 24px;
	color: var(--wp--preset--color--black);
}

.wow-pro-contact__desc {
	font-size: 16px;
	font-weight: 300;
	color: var(--wp--preset--color--grey);
	max-width: 480px;
	margin: 0 auto 40px;
}

.wow-pro-contact__email {
	font-size: clamp(20px, 2.8vw, 32px);
	font-weight: 700;
	color: var(--wp--preset--color--black);
	text-decoration: none;
	border-bottom: 2px solid var(--wp--preset--color--accent);
	padding-bottom: 4px;
}

/* ── Scroll reveal ── */
.wow-pro-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.wow-pro-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
	/* Full 100vh reads as a wasted, mostly-empty screen on mobile once the
	   floating header eats into it too — 70vh keeps enough presence without
	   pushing the rest of the page a full screen-height down. Spacing
	   tightened to match the shorter box (smaller side padding, less gap
	   between eyebrow/title/desc) so the content doesn't feel cramped
	   against the bottom edge. */
	.wow-pro-hero {
		min-height: 70vh;
	}

	.wow-pro-hero__content {
		padding: 0 20px 48px;
	}

	.wow-pro-hero__eyebrow {
		margin-bottom: 12px;
	}

	.wow-pro-hero__title {
		margin-bottom: 16px;
	}

	.wow-pro-hero__desc {
		margin-bottom: 24px;
	}

	/* Both CTAs stay on one row — flex:1 splits the width evenly between
	   them instead of wrapping to two rows like the desktop flex-wrap:wrap
	   does once "For Retailers" + "For Designers" don't both fit. */
	.wow-pro-hero__ctas {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.wow-pro-hero__ctas .wow-pro-btn {
		flex: 1;
		justify-content: center;
		padding: 13px 10px;
		font-size: 11px;
		letter-spacing: 0.5px;
		white-space: nowrap;
	}

	.wow-pro-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
	.wow-pro-split,
	.wow-pro-split--reverse { grid-template-columns: 1fr; direction: ltr; }
	.wow-pro-split__media { min-height: 300px; order: -1; }
	.wow-pro-split__text { padding: 56px 28px; }
}
