/**
 * Pure Haven IT — Premium surface system (white-background refinement)
 * Uses existing brand tokens only. No new colours or font families.
 */

/* --------------------------------------------------------------------------
   Section bands — alternate rhythm on white site
   -------------------------------------------------------------------------- */
.ph-band {
	padding: var(--ph-section-padding) 0;
}

.ph-band--white {
	background: var(--ph-color-white);
}

.ph-band--surface {
	background: var(--ph-color-surface);
}

.ph-band--navy {
	background: var(--ph-color-navy);
	color: var(--ph-color-text-inverse);
}

.ph-band--bordered {
	border-top: 1px solid var(--ph-color-grey-border);
	border-bottom: 1px solid var(--ph-color-grey-border);
}

.ph-band--compact {
	padding: 40px 0;
}

/* Section intro block — centred premium header */
.ph-section-intro {
	max-width: 720px;
	margin-bottom: var(--ph-space-2xl);
}

.ph-section-intro--center {
	margin-inline: auto;
	text-align: center;
}

.ph-section-intro .ph-section-header__text {
	margin-top: var(--ph-space-md);
}

/* --------------------------------------------------------------------------
   Eyebrow — teal accent label (existing token)
   -------------------------------------------------------------------------- */
.ph-eyebrow,
.ph-section-header__eyebrow {
	display: block;
	font-family: var(--ph-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ph-color-primary);
	margin: 0 0 12px;
}

/* --------------------------------------------------------------------------
   Cards — elevation tiers (white on white)
   -------------------------------------------------------------------------- */
.ph-surface-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-surface-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ph-shadow-lg);
	border-color: rgba(0, 180, 166, 0.35);
}

.ph-surface-card--flat {
	box-shadow: none;
}

.ph-surface-card--flat:hover {
	box-shadow: var(--ph-shadow-md);
}

.ph-surface-card--highlight {
	border-top: 3px solid var(--ph-color-accent);
	padding-top: calc(var(--ph-space-xl) - 2px);
}

.ph-surface-card__marker {
	display: block;
	width: 28px;
	height: 3px;
	background: var(--ph-color-accent);
	border-radius: 2px;
	margin-bottom: var(--ph-space-md);
}

.ph-surface-card__marker--blue {
	background: var(--ph-color-primary);
}

.ph-surface-card__marker--orange {
	background: var(--ph-color-secondary);
}

/* --------------------------------------------------------------------------
   Icon list row — 3D badge buttons (job seeker benefits)
   -------------------------------------------------------------------------- */
.ph-job-seekers-benefits .ph-feature-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.15rem 1.25rem;
	border-bottom: none;
	min-height: 100%;
}

.ph-job-seekers-benefits .ph-feature-row__text {
	font-family: 'Inter', var(--ph-font-body), sans-serif;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #000000;
}

.ph-feature-row {
	display: flex;
	align-items: flex-start;
	gap: var(--ph-space-md);
	padding: var(--ph-space-md) 0;
	border-bottom: 1px solid var(--ph-color-grey-border);
}

.ph-feature-row:last-child {
	border-bottom: none;
}

.ph-feature-row__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	font-family: 'Montserrat', var(--ph-font-heading), sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	color: #FFFFFF;
	background: linear-gradient(145deg, #00B4A6 0%, #008f84 100%);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow:
		0 8px 20px rgba(0, 180, 166, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -2px 0 rgba(0, 0, 0, 0.12);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.ph-feature-row__icon::after {
	display: none;
	content: none;
}

.ph-feature-row__icon--teal {
	background: linear-gradient(145deg, #00B4A6 0%, #008f84 100%);
	box-shadow:
		0 8px 20px rgba(0, 180, 166, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.ph-feature-row__icon--blue,
.ph-feature-row__icon--blue.ph-feature-row__icon {
	background: linear-gradient(145deg, #0066FF 0%, #0052CC 100%);
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow:
		0 8px 20px rgba(0, 102, 255, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.32),
		inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}

.ph-job-seekers-benefits .ph-feature-row:hover .ph-feature-row__icon {
	transform: translateY(-2px) scale(1.04);
}

.ph-job-seekers-benefits .ph-feature-row:hover .ph-feature-row__icon--teal {
	box-shadow:
		0 12px 26px rgba(0, 180, 166, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.4),
		inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.ph-job-seekers-benefits .ph-feature-row:hover .ph-feature-row__icon--blue {
	box-shadow:
		0 12px 26px rgba(0, 102, 255, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.38),
		inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}

body.ph-body .ph-job-seekers-benefits span.ph-feature-row__icon {
	color: #FFFFFF !important;
	-webkit-text-fill-color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   Tile grid — industries / specialisations on light BG
   -------------------------------------------------------------------------- */
.ph-tile-grid {
	display: grid;
	gap: var(--ph-space-lg);
}

.ph-tile-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.ph-tile-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.ph-tile {
	background: var(--ph-color-white);
	border: 1px solid var(--ph-color-grey-border);
	border-radius: var(--ph-radius-xl);
	padding: var(--ph-space-lg);
	transition: transform var(--ph-transition-base), box-shadow var(--ph-transition-base);
}

.ph-tile:hover {
	transform: translateY(-3px);
	box-shadow: var(--ph-shadow-md);
}

.ph-band--surface .ph-tile {
	background: var(--ph-color-white);
}

/* --------------------------------------------------------------------------
   Page hero — light variant for inner pages
   -------------------------------------------------------------------------- */
.ph-page-hero--light {
	background: var(--ph-color-white);
	border-bottom: 1px solid var(--ph-color-grey-border);
	padding: var(--ph-space-3xl) 0 var(--ph-space-2xl);
}

.ph-page-hero--light .ph-page-hero__title {
	color: var(--ph-color-navy);
	font-size: var(--ph-font-size-h1);
}

.ph-page-hero--light .ph-page-hero__subtitle {
	color: var(--ph-color-text-muted);
}

.ph-page-hero--surface {
	background: var(--ph-color-surface);
	border-bottom: 1px solid var(--ph-color-grey-border);
}

/* --------------------------------------------------------------------------
   CTA hierarchy — one primary per band
   -------------------------------------------------------------------------- */
.ph-cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ph-space-md);
	align-items: center;
}

.ph-cta-group--center {
	justify-content: center;
}

/* --------------------------------------------------------------------------
   Split panel — employers / job seekers (existing colours)
   -------------------------------------------------------------------------- */
.ph-panel-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.ph-panel {
	padding: var(--ph-space-3xl) var(--ph-space-xl);
}

.ph-panel--navy {
	background: var(--ph-color-navy);
}

.ph-panel--navy-deep {
	background: linear-gradient(135deg, var(--ph-color-navy) 0%, var(--ph-color-navy-light) 100%);
}

/* --------------------------------------------------------------------------
   Content width discipline
   -------------------------------------------------------------------------- */
.ph-prose {
	max-width: 680px;
}

.ph-prose--wide {
	max-width: 800px;
}

.ph-prose p {
	margin: 0 0 var(--ph-space-md);
	color: var(--ph-color-charcoal, #1E293B);
	line-height: var(--ph-line-height-body);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.ph-tile-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ph-tile-grid--3,
	.ph-tile-grid--2 {
		grid-template-columns: 1fr;
	}

	.ph-panel-split {
		grid-template-columns: 1fr;
	}

	.ph-cta-group .ph-btn {
		width: 100%;
		justify-content: center;
	}
}
