/* Coffman Auto Sales - master stylesheet (CW). All new style changes go here. */

:root {
	--cw-accent: #d72638;
	--cw-ink: #061522;
	--cw-card-bg: #ffffff;
	--cw-card-border: #e9ecef;
}

/* ---------- Header: vertically center the logo in the 100px desktop nav ---------- */
@media (min-width: 992px) {
	.cw-header-info .cw-head-logo {
		top: 50px;
		transform: translateY(-50%);
	}
}

/* ---------- Service Center page ---------- */
.cw-svc {
	padding: 3rem 0 4rem;
}

/* In-text links: the platform forces text-decoration:none!important on all links,
   so the underline is drawn with a border instead. */
.cw-svc p a {
	color: var(--cw-accent);
	font-weight: 700;
	border-bottom: 2px solid currentColor;
}

.cw-svc p a:hover,
.cw-svc p a:focus {
	color: var(--cw-ink);
}

.cw-svc-eyebrow {
	color: var(--cw-accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	margin-bottom: .5rem;
}

.cw-svc-heading {
	color: var(--cw-ink);
	margin-bottom: 1rem;
}

.cw-svc-card {
	height: 100%;
	padding: 1.75rem 1.5rem;
	background: var(--cw-card-bg);
	border: 1px solid var(--cw-card-border);
	border-top: 4px solid var(--cw-accent);
	border-radius: .5rem;
	box-shadow: 0 .25rem .75rem rgba(6, 21, 34, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.cw-svc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 .75rem 1.5rem rgba(6, 21, 34, .12);
}

.cw-svc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--cw-accent);
	color: #fff;
	font-size: 1.5rem;
}

.cw-svc-card h3 {
	color: var(--cw-ink);
	font-size: 1.35rem;
	margin-bottom: .5rem;
}

.cw-svc-card p {
	margin-bottom: 0;
	font-size: 16px;
	line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
	.cw-svc-card,
	.cw-svc-card:hover {
		transition: none;
		transform: none;
	}
}
