/**
 * Company STANDARD — Variant 2 polish (premium light profile).
 */

.lm-co-page {
	--lm-co-green: #1a8f5c;
	--lm-co-green-dark: #157a4f;
	--lm-co-green-soft: rgba(26, 143, 92, 0.11);
	--lm-co-gold: #c9972e;
	--lm-co-text: #152032;
	--lm-co-muted: #5f6f82;
	--lm-co-border: rgba(21, 32, 50, 0.09);
	--lm-co-radius: 26px;
	--lm-co-shadow: 0 20px 52px rgba(15, 23, 42, 0.09);
	--lm-co-max: 1140px;
	--lm-co-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	box-sizing: border-box;
	width: 100%;
	max-width: var(--lm-co-max);
	margin: 0 auto 40px;
	padding: 16px 16px 0;
	font-family: var(--lm-co-font);
	color: var(--lm-co-text);
	line-height: 1.55;
	overflow-x: clip;
}

.lm-co-page *,
.lm-co-page *::before,
.lm-co-page *::after {
	box-sizing: border-box;
}

body:has(.lm-co-page) {
	overflow-x: clip;
}

body:has(.lm-co-page) .site-content,
body:has(.lm-co-page) .directorist-single-contents,
body:has(.lm-co-page) .directorist-content-area {
	background: #e9eef3;
}

/* ── Shell ─────────────────────────────────────────────── */

.lm-co-profile {
	background: #fff;
	border-radius: var(--lm-co-radius);
	box-shadow: var(--lm-co-shadow);
	border: 1px solid rgba(255, 255, 255, 0.9);
	overflow: hidden;
	padding: 24px 26px 28px;
}

/* ── Header: identity + reviews ─────────────────────────── */

.lm-co-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	gap: 20px 24px;
	align-items: start;
	margin-bottom: 18px;
}

.lm-co-top__brand {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.lm-co-top__logo {
	flex-shrink: 0;
	width: 148px;
	height: 148px;
	border-radius: 22px;
	background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
	border: 1px solid var(--lm-co-border);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lm-co-top__logo img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	padding: 14px;
}

.lm-co-top__monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 3.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	background: linear-gradient(145deg, #1a2332 0%, #2d3f56 100%);
}

.lm-co-top__headline {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.lm-co-top__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 10px;
}

.lm-co-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	line-height: 1;
}

.lm-co-badge--standard {
	background: linear-gradient(180deg, rgba(26, 143, 92, 0.14) 0%, rgba(26, 143, 92, 0.08) 100%);
	color: var(--lm-co-green-dark);
	border: 1px solid rgba(26, 143, 92, 0.24);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.lm-co-badge--company {
	background: #f4f6f8;
	color: #334155;
	border: 1px solid var(--lm-co-border);
}

.lm-co-badge--verified {
	background: linear-gradient(180deg, rgba(201, 151, 46, 0.14) 0%, rgba(201, 151, 46, 0.08) 100%);
	color: #8a5f08;
	border: 1px solid rgba(201, 151, 46, 0.28);
}

.lm-co-badge--verified svg {
	width: 13px;
	height: 13px;
}

.lm-co-top__title {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 2.6vw, 2.35rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.028em;
	color: var(--lm-co-text);
}

.lm-co-top__city {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--lm-co-muted);
	line-height: 1.35;
}

.lm-co-top__city svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--lm-co-green);
}

.lm-co-top__short-desc {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--lm-co-border);
	max-width: 56ch;
}

.lm-co-top__short-desc p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.62;
	color: #334155;
	font-weight: 500;
}

/* ── Gallery row ───────────────────────────────────────── */

.lm-co-gallery {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}

.lm-co-gallery--count-1 { grid-template-columns: 1fr; max-width: 420px; }
.lm-co-gallery--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lm-co-gallery--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-co-gallery--count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lm-co-gallery__item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 0;
	border: none;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	background: #dce3ea;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lm-co-gallery__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.lm-co-gallery__item img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.lm-co-gallery__item:hover img {
	transform: scale(1.04);
}

.lm-co-gallery--empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 160px;
	padding: 28px;
	border-radius: 18px;
	background: #f4f7f9;
	border: 1px dashed var(--lm-co-border);
	color: var(--lm-co-muted);
	text-align: center;
	margin-bottom: 22px;
}

