/**
 * Pure Haven IT — Premium brand layer (v1.4.0)
 * Stronger hierarchy, cards, surfaces, and section rhythm.
 * Brand colours and font families unchanged.
 */

/* --------------------------------------------------------------------------
   Trust strip — elevated stat cards
   -------------------------------------------------------------------------- */
.ph-trust-strip {
	background: linear-gradient(180deg, var(--ph-color-white) 0%, var(--ph-color-surface) 100%);
}

.ph-trust-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: var(--ph-space-lg) var(--ph-space-md);
	background: var(--ph-color-white);
	border: 1px solid var(--ph-color-grey-border);
	border-radius: var(--ph-radius-xl);
	box-shadow: var(--ph-shadow-sm);
	transition: transform var(--ph-transition-base), box-shadow var(--ph-transition-base), border-color var(--ph-transition-base);
}

.ph-trust-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ph-shadow-md);
	border-color: rgba(0, 180, 166, 0.35);
}

.ph-trust-card__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--ph-radius-md);
	margin-bottom: var(--ph-space-md);
	background: var(--ph-color-success-teal-light);
	position: relative;
}

.ph-trust-card__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: var(--ph-color-accent);
}

.ph-trust-card__icon--blue {
	background: var(--ph-color-electric-blue-light);
}

.ph-trust-card__icon--blue::after {
	background: var(--ph-color-primary);
}

.ph-trust-card__icon--industries {
	background: linear-gradient(135deg, var(--ph-color-electric-blue-light), var(--ph-color-success-teal-light));
}

.ph-trust-card__icon--pathways {
	background: var(--ph-color-vibrant-orange-light);
}

.ph-trust-card__icon--pathways::after {
	background: var(--ph-color-secondary);
}

/* --------------------------------------------------------------------------
   Hero capability panel
   -------------------------------------------------------------------------- */
.ph-hero-capability-panel {
	min-height: 360px;
	padding: var(--ph-space-xl);
}

.ph-hero-capability-list li {
	font-size: 15px;
	font-weight: 500;
}

.ph-hero__visual--stack {
	position: relative;
	min-height: 360px;
}

/* --------------------------------------------------------------------------
   Feature cards — why choose us
   -------------------------------------------------------------------------- */
.ph-feature-card {
	background: var(--ph-color-white);
	border: 1px solid var(--ph-color-grey-border);
	border-radius: var(--ph-radius-xl);
	padding: var(--ph-space-xl);
	box-shadow: var(--ph-shadow-sm);
	transition: transform var(--ph-transition-base), box-shadow var(--ph-transition-base), border-color var(--ph-transition-base);
}

.ph-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ph-shadow-lg);
}

.ph-feature-card--teal {
	border-top: 3px solid var(--ph-color-accent);
}

.ph-feature-card--blue {
	border-top: 3px solid var(--ph-color-primary);
}

.ph-feature-card__icon {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: var(--ph-radius-md);
	margin-bottom: var(--ph-space-md);
	position: relative;
}

.ph-feature-card--teal .ph-feature-card__icon {
	background: var(--ph-color-success-teal-light);
}

.ph-feature-card--blue .ph-feature-card__icon {
	background: var(--ph-color-electric-blue-light);
}

.ph-feature-card__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: var(--ph-color-accent);
}

.ph-feature-card--blue .ph-feature-card__icon::after {
	background: var(--ph-color-primary);
}

.ph-feature-card p {
	margin: 0;
	color: var(--ph-color-text-muted);
	font-size: 15px;
	line-height: var(--ph-line-height-body);
}

.ph-feature-card-grid {
	align-items: stretch;
}

/* --------------------------------------------------------------------------
   Employers band — surface glass panel
   -------------------------------------------------------------------------- */
.ph-glass-panel--surface {
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--ph-color-grey-border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: var(--ph-shadow-lg);
	min-height: 320px;
	padding: var(--ph-space-xl);
}

.ph-glass-panel--surface .ph-glass-panel__label {
	color: var(--ph-color-accent);
}

.ph-glass-panel--surface .ph-glass-panel__list li {
	color: var(--ph-color-navy);
	border-bottom-color: var(--ph-color-grey-border);
	font-family: var(--ph-font-body);
}

.ph-glass-panel--surface .ph-glass-panel__orb {
	opacity: 0.25;
}

/* --------------------------------------------------------------------------
   Preview tiles — sector markers
   -------------------------------------------------------------------------- */
.ph-preview-tile {
	position: relative;
	padding-top: calc(var(--ph-space-lg) + 6px);
}

