:root {
	--lmx-navy: #111416;
	--lmx-navy-2: #2f353a;
	--lmx-orange: #00a6c8;
	--lmx-cream: #edf9fc;
	--lmx-blue: #e5f6fa;
	--lmx-ink: #20262b;
	--lmx-muted: #68727a;
	--lmx-border: #d7dde1;
	--lmx-green: #18794e;
	--lmx-white: #fff;
	--lmx-shadow: 0 12px 30px rgba(17, 20, 22, 0.1);
	--lmx-radius: 18px;
}

.lmx-directory-page,
.lmx-agency-page {
	background: #f4f5f6;
	color: var(--lmx-ink);
	padding: 0 20px 70px;
}

.lmx-directory,
.lmx-agency {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1180px;
	width: 100%;
}

.lmx-directory *,
.lmx-agency * {
	box-sizing: border-box;
}

.lmx-directory__hero,
.lmx-agency__hero {
	background:
		radial-gradient(circle at 84% 8%, rgba(0, 166, 200, 0.2), transparent 32%),
		linear-gradient(135deg, #080a0b 0%, #23282c 58%, #3a4045 100%);
	border-top: 3px solid var(--lmx-orange);
	border-radius: 0 0 28px 28px;
	color: var(--lmx-white);
	margin-bottom: 26px;
	padding: 58px 54px 48px;
}

.lmx-eyebrow {
	color: var(--lmx-orange);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 9px;
}

.lmx-directory h1,
.lmx-agency h1 {
	color: var(--lmx-white);
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.04;
	margin: 0;
}

.lmx-directory__lead {
	color: #d9dee1;
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.5;
	margin: 18px 0 30px;
	max-width: 850px;
}

.lmx-directory__stats {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(4, 1fr);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 13px;
}

.lmx-directory__stats div {
	background: rgba(255, 255, 255, 0.075);
	display: flex;
	flex-direction: column;
	padding: 16px 18px;
}

.lmx-directory__stats strong {
	color: var(--lmx-white);
	font-size: 26px;
	line-height: 1;
}

.lmx-directory__stats span {
	color: #cbd1d5;
	font-size: 13px;
	margin-top: 5px;
}

.lmx-directory__notice {
	background: var(--lmx-cream);
	border: 1px solid #b9e4ed;
	border-left: 5px solid var(--lmx-orange);
	border-radius: 12px;
	color: #23444b;
	line-height: 1.55;
	margin: 0 0 24px;
	padding: 16px 19px;
}

.lmx-directory__notice strong {
	display: inline-block;
	margin-right: 5px;
}

.lmx-filters {
	align-items: end;
	background: var(--lmx-white);
	border: 1px solid var(--lmx-border);
	border-radius: var(--lmx-radius);
	box-shadow: var(--lmx-shadow);
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(145px, 0.75fr)) auto;
	padding: 20px;
	position: relative;
	z-index: 2;
}

.lmx-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.lmx-field label {
	color: var(--lmx-navy);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.025em;
}

.lmx-field input,
.lmx-field select {
	appearance: none;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	color: var(--lmx-ink);
	font: inherit;
	font-size: 15px;
	height: 48px;
	margin: 0;
	padding: 0 13px;
	width: 100%;
}

.lmx-field select {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--lmx-navy) 50%),
		linear-gradient(135deg, var(--lmx-navy) 50%, transparent 50%);
	background-position:
		calc(100% - 17px) 20px,
		calc(100% - 12px) 20px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 30px;
}

.lmx-field input:focus,
.lmx-field select:focus {
	border-color: var(--lmx-orange);
	box-shadow: 0 0 0 3px rgba(0, 166, 200, 0.18);
	outline: none;
}

.lmx-reset {
	background: transparent;
	border: 0;
	color: var(--lmx-navy-2);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	height: 48px;
	padding: 0 8px;
	text-decoration: underline;
	text-decoration-color: #b7c2cd;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.lmx-results-bar {
	color: var(--lmx-muted);
	font-size: 14px;
	padding: 25px 3px 14px;
}

.lmx-results-bar strong {
	color: var(--lmx-navy);
	font-size: 18px;
}

