/* ==========================================================================
   EICR Design System — Layers on top of landing.min.css + custom.css
   ========================================================================== */

/* ---------- Layout Foundation ---------- */
.eicr-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}
.eicr-wide {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}
.eicr-sec-white { background: #fff; }
.eicr-sec-grey  { background: #f8f9fa; }
.eicr-sec-tint  { background: #f8f9fa; }

section.eicr-section {
	padding: 80px 0;
}

/* ---------- Typography Overrides ---------- */
.eicr-section p,
.eicr-section li {
	font-size: 17px;
	line-height: 1.65;
	color: #2d3436;
}
.eicr-section h2 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 16px;
	color: #1a1a2e;
	line-height: 1.2;
}
.eicr-section h3 {
	font-size: 24px;
	font-weight: 600;
	color: #2d3436;
	margin-bottom: 12px;
}
.eicr-lead {
	font-size: 19px;
	color: #555;
	line-height: 1.65;
	margin-bottom: 24px;
}

/* ---------- Stat Cards ---------- */
.eicr-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 32px 0;
}
.eicr-stat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.eicr-stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.eicr-stat-card {
	text-align: center;
	background: #fff;
	border-radius: 12px;
	padding: 28px 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.eicr-stat-number {
	display: block;
	font-size: 3rem;
	font-weight: 800;
	color: #57BB57;
	line-height: 1.1;
	margin-bottom: 6px;
}
.eicr-stat-number.red    { color: #e74c3c; }
.eicr-stat-number.amber  { color: #f39c12; }
.eicr-stat-number.purple { color: #8e44ad; }
.eicr-stat-number.navy   { color: #5B5B81; }

.eicr-stat-label {
	display: block;
	font-size: 0.95rem;
	color: #636e72;
	line-height: 1.4;
}

/* ---------- EICR Code System (Colour-Coded) ---------- */
.eicr-code-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
}
.eicr-code-card {
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 20px;
	border-left: 5px solid;
}
/* C1 — Red */
.eicr-code-c1 { border-color: #e74c3c; background: #fdf0ef; }
.eicr-code-badge.c1 { background: #e74c3c; color: #fff; }
/* C2 — Amber */
.eicr-code-c2 { border-color: #f39c12; background: #fef9ed; }
.eicr-code-badge.c2 { background: #f39c12; color: #fff; }
/* C3 — Green */
.eicr-code-c3 { border-color: #27ae60; background: #edfaf2; }
.eicr-code-badge.c3 { background: #27ae60; color: #fff; }
/* FI — Purple */
.eicr-code-fi { border-color: #8e44ad; background: #f5eef8; }
.eicr-code-badge.fi { background: #8e44ad; color: #fff; }

.eicr-code-card h3 {
	margin-top: 0;
	margin-bottom: 8px;
}
.eicr-code-card p {
	margin: 0;
}
.eicr-code-card p + p {
	margin-top: 10px;
}

/* ---------- Generic Cards ---------- */
.eicr-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eicr-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.eicr-card-icon {
	text-align: center;
}
.eicr-card-icon .icon {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 16px;
}
.eicr-card h3 {
	margin-top: 0;
}
.eicr-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 32px 0;
}
.eicr-card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.eicr-card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Price Cards ---------- */
.eicr-price-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 32px 0;
}
.eicr-price-grid.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}
.eicr-price-card {
	background: #fff;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.eicr-price-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.eicr-price-card h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 16px;
	color: #2d3436;
}
.eicr-price-amount {
	font-size: 2.5rem;
	font-weight: 800;
	color: #57BB57;
	line-height: 1;
	margin-bottom: 4px;
}
.eicr-price-vat {
	font-size: 14px;
	color: #888;
	margin-bottom: 20px;
}
.eicr-price-card .eicr-cta {
	margin-top: auto;
}

/* ---------- CTA Buttons ---------- */
.eicr-cta {
	display: inline-block;
	background: #57BB57;
	color: #fff;
	padding: 16px 36px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.eicr-cta:hover,
.eicr-cta:focus {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(87,187,87,0.3);
	color: #fff;
	text-decoration: none;
	background: #4aa94a;
}
/* ---------- Visual Timeline ---------- */
.eicr-timeline {
	position: relative;
	padding: 20px 0;
	margin: 32px 0;
}
.eicr-timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 3px;
	background: #ddd;
	transform: translateX(-50%);
}
.eicr-timeline-item {
	position: relative;
	width: 45%;
	padding: 20px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	margin-bottom: 30px;
}
.eicr-timeline-item:nth-child(odd) {
	margin-left: 0;
	margin-right: auto;
}
.eicr-timeline-item:nth-child(even) {
	margin-left: auto;
	margin-right: 0;
}
.eicr-timeline-node {
	position: absolute;
	top: 28px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #57BB57;
	border: 3px solid #fff;
	box-shadow: 0 0 0 3px #57BB57;
}
.eicr-timeline-item:nth-child(odd) .eicr-timeline-node {
	right: -36px;
}
.eicr-timeline-item:nth-child(even) .eicr-timeline-node {
	left: -36px;
}
.eicr-timeline-item h3 {
	margin-top: 0;
	font-size: 18px;
}
.eicr-timeline-item p {
	margin: 8px 0 0;
}
.eicr-timeline-date {
	font-size: 14px;
	font-weight: 700;
	color: #57BB57;
	margin-bottom: 4px;
}

/* ---------- Comparison Layout ---------- */
.eicr-comparison {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 0;
	margin: 32px 0;
	align-items: start;
}
.eicr-compare-col {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.eicr-compare-col .compare-header {
	padding: 18px 24px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-align: center;
}
.eicr-compare-col .compare-header.eicr-side  { background: #5B5B81; }
.eicr-compare-col .compare-header.epc-side   { background: #57BB57; }
.eicr-compare-col .compare-body {
	padding: 24px;
}
.eicr-compare-vs {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
}
.eicr-compare-vs span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #f8f9fa;
	border-radius: 50%;
	font-weight: 800;
	font-size: 18px;
	color: #636e72;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---------- Donut Inner (shared by donut chart variants) ---------- */
.eicr-donut-inner {
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	color: #2d3436;
}

/* ---------- Callout Boxes (enhanced) ---------- */
.eicr-callout-warning {
	border-left: 4px solid #f39c12;
	background: #fef9ed;
	padding: 20px 24px;
	margin: 24px 0;
	border-radius: 0 12px 12px 0;
}
.eicr-callout-danger {
	border-left: 4px solid #e74c3c;
	background: #fdf0ef;
	padding: 20px 24px;
	margin: 24px 0;
	border-radius: 0 12px 12px 0;
}
.eicr-callout-info {
	border-left: 4px solid #2980b9;
	background: #eaf4fb;
	padding: 20px 24px;
	margin: 24px 0;
	border-radius: 0 12px 12px 0;
}
.eicr-callout-tip {
	border-left: 4px solid #27ae60;
	background: #edfaf2;
	padding: 20px 24px;
	margin: 24px 0;
	border-radius: 0 12px 12px 0;
}
.eicr-callout-warning .callout-title,
.eicr-callout-danger .callout-title,
.eicr-callout-info .callout-title,
.eicr-callout-tip .callout-title {
	display: block;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 6px;
}

/* ---------- Fade-In Animation ---------- */
.eicr-fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.eicr-fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Enhanced Checklist ---------- */
.eicr-section .check-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}
.eicr-section .check-list li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 14px;
	line-height: 1.6;
}
.check-list-2col {
	columns: 2;
	column-gap: 40px;
}

/* ---------- Step Cards ---------- */
.eicr-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 32px 0;
	counter-reset: step-counter;
}
.eicr-steps.cols-2 { grid-template-columns: repeat(2, 1fr); }
.eicr-steps.cols-4 { grid-template-columns: repeat(4, 1fr); }

.eicr-step {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 32px 24px 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	counter-increment: step-counter;
}
.eicr-step::before {
	content: counter(step-counter);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #57BB57;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
}
.eicr-step h3 {
	margin-top: 0;
	font-size: 18px;
}
.eicr-step p {
	margin: 8px 0 0;
	font-size: 15px;
	color: #555;
}

/* ---------- FAQ Accordion (Smooth) ---------- */
.eicr-section .faqs .accordion,
.eicr-section .white-accordion .accordion {
	width: 100%;
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 18px 56px 18px 24px;
	font-size: 17px;
	font-weight: 600;
	color: #2d3436;
	text-align: left;
	cursor: pointer;
	position: relative;
	margin-bottom: 10px;
	transition: background 0.2s ease, border-color 0.2s ease;
	outline: none;
}
.eicr-section .faqs .accordion:hover {
	background: #f8f9fa;
}
.eicr-section .faqs .accordion::after,
.eicr-section .white-accordion .accordion::after {
	content: '\276F';
	position: absolute;
	right: 20px;
	left: auto;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	font-size: 16px;
	color: #999;
	width: auto;
	height: auto;
	line-height: normal;
	border-radius: 0;
	background: none;
	text-align: left;
	transition: transform 0.3s ease;
}
.eicr-section .faqs .accordion.active {
	border-color: #57BB57;
	background: #f8f9fa;
}
.eicr-section .faqs .accordion.active::after {
	transform: translateY(-50%) rotate(270deg);
}
.eicr-section .faqs .panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.3s ease;
	padding: 0 24px;
	background: #fff;
	border-radius: 0 0 8px 8px;
	margin-bottom: 10px;
}
.eicr-section .faqs .panel.open {
	max-height: 2000px;
	padding: 16px 24px 20px;
}
.eicr-section .faqs .panel p {
	margin: 0;
}

/* ---------- Section Header (centred) ---------- */
.eicr-section-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}
.eicr-section-header h2 {
	margin-bottom: 12px;
}
.eicr-section-header p {
	color: #555;
}

/* ---------- Service Cards ---------- */
.eicr-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: 12px;
	padding: 28px 20px;
	text-decoration: none;
	color: #2d3436;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eicr-service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	text-decoration: none;
	color: #2d3436;
}
.eicr-service-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	object-fit: contain;
}
.eicr-service-card h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.3;
}
.eicr-service-price {
	font-size: 18px;
	font-weight: 800;
	color: #57BB57;
	margin-top: auto;
}
.eicr-service-price small {
	font-size: 13px;
	font-weight: 500;
	color: #888;
}

/* ---------- Data Tables ---------- */
.eicr-data-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.eicr-data-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.eicr-data-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #1a1a2e;
}
.eicr-data-subtitle {
	font-size: 14px;
	color: #888;
	margin: 0 0 20px;
}
.eicr-data-table {
	width: 100%;
	border-collapse: collapse;
}
.eicr-data-table thead th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #999;
	padding: 0 0 10px;
	border-bottom: 2px solid #e9ecef;
}
.eicr-data-table thead th:last-child {
	text-align: right;
}
.eicr-data-table tbody td {
	padding: 10px 0;
	font-size: 15px;
	color: #2d3436;
	border-bottom: 1px solid #f0f0f0;
}
.eicr-data-table tbody td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: #555;
}
.eicr-data-table tbody tr:last-child td {
	border-bottom: none;
}
.eicr-data-table tbody tr:hover {
	background: #f8f9fa;
}
.eicr-data-table tbody td a {
	color: #2d3436;
	text-decoration: none;
	font-weight: 500;
}
.eicr-data-table tbody td a:hover {
	color: #57BB57;
}
.eicr-data-table tbody td strong {
	color: #57BB57;
	font-weight: 800;
}
.eicr-data-source {
	font-size: 12px;
	color: #aaa;
	margin: 14px 0 0;
	font-style: italic;
}

/* ---------- City button grid within design system ---------- */
.eicr-section .eicr-city-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	max-width: 900px;
	margin: 0 auto;
}

/* ---------- Override landing.css green-section to neutral on EICR pages ---------- */
.green-section {
	background-color: #f8f9fa;
}

/* ---------- Existing class enhancements (override custom.css gently) ---------- */

/* Enhance .eicr-related-card hover */
.eicr-related-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eicr-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Enhance city buttons */
.eicr-city-btn {
	transition: all 0.25s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	section.eicr-section {
		padding: 56px 0;
	}
	.eicr-section h2 {
		font-size: 30px;
	}
	.eicr-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.eicr-stat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.eicr-card-grid { grid-template-columns: repeat(2, 1fr); }
	.eicr-card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.eicr-price-grid { grid-template-columns: repeat(2, 1fr); }
	.eicr-price-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.eicr-steps { grid-template-columns: repeat(2, 1fr); }
	.eicr-steps.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.eicr-comparison { grid-template-columns: 1fr; gap: 16px; }
	.eicr-compare-vs { padding: 8px 0; }
	.eicr-compare-vs span { width: 40px; height: 40px; font-size: 15px; }
	.eicr-section .eicr-city-grid { grid-template-columns: repeat(3, 1fr); }

	/* Timeline: stack on tablet */
	.eicr-timeline::before { left: 20px; }
	.eicr-timeline-item { width: calc(100% - 50px); margin-left: 50px !important; margin-right: 0 !important; }
	.eicr-timeline-item:nth-child(odd) .eicr-timeline-node,
	.eicr-timeline-item:nth-child(even) .eicr-timeline-node {
		left: -38px;
		right: auto;
	}
	.eicr-data-grid { gap: 20px; }
}

@media (max-width: 768px) {
	section.eicr-section {
		padding: 48px 0;
	}
	.eicr-section h2 {
		font-size: 28px;
	}
	.eicr-section h3 {
		font-size: 20px;
	}
	.eicr-lead {
		font-size: 17px;
	}
	.eicr-stat-grid { grid-template-columns: 1fr; }
	.eicr-stat-grid.cols-2 { grid-template-columns: 1fr; }
	.eicr-stat-grid.cols-4 { grid-template-columns: 1fr; }
	.eicr-stat-number { font-size: 2.5rem; }
	.eicr-card-grid { grid-template-columns: 1fr; }
	.eicr-card-grid.cols-2 { grid-template-columns: 1fr; }
	.eicr-price-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
	.eicr-steps { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
	.eicr-steps.cols-4 { grid-template-columns: 1fr; }
	.check-list-2col { columns: 1; }
	.eicr-cta { padding: 14px 28px; font-size: 15px; width: 100%; text-align: center; }
	.eicr-price-amount { font-size: 2rem; }
	.eicr-section .eicr-city-grid { grid-template-columns: repeat(2, 1fr); }
	.eicr-data-grid { grid-template-columns: 1fr; }
	.eicr-data-card { padding: 20px; }
	.eicr-data-table tbody td { font-size: 14px; padding: 8px 0; }

	/* FAQ tap targets */
	.eicr-section .faqs .accordion {
		padding: 16px 50px 16px 16px;
		font-size: 16px;
		min-height: 48px;
	}
	.eicr-section .faqs .accordion::after {
		right: 20px;
	}

	/* Tables: horizontal scroll on small screens */
	.eicr-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 480px) {
	section.eicr-section {
		padding: 36px 0;
	}
	.eicr-section h2 {
		font-size: 24px;
	}
	.eicr-section p,
	.eicr-section li {
		font-size: 15px;
	}
	.eicr-stat-number { font-size: 2rem; }
	.eicr-code-card { padding: 20px; }
	.eicr-card { padding: 20px; }
	.eicr-step { padding: 24px 20px 20px; }
	.eicr-section .eicr-city-grid {
		gap: 10px;
	}
	.eicr-section .eicr-city-grid .eicr-city-btn {
		padding: 12px 8px;
		font-size: 14px;
	}
	.eicr-form-section {
		padding: 40px 0;
	}
	.eicr-form-section-text h2 {
		font-size: 20px;
	}
}

@media (max-width: 320px) {
	.eicr-section h2 {
		font-size: 22px;
	}
	.eicr-section p,
	.eicr-section li {
		font-size: 14px;
	}
	.eicr-content {
		padding: 0 12px;
	}
	.eicr-wide {
		padding: 0 12px;
	}
	.eicr-section .eicr-city-grid {
		grid-template-columns: 1fr;
	}
	.eicr-cta-top-inner {
		gap: 10px;
		font-size: 14px;
	}
}

/* ==========================================================================
   Data Page Components
   ========================================================================== */

/* ---------- Donut Chart ---------- */
.eicr-donut-chart-wrap {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 32px 0;
}
.eicr-donut-large {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.eicr-donut-large .eicr-donut-inner {
	width: 130px;
	height: 130px;
}
.eicr-donut-legend {
	list-style: none;
	padding: 0;
	margin: 0;
}
.eicr-donut-legend li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 15px;
	color: #2d3436;
}
.eicr-donut-legend .swatch {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	flex-shrink: 0;
}

/* ---------- Stacked Bar Charts ---------- */
.eicr-stacked-bar-wrap {
	margin: 24px 0;
}
.eicr-stacked-bar-label {
	font-size: 14px;
	font-weight: 600;
	color: #2d3436;
	margin-bottom: 6px;
}
.eicr-stacked-bar {
	display: flex;
	height: 32px;
	border-radius: 6px;
	overflow: hidden;
	background: #e9ecef;
}
.eicr-stacked-segment {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	transition: width 0.6s ease;
	min-width: 0;
}
.eicr-stacked-segment span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 4px;
}

/* Tenure colour variants */
.tenure-owner   { background: #57BB57; }
.tenure-private  { background: #5B5B81; }
.tenure-social   { background: #f39c12; }
.tenure-other    { background: #95a5a6; }

/* Age band colours */
.age-pre1919   { background: #c0392b; }
.age-1919-44   { background: #e67e22; }
.age-1945-64   { background: #f1c40f; color: #333; }
.age-1965-80   { background: #2ecc71; }
.age-post1980  { background: #3498db; }

/* ---------- Horizontal Bar Chart (City Ranking) ---------- */
.eicr-hbar-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}
.eicr-hbar-city {
	width: 140px;
	text-align: right;
	font-size: 14px;
	font-weight: 500;
	flex-shrink: 0;
}
.eicr-hbar-city a {
	color: #2d3436;
	text-decoration: none;
}
.eicr-hbar-city a:hover {
	color: #57BB57;
}
.eicr-hbar-track {
	flex: 1;
	height: 24px;
	background: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
}
.eicr-hbar-fill {
	height: 100%;
	background: #5B5B81;
	border-radius: 4px;
	transition: width 0.6s ease;
	min-width: 2px;
}
.eicr-hbar-value {
	width: 70px;
	font-size: 13px;
	font-weight: 700;
	color: #555;
	font-variant-numeric: tabular-nums;
}

/* ---------- Sources Section ---------- */
.eicr-sources {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e9ecef;
}
.eicr-sources h3 {
	font-size: 16px;
	font-weight: 700;
	color: #636e72;
	margin-bottom: 12px;
}
.eicr-sources ol {
	padding-left: 20px;
	margin: 0;
}
.eicr-sources li {
	font-size: 13px;
	color: #888;
	line-height: 1.6;
	margin-bottom: 4px;
}
.eicr-sources a {
	color: #5B5B81;
}

/* ==========================================================================
   Compliance Checker Components
   ========================================================================== */

/* ---------- Wizard Container ---------- */
.eicr-checker {
	max-width: 640px;
	margin: 0 auto;
	position: relative;
	min-height: 400px;
}

/* ---------- Progress Indicator ---------- */
.eicr-checker-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 32px;
	padding: 0 20px;
}
.eicr-checker-progress-step {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e9ecef;
	color: #999;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
	transition: background 0.3s ease, color 0.3s ease;
}
.eicr-checker-progress-step.active {
	background: #57BB57;
	color: #fff;
}
.eicr-checker-progress-step.done {
	background: #57BB57;
	color: #fff;
}
.eicr-checker-progress-line {
	flex: 1;
	height: 3px;
	background: #e9ecef;
	max-width: 80px;
	transition: background 0.3s ease;
}
.eicr-checker-progress-line.done {
	background: #57BB57;
}

/* ---------- Step Panels ---------- */
.eicr-checker-step {
	display: none;
	animation: checkerFadeIn 0.3s ease;
}
.eicr-checker-step.active {
	display: block;
}
@keyframes checkerFadeIn {
	from { opacity: 0; transform: translateX(20px); }
	to   { opacity: 1; transform: translateX(0); }
}

.eicr-checker-step h3 {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 24px;
}

/* ---------- Option Cards ---------- */
.eicr-checker-options {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.eicr-checker-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 16px;
	background: #fff;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	-webkit-user-select: none;
	user-select: none;
}
.eicr-checker-option:hover {
	border-color: #57BB57;
	box-shadow: 0 4px 16px rgba(87,187,87,0.15);
}
.eicr-checker-option.selected {
	border-color: #57BB57;
	background: #f8f9fa;
	transform: scale(0.97);
}
.eicr-checker-option .option-icon {
	font-size: 2rem;
	margin-bottom: 10px;
	display: block;
}
.eicr-checker-option .option-label {
	font-size: 15px;
	font-weight: 600;
	color: #2d3436;
	line-height: 1.3;
}

/* ---------- Navigation ---------- */
.eicr-checker-nav {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}
.eicr-checker-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: #636e72;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 6px;
	transition: color 0.2s ease, background 0.2s ease;
}
.eicr-checker-back:hover {
	color: #2d3436;
	background: #f0f0f0;
}

/* ---------- Result Card ---------- */
.eicr-checker-result {
	text-align: center;
	padding: 40px 32px;
	border-radius: 16px;
	border: 2px solid;
}
.eicr-checker-result.result-red {
	border-color: #e74c3c;
	background: #fff;
}
.eicr-checker-result.result-amber {
	border-color: #f39c12;
	background: #fff;
}
.eicr-checker-result.result-green {
	border-color: #27ae60;
	background: #fff;
}
.eicr-checker-result.result-blue {
	border-color: #2980b9;
	background: #fff;
}
.eicr-checker-result .result-icon {
	font-size: 3rem;
	display: block;
	margin-bottom: 12px;
}
.eicr-checker-result .result-title {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 8px;
}
.eicr-checker-result.result-red .result-title    { color: #e74c3c; }
.eicr-checker-result.result-amber .result-title  { color: #e67e22; }
.eicr-checker-result.result-green .result-title   { color: #27ae60; }
.eicr-checker-result.result-blue .result-title    { color: #2980b9; }

.eicr-checker-result .result-summary {
	font-size: 17px;
	color: #2d3436;
	line-height: 1.6;
	margin-bottom: 16px;
}
.eicr-checker-result .result-details {
	font-size: 14px;
	color: #636e72;
	line-height: 1.6;
	margin-bottom: 24px;
	text-align: left;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}
.eicr-checker-result .result-cta {
	margin-bottom: 16px;
}
.eicr-checker-restart {
	display: inline-block;
	background: none;
	border: none;
	color: #636e72;
	font-size: 14px;
	cursor: pointer;
	padding: 6px 12px;
	text-decoration: underline;
}
.eicr-checker-restart:hover {
	color: #2d3436;
}

/* ---------- Data + Checker Responsive ---------- */
@media (max-width: 600px) {
	.eicr-donut-chart-wrap {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.eicr-donut-large {
		width: 160px;
		height: 160px;
	}
	.eicr-donut-large .eicr-donut-inner {
		width: 100px;
		height: 100px;
		font-size: 18px;
	}
	.eicr-hbar-city {
		width: 90px;
		font-size: 12px;
	}
	.eicr-hbar-value {
		width: 55px;
		font-size: 12px;
	}
	.eicr-checker-options {
		grid-template-columns: 1fr;
	}
	.eicr-checker-option {
		padding: 18px 14px;
	}
	.eicr-checker-result {
		padding: 28px 20px;
	}
	.eicr-checker-result .result-title {
		font-size: 20px;
	}
	.eicr-checker-step h3 {
		font-size: 18px;
	}
}

/* ==========================================================================
   Conversion Components — Sticky CTA, Bottom Form, CTA Banner
   ========================================================================== */

/* ---------- Sticky CTA (mobile-only fixed bottom bar) ---------- */
.eicr-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
	padding: 8px 12px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.eicr-sticky-cta-phone {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #333;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.eicr-sticky-cta-phone img {
	width: 20px;
	height: 20px;
}
.eicr-sticky-cta-btn {
	display: inline-block;
	background: #43a047;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
}
.eicr-sticky-cta-btn:hover {
	background: #388e3c;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 768px) {
	.eicr-sticky-cta {
		display: flex;
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
	body {
		padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
	}
	.eicr-cta-top-dismiss {
		display: block;
	}
	.eicr-callout-cta {
		padding: 22px 16px;
		gap: 12px;
		text-align: center;
	}
	.eicr-callout-cta-sep {
		display: none;
	}
	.eicr-callout-cta-phone {
		font-size: 18px;
	}
	.eicr-callout-cta-btn {
		width: 100%;
		text-align: center;
	}
}

/* ---------- Bottom Form Section ---------- */
.eicr-form-section {
	background: #fff;
	padding: 60px 0;
	border-top: 4px solid #57BB57;
	border-bottom: 1px solid #e9ecef;
}
.eicr-form-section-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 40px;
	align-items: flex-start;
}
.eicr-form-section-text {
	flex: 1;
	color: #2d3436;
}
.eicr-form-section-text h2 {
	color: #1a1a2e;
	font-size: 28px;
	margin-bottom: 16px;
}
.eicr-form-section-text p {
	color: #555;
	font-size: 16px;
	line-height: 1.6;
}
.eicr-form-section .form {
	flex: 0 0 380px;
	max-width: 380px;
	margin: 0;
}

@media (max-width: 768px) {
	.eicr-form-section-inner {
		flex-direction: column;
		gap: 24px;
	}
	.eicr-form-section .form {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
	.eicr-form-section-text h2 {
		font-size: 22px;
	}
}

/* ---------- CTA Banner (Tier 2/4 top bar — sticky) ---------- */
.eicr-cta-top {
	background: #f5f6f7;
	padding: 14px 0;
	border-bottom: 2px solid #57BB57;
	position: sticky;
	top: 0;
	z-index: 990;
}
.eicr-cta-top.dismissed {
	display: none;
}
.eicr-cta-top-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	position: relative;
}
.eicr-cta-top-text {
	color: #2d3436;
	font-size: 16px;
}
.eicr-cta-top-dismiss {
	display: none;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: 20px;
	color: #999;
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
}
.eicr-cta-top-dismiss:hover {
	color: #333;
}

/* ---------- Mid-Content Callout CTA ---------- */
.eicr-callout-cta {
	background: #f0faf0;
	border-top: 3px solid #57BB57;
	border-bottom: 3px solid #57BB57;
	padding: 28px 32px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}
.eicr-callout-cta-text {
	font-size: 18px;
	color: #2d3436;
}
.eicr-callout-cta-text strong {
	font-weight: 800;
	color: #1a1a2e;
}
.eicr-callout-cta-sep {
	width: 2px;
	height: 28px;
	background: #57BB57;
	opacity: 0.4;
	flex-shrink: 0;
}
.eicr-callout-cta-phone {
	font-size: 20px;
	font-weight: 800;
	color: #2d3436;
	text-decoration: none;
	white-space: nowrap;
	letter-spacing: 0.3px;
}
.eicr-callout-cta-phone:hover {
	color: #57BB57;
}
.eicr-callout-cta-btn {
	padding: 14px 28px;
	font-size: 15px;
}

/* ---------- Trustpilot Widget Overrides ---------- */

/* Tighten the hero review slider — less tall, less top margin */
.tp-slider {
	margin-top: 0.5em;
}
.tp-slider .trustpilot-widget {
	max-height: 180px;
	overflow: hidden;
}

/* Hide the bare fallback link when widget doesn't render (e.g. localhost) */
.tp-half-light > .trustpilot-widget > a,
.tp-half-dark > .trustpilot-widget > a,
.tp-slider > .trustpilot-widget > a {
	display: inline-block;
	font-size: 13px;
	color: #636e72;
	text-decoration: none;
	padding: 4px 0;
}

/* ---------- Bottom Form Benefits List ---------- */
.eicr-form-benefits {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}
.eicr-form-benefits li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 10px;
	font-size: 15px;
	color: #2d3436;
	line-height: 1.5;
}
.eicr-form-benefits li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: #57BB57;
	font-weight: 700;
}

/* ---------- Callout Cards (Codes Explained) ---------- */
.eicr-callout-card {
	background: #fff;
	border-radius: 10px;
	padding: 24px 28px;
	border: 2px solid #e9ecef;
}
.eicr-callout-card h3 {
	margin-top: 0;
	font-size: 18px;
}
.eicr-callout-card p {
	margin: 8px 0 0;
	font-size: 15px;
	color: #636e72;
}
.eicr-callout-pass {
	border-color: #57BB57;
	background: #f0faf0;
}
.eicr-callout-pass h3 {
	color: #2d8a2d;
}
.eicr-callout-fail {
	border-color: #e74c3c;
	background: #fef5f5;
}
.eicr-callout-fail h3 {
	color: #c0392b;
}

/* ==========================================================================
   RESKIN ADDITIONS — 2025
   New components for generator-driven location & Tier-2 pages:
     - eicr-twocol-alternating   (alternating white/grey two-col blocks)
     - eicr-reviews              ("Trusted by 1,700+ happy customers")
     - eicr-faq-accordion        (canonical FAQ + phone CTA + TP + CTA)
     - eicr-interested-in        (9-tile service grid)
     - eicr-trustpilot-inline    (slider / split variants)
   Append this block to the end of /css/eicr.css. Follows existing .eicr-*
   naming + breakpoint conventions (992 / 768 / 480 / 320).
   ========================================================================== */

/* ---------- Two-col Alternating Block ---------- */
.eicr-twocol-block {
	display: grid;
	grid-template-columns: minmax(280px, 440px) 1fr;
	gap: 56px;
	align-items: center;
}
.eicr-twocol-block--img-right {
	grid-template-columns: 1fr minmax(280px, 440px);
}
.eicr-twocol-block--img-right .eicr-twocol-image {
	order: 2;
}
.eicr-twocol-block--img-right .eicr-twocol-text {
	order: 1;
}
.eicr-twocol-image {
	display: flex;
	justify-content: center;
}
.eicr-twocol-image-circle {
	width: 100%;
	max-width: 420px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: #f0f0f0;
	box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.eicr-twocol-image-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.eicr-twocol-text h2 {
	margin-top: 0;
}
.eicr-twocol-text > :last-child {
	margin-bottom: 0;
}
.eicr-twocol-cta {
	margin-top: 24px;
}

/* ---------- Reviews Section ---------- */
.eicr-reviews-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 40px;
	align-items: center;
	max-width: 900px;
	margin: 0 auto 32px;
}
.eicr-reviews-image img,
.eicr-reviews-text img {
	max-width: 100%;
	height: auto;
	display: block;
}
.eicr-reviews-image {
	flex-shrink: 0;
}
.eicr-reviews-image img {
	max-width: 220px;
}
.eicr-reviews-tp {
	margin-top: 24px;
}

/* ---------- FAQ Contact Bottom (below accordion) ---------- */
.faq-contact-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #e9ecef;
	text-align: center;
}
.faq-contact-bottom p {
	margin: 0;
	font-size: 17px;
	color: #2d3436;
	font-weight: 600;
}
.faq-contact-phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	font-weight: 800;
	color: #2d3436;
	text-decoration: none;
	letter-spacing: 0.3px;
}
.faq-contact-phone img {
	width: 26px;
	height: 26px;
}
.faq-contact-phone:hover {
	color: #57BB57;
	text-decoration: none;
}
.faq-contact-tp {
	max-width: 300px;
	width: 100%;
}

/* ---------- Interested-in Service Grid ---------- */
.eicr-interested-in-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 960px;
	margin: 0 auto;
}
.eicr-interested-in-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	background: #fff;
	border-radius: 12px;
	padding: 28px 20px;
	text-decoration: none;
	color: #2d3436;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	min-height: 180px;
}
.eicr-interested-in-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	text-decoration: none;
	color: #2d3436;
}
.eicr-interested-in-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 14px;
	object-fit: contain;
}
.eicr-interested-in-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 8px;
	line-height: 1.3;
}
.eicr-interested-in-price {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #57BB57;
	margin-top: auto;
}

/* ---------- Trustpilot Inline Block ---------- */
.eicr-tp-inline {
	padding: 48px 0;
}
.eicr-tp-inline-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 720px;
	margin: 0 auto;
	align-items: center;
}
.eicr-tp-inline-half--dark {
	background: #1a1a2e;
	padding: 16px;
	border-radius: 8px;
}
.eicr-tp-inline-half {
	padding: 16px;
}

/* ---------- Responsive: 1200 ---------- */
@media (max-width: 1200px) {
	.eicr-twocol-block {
		gap: 40px;
	}
	.eicr-reviews-grid {
		gap: 30px;
	}
}

/* ---------- Responsive: 992 ---------- */
@media (max-width: 992px) {
	.eicr-twocol-block {
		grid-template-columns: 1fr;
		gap: 28px;
		max-width: 560px;
		margin: 0 auto;
	}
	.eicr-twocol-block--img-right {
		grid-template-columns: 1fr;
	}
	.eicr-twocol-block--img-right .eicr-twocol-image,
	.eicr-twocol-block--img-right .eicr-twocol-text {
		order: initial;
	}
	.eicr-twocol-image-circle {
		max-width: 320px;
	}
	.eicr-interested-in-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

/* ---------- Responsive: 768 ---------- */
@media (max-width: 768px) {
	.eicr-twocol-block {
		gap: 24px;
	}
	.eicr-twocol-image-circle {
		max-width: 260px;
	}
	.eicr-reviews-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		text-align: center;
	}
	.eicr-reviews-image img {
		margin: 0 auto;
	}
	.eicr-tp-inline-split {
		grid-template-columns: 1fr;
	}
	.faq-contact-phone {
		font-size: 20px;
	}
	.faq-contact-phone img {
		width: 22px;
		height: 22px;
	}
}

/* ---------- Responsive: 480 ---------- */
@media (max-width: 480px) {
	.eicr-interested-in-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
	}
	.eicr-interested-in-tile {
		min-height: 140px;
		padding: 20px 16px;
	}
	.eicr-interested-in-icon {
		width: 44px;
		height: 44px;
	}
	.eicr-twocol-image-circle {
		max-width: 220px;
	}
}

/* Tier-2 extras */
.two-col-copy.full-width { max-width: 900px; margin: 0 auto; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.comparison-table th, .comparison-table td { padding: 12px 16px; border-bottom: 1px solid #e9ecef; text-align: left; }
.comparison-table thead th { background: #f8f9fa; font-weight: 700; }
.compliance-checks { line-height: 1.7; padding-left: 20px; }
.compliance-checks li { margin-bottom: 12px; }

/* --- Tier-2 two-column layout (product-two-col-sec with .container > .two-col-grid) --- */
.product-two-col-sec { padding: 60px 0; }
.product-two-col-sec.bg-white { background: #fff; }
.product-two-col-sec.bg-grey  { background: #f8f9fa; }
.product-two-col-sec .container {
    max-width: 1276px;
    padding: 0 15px;
    margin: 0 auto;
    width: 100%;
}
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col-image img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.two-col-copy h2 { margin-top: 0; font-size: 2rem; line-height: 1.25; }
.two-col-copy p  { line-height: 1.6; }

@media (max-width: 992px) {
    .two-col-grid { gap: 40px; }
    .product-two-col-sec { padding: 40px 0; }
}
@media (max-width: 768px) {
    .two-col-grid { grid-template-columns: 1fr; gap: 30px; }
    .two-col-image img { max-height: 320px; }
    .two-col-copy h2 { font-size: 1.6rem; }
}