.ph-preview-tile::before {
	content: "";
	position: absolute;
	top: var(--ph-space-lg);
	left: var(--ph-space-lg);
	width: 32px;
	height: 3px;
	border-radius: 2px;
	background: var(--ph-color-accent);
}

.ph-preview-tile .ph-h3 {
	font-size: 1.125rem;
}

.ph-preview-tile p {
	color: var(--ph-color-text-muted);
	font-size: 15px;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Service cards — icon badges
   -------------------------------------------------------------------------- */
.ph-card--service .ph-service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--ph-radius-md);
	margin-bottom: var(--ph-space-md);
	font-family: var(--ph-font-heading);
	font-weight: 700;
	font-size: 13px;
	color: var(--ph-color-primary);
	background: var(--ph-color-electric-blue-light);
}

.ph-card--service:nth-child(2) .ph-service-icon {
	color: var(--ph-color-accent);
	background: var(--ph-color-success-teal-light);
}

.ph-card--service:nth-child(3) .ph-service-icon {
	color: var(--ph-color-secondary);
	background: var(--ph-color-vibrant-orange-light);
}

.ph-card--service:nth-child(4) .ph-service-icon {
	color: var(--ph-color-navy);
	background: var(--ph-color-surface);
	border: 1px solid var(--ph-color-grey-border);
}

.ph-card--service p {
	color: var(--ph-color-text-muted);
	margin: 0 0 var(--ph-space-md);
}

/* --------------------------------------------------------------------------
   Page heroes — premium accent bar
   -------------------------------------------------------------------------- */
.ph-page-hero--light,
.ph-page-hero--surface {
	position: relative;
	overflow: hidden;
}

.ph-page-hero--light::before,
.ph-page-hero--surface::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--ph-color-primary) 0%, var(--ph-color-accent) 50%, var(--ph-color-secondary) 100%);
}

.ph-page-hero--light .ph-page-hero__title,
.ph-page-hero--surface .ph-page-hero__title {
	font-family: var(--ph-font-heading);
	color: var(--ph-color-navy);
}

.ph-page-hero--light .ph-page-hero__subtitle,
.ph-page-hero--surface .ph-page-hero__subtitle {
	font-family: var(--ph-font-body);
	color: var(--ph-color-text-muted);
}

/* --------------------------------------------------------------------------
   Testimonial / referral band
   -------------------------------------------------------------------------- */
.ph-card--quote {
	border-left: 4px solid var(--ph-color-accent);
}

.ph-card--quote .ph-quote {
	color: var(--ph-color-charcoal);
	font-family: var(--ph-font-body);
}

.ph-card--referral {
	background: linear-gradient(145deg, var(--ph-color-white) 0%, var(--ph-color-surface) 100%);
}

/* --------------------------------------------------------------------------
   Final CTA — depth
   -------------------------------------------------------------------------- */
.ph-final-cta {
	position: relative;
	overflow: hidden;
}

.ph-final-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 45%),
		radial-gradient(circle at 85% 30%, rgba(0, 180, 166, 0.15) 0%, transparent 40%);
	pointer-events: none;
}

.ph-final-cta .ph-container {
	position: relative;
	z-index: 1;
}

.ph-final-cta .ph-text-inverse-muted {
	max-width: 560px;
	margin: var(--ph-space-md) auto var(--ph-space-xl);
}

/* --------------------------------------------------------------------------
   Section rhythm — alternating depth
   -------------------------------------------------------------------------- */
.ph-home .ph-band--white + .ph-band--surface,
.ph-home .ph-band--surface + .ph-band--white {
	box-shadow: inset 0 1px 0 var(--ph-color-grey-border);
}

.ph-page-shell .ph-page-section,
.ph-page-shell > .ph-band {
	padding: var(--ph-section-padding) 0;
}

/* --------------------------------------------------------------------------
   Showcase pages
   -------------------------------------------------------------------------- */
.ph-showcase-card {
	background: var(--ph-color-white);
	border: 1px solid var(--ph-color-grey-border);
	border-radius: var(--ph-radius-xl);
	padding: var(--ph-space-lg);
	box-shadow: var(--ph-shadow-sm);
	transition: transform var(--ph-transition-base), box-shadow var(--ph-transition-base);
}

.ph-showcase-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ph-shadow-md);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.ph-hero__visual--stack {
		order: -1;
		min-height: 280px;
	}

	.ph-hero-capability-panel {
		min-height: 280px;
	}
}

@media (max-width: 768px) {
	.ph-trust-strip__grid--4 {
		grid-template-columns: 1fr;
	}

	.ph-feature-card-grid.ph-card-grid--3 {
		grid-template-columns: 1fr;
	}
}

