/*!
 * EFLL Site Design - V2 piece 9: mid-page contact CTA (includes/v2-cta.php).
 * One compact navy band between two content sections: heading + "Free case evaluation within 24 hours."
 * on the left, Call + Free case review on the right. Mobile: stacked, full-width buttons.
 * Every rule is scoped under body.efll-sd.efll-v2 .efll-inner .v2cta.
 */

body.efll-sd.efll-v2 .efll-inner .v2cta {
	/* dark-surface tokens (same values inner.css gives .ei-sec--dark) */
	--ei-bg: #0e1a2b;
	--ei-fg: #d9e0ea;
	--ei-head: #ffffff;
	--ei-muted: #9fb0c6;
	--ei-accent: #d4a72c;
	--ei-link: #ffffff;
	--ei-link-hover: #e6c25a;
	--ei-focus: #ffffff;

	position: relative;
	isolation: isolate;
	display: block;
	margin: 0;
	padding-block: 34px;
	overflow: hidden;
	background-color: #0b1626;
	background-image:
		radial-gradient(ellipse 40% 160% at 88% 50%, rgba(42, 68, 103, .5) 0%, rgba(42, 68, 103, 0) 70%),
		radial-gradient(ellipse 30% 120% at 0% 50%, rgba(212, 167, 44, .07) 0%, rgba(212, 167, 44, 0) 70%),
		linear-gradient(100deg, #08111d 0%, #0c1829 55%, #0e1a2b 100%);
	border-top: 1px solid rgba(212, 167, 44, .55);
	border-bottom: 1px solid rgba(212, 167, 44, .55);
	color: var(--ei-fg);
	text-align: left;
}
/* fine inner gold hairline, inset from the band edges (echoes the Draft E frames) */
body.efll-sd.efll-v2 .efll-inner .v2cta::before {
	content: "";
	position: absolute;
	inset: 6px 0;
	z-index: -1;
	border-block: 1px solid rgba(212, 167, 44, .16);
	pointer-events: none;
}

body.efll-sd.efll-v2 .efll-inner .v2cta > .v2cta-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: center;
}
body.efll-sd.efll-v2 .efll-inner .v2cta > .v2cta-wrap > * { margin: 0; }

body.efll-sd.efll-v2 .efll-inner .v2cta-copy {
	position: relative;
	padding-left: 20px;
	border-left: 2px solid var(--ei-gold, #d4a72c);
}

body.efll-sd.efll-v2 .efll-inner .v2cta .v2cta-h {
	margin: 0;
	max-width: none;
	color: #ffffff;
	font-family: var(--ei-display);
	font-weight: 700;
	font-size: clamp(23px, 2.5vw, 34px);
	line-height: 1.16;
	letter-spacing: .005em;
	text-transform: none;
	text-wrap: balance;
	overflow-wrap: break-word;
}
body.efll-sd.efll-v2 .efll-inner .v2cta .v2cta-h em {
	font-family: var(--ei-accent-face);
	font-style: italic;
	font-weight: 500;
	font-size: 1.14em;
	letter-spacing: 0;
	color: #e6c25a;
}

body.efll-sd.efll-v2 .efll-inner .v2cta .v2cta-text {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 10px 0 0;
	max-width: none;
	color: #d9e0ea;
	font-family: var(--ei-body);
	font-size: 17px;
	line-height: 1.45;
}
body.efll-sd.efll-v2 .efll-inner .v2cta .v2cta-clock {
	flex: none;
	color: #d4a72c;
}

body.efll-sd.efll-v2 .efll-inner .v2cta-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.v2cta-btn {
	width: 100%;
	min-height: 52px;
	padding: 14px 22px;
	font-size: 16px;
	letter-spacing: .13em;
	white-space: nowrap;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.v2cta-btn > span { color: inherit; }
body.efll-sd.efll-v2 .efll-inner .v2cta .v2cta-ico { flex: none; }
body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.ei-btn--light.v2cta-btn {
	background: rgba(5, 11, 20, .35);
	border-color: rgba(255, 255, 255, .55);
}
body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.ei-btn--light.v2cta-btn:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: #08111d;
}

/* tablet: buttons side by side under the copy */
@media (min-width: 600px) {
	body.efll-sd.efll-v2 .efll-inner .v2cta-actions { flex-direction: row; }
	body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.v2cta-btn { width: auto; flex: 1 1 0; }
}

/* desktop: one row - copy left, actions right */
@media (min-width: 1024px) {
	body.efll-sd.efll-v2 .efll-inner .v2cta { padding-block: 42px; }
	body.efll-sd.efll-v2 .efll-inner .v2cta > .v2cta-wrap {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 48px;
	}
	body.efll-sd.efll-v2 .efll-inner .v2cta-copy { padding-left: 26px; }
	body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.v2cta-btn { flex: none; padding-inline: 26px; }
}

/* very narrow phones: let the phone-number label wrap rather than overflow */
@media (max-width: 359.98px) {
	body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.v2cta-btn { white-space: normal; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
	body.efll-sd.efll-v2 .efll-inner .v2cta a.ei-btn.v2cta-btn { transition: none; }
}

@media (forced-colors: active) {
	body.efll-sd.efll-v2 .efll-inner .v2cta { border-block: 1px solid CanvasText; }
	body.efll-sd.efll-v2 .efll-inner .v2cta-copy { border-left-color: CanvasText; }
}

@media print {
	body.efll-sd.efll-v2 .efll-inner .v2cta { display: none; }
}
