/**
 * LGA Contact Router form.
 * Design language matched to lgapm.com: deep navy #001838 blocks, thin-stroke
 * white line icons, uppercase "larken" serif display headings, Manrope body.
 * Every interactive state sets explicit background AND color so the Elementor
 * kit's global button styles (pink) can never bleed through.
 */

.lga-cr {
	--lga-navy: #001838;
	--lga-navy-soft: #0c2a52;
	--lga-ink: #2a3441;
	--lga-mute: #66707d;
	--lga-line: #d8dde5;
	--lga-mist: #f4f6f9;
	--lga-paper: #ffffff;
	max-width: 760px;
	font-family: Manrope, Roboto, system-ui, sans-serif;
	color: var(--lga-ink);
	font-size: 16px;
	line-height: 1.55;
	background: #ffffff;
	border: 1px solid var(--lga-line);
	border-top: 3px solid var(--lga-navy);
	border-radius: 3px;
	box-shadow: 0 18px 44px rgba(0, 24, 56, .08);
	padding: 36px 38px 40px;
}
.lga-cr *, .lga-cr *::before, .lga-cr *::after { box-sizing: border-box; }

/* ---------- Type ---------- */
.lga-cr-eyebrow {
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--lga-mute);
	margin: 0 0 8px;
}
.lga-cr-heading {
	font-family: "larken", "Roboto Slab", Georgia, serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 1.15;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--lga-navy);
	margin: 0 0 8px;
}
.lga-cr-sub {
	margin: 0 0 26px;
	color: var(--lga-mute);
	font-size: 15px;
}

/* ---------- Progress rail ---------- */
.lga-cr-progress {
	display: flex;
	gap: 6px;
	margin: 0 0 30px;
}
.lga-cr-progress-step {
	flex: 1;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lga-line);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #9aa4b0;
	transition: color .25s, border-color .25s;
}
.lga-cr-progress-step.active { border-color: var(--lga-navy); color: var(--lga-navy); }
.lga-cr-progress-step.done { border-color: var(--lga-navy-soft); color: var(--lga-navy-soft); cursor: pointer; }

/* ---------- Selection trail chips ---------- */
.lga-cr-trail {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}
.lga-cr-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--lga-mist) !important;
	color: var(--lga-navy) !important;
	border: 1px solid var(--lga-line) !important;
	border-radius: 999px;
	padding: 7px 14px;
	font-family: Manrope, sans-serif;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s, background .2s;
	box-shadow: none !important;
	text-transform: none;
	letter-spacing: 0;
}
.lga-cr-chip:hover, .lga-cr-chip:focus-visible {
	background: #eaeef4 !important;
	color: var(--lga-navy) !important;
	border-color: var(--lga-navy) !important;
}
.lga-cr-chip .lga-cr-chip-edit {
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--lga-mute);
}

/* ---------- Step 1: navy category cards ---------- */
.lga-cr-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 1fr;
	gap: 16px;
}
.lga-cr .lga-cr-card {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	min-height: 208px;
	padding: 20px 22px;
	background: #ffffff !important;
	color: var(--lga-navy) !important;
	border: 1.5px solid var(--lga-line) !important;
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
	position: relative;
	overflow: hidden;
	white-space: normal;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	box-shadow: 0 2px 6px rgba(0, 24, 56, .05);
}
.lga-cr .lga-cr-card:hover,
.lga-cr .lga-cr-card:focus-visible {
	background: #ffffff !important;
	color: var(--lga-navy) !important;
	border-color: var(--lga-navy) !important;
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(0, 24, 56, .16);
	outline: none;
}

.lga-cr-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}
.lga-cr-card-chip {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #eef2f8;
	color: var(--lga-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .25s ease, color .25s ease;
}
.lga-cr-card-chip svg { width: 30px; height: 30px; display: block; }
.lga-cr .lga-cr-card:hover .lga-cr-card-chip,
.lga-cr .lga-cr-card:focus-visible .lga-cr-card-chip {
	background: var(--lga-navy);
	color: #ffffff;
}
.lga-cr-card-index {
	font-family: "larken", "Roboto Slab", Georgia, serif;
	font-size: 15px;
	color: #c3cbd6;
	letter-spacing: 1px;
	transition: color .25s ease;
}
.lga-cr .lga-cr-card:hover .lga-cr-card-index { color: var(--lga-navy); }

.lga-cr-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; width: 100%; }
.lga-cr-card-label {
	font-family: "larken", "Roboto Slab", Georgia, serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .7px;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--lga-navy);
}
.lga-cr-card-desc {
	font-family: Manrope, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: var(--lga-mute);
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	overflow-wrap: break-word;
	padding-right: 4px;
}
.lga-cr-card-label { white-space: normal; overflow-wrap: break-word; }

