/* ==========================================================================
   JUST-ARRESTED.CSS — The Law Offices of Jimmy Cha, APC.
   Just Arrested — What to Do Now (just-arrested.php). Loaded on slug "just-arrested".
   Calm, high-contrast, scannable. CTA + buttons + form-placeholder from component.css.
   01 Hero · 02 Action Steps · 03 OC Process · 04 When to Call · 05 CTA
   ========================================================================== */

@keyframes jcFadeUp {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   01 — HERO (calm, direct)
   ========================================================================== */
.ja-hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	border-bottom: 1px solid var(--crimson-dim);
}
.ja-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
	padding-block: 96px 80px;
}
.ja-hero-title {
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 700;
	color: var(--warm-white);
	line-height: 1.08;
	letter-spacing: -0.4px;
	margin-bottom: 20px;
	animation: jcFadeUp 0.7s ease both;
}
.ja-hero-title em {
	font-style: italic;
	background: var(--grad-crimson);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.ja-hero-sub {
	font-size: clamp(16px, 2vw, 20px);
	color: var(--silver-light);
	max-width: 660px;
	margin: 0 auto 32px;
	animation: jcFadeUp 0.7s ease 0.12s both;
}
.ja-hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 22px;
	animation: jcFadeUp 0.7s ease 0.24s both;
}
/* Make the call CTA the dominant action */
.ja-hero-actions .btn-primary {
	font-size: 16px;
	padding: 18px 38px;
}
.ja-hero .reassurance-line {
	color: var(--gold);
	animation: jcFadeUp 0.7s ease 0.32s both;
}

/* ==========================================================================
   02 — ACTION STEPS
   ========================================================================== */
.ja-steps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 12px;
}
.ja-step {
	display: flex;
	gap: 18px;
	padding: 26px;
	border: 1px solid var(--gunmetal);
	border-radius: var(--radius);
	background: var(--grad-surface);
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.ja-step:hover {
	transform: translateY(-3px);
	border-color: rgba(166, 24, 44, 0.35);
}
.ja-step-num {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 19px;
	color: var(--crimson-light);
	background: var(--crimson-dim);
	border: 1px solid rgba(166, 24, 44, 0.3);
}
.ja-step-title {
	font-size: 20px;
	color: var(--warm-white);
	margin-bottom: 8px;
	line-height: 1.25;
}
.ja-step-body p {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.65;
}
/* Step 7 — the call step, highlighted */
.ja-step--highlight {
	border-color: transparent;
	background:
		linear-gradient(160deg, rgba(166, 24, 44, 0.14), rgba(20, 20, 25, 0.5)) padding-box,
		var(--grad-crimson) border-box;
	border: 1px solid transparent;
}
.ja-step--highlight .ja-step-num {
	color: #fff;
	background: var(--grad-crimson);
	border-color: transparent;
}
.ja-steps-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

/* ==========================================================================
   03 — OC PROCESS (vertical timeline with icon markers)
   ========================================================================== */
.ja-process {
	position: relative;
	padding-left: 84px;
	margin-top: 14px;
}
.ja-process::before {
	content: '';
	position: absolute;
	left: 27px;
	top: 16px;
	bottom: 16px;
	width: 2px;
	background: linear-gradient(180deg, var(--crimson) 0%, rgba(184, 148, 94, 0.4) 100%);
}
.ja-process-item {
	position: relative;
	margin-bottom: 20px;
}
.ja-process-item:last-child {
	margin-bottom: 0;
}
.ja-process-marker {
	position: absolute;
	left: -84px;
	top: 4px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 15px;
	font-size: 22px;
	color: var(--crimson-light);
	background: var(--charcoal);
	border: 1px solid var(--crimson-dim);
	box-shadow: 0 0 0 6px var(--ink);
}
.ja-process-body {
	border: 1px solid var(--gunmetal);
	border-radius: var(--radius);
	padding: 22px 26px;
	background: var(--grad-surface);
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.ja-process-item:hover .ja-process-body {
	transform: translateX(4px);
	border-color: rgba(166, 24, 44, 0.35);
}
.ja-process-name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	font-size: 21px;
	color: var(--warm-white);
	margin-bottom: 8px;
}
.ja-process-name span {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
}
.ja-process-body p {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.65;
}

/* ==========================================================================
   04 — WHEN TO CALL (centered emphasis)
   ========================================================================== */
.ja-when-section {
	background: var(--charcoal);
}
.ja-when {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}
.ja-when .section-label {
	margin-bottom: 16px;
}
.ja-when-title {
	font-size: clamp(28px, 3.6vw, 40px);
	color: var(--warm-white);
	margin-bottom: 22px;
	line-height: 1.18;
}
.ja-when-strong {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(20px, 2.6vw, 26px);
	color: var(--crimson-light);
	margin-bottom: 22px;
	line-height: 1.4;
}
.ja-when-text {
	font-size: 16px;
	color: var(--silver-light);
	line-height: 1.75;
	margin-bottom: 16px;
}
.ja-when-text:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 880px) {
	.ja-steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.ja-hero-inner {
		padding-block: 64px 56px;
	}
	.ja-hero-actions .btn,
	.ja-steps-cta .btn {
		width: 100%;
	}
	.ja-process {
		padding-left: 64px;
	}
	.ja-process::before {
		left: 22px;
	}
	.ja-process-marker {
		left: -64px;
		width: 46px;
		height: 46px;
		font-size: 18px;
	}
}
