/**
 * Card system — 8 reusable types. Hairline border, generous whitespace,
 * controlled radius, restrained hover lift. Never a default drop shadow at
 * rest; elevation only on hover, where it signals interactivity.
 */

.vv2-card {
	background: var(--vv2-surface);
	border: 1px solid var(--vv2-hairline);
	border-radius: var(--vv2-radius-md);
	padding: var(--vv2-space-sm);
	transition: transform var(--vv2-duration-base) var(--vv2-ease), box-shadow var(--vv2-duration-base) var(--vv2-ease), border-color var(--vv2-duration-base) var(--vv2-ease);
}
.vv2-card--interactive:hover {
	transform: translateY(-3px);
	box-shadow: var(--vv2-shadow-hover);
	border-color: var(--vv2-accent);
}

.vv2-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--vv2-space-sm);
}
.vv2-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .vv2-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vv2-card-grid, .vv2-card-grid--2 { grid-template-columns: 1fr; } }

/* 1. Service Card */
.vv2-card--service .vv2-icon { color: var(--vv2-accent); margin-bottom: var(--vv2-space-xs); }
.vv2-card--service h3 { font-size: var(--vv2-text-h4); margin-bottom: 6px; }
.vv2-card--service p { font-size: var(--vv2-text-small); color: var(--vv2-ink-muted); line-height: 1.55; }

/* 2. Case Study Card */
.vv2-card--case { padding: 0; overflow: hidden; }
.vv2-card--case__media { aspect-ratio: 4/3; background: var(--vv2-hairline); }
.vv2-card--case__media img { width: 100%; height: 100%; object-fit: cover; }
.vv2-card--case__body { padding: var(--vv2-space-sm); }
.vv2-card--case__tag { font-size: var(--vv2-text-eyebrow); text-transform: uppercase; letter-spacing: 0.06em; color: var(--vv2-support); margin-bottom: 6px; display: block; }
.vv2-card--case h3 { font-size: var(--vv2-text-h4); margin-bottom: 6px; }
.vv2-card--case p { font-size: var(--vv2-text-small); color: var(--vv2-ink-muted); }

/* 3. Article Card */
.vv2-card--article { padding: 0; overflow: hidden; }
.vv2-card--article__media { aspect-ratio: 16/10; background: var(--vv2-hairline); }
.vv2-card--article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--vv2-duration-base) var(--vv2-ease); }
.vv2-card--article:hover .vv2-card--article__media img { transform: scale(1.03); }
.vv2-card--article__body { padding: var(--vv2-space-sm); }
.vv2-card--article__meta { font-size: var(--vv2-text-small); color: var(--vv2-support); margin-bottom: 6px; }
.vv2-card--article h3 { font-size: var(--vv2-text-h4); }

/* 4. Testimonial Card */
.vv2-card--testimonial .vv2-icon { color: var(--vv2-accent); margin-bottom: var(--vv2-space-xs); }
.vv2-card--testimonial p { font-style: italic; color: var(--vv2-ink-muted); font-size: var(--vv2-text-small); line-height: 1.65; margin-bottom: var(--vv2-space-xs); }
.vv2-card--testimonial__name { font-weight: 600; font-size: var(--vv2-text-small); }
.vv2-card--testimonial__meta { font-size: 0.8125rem; color: var(--vv2-support); }

/* 5. Process Card (numbered step) */
.vv2-card--process { text-align: left; }
.vv2-card--process__num {
	font-family: var(--vv2-font-heading);
	font-size: var(--vv2-text-h3);
	color: var(--vv2-accent);
	margin-bottom: var(--vv2-space-xs);
}
.vv2-card--process h3 { font-size: var(--vv2-text-h4); margin-bottom: 6px; }
.vv2-card--process p { font-size: var(--vv2-text-small); color: var(--vv2-ink-muted); }

/* 6. Industry Card (residential/commercial/industrial etc.) */
.vv2-card--industry { text-align: center; padding: var(--vv2-space-md) var(--vv2-space-sm); }
.vv2-card--industry .vv2-icon { color: var(--vv2-accent); margin: 0 auto var(--vv2-space-xs); }
.vv2-card--industry h3 { font-size: var(--vv2-text-h4); }

/* 7. Location Card */
.vv2-card--location { display: flex; align-items: center; justify-content: space-between; padding: var(--vv2-space-sm) var(--vv2-space-sm); }
.vv2-card--location h3 { font-size: 1rem; font-weight: 600; }
.vv2-card--location .vv2-icon { color: var(--vv2-support); }

/* 8. CTA Card */
.vv2-card--cta { text-align: center; border-color: var(--vv2-accent); }