/* =========================================================
   Certification page template components (cp-*)
   Shared, reusable styling for individual standard pages
   (ISO 9001:2015 is the pilot; the same classes are meant to be
   reused on the other certification pages once this is approved).
   Linked in only via $extraHeadCss on the pages that use it, so it
   has no effect anywhere else on the site.
   ========================================================= */

.cp-hero {
	background: linear-gradient(135deg, #0C2017 0%, #103726 55%, #0A1B13 100%);
	border-radius: 14px;
	padding: 48px 40px;
	margin: 30px 0 46px;
	position: relative;
	overflow: hidden;
}
.cp-hero::after {
	content: '';
	position: absolute;
	top: -90px;
	right: -90px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(63, 200, 138, 0.18) 0%, rgba(63, 200, 138, 0) 70%);
	pointer-events: none;
}
.cp-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(63, 200, 138, 0.12);
	border: 1px solid rgba(63, 200, 138, 0.35);
	color: #3FC88A;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 30px;
	margin-bottom: 18px;
	position: relative;
}
.cp-hero h1 {
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.2;
	margin-bottom: 14px;
	position: relative;
}
.cp-hero > p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	line-height: 1.75;
	max-width: 700px;
	margin-bottom: 26px;
	position: relative;
}
.cp-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 30px;
	position: relative;
}
.cp-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #3FC88A;
	color: #07150D !important;
	font-weight: 700;
	padding: 14px 28px;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background .2s ease, transform .2s ease;
}
.cp-btn-primary:hover {
	background: #5fdba3;
	color: #07150D !important;
	transform: translateY(-2px);
}
.cp-btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-weight: 600;
	padding: 13px 26px;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background .2s ease, border-color .2s ease;
}
.cp-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.5);
	color: #ffffff !important;
}
.cp-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 22px;
	position: relative;
}
.cp-hero-stat {
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.cp-hero-stat i {
	color: #3FC88A;
}

/* Section headers */
.cp-section-head {
	margin-bottom: 28px;
}
.cp-eyebrow {
	color: #1C5540;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.cp-section-head h2 {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(22px, 2.6vw, 32px);
	color: #15241d;
	margin: 0;
}

/* Requirement / benefit cards */
.cp-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 46px;
}
.cp-card {
	background: #ffffff;
	border: 1px solid #e7ece9;
	border-radius: 12px;
	padding: 28px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cp-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 30px rgba(28, 85, 64, 0.12);
	border-color: #3FC88A;
}
.cp-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: rgba(28, 85, 64, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1C5540;
	font-size: 20px;
	margin-bottom: 16px;
}
.cp-card h3 {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: #15241d;
	margin-bottom: 8px;
}
.cp-card p {
	color: #3f4b45;
	font-size: 14.5px;
	line-height: 1.7;
	margin: 0;
}

/* Benefit rows */
.cp-benefits {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 46px;
}
.cp-benefit-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #F7FAF8;
	border: 1px solid #e7ece9;
	border-radius: 10px;
	padding: 16px 20px;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cp-benefit-row:hover {
	background: #EFF7F2;
	border-color: #3FC88A;
	transform: translateX(4px);
}
.cp-benefit-row i {
	color: #3FC88A;
	font-size: 18px;
	margin-top: 3px;
	flex-shrink: 0;
}
.cp-benefit-row strong {
	color: #15241d;
}

/* "Not allowed" variant - for prohibited-use / do-not-do lists, so they
   read visually distinct from the usual (positive) benefit rows. */
.cp-benefit-row.is-warning {
	background: #FBF6F3;
	border-color: #f0ddd3;
}
.cp-benefit-row.is-warning:hover {
	background: #FBF0E9;
	border-color: #E08A4F;
	transform: translateX(4px);
}
.cp-benefit-row.is-warning i {
	color: #C85A2E;
}
.cp-benefit-row span {
	color: #51605a;
	font-size: 14.5px;
}