.lga-cr-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: Manrope, sans-serif;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--lga-navy);
	opacity: .45;
	transition: opacity .25s ease, gap .25s ease;
}
.lga-cr-card-arrow { width: 20px; height: 20px; display: inline-flex; }
.lga-cr-card-arrow svg { width: 100%; height: 100%; display: block; }
.lga-cr .lga-cr-card:hover .lga-cr-card-cta,
.lga-cr .lga-cr-card:focus-visible .lga-cr-card-cta { opacity: 1; gap: 12px; }

/* ---------- Step 2: option rows ---------- */
.lga-cr-list { display: flex; flex-direction: column; gap: 10px; }
/* Sub-group heading inside a step 2 list (brokers vs vendors). */
.lga-cr-group {
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--lga-mute);
	margin: 8px 0 0;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--lga-line);
}
.lga-cr-group:first-child { margin-top: 0; }
.lga-cr .lga-cr-option {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 17px 20px;
	background: var(--lga-paper) !important;
	color: var(--lga-ink) !important;
	border: 1px solid var(--lga-line) !important;
	border-radius: 2px;
	font-family: Manrope, sans-serif;
	font-size: 15.5px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.4;
}
.lga-cr .lga-cr-option:hover,
.lga-cr .lga-cr-option:focus-visible {
	background: #f2f5fa !important;
	border-color: var(--lga-navy) !important;
	color: var(--lga-navy) !important;
	transform: translateX(3px);
	outline: none;
}
.lga-cr-option-arrow { width: 22px; height: 22px; flex: none; opacity: .55; transition: opacity .2s; }
.lga-cr .lga-cr-option:hover .lga-cr-option-arrow,
.lga-cr .lga-cr-option:focus-visible .lga-cr-option-arrow { opacity: 1; }
.lga-cr-option-arrow svg { width: 100%; height: 100%; display: block; }