.lmx-card-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lmx-card {
	background: var(--lmx-white);
	border: 1px solid var(--lmx-border);
	border-radius: var(--lmx-radius);
	box-shadow: 0 5px 18px rgba(17, 20, 22, 0.055);
	display: flex;
	flex-direction: column;
	min-height: 355px;
	padding: 23px;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.lmx-card:hover {
	border-color: #9bcbd4;
	box-shadow: var(--lmx-shadow);
	transform: translateY(-2px);
}

.lmx-card[hidden] {
	display: none;
}

.lmx-card__logo {
	background: #edf1f5;
	border: 1px solid #e1e7ec;
	border-radius: 12px;
	display: block;
	margin: -6px -6px 18px;
	overflow: hidden;
}

.lmx-card__logo img {
	aspect-ratio: 2 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.lmx-card__topline {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin-bottom: 13px;
}

.lmx-card__country {
	color: var(--lmx-muted);
	font-size: 12px;
	font-weight: 700;
}

.lmx-badge {
	background: var(--lmx-blue);
	border-radius: 99px;
	color: var(--lmx-navy-2);
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	padding: 5px 8px;
	white-space: nowrap;
}

.lmx-badge--direct {
	background: #ddf5e8;
	color: var(--lmx-green);
}

.lmx-card h2 {
	font-size: 23px;
	line-height: 1.17;
	margin: 0 0 5px;
}

.lmx-card h2 a {
	color: var(--lmx-navy);
	text-decoration: none;
}

.lmx-card h2 a:hover {
	color: #0085a1;
}

.lmx-card__type {
	color: var(--lmx-orange);
	font-size: 12px;
	font-weight: 800;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.lmx-card__specialty {
	color: #475467;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 17px;
}

.lmx-card__facts {
	border-top: 1px solid #edf0f3;
	margin: auto 0 0;
	padding-top: 14px;
}

.lmx-card__facts div {
	display: grid;
	gap: 8px;
	grid-template-columns: 72px 1fr;
	margin: 0 0 8px;
}

.lmx-card__facts dt {
	color: var(--lmx-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.lmx-card__facts dd {
	color: #344054;
	font-size: 12px;
	line-height: 1.35;
	margin: 0;
}

.lmx-card__footer {
	align-items: center;
	border-top: 1px solid #edf0f3;
	display: flex;
	justify-content: space-between;
	margin-top: 11px;
	padding-top: 14px;
}

.lmx-card__footer > span {
	color: var(--lmx-muted);
	font-size: 12px;
}

.lmx-card__cta {
	color: var(--lmx-navy);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.lmx-card__verified {
	color: #98a2b3;
	font-size: 10px;
	margin: 10px 0 0;
}

.lmx-empty {
	background: var(--lmx-white);
	border: 1px dashed #b8c5d0;
	border-radius: var(--lmx-radius);
	padding: 45px 25px;
	text-align: center;
}

.lmx-empty h2 {
	color: var(--lmx-navy);
	margin: 0 0 8px;
}

.lmx-directory__footer {
	background:
		radial-gradient(circle at 85% 15%, rgba(0, 166, 200, 0.16), transparent 32%),
		linear-gradient(135deg, #080a0b, #30353a);
	border-radius: var(--lmx-radius);
	color: #d9dee1;
	margin-top: 38px;
	padding: 34px;
	text-align: center;
}

.lmx-directory__footer h2 {
	color: var(--lmx-white);
	font-size: 25px;
	margin: 0 0 6px;
}

.lmx-directory__footer p {
	margin: 0 0 19px;
}

.lmx-directory__footer .lmx-directory__trademark {
	color: #aeb7bd;
	font-size: 11px;
	line-height: 1.45;
	margin: 20px auto 0;
	max-width: 760px;
}

.lmx-primary-button,
.lmx-contact-actions a {
	background: var(--lmx-orange);
	border-radius: 10px;
	color: #061114;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	padding: 12px 18px;
	text-decoration: none;
}

.lmx-breadcrumbs {
	color: var(--lmx-muted);
	display: flex;
	font-size: 13px;
	gap: 7px;
	padding: 22px 2px;
}

.lmx-breadcrumbs a,
.lmx-agency__back a {
	color: var(--lmx-navy-2);
	font-weight: 700;
}

.lmx-agency__hero {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 0;
}

.lmx-agency__identity {
	align-items: center;
	display: flex;
	gap: 22px;
	min-width: 0;
}

.lmx-agency__identity > div {
	min-width: 0;
}

.lmx-agency__logo {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	flex: 0 0 auto;
	height: 88px;
	object-fit: cover;
	width: 176px;
}

.lmx-agency__location {
	color: #d9dee1;
	font-size: 17px;
	margin: 13px 0 0;
}

.lmx-agency__verified {
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 13px;
	display: flex;
	flex-direction: column;
	min-width: 180px;
	padding: 14px 17px;
}

.lmx-agency__verified span,
.lmx-agency__verified small {
	color: #cbd1d5;
	font-size: 11px;
}

.lmx-agency__verified strong {
	color: #a8ecc9;
	font-size: 17px;
	margin: 3px 0;
}

.lmx-agency__intro,
.lmx-agency__section {
	background: var(--lmx-white);
	border: 1px solid var(--lmx-border);
	border-radius: var(--lmx-radius);
	margin-top: 20px;
	padding: 28px 31px;
}

.lmx-agency__intro {
	border-left: 5px solid var(--lmx-orange);
	color: #344054;
	font-size: 18px;
	line-height: 1.55;
}

.lmx-agency__intro p {
	margin: 0;
}

.lmx-agency__section h2 {
	color: var(--lmx-navy);
	font-size: 26px;
	margin: 0 0 20px;
}

.lmx-profile-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmx-profile-grid > div {
	background: #f8fafc;
	border: 1px solid #e6ebef;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	padding: 15px 17px;
}

.lmx-profile-grid span,
.lmx-contact-lead span {
	color: var(--lmx-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.lmx-profile-grid strong {
	color: var(--lmx-ink);
	font-size: 14px;
	line-height: 1.4;
	margin-top: 5px;
}

.lmx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 17px;
}

.lmx-tags span {
	background: var(--lmx-blue);
	border-radius: 99px;
	color: var(--lmx-navy-2);
	font-size: 12px;
	font-weight: 700;
	padding: 7px 11px;
}

.lmx-editorial-note {
	border-top: 1px solid #e6ebef;
	color: #475467;
	line-height: 1.55;
	margin: 22px 0 0;
	padding-top: 18px;
}

.lmx-contact-lead {
	background: var(--lmx-cream);
	border: 1px solid #b9e4ed;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	margin-bottom: 14px;
	padding: 15px 18px;
}

.lmx-contact-lead strong {
	color: var(--lmx-navy);
	font-size: 19px;
	margin-top: 3px;
}

.lmx-contact-lead small {
	color: var(--lmx-muted);
	margin-top: 2px;
}

.lmx-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 23px;
}

.lmx-contact-actions a {
	font-size: 13px;
	padding: 10px 14px;
}

.lmx-contact-actions a:nth-child(n+2) {
	background: var(--lmx-blue);
	color: var(--lmx-navy);
}

.lmx-contact-list {
	border: 1px solid var(--lmx-border);
	border-radius: 13px;
	overflow: hidden;
}

.lmx-contact-item {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(155px, 0.85fr) minmax(240px, 1.5fr) auto;
	padding: 17px;
}

.lmx-contact-item + .lmx-contact-item {
	border-top: 1px solid var(--lmx-border);
}

.lmx-contact-item > div {
	display: flex;
	flex-direction: column;
}

.lmx-contact-item__channel {
	color: var(--lmx-orange);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.lmx-contact-item strong {
	color: var(--lmx-navy);
	font-size: 14px;
}

.lmx-contact-item small {
	color: var(--lmx-muted);
	font-size: 11px;
	line-height: 1.35;
	margin-top: 3px;
}

.lmx-contact-item__value a {
	color: #007f99;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.lmx-properties {
	display: grid;
	gap: 13px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lmx-property {
	background: #f8fafc;
	border: 1px solid #e3e9ee;
	border-radius: 12px;
	padding: 17px;
}

.lmx-property h3 {
	color: var(--lmx-navy);
	font-size: 17px;
	margin: 0 0 4px;
}

.lmx-property > p {
	color: var(--lmx-muted);
	font-size: 12px;
	margin: 0 0 13px;
}

.lmx-property dl {
	margin: 0 0 11px;
}

.lmx-property dl div {
	margin-bottom: 8px;
}

.lmx-property dt {
	color: var(--lmx-muted);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.lmx-property dd {
	font-size: 12px;
	line-height: 1.35;
	margin: 2px 0 0;
}

.lmx-inline-link,
.lmx-sources a,
.lmx-report-link {
	color: #007f99;
	font-size: 12px;
	font-weight: 750;
}

.lmx-sources {
	background: var(--lmx-blue);
}

.lmx-sources ul {
	margin: 12px 0 18px;
}

.lmx-trademark-note {
	color: var(--lmx-muted);
	font-size: 11px;
	line-height: 1.45;
}

.lmx-agency__back {
	padding: 25px 3px;
}

@media (max-width: 1020px) {
	.lmx-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lmx-field--search {
		grid-column: 1 / -1;
	}

	.lmx-card-grid,
	.lmx-properties {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.lmx-directory-page,
	.lmx-agency-page {
		padding: 0 12px 45px;
	}

	.lmx-directory__hero,
	.lmx-agency__hero {
		border-radius: 0 0 20px 20px;
		padding: 38px 22px 30px;
	}

	.lmx-directory__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.lmx-filters,
	.lmx-card-grid,
	.lmx-profile-grid,
	.lmx-properties {
		grid-template-columns: 1fr;
	}

	.lmx-field--search {
		grid-column: auto;
	}

	.lmx-card {
		min-height: 0;
	}

	.lmx-agency__hero {
		align-items: flex-start;
		flex-direction: column;
		gap: 22px;
	}

	.lmx-agency__identity {
		align-items: flex-start;
		flex-direction: column;
		width: 100%;
	}

	.lmx-agency__logo {
		height: auto;
		max-width: 220px;
		width: 48%;
	}

	.lmx-agency__verified {
		width: 100%;
	}

	.lmx-agency__intro,
	.lmx-agency__section {
		padding: 22px 19px;
	}

	.lmx-contact-item {
		align-items: start;
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lmx-card {
		transition: none;
	}
}