/* Process stepper */
.cp-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin-bottom: 18px;
}
.cp-step {
	position: relative;
	background: #ffffff;
	border: 1px solid #e7ece9;
	border-radius: 12px;
	padding: 22px 16px 18px;
	text-align: center;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cp-step:hover {
	transform: translateY(-4px);
	border-color: #3FC88A;
	box-shadow: 0 10px 24px rgba(28, 85, 64, 0.1);
}
.cp-step-num {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #1C5540;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}
.cp-step h4 {
	font-size: 14px;
	font-weight: 700;
	color: #15241d;
	margin-bottom: 6px;
}
.cp-step p {
	font-size: 12.5px;
	color: #687a71;
	margin: 0;
	line-height: 1.55;
}
.cp-steps-note {
	font-size: 13.5px;
	color: #687a71;
	margin-bottom: 46px;
}

/* CTA band */
.cp-cta {
	background: linear-gradient(120deg, #1C5540 0%, #164533 100%);
	border-radius: 14px;
	padding: 42px 40px;
	text-align: center;
	margin: 10px 0 50px;
}
.cp-cta h3 {
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 2.4vw, 28px);
	margin-bottom: 10px;
}
.cp-cta p {
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 24px;
}
.cp-cta .cp-hero-actions {
	justify-content: center;
	margin-bottom: 0;
}

/* Light CTA variant - for pages that should avoid the green gradient
   band entirely (e.g. Accreditation). */
.cp-cta-light {
	background: #F7FAF8;
	border: 1px solid #e7ece9;
}
.cp-cta-light h3 {
	color: #15241d;
}
.cp-cta-light p {
	color: #4a5750;
}
.cp-cta-light .cp-btn-ghost {
	color: #15241d !important;
	border-color: #cfdbd5;
}
.cp-cta-light .cp-btn-ghost:hover {
	background: #ffffff;
	border-color: #1C5540;
	color: #15241d !important;
}

@media (max-width: 991.98px) {
	.cp-card-grid {
		grid-template-columns: 1fr;
	}
	.cp-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575.98px) {
	.cp-hero {
		padding: 32px 22px;
	}
	.cp-cta {
		padding: 32px 22px;
	}
	.cp-steps {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   Variation components - added for the ISO 14001 / 45001 /
   27001 / BS 10119 pages so each certification page reuses
   the same cp-* system but doesn't look like a carbon copy of
   the ISO 9001 template.
   ========================================================= */

/* Alternate hero colourway - infosec/"cyber" tone for ISO 27001 */
.cp-hero-navy {
	background: linear-gradient(135deg, #0A1420 0%, #122238 55%, #060B12 100%);
}
.cp-hero-navy::after {
	background: radial-gradient(circle, rgba(56, 182, 219, 0.22) 0%, rgba(56, 182, 219, 0) 70%);
}
.cp-hero-navy .cp-hero-badge {
	background: rgba(56, 182, 219, 0.14);
	border-color: rgba(56, 182, 219, 0.4);
	color: #4FD1E8;
}
.cp-hero-navy .cp-hero-stat i {
	color: #4FD1E8;
}

/* Light, neutral hero colourway - for pages that should not use the
   dark green gradient treatment (e.g. Accreditation). Clean white card
   on the page background, dark text, brand green used only as a small
   accent rather than a background wash. */
.cp-hero-light {
	background: #ffffff;
	border: 1px solid #e7ece9;
	box-shadow: 0 18px 40px rgba(16, 55, 38, 0.06);
}
.cp-hero-light::after {
	background: radial-gradient(circle, rgba(63, 200, 138, 0.10) 0%, rgba(63, 200, 138, 0) 70%);
}
.cp-hero-light .cp-hero-badge {
	background: rgba(28, 85, 64, 0.06);
	border-color: rgba(28, 85, 64, 0.18);
	color: #1C5540;
}
.cp-hero-light h1 {
	color: #15241d;
}
.cp-hero-light > p {
	color: #4a5750;
}
.cp-hero-light .cp-hero-stats {
	border-top-color: #e7ece9;
}
.cp-hero-light .cp-hero-stat {
	color: #3f4b45;
}
.cp-hero-light .cp-hero-stat i {
	color: #1C5540;
}
.cp-hero-light .cp-btn-ghost {
	color: #15241d !important;
	border-color: #cfdbd5;
}
.cp-hero-light .cp-btn-ghost:hover {
	background: #F7FAF8;
	border-color: #1C5540;
	color: #15241d !important;
}

/* 3-column card grid variant (ISO 14001) */
.cp-card-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991.98px) {
	.cp-card-grid-3 {
		grid-template-columns: 1fr;
	}
}

/* Stat / fact highlight band (ISO 45001) */
.cp-fact-band {
	display: flex;
	align-items: center;
	gap: 24px;
	background: #F7FAF8;
	border: 1px solid #e7ece9;
	border-left: 4px solid #3FC88A;
	border-radius: 12px;
	padding: 26px 30px;
	margin-bottom: 46px;
}
.cp-fact-band .cp-fact-num {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: clamp(30px, 4vw, 42px);
	color: #1C5540;
	flex-shrink: 0;
	line-height: 1;
}
.cp-fact-band p {
	margin: 0;
	color: #3f4b45;
	font-size: 14.5px;
	line-height: 1.7;
}
@media (max-width: 575.98px) {
	.cp-fact-band {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* Clause / scope checklist grid (BS 10119) */
.cp-clause-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 46px;
}
.cp-clause {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #ffffff;
	border: 1px solid #e7ece9;
	border-radius: 10px;
	padding: 16px 18px;
}
.cp-clause i {
	color: #3FC88A;
	font-size: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}
.cp-clause strong {
	display: block;
	color: #15241d;
	font-size: 13.5px;
	margin-bottom: 2px;
}
.cp-clause span {
	color: #687a71;
	font-size: 12.5px;
	line-height: 1.5;
}
@media (max-width: 991.98px) {
	.cp-clause-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575.98px) {
	.cp-clause-grid {
		grid-template-columns: 1fr;
	}
}
