/* ==========================================================================
   PDX Lawn Care / Royal Works — Redesign Layer
   Enqueued on top of the-landscaper theme. Does not modify theme files.
   ========================================================================== */

:root {
	--pdx-green-900: #0B3D2E;
	--pdx-green-700: #146C43;
	--pdx-green-600: #187C4D;
	--pdx-green-500: #1E9B5D;
	--pdx-lime-400: #B7EB3D;
	--pdx-lime-300: #D3F27A;
	--pdx-orange-500: #FF6B35;
	--pdx-orange-600: #E8511C;
	--pdx-cream-50: #FBF8F1;
	--pdx-cream-100: #F3EEDF;
	--pdx-charcoal-900: #1B211D;
	--pdx-charcoal-600: #4B564E;
	--pdx-white: #FFFFFF;
	--pdx-shadow: 0 10px 30px rgba(11, 61, 46, 0.14);
	--pdx-shadow-lg: 0 20px 45px rgba(11, 61, 46, 0.22);
	--pdx-radius: 16px;
}

body {
	background-color: var(--pdx-cream-50) !important;
	color: var(--pdx-charcoal-900) !important;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 800 !important;
	letter-spacing: -0.01em;
	color: var(--pdx-green-900);
}

/* ---------- Top bar / header ---------- */
.topbar {
	background-color: var(--pdx-green-900) !important;
}

.navigation {
	background-color: var(--pdx-white) !important;
	transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.main-navigation {
	background-color: var(--pdx-green-900) !important;
}

.main-navigation li a {
	transition: color 0.25s ease;
}

.main-navigation > li > a::before {
	background-color: var(--pdx-lime-400) !important;
	height: 3px !important;
}

.main-navigation > li:hover > a,
.main-navigation > li.current-menu-item > a {
	color: var(--pdx-lime-400) !important;
}

.navigation.pdx-scrolled {
	box-shadow: var(--pdx-shadow);
}

.navigation.pdx-scrolled .header .navbar-brand img {
	max-height: 46px;
	width: auto;
	transition: max-height 0.25s ease;
}

/* ---------- Page header / hero banner ---------- */
.page-header {
	position: relative;
	background: linear-gradient(120deg, var(--pdx-green-900) 0%, var(--pdx-green-700) 55%, var(--pdx-green-600) 100%) !important;
	overflow: hidden;
	padding: 70px 0 !important;
}

.page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 15% 20%, rgba(183, 235, 61, 0.16) 0, transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(255, 107, 53, 0.18) 0, transparent 45%);
	pointer-events: none;
}

.page-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--pdx-lime-400), var(--pdx-orange-500));
}

.page-header .container {
	position: relative;
	z-index: 1;
}

.page-header .main-title {
	color: var(--pdx-white) !important;
	font-size: clamp(2.1rem, 4vw, 3rem) !important;
	position: relative;
	display: inline-block;
}

.page-header .sub-title {
	color: var(--pdx-lime-300) !important;
}

.breadcrumbs {
	background-color: var(--pdx-cream-100) !important;
}

/* ---------- Buttons ---------- */
.btn, button, input[type="submit"], .wpcf7-submit,
a.btn-primary, .btn-primary {
	background: var(--pdx-orange-500) !important;
	border-color: var(--pdx-orange-500) !important;
	color: var(--pdx-white) !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: 999px !important;
	padding: 14px 32px !important;
	box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

.btn:hover, button:hover, input[type="submit"]:hover, .wpcf7-submit:hover,
a.btn-primary:hover, .btn-primary:hover {
	background: var(--pdx-orange-600) !important;
	border-color: var(--pdx-orange-600) !important;
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 14px 28px rgba(232, 81, 28, 0.4);
}

.btn:active, button:active {
	transform: translateY(-1px) scale(1.0);
}

/* ---------- Feature / service cards (widget_qt_feature_page) ---------- */
.widget-featured-page,
.qt-feature-page,
.widget_qt_feature_page .feature-page-item,
.widget_qt_feature_page {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: var(--pdx-radius) !important;
	overflow: hidden;
}

.widget_qt_feature_page img {
	transition: transform 0.5s ease;
}

.widget_qt_feature_page:hover {
	transform: translateY(-8px);
	box-shadow: var(--pdx-shadow-lg);
}

.widget_qt_feature_page:hover img {
	transform: scale(1.08);
}

/* ---------- Testimonials ---------- */
.widget_qt_testimonials .testimonial,
.testimonials .testimonial {
	background: var(--pdx-white);
	border-radius: var(--pdx-radius);
	box-shadow: var(--pdx-shadow);
	border-left: 4px solid var(--pdx-lime-400);
}

/* ---------- Footer ---------- */
.main-footer {
	background-color: var(--pdx-green-900) !important;
}

.bottom-footer {
	background-color: #08281E !important;
}

.main-footer .widget-title {
	color: var(--pdx-lime-400) !important;
}

.main-footer a:hover {
	color: var(--pdx-lime-400) !important;
}

/* ==========================================================================
   Custom components used on rebuilt service / city pages
   ========================================================================== */

.pdx-page-wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 992px) {
	.pdx-page-wrap.has-sidebar {
		grid-template-columns: 2fr 1fr;
		align-items: start;
	}
}

