/* ==========================================================================
   Services listing page – conversion-focused layout
   ========================================================================== */

body.pws-services-page #content-wrapper.pws-services-page-content {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

/* Reuse about-page reveal if about CSS isn't loaded */
body.pws-services-page [data-pws-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

body.pws-services-page [data-pws-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	body.pws-services-page [data-pws-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.pws-btn-sm {
	padding: 10px 18px;
	font-size: 14px;
}

.pws-btn-block {
	display: inline-flex;
	width: 100%;
	justify-content: center;
	text-align: center;
}

/* ---- Intro ---- */
.pws-svc-intro {
	background:
		radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.09) 0%, transparent 40%),
		linear-gradient(180deg, #f8fbff 0%, var(--pws-white) 60%);
	padding-top: 56px;
	padding-bottom: 40px;
	overflow: hidden;
}

.pws-svc-intro-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
	gap: 40px 56px;
	align-items: center;
}

.pws-svc-intro-copy {
	max-width: 620px;
	min-width: 0;
}

.pws-svc-intro-copy h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	font-weight: 800;
	color: var(--pws-heading);
	margin: 0 0 16px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.pws-svc-intro-copy > p {
	font-size: 16px;
	line-height: 1.75;
	color: var(--pws-text);
	margin: 0 0 22px;
}

.pws-svc-intro-points {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.pws-svc-intro-points li {
	position: relative;
	padding: 0 0 12px 28px;
	font-size: 15px;
	font-weight: 500;
	color: var(--pws-heading);
	line-height: 1.5;
}

.pws-svc-intro-points li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pws-light);
	box-shadow: inset 0 0 0 2px var(--pws-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5L20 7' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
}

.pws-svc-intro-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.pws-svc-intro-panel {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	max-width: 360px;
	justify-self: end;
	align-self: center;
	box-sizing: border-box;
	background: var(--pws-white);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 24px 22px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	position: relative;
	overflow: hidden;
}

.pws-svc-intro-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--pws-primary), #38bdf8);
}

.pws-svc-intro-panel-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--pws-primary);
	margin: 0 0 12px;
}

.pws-svc-intro-panel h3 {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--pws-heading);
	margin: 0 0 10px;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.pws-svc-intro-panel > p:not(.pws-svc-intro-panel-price) {
	font-size: 14px;
	line-height: 1.65;
	color: var(--pws-text);
	margin: 0 0 20px;
}

.pws-svc-intro-panel-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 16px !important;
	padding: 14px 16px;
	background: var(--pws-light);
	border-radius: 10px;
}

.pws-svc-intro-panel-price span {
	font-size: 13px;
	color: #64748b;
	font-weight: 500;
}

.pws-svc-intro-panel-price strong {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--pws-heading);
	letter-spacing: -0.02em;
	line-height: 1;
}

.pws-svc-intro-panel .pws-btn-block {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
}

.pws-svc-phone-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
	width: 100%;
	box-sizing: border-box;
	font-size: 13px;
	font-weight: 600;
	color: var(--pws-heading);
	text-decoration: none;
	transition: color 0.2s;
	white-space: nowrap;
}

.pws-svc-phone-link:hover {
	color: var(--pws-primary);
}

/* ---- Stats ---- */
.pws-svc-stats {
	padding: 0 0 8px;
}

.pws-svc-stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding: 28px 32px;
	background: linear-gradient(135deg, var(--pws-navy) 0%, var(--pws-navy-mid) 100%);
	border-radius: 16px;
}

.pws-svc-stat {
	text-align: center;
	padding: 8px 12px;
}

.pws-svc-stat-num {
	display: block;
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 800;
	color: var(--pws-white);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-bottom: 6px;
}

.pws-svc-stat-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.4;
}

/* ---- Catalog ---- */
.pws-svc-catalog {
	background: #f4f7fc;
	padding-top: 64px;
	padding-bottom: 72px;
}

.pws-svc-catalog .pws-section-head {
	margin-bottom: 40px;
}

body.pws-services-page .pws-svc-catalog-grid,
.pws-svc-catalog-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 28px !important;
	row-gap: 28px !important;
	column-gap: 28px !important;
	grid-row-gap: 28px !important;
	grid-column-gap: 28px !important;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

body.pws-services-page .pws-svc-catalog-grid > .pws-svc-card,
.pws-svc-catalog-grid > .pws-svc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 100%;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 32px 28px 28px;
	background: #ffffff;
	border: 1px solid #dbe3ef;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

.pws-svc-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pws-primary), #60a5fa);
	opacity: 0;
	transition: opacity 0.25s;
}

.pws-svc-card:hover {
	transform: translateY(-6px);
	border-color: #bfdbfe;
	box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.pws-svc-card:hover::before {
	opacity: 1;
}

.pws-svc-card-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pws-primary);
	background: var(--pws-light);
	border-radius: 6px;
}

.pws-svc-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.pws-svc-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 100%);
	color: var(--pws-primary);
	flex-shrink: 0;
}

.pws-svc-card-price {
	text-align: right;
}

.pws-svc-card-price-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 2px;
}

.pws-svc-card-price strong {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--pws-heading);
	letter-spacing: -0.02em;
}

.pws-svc-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--pws-heading);
	margin: 0 0 12px;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.pws-svc-card-desc {
	font-size: 14px;
	line-height: 1.65;
	color: var(--pws-text);
	margin: 0 0 20px;
	flex: 0 0 auto;
}

.pws-svc-card-features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	flex: 1;
}

.pws-svc-card-features li {
	position: relative;
	padding: 0 0 10px 18px;
	font-size: 13px;
	line-height: 1.45;
	color: #334155;
}

