/* =============================================================================
 * csc-action-tiles — three routes into one quote form
 *
 * Measured from prototype 26f20fb8 v10, section 7, at 1440 / 834:
 *
 *   desktop  route is a 3-column grid — number | text | button — gap 20,
 *            padding 20px 22px, 1px #D5DEE8 hairline, 2px radius
 *   tablet   route becomes a flex column, gap 8, padding 18, button last
 *
 * Almost nothing here is an Elementor control. Padding, gaps, the card's
 * internal grid and the hairline are layout the design settled, not values an
 * editor tunes — and a value exposed as a control is owned by the instance from
 * the moment the widget is placed, where a deploy can never reach it again.
 * CLAUDE.md §2.10.
 * ========================================================================== */

.csc-action-tiles__head {
	margin-bottom: var(--csc-space-6);
}

.csc-action-tiles__heading {
	margin: var(--csc-space-3) 0 0;
	font-size: var(--csc-fs-h2);
	font-weight: var(--csc-w-display);
	line-height: var(--csc-lh-display-2);
	letter-spacing: var(--csc-ls-display);
	color: var(--csc-ink);
}

.csc-action-tiles__intro {
	margin: var(--csc-space-3) 0 0;
	max-width: 66ch;
	font-size: var(--csc-fs-body);
	line-height: var(--csc-lh-body);
	color: var(--csc-ink-2);
	text-wrap: pretty;
}

.csc-action-tiles__list {
	display: flex;
	flex-direction: column;
	gap: var(--csc-space-3);
}

.csc-action-tiles__route {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: var(--csc-space-5);
	padding: var(--csc-space-5) 22px;
	background: #FFFFFF;
	border: var(--csc-hairline);
	border-radius: var(--csc-radius);
}

/* The index, not a heading. --csc-ink-3 rather than the artboard's #98A4B5,
 * which measured 2.53:1 on white and fails AA — production specs §7.1. */
.csc-action-tiles__num {
	font-size: var(--csc-fs-label);
	font-weight: 700;
	line-height: 1.6;
	color: var(--csc-ink-3);
}

.csc-action-tiles__text {
	display: flex;
	flex-direction: column;
	gap: var(--csc-space-2);
}

.csc-action-tiles__name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--csc-ink);
}

.csc-action-tiles__tag {
	font-family: var(--csc-font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: var(--csc-ls-eyebrow);
	text-transform: uppercase;
	color: var(--csc-ink-3);
}

.csc-action-tiles__body {
	margin: 0;
	font-size: var(--csc-fs-copy);
	line-height: var(--csc-lh-body);
	color: var(--csc-ink-2);
	text-wrap: pretty;
}

.csc-action-tiles__hands {
	font-size: var(--csc-fs-spec);
	line-height: var(--csc-lh-spec);
	color: var(--csc-ink-3);
}

/* Solid button = green, always. Blue keeps links, eyebrows and focus rings and
 * is never a fill — the one colour rule, and the one already got wrong once
 * (HP-024). The
 * label is --csc-on-green, not white — CSC decision, 21 Sep 2026. See the note
 * beside the green tokens in csc-shared.css. */
.csc-action-tiles__cta {
	display: inline-flex;
	align-items: center;
	align-self: start;
	height: var(--csc-control-md);
	padding-inline: 18px;
	background: var(--csc-green-btn);
	border: 1px solid var(--csc-green-btn);
	border-radius: var(--csc-radius-btn);
	color: var(--csc-on-green);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 120ms ease, border-color 120ms ease;
}

.csc-action-tiles__cta:hover {
	background: var(--csc-green-hover);
	border-color: var(--csc-green-hover);
	color: var(--csc-on-green);
}

.csc-action-tiles__cta:active {
	background: var(--csc-green-press);
	border-color: var(--csc-green-press);
}

/* Tablet and below: the route stacks and the button drops to the bottom. */
@media (max-width: 1024px) {
	.csc-action-tiles__route {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--csc-space-2);
		padding: 18px;
	}

	.csc-action-tiles__num  { line-height: 1; }
	.csc-action-tiles__cta  { margin-top: var(--csc-space-2); }
	.csc-action-tiles__head { margin-bottom: var(--csc-space-4); }
}

@media (max-width: 767px) {
	.csc-action-tiles__cta { width: 100%; justify-content: center; }
}

/* --- Call · Email · Live Chat (Kristin, 17 Oct) ----------------------------- */

.csc-widget .csc-action-tiles__contact {
	margin: var(--csc-space-2) 0 0;
	font-size: var(--csc-fs-copy);
	font-weight: 600;
	color: var(--csc-ink-3);
}

/* A row of links, not a sentence, so each needs the 24px target (WCAG 2.5.8). */
.csc-widget .csc-action-tiles__contact-link {
	display: inline-block;
	min-height: 24px;
	line-height: 24px;
	color: var(--csc-link);
	text-decoration: none;
}

.csc-widget .csc-action-tiles__contact-link:hover,
.csc-widget .csc-action-tiles__contact-link:focus-visible {
	color: var(--csc-blue-deep);
	text-decoration: underline;
	text-underline-offset: 2px;
}
