/* ==========================================================================
   LOCAL.CSS — The Law Offices of Jimmy Cha, APC.
   SHARED stylesheet for the Local-Area LANDING pages (Fullerton, Anaheim,
   Huntington Beach). Map each local page ID to 'local' in functions.php.
   Uses generic .lp-* (landing-page) classes.

   Landing-page architecture (per wireframe + docx template note):
     Hero (court-proximity hook) · Courthouse-means + two-pin MAP ·
     Local process TIMELINE · Practice-area matrix · Local reviews · CTA
   (Buttons, final-cta, form-placeholder, hero-glow, practice cards come
    from component.css.)
   ========================================================================== */

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

/* ==========================================================================
   HERO — landing-style: eyebrow + big headline + dual CTA + reassurance
   ========================================================================== */
.lp-hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	border-bottom: 1px solid var(--crimson-dim);
}
.lp-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 960px;
	margin-inline: auto;
	text-align: center;
	padding-block: 100px 80px;
}
.lp-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--gold);
	padding: 9px 18px;
	border: 1px solid var(--gold-dim);
	border-radius: 50px;
	background: var(--gold-dim);
	margin-bottom: 22px;
	animation: jcFadeUp 0.7s ease both;
}
.lp-hero-title {
	font-size: clamp(32px, 4.8vw, 56px);
	font-weight: 700;
	color: var(--warm-white);
	line-height: 1.08;
	letter-spacing: -0.5px;
	margin-bottom: 20px;
	animation: jcFadeUp 0.7s ease 0.08s both;
}
.lp-hero-title em {
	font-style: italic;
	background: var(--grad-crimson);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.lp-hero-sub {
	font-size: clamp(16px, 2vw, 20px);
	color: var(--silver-light);
	max-width: 720px;
	margin: 0 auto 32px;
	animation: jcFadeUp 0.7s ease 0.16s both;
}
.lp-hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 22px;
	animation: jcFadeUp 0.7s ease 0.24s both;
}
.lp-hero .reassurance-line {
	animation: jcFadeUp 0.7s ease 0.32s both;
}

/* ==========================================================================
   SECTION 02 — COURTHOUSE MEANS (centered editorial statement)
   ========================================================================== */
.lp-courthouse-inner {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}
.lp-courthouse-inner .section-title {
	margin-inline: auto;
	margin-bottom: 28px;
}
.lp-courthouse-body p {
	font-size: 16px;
	color: var(--silver-light);
	line-height: 1.8;
	margin-bottom: 18px;
}
.lp-courthouse-body p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   SECTION 03 — LOCAL PROCESS (vertical timeline: node rail + wide content)
   ========================================================================== */