.lm-co-gallery--empty svg {
	width: 32px;
	height: 32px;
	opacity: 0.5;
}

.lm-co-gallery--empty p {
	margin: 0;
	font-size: 0.92rem;
	max-width: 360px;
}

.lm-co-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 1.06rem;
	font-weight: 800;
	color: var(--lm-co-text);
	letter-spacing: -0.01em;
}

.lm-co-section-title__bar {
	display: inline-block;
	width: 4px;
	height: 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--lm-co-green) 0%, var(--lm-co-green-dark) 100%);
	flex-shrink: 0;
}

/* ── About + Contacts (2fr / 1fr) ──────────────────────── */

.lm-co-split {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 16px;
	margin-bottom: 20px;
	align-items: start;
}

.lm-co-split__about,
.lm-co-split__contact {
	padding: 20px 22px 18px;
	border-radius: 20px;
	border: 1px solid var(--lm-co-border);
	background: #fafbfc;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.lm-co-split__about.is-short {
	padding: 16px 20px 14px;
}

.lm-co-split__contact {
	background: linear-gradient(180deg, #f4faf7 0%, #fff 100%);
	border-color: rgba(26, 143, 92, 0.16);
	padding: 18px 18px 16px;
}

.lm-co-split__about-body {
	font-size: 0.98rem;
	color: #475569;
	line-height: 1.68;
	max-width: 68ch;
}

.lm-co-split__about-body p {
	margin: 0 0 0.7em;
}

.lm-co-split__about-body p:last-child {
	margin-bottom: 0;
}

.lm-co-split__empty,
.lm-co-block__empty {
	margin: 0;
	color: var(--lm-co-muted);
	font-size: 0.94rem;
}

.lm-co-split__read-more {
	margin-top: 8px;
	padding: 0;
	border: none;
	background: none;
	color: var(--lm-co-green-dark);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lm-co-contact-list {
	margin: 0 0 14px;
}

.lm-co-contact-list__row {
	margin-bottom: 10px;
}

.lm-co-contact-list__row:last-child {
	margin-bottom: 0;
}

.lm-co-contact-list__row dt {
	margin: 0 0 1px;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #94a3b8;
}

.lm-co-contact-list__row dd {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--lm-co-text);
	word-break: break-word;
	line-height: 1.4;
}

.lm-co-contact-list__row dd a {
	color: var(--lm-co-green-dark);
	text-decoration: none;
}

.lm-co-contact-list__row dd a:hover {
	text-decoration: underline;
}

.lm-co-contact-list__website {
	font-weight: 500;
	font-size: 0.88rem;
}

.lm-co-contact-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lm-co-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lm-co-btn--outline {
	background: #fff;
	color: var(--lm-co-green-dark);
	border: 1px solid rgba(26, 143, 92, 0.38);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lm-co-btn--outline:hover {
	background: var(--lm-co-green-soft);
	color: var(--lm-co-green-dark);
}

.lm-co-btn--primary {
	background: linear-gradient(135deg, #1fa068 0%, var(--lm-co-green-dark) 100%);
	color: #fff;
	box-shadow: 0 8px 20px rgba(26, 143, 92, 0.28);
}

.lm-co-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(26, 143, 92, 0.32);
	color: #fff;
}

/* ── Services cards ────────────────────────────────────── */

.lm-co-block {
	padding-top: 2px;
	margin-bottom: 22px;
}

.lm-co-services__scroller {
	overflow-x: auto;
	padding: 4px 2px 10px;
	margin: 0 -2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(26, 143, 92, 0.35) transparent;
}

.lm-co-services__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	min-width: min-content;
}

.lm-co-service-card {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: min(240px, 78vw);
	max-width: 240px;
	padding: 14px 16px;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #f9fbfc 100%);
	border: 1px solid rgba(26, 143, 92, 0.16);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.lm-co-service-card__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--lm-co-green-soft);
	color: var(--lm-co-green-dark);
}

.lm-co-service-card__icon svg {
	width: 18px;
	height: 18px;
}

.lm-co-service-card__text {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--lm-co-text);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Header reviews panel ──────────────────────────────── */