.pdx-intro p {
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--pdx-charcoal-600);
}

.pdx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--pdx-green-700);
	margin-bottom: 10px;
}

.pdx-eyebrow::before {
	content: "";
	width: 22px;
	height: 3px;
	background: var(--pdx-orange-500);
	border-radius: 2px;
}

/* Tag pills (services offered / cities served) */
.pdx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 28px;
	list-style: none;
	padding: 0;
}

.pdx-tags li {
	background: var(--pdx-white);
	border: 1px solid rgba(20, 108, 67, 0.18);
	color: var(--pdx-green-700);
	font-weight: 600;
	font-size: 0.88rem;
	padding: 8px 16px;
	border-radius: 999px;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pdx-tags li:hover {
	background: var(--pdx-green-700);
	color: var(--pdx-white);
	transform: translateY(-2px);
}

/* FAQ accordion */
.pdx-faq {
	margin-top: 12px;
	border-top: 1px solid rgba(20, 108, 67, 0.14);
}

.pdx-faq-item {
	border-bottom: 1px solid rgba(20, 108, 67, 0.14);
}

.pdx-faq-question {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 20px 0;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--pdx-green-900);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	border-radius: 0 !important;
}

.pdx-faq-question:hover {
	color: var(--pdx-orange-500) !important;
	background: none !important;
	transform: none !important;
	box-shadow: none !important;
}

.pdx-faq-icon {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--pdx-lime-400);
	color: var(--pdx-green-900);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	transition: transform 0.3s ease;
}

.pdx-faq-item.is-open .pdx-faq-icon {
	transform: rotate(45deg);
}

.pdx-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	color: var(--pdx-charcoal-600);
	line-height: 1.7;
}

.pdx-faq-item.is-open .pdx-faq-answer {
	padding-bottom: 20px;
}

/* Sticky CTA sidebar card */
.pdx-sticky-card {
	position: sticky;
	top: 110px;
	background: var(--pdx-green-900);
	color: var(--pdx-white);
	border-radius: var(--pdx-radius);
	padding: 32px 26px;
	box-shadow: var(--pdx-shadow-lg);
	text-align: center;
}

.pdx-sticky-card h3 {
	color: var(--pdx-white) !important;
	font-size: 1.3rem !important;
	margin-bottom: 10px;
}

.pdx-sticky-card p {
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.pdx-sticky-card .btn {
	width: 100%;
	display: block;
}

.pdx-sticky-card .pdx-phone {
	display: block;
	margin-top: 16px;
	color: var(--pdx-lime-400);
	font-weight: 800;
	font-size: 1.2rem;
	text-decoration: none;
}

/* Stat strip */
.pdx-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 32px 0;
}

.pdx-stat {
	background: var(--pdx-white);
	border-radius: var(--pdx-radius);
	box-shadow: var(--pdx-shadow);
	padding: 24px 12px;
	text-align: center;
}

.pdx-stat-number {
	font-size: 2.2rem;
	font-weight: 900;
	color: var(--pdx-orange-500);
	line-height: 1;
	display: block;
}

.pdx-stat-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--pdx-green-700);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 8px;
	display: block;
}

@media (max-width: 767px) {
	.pdx-stats { grid-template-columns: 1fr; }
}

/* City / service card grid (Service Areas page) */
.pdx-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
	margin-top: 24px;
}

.pdx-card {
	position: relative;
	background: var(--pdx-white);
	border-radius: var(--pdx-radius);
	padding: 28px 22px;
	box-shadow: var(--pdx-shadow);
	text-decoration: none !important;
	display: block;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-top: 4px solid var(--pdx-green-600);
}

.pdx-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--pdx-shadow-lg);
	border-top-color: var(--pdx-orange-500);
}

.pdx-card-title {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--pdx-green-900);
	margin-bottom: 6px;
	display: block;
}

.pdx-card-cta {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--pdx-orange-500);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pdx-card:hover .pdx-card-cta {
	gap: 10px;
}

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

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

/* ---------- Floating persistent CTA ---------- */
.pdx-float-cta {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9999;
	background: var(--pdx-orange-500);
	color: var(--pdx-white) !important;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.85rem;
	padding: 16px 22px;
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(232, 81, 28, 0.45);
	text-decoration: none !important;
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.pdx-float-cta.is-shown {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.pdx-float-cta:hover {
	background: var(--pdx-orange-600);
	color: var(--pdx-white) !important;
}

.pdx-float-cta .pdx-pulse {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--pdx-lime-400);
	animation: pdx-pulse 1.6s infinite;
}

@keyframes pdx-pulse {
	0% { box-shadow: 0 0 0 0 rgba(183, 235, 61, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(183, 235, 61, 0); }
	100% { box-shadow: 0 0 0 0 rgba(183, 235, 61, 0); }
}

@media (max-width: 600px) {
	.pdx-float-cta span.pdx-cta-text { display: none; }
	.pdx-float-cta { padding: 16px; }
}
