/*
 * Corporate Maintenance page styles (templates/page-corpmaint.php).
 * Scoped to .ez.ez-corpmaint so they do not leak onto other Easyco 2 pages.
 * Shared layout (hero, cards, FAQ, form) comes from ez.css.
 * No video slot: the hero uses the "What we look after" panel instead.
 */

.ez.ez-corpmaint .sh .sub { color: var(--m); font-size: 14px; margin-top: 18px; }

/* What's included — five cards on a 6-column grid. */
.ez.ez-corpmaint .g6.five > .card { grid-column: span 2; }
.ez.ez-corpmaint .g6.five > .card:nth-child(n+4) { grid-column: span 3; }

.ez.ez-corpmaint .nowrap { white-space: nowrap; }

/* Worth saying once — pictorial icons inside .ic (same rule as the v2d mockup and payroll). */
.ez.ez-corpmaint .ic svg {
	width: 22px;
	height: 22px;
	display: block;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Compliance panel */
.ez.ez-corpmaint .cmp { min-width: 0; }
.ez.ez-corpmaint .cmp-stage {
	position: relative;
	border: 1px solid var(--line);
	background: #0e1813;
	border-radius: 24px;
	overflow: hidden;
	min-height: 0;
}
.ez.ez-corpmaint .cmp-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(rgba(34, 194, 122, .32) 1.4px, transparent 1.6px) 0 0 / 18px 18px,
		linear-gradient(135deg, #1f3a2f, #0e1813);
}
.ez.ez-corpmaint .cmp-bg:after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 20%, transparent 0, rgba(14, 24, 19, .45) 55%, rgba(14, 24, 19, .88) 100%);
}
.ez.ez-corpmaint .cmp-inner {
	position: relative;
	padding: 22px 20px 18px;
	display: grid;
	gap: 14px;
}
.ez.ez-corpmaint .cmp-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 2px 4px 6px;
}
.ez.ez-corpmaint .cmp-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(34, 194, 122, .14);
	color: var(--g);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.ez.ez-corpmaint .cmp-mark svg { width: 22px; height: 22px; display: block; }
.ez.ez-corpmaint .cmp-head b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.ez.ez-corpmaint .cmp-head span { display: block; color: var(--m); font-size: 13px; margin-top: 2px; }
.ez.ez-corpmaint .cmp-rows { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ez.ez-corpmaint .cmp-row {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	align-items: center;
	background: rgba(15, 26, 22, .72);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 13px 14px;
	animation: ez-corpmaint-in .5s ease both;
}
.ez.ez-corpmaint .cmp-row:nth-child(1) { animation-delay: .06s; }
.ez.ez-corpmaint .cmp-row:nth-child(2) { animation-delay: .16s; }
.ez.ez-corpmaint .cmp-row:nth-child(3) { animation-delay: .26s; }
.ez.ez-corpmaint .cmp-row:nth-child(4) { animation-delay: .36s; }
.ez.ez-corpmaint .cmp-tick {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(34, 194, 122, .16);
	color: var(--g);
	display: grid;
	place-items: center;
}
.ez.ez-corpmaint .cmp-tick svg {
	width: 16px;
	height: 16px;
	display: block;
	stroke-dasharray: 22;
	stroke-dashoffset: 22;
	animation: ez-corpmaint-draw .45s ease forwards;
}
.ez.ez-corpmaint .cmp-row:nth-child(1) .cmp-tick svg { animation-delay: .22s; }
.ez.ez-corpmaint .cmp-row:nth-child(2) .cmp-tick svg { animation-delay: .34s; }
.ez.ez-corpmaint .cmp-row:nth-child(3) .cmp-tick svg { animation-delay: .46s; }
.ez.ez-corpmaint .cmp-row:nth-child(4) .cmp-tick svg { animation-delay: .58s; }
.ez.ez-corpmaint .cmp-row b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.ez.ez-corpmaint .cmp-cap { color: var(--m); font-size: 13.5px; line-height: 1.55; margin-top: 14px; max-width: 520px; }

/* Handover band */
.ez.ez-corpmaint .hand-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 36px 40px;
}
.ez.ez-corpmaint .hand-band h2 { font-size: 32px; max-width: 16ch; }
.ez.ez-corpmaint .hand-band .lead { margin-top: 12px; max-width: 520px; }
.ez.ez-corpmaint .hand-band .btn { flex-shrink: 0; }

@keyframes ez-corpmaint-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}
@keyframes ez-corpmaint-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	.ez.ez-corpmaint .cmp-row,
	.ez.ez-corpmaint .cmp-tick svg { animation: none; }
	.ez.ez-corpmaint .cmp-tick svg { stroke-dashoffset: 0; }
}

@media (max-width: 800px) {
	.ez.ez-corpmaint .g6.five > .card,
	.ez.ez-corpmaint .g6.five > .card:nth-child(n),
	.ez.ez-corpmaint .g6.five > .card:nth-child(n+4) { grid-column: auto; }
	.ez.ez-corpmaint .cmp-stage { border-radius: 20px; }
	.ez.ez-corpmaint .cmp-inner { padding: 18px 16px 16px; }
	.ez.ez-corpmaint .hand-band {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 22px;
		gap: 22px;
	}
	.ez.ez-corpmaint .hand-band h2 { font-size: 28px; }
}