.lm-co-top__reviews {
	padding: 18px 18px 16px;
	border-radius: 20px;
	border: 1px solid rgba(26, 143, 92, 0.22);
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.lm-co-top__reviews .lmrr-reviews,
.lm-co-top__reviews .lmrr-reviews.lmrr-reviews--header {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	color: var(--lm-co-text);
}

.lm-co-top__reviews .lmrr-reviews__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.lm-co-top__reviews .lmrr-reviews__head-compact h3 {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 800;
	color: var(--lm-co-text);
	letter-spacing: -0.01em;
}

.lm-co-top__reviews .lmrr-reviews__counter {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--lm-co-green-dark);
}

.lm-co-top__reviews .lmrr-open-review {
	flex-shrink: 0;
	border-radius: 11px;
	background: #fff;
	border: 1.5px solid rgba(26, 143, 92, 0.42);
	color: var(--lm-co-green-dark);
	font-weight: 700;
	font-size: 0.8rem;
	padding: 9px 14px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(26, 143, 92, 0.08);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lm-co-top__reviews .lmrr-open-review:hover {
	background: var(--lm-co-green-soft);
	border-color: var(--lm-co-green);
	color: var(--lm-co-green-dark);
}

.lm-co-top__reviews .lmrr-reviews__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lm-co-top__reviews .lmrr-review {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 10px;
	border-radius: 14px;
	border: 1px solid rgba(26, 143, 92, 0.12);
	background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
	padding: 12px 14px;
	margin-bottom: 0;
}

.lm-co-top__reviews .lmrr-review__avatar {
	width: 36px;
	height: 36px;
	font-size: 0.82rem;
	background: linear-gradient(135deg, #e8f5ee 0%, #d4ede0 100%);
	color: var(--lm-co-green-dark);
	border: 1px solid rgba(26, 143, 92, 0.16);
}

.lm-co-top__reviews .lmrr-review__top strong {
	font-size: 0.88rem;
	color: var(--lm-co-text);
	font-weight: 800;
}

.lm-co-top__reviews .lmrr-review__meta {
	font-size: 0.72rem;
	color: #64748b;
	font-weight: 600;
}

.lm-co-top__reviews .lmrr-review__text {
	font-size: 0.86rem;
	line-height: 1.55;
	color: #1e293b;
	font-weight: 500;
}

.lm-co-top__reviews .lmrr-reviews:not(.is-expanded) .lmrr-review .lmrr-review__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.lm-co-top__reviews .lmrr-review--hidden {
	display: none !important;
}

.lm-co-top__reviews .lmrr-show-all-wrap {
	margin-top: 10px;
	text-align: center;
}

.lm-co-top__reviews .lmrr-show-all {
	border: 1px solid rgba(26, 143, 92, 0.28);
	border-radius: 999px;
	background: rgba(26, 143, 92, 0.06);
	color: var(--lm-co-green-dark);
	font-weight: 700;
	font-size: 0.84rem;
	padding: 9px 14px;
	cursor: pointer;
}

.lm-co-top__reviews .lmrr-show-all:hover {
	background: var(--lm-co-green-soft);
	border-color: var(--lm-co-green);
}

/* All reviews popup (company header) */
.lmrr-all-reviews-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999998;
}

.lmrr-all-reviews-modal.is-open {
	display: block;
}

.lmrr-all-reviews-modal > .lmrr-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.52);
}

.lmrr-all-reviews-box {
	position: relative;
	width: min(640px, calc(100% - 28px));
	max-height: calc(100vh - 40px);
	margin: 20px auto;
	padding: 22px 22px 18px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(26, 143, 92, 0.18);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
	overflow-y: auto;
}

.lmrr-all-reviews-box .lmrr-close {
	position: sticky;
	top: 0;
	float: right;
	z-index: 2;
	border: 0;
	background: transparent;
	color: #64748b;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.lmrr-all-reviews-box h3 {
	margin: 0 0 6px;
	color: var(--lm-co-text);
	font-size: 1.25rem;
	font-weight: 800;
}

.lmrr-all-reviews-box__counter {
	margin: 0 0 16px;
	color: var(--lm-co-green-dark);
	font-size: 0.86rem;
	font-weight: 700;
}