/* ---------- Step 3: fields ---------- */
.lga-cr-form-el { display: flex; flex-direction: column; gap: 18px; }
.lga-cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lga-cr-field { display: flex; flex-direction: column; gap: 7px; }
.lga-cr-label {
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--lga-navy);
}
.lga-cr-req { color: #a33c31; }
.lga-cr .lga-cr-input {
	padding: 13px 15px;
	border: 1px solid var(--lga-line);
	border-radius: 2px;
	font-size: 15.5px;
	font-family: Manrope, sans-serif;
	width: 100%;
	background: var(--lga-paper);
	color: var(--lga-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.lga-cr .lga-cr-input:focus {
	outline: none;
	border-color: var(--lga-navy);
	box-shadow: 0 0 0 3px rgba(0, 24, 56, .12);
}
textarea.lga-cr-input { min-height: 130px; resize: vertical; }
select.lga-cr-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23001838' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px;
	padding-right: 38px;
	cursor: pointer;
}

.lga-cr-consent { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0; }
.lga-cr-consent input {
	margin-top: 3px;
	flex: none;
	width: 17px;
	height: 17px;
	accent-color: var(--lga-navy);
}
.lga-cr-consent-text { font-size: 12px; color: var(--lga-mute); line-height: 1.5; }
.lga-cr-consent-text a { color: var(--lga-navy); text-decoration: underline; }

.lga-cr-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 1px; overflow: hidden; }

.lga-cr-error {
	background: #faf0ee;
	border: 1px solid #e4c4bd;
	border-left: 3px solid #a33c31;
	color: #7c2d23;
	border-radius: 2px;
	padding: 13px 16px;
	font-size: 14.5px;
}

/* Submit: site button language, navy block with serif label */
.lga-cr .lga-cr-submit {
	appearance: none;
	-webkit-appearance: none;
	align-self: flex-start;
	padding: 16px 42px;
	background: var(--lga-navy) !important;
	color: #ffffff !important;
	border: 1px solid var(--lga-navy) !important;
	border-radius: 2px;
	font-family: "larken", "Roboto Slab", Georgia, serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.lga-cr .lga-cr-submit:hover,
.lga-cr .lga-cr-submit:focus-visible {
	background: var(--lga-navy-soft) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(0, 24, 56, .25);
	outline: none;
}
.lga-cr .lga-cr-submit:disabled {
	background: #8b95a3 !important;
	border-color: #8b95a3 !important;
	transform: none;
	box-shadow: none;
	cursor: default;
}

/* Back link */
.lga-cr .lga-cr-back {
	appearance: none;
	-webkit-appearance: none;
	margin-top: 22px;
	background: transparent !important;
	border: none !important;
	color: var(--lga-mute) !important;
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	padding: 6px 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: none !important;
	transition: color .2s;
}
.lga-cr .lga-cr-back:hover, .lga-cr .lga-cr-back:focus-visible { color: var(--lga-navy) !important; background: transparent !important; }

/* ---------- Success ---------- */
.lga-cr-success {
	background: var(--lga-navy);
	color: #ffffff;
	border-radius: 2px;
	padding: 44px 40px;
	text-align: left;
}
.lga-cr-success .lga-cr-heading { color: #ffffff; margin-bottom: 14px; }
.lga-cr-success-icon { width: 52px; height: 52px; margin-bottom: 22px; }
.lga-cr-success-icon svg { width: 100%; height: 100%; display: block; }
.lga-cr-success p { margin: 0 0 24px; font-size: 15.5px; color: #d6dde8; max-width: 52ch; }
.lga-cr .lga-cr-success-link {
	display: inline-block;
	padding: 14px 34px;
	background: #ffffff !important;
	color: var(--lga-navy) !important;
	border-radius: 2px;
	font-family: "larken", "Roboto Slab", Georgia, serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform .25s ease, box-shadow .25s ease;
}
.lga-cr .lga-cr-success-link:hover {
	color: var(--lga-navy) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
}

/* ---------- Step transitions ---------- */
.lga-cr-stage { animation: lgaCrIn .38s ease both; }
@keyframes lgaCrIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.lga-cr-grid .lga-cr-card { animation: lgaCrIn .38s ease both; }
.lga-cr-grid .lga-cr-card:nth-child(2) { animation-delay: .06s; }
.lga-cr-grid .lga-cr-card:nth-child(3) { animation-delay: .12s; }
.lga-cr-grid .lga-cr-card:nth-child(4) { animation-delay: .18s; }
.lga-cr-list .lga-cr-option { animation: lgaCrIn .3s ease both; }
.lga-cr-list .lga-cr-option:nth-child(2) { animation-delay: .04s; }
.lga-cr-list .lga-cr-option:nth-child(3) { animation-delay: .08s; }
.lga-cr-list .lga-cr-option:nth-child(4) { animation-delay: .12s; }
.lga-cr-list .lga-cr-option:nth-child(5) { animation-delay: .16s; }
.lga-cr-list .lga-cr-option:nth-child(6) { animation-delay: .2s; }
.lga-cr-list .lga-cr-option:nth-child(7) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	.lga-cr *, .lga-cr *::before, .lga-cr *::after {
		animation-duration: .01ms !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.lga-cr { padding: 22px 18px 26px; }
	.lga-cr-heading { font-size: 24px; letter-spacing: 1.6px; }
	.lga-cr-grid { grid-template-columns: 1fr; }
	.lga-cr .lga-cr-card { min-height: 0; gap: 12px; padding: 18px; }
	.lga-cr-card-chip { width: 44px; height: 44px; border-radius: 10px; }
	.lga-cr-card-chip svg { width: 26px; height: 26px; }
	.lga-cr-card-cta { opacity: .8; }
	.lga-cr-row { grid-template-columns: 1fr; }
	.lga-cr .lga-cr-option { padding: 16px 18px; }
	.lga-cr .lga-cr-submit { width: 100%; text-align: center; }
	.lga-cr-progress-step { font-size: 0; }
	.lga-cr-progress-step.active { font-size: 11px; }
	.lga-cr-success { padding: 32px 24px; }
}