.pws-svc-card-features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pws-primary);
}

.pws-svc-card-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: auto;
	padding-top: 4px;
}

/* ---- Process ---- */
.pws-svc-process {
	background:
		radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
		var(--pws-light);
}

.pws-svc-process .pws-section-head {
	margin-bottom: 40px;
}

.pws-svc-process-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	position: relative;
}

.pws-svc-process-list::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 8%;
	right: 8%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #93c5fd 15%, #93c5fd 85%, transparent);
	pointer-events: none;
}

.pws-svc-process-step {
	position: relative;
	z-index: 1;
	background: var(--pws-white);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px 20px 22px;
}

.pws-svc-process-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pws-primary), #1d4ed8);
	color: var(--pws-white);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.pws-svc-process-step h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--pws-heading);
	margin: 0 0 8px;
}

.pws-svc-process-step p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--pws-text);
	margin: 0;
}

/* ---- Benefits ---- */
.pws-svc-benefits {
	background: var(--pws-white);
}

.pws-svc-benefits .pws-section-head {
	margin-bottom: 36px;
}

.pws-svc-benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.pws-svc-benefit {
	padding: 26px 22px;
	background: linear-gradient(180deg, #f8fbff 0%, var(--pws-white) 100%);
	border: 1px solid #e8eef8;
	border-radius: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.pws-svc-benefit:hover {
	border-color: #bfdbfe;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.pws-svc-benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--pws-light);
	color: var(--pws-primary);
}

.pws-svc-benefit h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--pws-heading);
	margin: 0 0 8px;
}

.pws-svc-benefit p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--pws-text);
	margin: 0;
}

/* ---- FAQ ---- */
.pws-svc-faq {
	background: var(--pws-light);
	padding-bottom: 72px;
}

.pws-svc-faq-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: start;
}

.pws-svc-faq-intro h2 {
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	font-weight: 800;
	color: var(--pws-heading);
	margin: 10px 0 14px;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

.pws-svc-faq-intro p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--pws-text);
	margin: 0 0 22px;
	max-width: 380px;
}

.pws-svc-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pws-svc-faq-item {
	background: var(--pws-white);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 0 20px;
	transition: border-color 0.2s;
}

.pws-svc-faq-item[open] {
	border-color: #bfdbfe;
}

.pws-svc-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 28px 18px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--pws-heading);
	position: relative;
	line-height: 1.4;
}

.pws-svc-faq-item summary::-webkit-details-marker {
	display: none;
}

.pws-svc-faq-item summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--pws-primary);
	line-height: 1;
}

.pws-svc-faq-item[open] summary::after {
	content: '−';
}

.pws-svc-faq-item p {
	margin: 0 0 18px;
	padding-right: 24px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--pws-text);
}

/* ---- Team tweak ---- */
.pws-svc-team .pws-section-head .pws-eyebrow {
	display: block;
	margin-bottom: 10px;
}

/* ---- Closing CTA ---- */
.pws-svc-cta {
	position: relative;
	padding: 72px 0 88px;
	background:
		radial-gradient(circle at 18% 40%, rgba(37, 99, 235, 0.35) 0%, transparent 42%),
		radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 40%),
		linear-gradient(135deg, var(--pws-navy) 0%, #0a1628 55%, var(--pws-navy-mid) 100%);
	overflow: hidden;
}

.pws-svc-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
	mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

.pws-svc-cta-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.pws-svc-cta-copy {
	max-width: 560px;
}

.pws-svc-cta .pws-eyebrow-light {
	color: #93c5fd;
}

.pws-svc-cta h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--pws-white);
	margin: 10px 0 14px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.pws-svc-cta p {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

.pws-svc-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.pws-svc-cta a.pws-btn-hero-ghost,
.pws-svc-cta a.pws-btn-hero-ghost:link,
.pws-svc-cta a.pws-btn-hero-ghost:visited,
.pws-svc-cta .pws-btn-hero-ghost {
	border-color: rgba(255, 255, 255, 0.4);
	color: var(--pws-white);
	background: transparent;
}

.pws-svc-cta a.pws-btn-hero-ghost:hover,
.pws-svc-cta .pws-btn-hero-ghost:hover {
	border-color: var(--pws-white);
	background: rgba(255, 255, 255, 0.1);
	color: var(--pws-white);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	body.pws-services-page .pws-svc-catalog-grid,
	.pws-svc-catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px !important;
	}

	.pws-svc-process-list,
	.pws-svc-benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pws-svc-process-list::before {
		display: none;
	}
}

@media (max-width: 900px) {
	.pws-svc-intro-inner,
	.pws-svc-faq-inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.pws-svc-intro-panel {
		max-width: 400px;
		justify-self: start;
		width: 100%;
	}

	.pws-svc-stats-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px 12px;
		padding: 24px 20px;
	}

	.pws-svc-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.pws-svc-intro {
		padding-top: 36px;
	}

	body.pws-services-page .pws-svc-catalog-grid,
	.pws-svc-catalog-grid,
	.pws-svc-process-list,
	.pws-svc-benefits-grid,
	.pws-svc-stats-row {
		grid-template-columns: 1fr !important;
	}

	body.pws-services-page .pws-svc-catalog-grid,
	.pws-svc-catalog-grid {
		gap: 20px !important;
	}

	.pws-svc-intro-actions,
	.pws-svc-cta-actions,
	.pws-svc-card-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.pws-svc-card-actions .pws-btn {
		width: 100%;
		justify-content: center;
	}
}