.lp-process-section {
	background: var(--charcoal);
}
/* Lead paragraphs (court-routing context) above the timeline */
.lp-process-lead {
	max-width: 860px;
	margin-bottom: 40px;
}
.lp-process-lead p {
	font-size: 16px;
	color: var(--silver-light);
	line-height: 1.8;
	margin-bottom: 18px;
}
.lp-process-lead p:last-child {
	margin-bottom: 0;
}
.lp-timeline {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.lp-step {
	position: relative;
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 26px;
	padding-bottom: 30px;
}
.lp-step:last-child {
	padding-bottom: 0;
}
/* connector line down the rail */
.lp-step::before {
	content: '';
	position: absolute;
	top: 56px;
	left: 31px;
	bottom: -4px;
	width: 2px;
	background: linear-gradient(180deg, var(--crimson), rgba(166, 24, 44, 0.12));
}
.lp-step:last-child::before {
	display: none;
}
.lp-step-node {
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 700;
	font-size: 28px;
	color: var(--warm-white);
	border-radius: 50%;
	background:
		linear-gradient(160deg, #20202b, #16161c) padding-box,
		var(--grad-crimson) border-box;
	border: 2px solid transparent;
	box-shadow: var(--shadow-sm);
}
.lp-step-content {
	border: 1px solid var(--gunmetal);
	border-radius: var(--radius-lg);
	padding: 24px 28px;
	background: var(--grad-surface);
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.lp-step-content:hover {
	transform: translateX(4px);
	border-color: rgba(166, 24, 44, 0.35);
}
.lp-step-title {
	font-size: 21px;
	color: var(--warm-white);
	margin-bottom: 8px;
	line-height: 1.25;
}
.lp-step-content p {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.7;
}

/* ==========================================================================
   SECTION 04 — PRACTICE-AREA MATRIX (compact city-framed cards, 4-up even)
   Reuses .practice-card styling from component.css; .lp-practice-grid sets
   a 4-column layout so 8 cards fill two even rows (no empty side).
   ========================================================================== */
.lp-practice-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 14px;
}
.lp-practice-grid .practice-card {
	padding: 26px 24px;
}
.lp-practice-grid .practice-card-icon {
	width: 48px;
	height: 48px;
	font-size: 19px;
	margin-bottom: 16px;
}
.lp-practice-grid .practice-card-title {
	font-size: 19px;
}
.lp-practice-grid .practice-card-desc {
	font-size: 13.5px;
}

/* ==========================================================================
   REVIEWS — local social proof (gold-tinted band)
   ========================================================================== */
.lp-reviews-section {
	background:
		radial-gradient(60% 90% at 50% 0%, rgba(184, 148, 94, 0.08), transparent 60%),
		var(--ink);
	border-top: 1px solid var(--gold-dim);
}
.lp-reviews-section .section-label {
	justify-content: center;
	text-align: center;
}
.lp-reviews-section .section-title {
	margin-inline: auto;
	text-align: center;
}
.lp-reviews-widget {
	margin-top: 8px;
}
/* Reviews folded into the CTA section — separated from the CTA copy below */
.final-cta-reviews {
	margin: 8px auto 48px;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--gunmetal);
}

/* ==========================================================================
   NORTH JUSTICE CENTER page — additional sections
   (shares lp-hero / practice-card / final-cta; adds the blocks below)
   ========================================================================== */

/* Section 02 — "What the NJC handles" check-list grid (under centered intro) */
.lp-handles {
	margin-top: 46px;
	padding-top: 38px;
	border-top: 1px solid var(--gunmetal);
}
.lp-handles-label {
	justify-content: center;
	margin-bottom: 22px;
}
.lp-handles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.lp-handle {
	display: flex;
	gap: 13px;
	align-items: center;
	border: 1px solid var(--gunmetal);
	border-radius: var(--radius);
	padding: 18px 20px;
	background: var(--grad-surface);
}
.lp-handle i {
	flex-shrink: 0;
	color: var(--gold);
	font-size: 15px;
}
.lp-handle span {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.6;
}

/* Section 03 — "Why court familiarity matters" (gold-accent cards, 5th --wide) */
.lp-why-section {
	background: var(--charcoal);
}
.lp-why {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 14px;
	align-items: stretch;
}
.lp-why-item {
	border: 1px solid var(--gunmetal);
	border-radius: var(--radius-lg);
	padding: 28px 30px;
	background: var(--grad-surface);
	height: 100%;
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.lp-why-item:hover {
	transform: translateY(-3px);
	border-color: rgba(184, 148, 94, 0.4);
}
.lp-why-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	font-size: 19px;
	color: var(--gold);
	background: var(--gold-dim);
	border: 1px solid var(--gold-dim);
	margin-bottom: 16px;
}
.lp-why-title {
	font-size: 20px;
	color: var(--warm-white);
	margin-bottom: 10px;
	line-height: 1.25;
}
.lp-why-item p {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.7;
}
.lp-why-item--wide {
	grid-column: 1 / -1;
}

/* Section 04 — Cities served (centered chip grid + CTA) */
.lp-cities-section {
	background:
		radial-gradient(60% 90% at 50% 0%, rgba(184, 148, 94, 0.08), transparent 60%),
		var(--ink);
	border-block: 1px solid var(--gold-dim);
	text-align: center;
}
.lp-cities-section .section-label {
	justify-content: center;
}
.lp-cities-section .section-title {
	margin-inline: auto;
}
.lp-cities-intro {
	max-width: 720px;
	margin: 0 auto 30px;
	color: var(--silver-light);
}
.lp-cities {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 920px;
	margin: 0 auto 30px;
}
.lp-city {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 1px;
	color: var(--warm-white);
	padding: 12px 20px;
	border: 1px solid var(--gold-dim);
	border-radius: 50px;
	background: var(--gold-dim);
}
.lp-city i {
	color: var(--gold);
	font-size: 12px;
}
.lp-cities-close {
	max-width: 720px;
	margin: 0 auto 28px;
	color: var(--silver-light);
}

/* Section 05 — NJC practice matrix (7 cards: flex so rows fill, no empty side) */
.lp-njc-practice {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 14px;
}
.lp-njc-practice .practice-card {
	flex: 1 1 300px;
	padding: 26px 24px;
}
.lp-njc-practice .practice-card-icon {
	width: 48px;
	height: 48px;
	font-size: 19px;
	margin-bottom: 16px;
}
.lp-njc-practice .practice-card-title {
	font-size: 19px;
}
.lp-njc-practice .practice-card-desc {
	font-size: 13.5px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
	.lp-practice-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.lp-handles-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 880px) {
	.lp-why {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 680px) {
	.lp-hero-inner {
		padding-block: 70px 54px;
	}
	.lp-hero-actions .btn {
		width: 100%;
	}
	.lp-practice-grid {
		grid-template-columns: 1fr;
	}
	.lp-handles-grid {
		grid-template-columns: 1fr;
	}
	.lp-njc-practice .practice-card {
		flex: 1 1 100%;
	}
	.lp-step {
		grid-template-columns: 50px 1fr;
		gap: 18px;
	}
	.lp-step::before {
		left: 24px;
	}
	.lp-step-node {
		width: 50px;
		height: 50px;
		font-size: 22px;
	}
}