.lmrr-all-reviews-box .lmrr-reviews__list--modal {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lmrr-all-reviews-box .lmrr-review {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 12px;
	border-radius: 14px;
	border: 1px solid rgba(26, 143, 92, 0.12);
	background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
	padding: 14px 16px;
	margin-bottom: 0;
}

.lmrr-all-reviews-box .lmrr-review__avatar {
	width: 40px;
	height: 40px;
	font-size: 0.88rem;
	background: linear-gradient(135deg, #e8f5ee 0%, #d4ede0 100%);
	color: var(--lm-co-green-dark);
	border: 1px solid rgba(26, 143, 92, 0.16);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
}

.lmrr-all-reviews-box .lmrr-review__top strong {
	color: var(--lm-co-text);
	font-size: 0.92rem;
	font-weight: 800;
}

.lmrr-all-reviews-box .lmrr-review__meta {
	color: #64748b;
	font-size: 0.76rem;
	font-weight: 600;
}

.lmrr-all-reviews-box .lmrr-review__text {
	color: #1e293b;
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 0;
}

.lmrr-all-reviews-box .lmrr-review__top .lmrr-stars {
	color: #f5b400;
}

body.lmrr-modal-open {
	overflow: hidden;
}

.lm-co-top__reviews .lmrr-review__top .lmrr-stars {
	color: #f5b400;
	font-size: 0.9rem;
}

.lm-co-top__reviews .lmrr-read-more {
	color: var(--lm-co-green-dark);
	font-size: 0.8rem;
	font-weight: 700;
}

.lm-co-top__reviews .lmrr-reviews__empty {
	padding: 14px 16px;
	border-radius: 14px;
	background: #f8fcf9;
	border: 1px dashed rgba(26, 143, 92, 0.24);
	color: #475569;
	font-size: 0.88rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.45;
}

/* ── Reviews (legacy bottom block) ───────────────────────── */

.lm-co-reviews {
	padding-top: 10px;
	padding-bottom: 4px;
}

.lm-co-reviews .lmrr-reviews {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.lm-co-reviews .lmrr-reviews__head {
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 14px;
}

.lm-co-reviews .lmrr-reviews__head h3 {
	font-size: 1.06rem;
	font-weight: 800;
	margin: 0 0 4px;
}

.lm-co-reviews .lmrr-reviews__subtitle {
	font-size: 0.92rem;
	color: var(--lm-co-muted);
	line-height: 1.45;
	max-width: 52ch;
}

.lm-co-reviews .lmrr-reviews__counter {
	font-size: 0.84rem;
	color: #64748b;
}

.lm-co-reviews .lmrr-review {
	border-radius: 16px;
	border: 1px solid var(--lm-co-border);
	background: #fafbfc;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
	padding: 16px;
}

.lm-co-reviews .lmrr-open-review {
	border-radius: 12px;
	background: var(--lm-co-green-dark);
	border-color: var(--lm-co-green-dark);
	font-weight: 700;
	padding: 10px 16px;
}

.lm-co-reviews .lmrr-reviews__empty {
	padding: 18px 20px;
	border-radius: 16px;
	background: #f8fafb;
	border: 1px dashed var(--lm-co-border);
	color: var(--lm-co-muted);
	font-size: 0.94rem;
}

.lm-co-reviews .lmrr-show-all {
	color: var(--lm-co-green-dark);
	font-weight: 700;
}

/* ── Lightbox ──────────────────────────────────────────── */

.lm-co-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lm-co-lightbox[hidden] {
	display: none !important;
}

.lm-co-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 25, 0.88);
}

.lm-co-lightbox__stage {
	position: relative;
	z-index: 2;
	max-width: min(92vw, 1080px);
	max-height: 86vh;
}

.lm-co-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 86vh;
	border-radius: 12px;
	object-fit: contain;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lm-co-lightbox__close,
.lm-co-lightbox__prev,
.lm-co-lightbox__next {
	position: absolute;
	z-index: 3;
	border: none;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	backdrop-filter: blur(6px);
}

.lm-co-lightbox__close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	font-size: 1.6rem;
	line-height: 1;
}

.lm-co-lightbox__prev,
.lm-co-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	font-size: 1.8rem;
	line-height: 1;
}

.lm-co-lightbox__prev { left: 16px; }
.lm-co-lightbox__next { right: 16px; }

.lm-co-lightbox__counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
}

body.lm-co-lightbox-open {
	overflow: hidden;
}

/* ── Lead modal ────────────────────────────────────────── */

.lm-master-lead-modal {
	--lm-co-green: #1a8f5c;
	--lm-co-green-dark: #157a4f;
	--lm-co-text: #152032;
	--lm-co-muted: #4a5d73;
	--lm-co-border: rgba(21, 32, 50, 0.22);
	--lm-co-input-bg: #f4f7fa;

	position: fixed;
	inset: 0;
	z-index: 99990;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--lm-co-text);
}

.lm-master-lead-modal.is-open {
	display: flex;
}

.lm-master-lead-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 25, 0.62);
}

.lm-master-lead-modal__box {
	position: relative;
	z-index: 2;
	width: min(100%, 520px);
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(21, 32, 50, 0.12);
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.lm-master-lead-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(21, 32, 50, 0.14);
	border-radius: 50%;
	background: #eef2f6;
	color: #334155;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.lm-master-lead-modal__close:hover {
	background: #e2e8f0;
}

.lm-master-lead-modal h3 {
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--lm-co-text);
}

.lm-master-lead-modal p {
	margin: 0 0 18px;
	font-size: 0.92rem;
	color: var(--lm-co-muted);
	line-height: 1.5;
}

.lm-master-lead-form label {
	display: block;
	margin-bottom: 14px;
}

.lm-master-lead-form label > span {
	display: block;
	margin-bottom: 6px;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--lm-co-text);
}

.lm-master-lead-form input:not([type="checkbox"]):not([type="hidden"]),
.lm-master-lead-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--lm-co-border);
	border-radius: 10px;
	background: var(--lm-co-input-bg);
	color: var(--lm-co-text);
	font: inherit;
	line-height: 1.45;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lm-master-lead-form input:not([type="checkbox"]):not([type="hidden"])::placeholder,
.lm-master-lead-form textarea::placeholder {
	color: #7b8da3;
	opacity: 1;
}

.lm-master-lead-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.lm-master-lead-form textarea:focus {
	outline: none;
	border-color: rgba(26, 143, 92, 0.65);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(26, 143, 92, 0.14);
}

.lm-master-lead-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.lm-master-lead-consent {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.84rem;
	color: #3f4f63;
	line-height: 1.45;
}

.lm-master-lead-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--lm-co-green);
}

.lm-master-lead-consent span {
	margin: 0;
	font-weight: 500;
	color: inherit;
}

.lm-master-lead-form__status {
	min-height: 1.2em;
	margin: 8px 0;
	font-size: 0.88rem;
}

.lm-master-lead-form__status.is-success { color: var(--lm-co-green-dark); }
.lm-master-lead-form__status.is-error { color: #b91c1c; }

.lm-master-lead-submit {
	width: 100%;
	min-height: 46px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #1fa068 0%, var(--lm-co-green-dark) 100%);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}

/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 1024px) {
	.lm-co-top {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	}
}

@media (max-width: 900px) {
	.lm-co-top {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.lm-co-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lm-co-gallery--count-1,
	.lm-co-gallery--count-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lm-co-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.lm-co-page {
		padding: 10px 12px 0;
		margin-bottom: 28px;
	}

	.lm-co-profile {
		padding: 18px 14px 22px;
		border-radius: 20px;
	}

	.lm-co-top__brand {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 14px;
	}

	.lm-co-top__headline {
		width: 100%;
	}

	.lm-co-top__badges {
		justify-content: center;
	}

	.lm-co-top__logo {
		width: 112px;
		height: 112px;
	}

	.lm-co-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.lm-co-gallery--count-1 {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.lm-co-split__about,
	.lm-co-split__contact {
		padding: 16px;
		border-radius: 16px;
	}

	.lm-co-contact-actions {
		flex-direction: column;
	}

	.lm-co-btn {
		width: 100%;
		min-height: 46px;
	}

	.lm-co-top__short-desc {
		max-width: none;
		text-align: center;
	}

	.lm-co-top__reviews .lmrr-reviews__head {
		flex-direction: column;
	}

	.lm-co-top__reviews .lmrr-open-review {
		width: 100%;
	}

	.lm-master-lead-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.lm-co-top__title {
		font-size: 1.55rem;
	}

	.lm-co-service-card {
		width: min(220px, 82vw);
	}
}

@media (max-width: 375px) {
	.lm-co-top__logo {
		width: 100px;
		height: 100px;
	}

	.lm-co-gallery__item {
		border-radius: 12px;
	}
}
