/*
 * LocksmithGrid component styles.
 * Tokens come from theme.json (--wp--preset--*). Mobile-first; breakpoints at 600px, 782px and 1080px.
 */

:root {
	--lg-navy: var(--wp--preset--color--navy);
	--lg-amber: var(--wp--preset--color--amber);
	--lg-blue: var(--wp--preset--color--blue);
	--lg-blue-light: var(--wp--preset--color--blue-light);
	--lg-blue-tint: var(--wp--preset--color--blue-tint);
	--lg-line: var(--wp--preset--color--line);
	--lg-mist: var(--wp--preset--color--mist);
	--lg-steel: var(--wp--preset--color--steel);
	--lg-signal: var(--wp--preset--color--signal);
	--lg-radius-sm: var(--wp--custom--radius--sm, 6px);
	--lg-radius-md: var(--wp--custom--radius--md, 10px);
	--lg-radius-lg: var(--wp--custom--radius--lg, 16px);
	--lg-focus: var(--wp--custom--focus--color, #1E66F5);
	--lg-focus-dark: var(--wp--custom--focus--on-dark, #9CC2FF);
	--lg-tap: 48px;
}

/* ---------- Base ---------- */

:where(input, select, textarea, button) { box-sizing: border-box; }

html { scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
::selection { background: var(--lg-blue-tint); color: var(--lg-navy); }

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* One visible focus style everywhere (WCAG 2.4.7 / 2.4.13). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--lg-focus);
	outline-offset: 2px;
	border-radius: 2px;
}
.has-navy-background-color :where(a, button, input, select, textarea, summary):focus-visible,
.has-navy-deep-background-color :where(a, button, input, select, textarea, summary):focus-visible,
.lg-on-dark :where(a, button, input, select, textarea, summary):focus-visible {
	outline-color: var(--lg-focus-dark);
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}

.lg-mono, .has-mono-font-family { font-family: var(--wp--preset--font-family--mono); font-weight: 500; letter-spacing: 0; }
.lg-help { color: var(--lg-steel); font-size: var(--wp--preset--font-size--small); }
.lg-icon { flex: none; vertical-align: middle; }

/* Dark sections: readable links and muted text. */
.has-navy-background-color, .has-navy-deep-background-color { color: #fff; }
.has-navy-background-color :where(h1, h2, h3, h4, h5, h6),
.has-navy-deep-background-color :where(h1, h2, h3, h4, h5, h6) { color: #fff; }
.has-navy-background-color a:where(:not(.wp-element-button):not(.lg-btn)),
.has-navy-deep-background-color a:where(:not(.wp-element-button):not(.lg-btn)) { color: var(--lg-blue-light); }
.has-navy-background-color .lg-help,
.has-navy-deep-background-color .lg-help,
.lg-muted-on-dark { color: #B9C6D3; }

/* ---------- Buttons ---------- */

.lg-btn,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: var(--lg-tap);
	text-decoration: none;
	transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.lg-btn {
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
	padding: 0.875rem 1.5rem; border: 2px solid transparent; border-radius: var(--lg-radius-sm); cursor: pointer;
}
.lg-btn--primary { background: var(--lg-amber); color: var(--lg-navy); }
.lg-btn--primary:hover { background: #E0901A; color: var(--lg-navy); }
.lg-btn--secondary { background: transparent; color: var(--lg-navy); border-color: var(--lg-navy); }
.lg-btn--secondary:hover { background: var(--lg-navy); color: #fff; }

/* Outline button style (core "outline" style variation). */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: currentColor; border: 2px solid currentColor;
	padding: calc(0.875rem - 2px) calc(1.5rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(11, 31, 58, .06); }
.has-navy-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Header ---------- */

.lg-topbar { font-size: 0.875rem; line-height: 1.4; }
.lg-topbar p { margin: 0; }

.lg-header { position: relative; z-index: 20; border-bottom: 1px solid var(--lg-line); }
.lg-header__inner { gap: 1rem; flex-wrap: nowrap !important; }
.lg-header__logo { margin: 0 !important; flex: none; }
.lg-header__logo a { display: block; line-height: 0; }
.lg-header__logo img { width: 168px; height: auto; }
.lg-header__actions { gap: 0.5rem !important; flex-wrap: nowrap !important; }
.lg-header__cta .wp-block-button__link { padding: 0.625rem 1rem; font-size: 0.9375rem; min-height: 44px; white-space: nowrap; }

.lg-header .wp-block-navigation__responsive-container-open,
.lg-header .wp-block-navigation__responsive-container-close {
	min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
	border-radius: var(--lg-radius-sm);
}
.lg-header .wp-block-navigation__responsive-container-open { border: 1px solid var(--lg-line); }
.lg-header .wp-block-navigation .wp-block-navigation-item__content { padding: 0.5rem 0.25rem; }
.lg-header .wp-block-navigation a:hover { color: var(--lg-signal); }
.lg-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem clamp(1rem, 4vw, 2rem); }
.lg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.lg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.25rem; font-family: var(--wp--preset--font-family--display); font-weight: 700; }
.lg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.75rem; }
.lg-header .wp-block-navigation .current-menu-item > a,
.lg-header .wp-block-navigation [aria-current="page"] { color: var(--lg-signal); text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 2px; }

@media (max-width: 599px) {
	.lg-header__logo img { width: 142px; }
	.lg-header__cta .wp-block-button__link { padding: 0.5rem 0.75rem; font-size: 0.875rem; }
	.lg-topbar { font-size: 0.8125rem; }
}
@media (max-width: 359px) {
	.lg-header__cta { display: none; }
}

/* ---------- Hero ---------- */

.lg-hero { position: relative; overflow: hidden; isolation: isolate; }
.lg-hero::before {
	/* Brand grid motif, decorative. */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.2));
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.2));
}
.lg-hero h1 { color: #fff; max-width: 15ch; text-wrap: balance; }
.lg-hero .lg-hero__lead { color: #D9E1E9; max-width: 38rem; }
.lg-eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 0.875rem;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.lg-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--wp--preset--color--blue); }
.lg-hero .lg-eyebrow { color: var(--lg-blue-light); }
.lg-hero__note { color: #B9C6D3; font-size: var(--wp--preset--font-size--small); }
.lg-hero__note a { color: var(--lg-blue-light); }

/* Decorative grid illustration (desktop only). */
.lg-gridart { display: none; }
@media (min-width: 1080px) {
	.lg-gridart {
		display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
		width: 100%; max-width: 340px; aspect-ratio: 1; margin-left: auto;
	}
	.lg-gridart span { border-radius: 14px; background: var(--wp--preset--color--tile); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
	.lg-gridart span:nth-child(2), .lg-gridart span:nth-child(7) { background: #22467A; }
	.lg-gridart span.is-key {
		background: var(--lg-blue); position: relative;
		box-shadow: 0 0 0 6px rgba(30,102,245,.22), 0 20px 50px rgba(0,0,0,.35);
	}
	.lg-gridart span.is-key::before, .lg-gridart span.is-key::after { content: ""; position: absolute; left: 50%; background: #fff; transform: translateX(-50%); }
	.lg-gridart span.is-key::before { top: 26%; width: 30%; aspect-ratio: 1; border-radius: 50%; }
	.lg-gridart span.is-key::after { top: 44%; width: 18%; height: 32%; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
}

/* ---------- Search ---------- */

.lg-search__form {
	display: grid; gap: 0.75rem;
	background: #fff; color: var(--lg-navy);
	border-radius: var(--lg-radius-md); padding: 1rem;
	box-shadow: var(--wp--preset--shadow--raised);
}
.lg-search__field { display: grid; gap: 0.375rem; min-width: 0; }
.lg-search__field label { font-weight: 600; font-size: 0.9375rem; }
.lg-search__input-wrap { position: relative; display: block; }
.lg-search__input-wrap .lg-icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--lg-steel); pointer-events: none; }
.lg-search__input-wrap input { padding-left: 2.625rem !important; }
.lg-search__submit { width: 100%; }

@media (min-width: 600px) {
	.lg-search--hero .lg-search__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; padding: 1.25rem; }
	.lg-search--hero .lg-search__submit { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
	.lg-search--hero .lg-search__form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }
	.lg-search--hero .lg-search__submit { grid-column: auto; width: auto; }
}
.lg-search--compact .lg-search__form { box-shadow: none; border: 1px solid var(--lg-line); }
@media (min-width: 782px) {
	.lg-search--compact .lg-search__form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; }
	.lg-search--compact .lg-search__submit { width: auto; }
}

/* ---------- Form controls (search + Leads plugin form) ---------- */

.lg-search input, .lg-search select,
.lg-lead-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.lg-lead-form select,
.lg-lead-form textarea {
	width: 100%; min-height: var(--lg-tap);
	font: inherit; font-size: 1.0625rem; /* >= 16px stops iOS zoom */
	color: var(--lg-navy); background: #fff;
	border: 1.5px solid #6B7C8E; border-radius: var(--lg-radius-sm);
	padding: 0.625rem 0.875rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.lg-search select, .lg-lead-form select {
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem;
}
.lg-search input:hover, .lg-search select:hover,
.lg-lead-form :is(input, select, textarea):hover { border-color: var(--lg-navy); }
.lg-search :is(input, select):focus-visible,
.lg-lead-form :is(input, select, textarea):focus-visible {
	outline: 3px solid var(--lg-focus); outline-offset: 1px; border-color: var(--lg-navy);
}
.lg-search input::placeholder, .lg-lead-form ::placeholder { color: #5A6B7E; opacity: 1; }

.lg-lead-form { display: block; }
.lg-lead-form form { display: grid; gap: 1rem; }
.lg-lead-form label, .lg-lead-form legend { font-weight: 600; color: var(--lg-navy); }
.lg-lead-form .lg-field { display: grid; gap: 0.375rem; align-content: start; }
.lg-lead-form fieldset { display: grid; gap: 0.5rem; }
.lg-lead-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lg-lead-form legend { padding: 0; margin-bottom: 0.5rem; }
.lg-lead-form textarea { min-height: 7rem; resize: vertical; }
.lg-lead-form input[type="checkbox"], .lg-lead-form input[type="radio"] {
	width: 1.25rem; height: 1.25rem; margin: 0.125rem 0 0; accent-color: var(--lg-navy); flex: none;
}
.lg-lead-form :is(.lg-choice, fieldset label):has(> input[type="radio"], > input[type="checkbox"]) {
	display: flex; gap: 0.625rem; align-items: flex-start; font-weight: 400; min-height: 44px; padding: 0.625rem 0.75rem;
	border: 1.5px solid #A9BBCD; border-radius: var(--lg-radius-sm); cursor: pointer; align-items: center;
}
.lg-lead-form :is(.lg-choice, fieldset label):has(> input:checked) { border-color: var(--lg-navy); background: var(--lg-mist); }
.lg-lead-form .lg-help { margin: 0; }
.lg-lead-form .lg-error { margin: 0; color: var(--wp--preset--color--alert); font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.lg-lead-form .lg-field--error :is(input, select, textarea) { border-color: var(--wp--preset--color--alert); border-width: 2px; }
.lg-lead-form .lg-consent { font-size: var(--wp--preset--font-size--small); color: #34495E; }
.lg-lead-form .lg-consent label { font-weight: 400; display: flex; gap: 0.625rem; align-items: flex-start; }
.lg-lead-form :is(button, input[type="submit"]) {
	width: 100%; min-height: 52px; border: 0; border-radius: var(--lg-radius-sm);
	background: var(--lg-amber); color: var(--lg-navy); cursor: pointer;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.125rem;
	padding: 0.875rem 1.5rem;
}
.lg-lead-form :is(button, input[type="submit"]):hover { background: #E0901A; }
.lg-lead-form :is(button, input[type="submit"])[disabled] { opacity: .6; cursor: progress; }
@media (min-width: 600px) {
	.lg-lead-form .lg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* Notices (theme + plugin). */
.lg-notice {
	border-radius: var(--lg-radius-sm); padding: 0.875rem 1rem; border-left: 4px solid var(--lg-steel);
	background: var(--lg-mist); color: var(--lg-navy);
}
.lg-notice > :first-child { margin-top: 0; }
.lg-notice > :last-child { margin-bottom: 0; }
.lg-notice--success { border-left-color: var(--wp--preset--color--verified); background: #E4F3EC; }
.lg-notice--error { border-left-color: var(--wp--preset--color--alert); background: #FBEAE6; }

/* Request card wrapper. */
.lg-request {
	background: #fff; color: var(--lg-navy);
	border: 1px solid var(--lg-line); border-radius: var(--lg-radius-lg);
	padding: clamp(1.25rem, 3vw, 2rem);
	box-shadow: var(--wp--preset--shadow--card);
}
.lg-request__heading { margin-top: 0; font-size: var(--wp--preset--font-size--x-large); }
.lg-sticky { position: sticky; top: 1.5rem; }

/* ---------- Cards and grids ---------- */

.lg-service-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 0.75rem; grid-template-columns: 1fr;
}
@media (min-width: 600px) { .lg-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1080px) { .lg-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.lg-service-card {
	position: relative; height: 100%;
	display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; column-gap: 0.875rem; row-gap: 0.25rem;
	padding: 1.125rem 1.125rem 1.125rem 1rem;
	background: #fff; color: var(--lg-navy); text-decoration: none;
	border: 1px solid var(--lg-line); border-radius: var(--lg-radius-md);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.lg-service-card:hover { border-color: var(--lg-navy); box-shadow: var(--wp--preset--shadow--card); text-decoration: none; }
.lg-service-card__icon {
	grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: var(--lg-radius-sm);
	display: grid; place-items: center; background: var(--lg-mist); color: var(--lg-navy);
}
.lg-service-card:hover .lg-service-card__icon { background: var(--lg-blue-tint); color: var(--lg-blue); }
.lg-service-card__title { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.lg-service-card__summary { grid-column: 2; color: var(--lg-steel); font-size: 0.9375rem; line-height: 1.45; }
.lg-service-card__more { grid-column: 3; grid-row: 1; color: var(--lg-steel); align-self: center; transition: transform .15s ease; }
.lg-service-card:hover .lg-service-card__more { transform: translateX(3px); color: var(--lg-navy); }

.lg-card {
	background: #fff; border: 1px solid var(--lg-line); border-radius: var(--lg-radius-md);
}
.lg-steps .lg-card { height: 100%; }
.lg-card--mist { background: var(--lg-mist); border-color: transparent; }

/* Steps. */
.lg-steps { counter-reset: lgstep; }
.lg-step { position: relative; }
.lg-step__num {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
	background: var(--lg-navy); color: #fff;
	font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.125rem;
}
.lg-step:nth-child(2) .lg-step__num { background: var(--wp--preset--color--tile); }
.lg-step:nth-child(3) .lg-step__num { background: var(--lg-blue); color: #fff; }

/* Area chips. */
.lg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lg-chips li {
	display: inline-flex; align-items: center; gap: 0.375rem; min-height: 40px; padding: 0.375rem 0.875rem;
	border: 1px solid var(--lg-line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.9375rem;
}
.lg-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--wp--preset--color--tile); }
.lg-chips li:first-child::before { background: var(--lg-blue); }
.lg-chips a { color: inherit; }

/* Plans. */
.lg-plan { position: relative; display: flex; flex-direction: column; }
.lg-plan .wp-block-buttons { margin-top: auto; }
.lg-plan__price { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 2.25rem; line-height: 1; margin: 0; }
.lg-plan__price small { font-size: 1rem; font-weight: 600; color: var(--lg-steel); }
.has-navy-background-color .lg-plan__price small { color: #B9C6D3; }
.lg-plan--featured { box-shadow: 0 0 0 3px var(--lg-blue); }
.lg-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.lg-checklist li { position: relative; padding-left: 1.75rem; }
.lg-checklist li::before {
	content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E66F5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.lg-pill {
	display: inline-block; padding: 0.125rem 0.625rem; border-radius: 999px;
	font-size: 0.8125rem; font-weight: 700; letter-spacing: .02em;
	background: var(--lg-blue-tint); color: var(--lg-navy);
}

/* ---------- Badges + company facts ---------- */

.lg-badge {
	display: inline-flex; align-items: center; gap: 0.375rem;
	padding: 0.25rem 0.625rem; border-radius: 999px;
	font-size: 0.8125rem; font-weight: 700; line-height: 1.3;
}
.lg-badge--verified { background: #E4F3EC; color: #14583C; box-shadow: inset 0 0 0 1px #A8D5C0; }
.lg-badge--pending { background: var(--lg-mist); color: #3E5063; box-shadow: inset 0 0 0 1px var(--lg-line); }
.lg-badge--sponsored { background: #FFF4DD; color: #5C3D06; box-shadow: inset 0 0 0 1px #E3B25E; }

.lg-facts__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.75rem; }
.lg-facts__line { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.25rem 0; color: #34495E; font-size: 0.9375rem; }
.lg-facts__line .lg-icon { margin-top: 0.2em; color: var(--lg-steel); }
.lg-facts__list { margin: 0; display: grid; gap: 0; }
.lg-facts__row { display: grid; gap: 0.25rem; padding: 0.875rem 0; border-top: 1px solid var(--lg-line); }
.lg-facts__row:first-child { border-top: 0; padding-top: 0; }
.lg-facts__row dt { display: flex; gap: 0.5rem; align-items: center; font-weight: 700; color: var(--lg-navy); }
.lg-facts__row dt .lg-icon { color: var(--lg-steel); }
.lg-facts__row dd { margin: 0; padding-left: 1.625rem; display: grid; gap: 0.125rem; }
.lg-facts__note { margin: 1rem 0 0; }
.lg-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.lg-tags li { padding: 0.25rem 0.625rem; background: var(--lg-mist); border-radius: 999px; font-size: 0.875rem; }
@media (min-width: 600px) {
	.lg-facts__row { grid-template-columns: 11rem 1fr; gap: 1rem; }
	.lg-facts__row dd { padding-left: 0; }
}

/* Company listing cards (Query Loop). */
.lg-listing { list-style: none; padding: 0; }
.lg-listing-card {
	height: 100%; display: flex; flex-direction: column; gap: 0.5rem;
	background: #fff; border: 1px solid var(--lg-line); border-radius: var(--lg-radius-md);
	padding: 1.25rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.lg-listing-card:hover { border-color: #A9BBCD; box-shadow: var(--wp--preset--shadow--card); }
.lg-listing-card .wp-block-post-title { font-size: 1.25rem; margin: 0; }
.lg-listing-card .wp-block-post-title a { text-decoration: none; }
.lg-listing-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; } /* whole-card target */
.lg-listing-card { position: relative; }
.lg-listing-card .wp-block-post-excerpt { color: #34495E; font-size: 0.9375rem; margin: 0; }
.lg-listing-card .wp-block-post-excerpt__more-text { display: none; }
.lg-listing-card .wp-block-post-featured-image { margin: 0; width: 56px; height: 56px; border-radius: var(--lg-radius-sm); overflow: hidden; background: var(--lg-mist); }
.lg-listing-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Breadcrumbs ---------- */

.lg-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.9375rem; }
.lg-breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--lg-steel); }
.lg-breadcrumbs li + li::before { content: "/"; color: #A9BBCD; }
.lg-breadcrumbs a { color: var(--lg-steel); }
.lg-breadcrumbs a:hover { color: var(--lg-navy); }
.lg-breadcrumbs [aria-current] { color: var(--lg-navy); font-weight: 600; }
.has-navy-background-color .lg-breadcrumbs :is(li, a) { color: #B9C6D3; }
.has-navy-background-color .lg-breadcrumbs [aria-current] { color: #fff; }

.lg-search-summary { margin: 0; color: #34495E; }
.lg-search-summary a { margin-left: 0.5rem; }

/* ---------- FAQ (details) ---------- */

.wp-block-details summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.125rem; min-height: 44px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: var(--lg-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") no-repeat center / 16px;
	transition: transform .2s ease;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: #34495E; }

/* ---------- Footer ---------- */

.lg-footer { font-size: 0.9375rem; }
.lg-footer h2 { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-blue-light); margin-bottom: 0.75rem; }
.lg-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.lg-footer ul a { display: inline-block; padding: 0.3rem 0; color: #D9E1E9 !important; text-decoration: none; }
.lg-footer ul a:hover { color: #fff !important; text-decoration: underline; }
.lg-footer__logo img { width: 180px; }
.lg-footer__disclosure { color: #B9C6D3; max-width: 34rem; }
.lg-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); color: #B9C6D3; font-size: 0.875rem; }
.lg-footer__bottom p { margin: 0; }

/* ---------- Content ---------- */

.entry-content > * + h2, .wp-block-post-content > * + h2 { margin-top: 2.5rem; }
.wp-block-post-content :where(ul, ol) { padding-left: 1.25rem; }
.wp-block-post-content li + li { margin-top: 0.25rem; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table :where(th, td) { border: 1px solid var(--lg-line); padding: 0.625rem 0.75rem; text-align: left; }
.wp-block-table thead { background: var(--lg-mist); border-bottom: 0; }

/* Section header helper. */
.lg-section-head { max-width: 46rem; }
.lg-section-head p { color: #34495E; font-size: var(--wp--preset--font-size--large); }
.has-navy-background-color .lg-section-head p { color: #D9E1E9; }

/* Columns stack gap fix on mobile. */
@media (max-width: 781px) {
	.wp-block-columns.lg-stack-tight { gap: 1rem; }
	.lg-sticky { position: static; }
}

/* Reduced motion. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Windows high contrast. */
@media (forced-colors: active) {
	.lg-btn, .lg-service-card, .lg-badge, .lg-request { border: 1px solid CanvasText; }
}

/* Navigation collapses into the menu button below 1080px (core default is 600px), so logo, links and CTA never crowd. */
@media (min-width: 600px) and (max-width: 1079px) {
	.lg-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.lg-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

.lg-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
@media (min-width: 782px) { .lg-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Why points. */
.lg-why { list-style: none; margin: var(--wp--preset--spacing--50) 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .lg-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1080px) { .lg-why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lg-why li { padding: 1.5rem; border: 1px solid var(--lg-line); border-radius: var(--lg-radius-md); background: #fff; }
.lg-why__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--lg-navy); color: var(--lg-blue-light); }
.lg-why h3 { font-size: 1.1875rem; margin: 1rem 0 0.5rem; }
.lg-why p { margin: 0; color: #34495E; }

/* Plans. */
.lg-plans { display: grid; gap: 1rem; margin-top: var(--wp--preset--spacing--50); grid-template-columns: 1fr; }
@media (min-width: 782px) { .lg-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.lg-plans .lg-plan { padding: 1.5rem; color: var(--lg-navy); gap: 1rem; }
.lg-plans .lg-plan h3 { margin: 0; font-size: 1.25rem; color: var(--lg-navy); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.lg-plans .lg-plan__price small { color: var(--lg-steel) !important; }

/* Lists on dark heroes. */
.has-navy-background-color .lg-checklist li { color: #D9E1E9; }
.has-navy-background-color .lg-card .lg-checklist li { color: var(--lg-navy); }
.lg-profile-logo { flex: none; background: #fff; border-radius: var(--lg-radius-md); border: 1px solid var(--lg-line); overflow: hidden; }
.lg-profile-logo img { width: 100%; height: 100%; object-fit: contain; }
.lg-profile-head .wp-block-post-terms a { color: inherit; }
.lg-plans .lg-card { height: auto; }

/* Request card keeps light-surface colors even inside dark sections. */
.lg-request, .lg-request :where(label, legend, p, li) { color: var(--lg-navy); }
.lg-request .lg-request__heading { color: var(--lg-navy); }
.lg-request .lg-help { color: var(--lg-steel); }
.lg-request .lg-error { color: var(--wp--preset--color--alert); }
.lg-request a { color: var(--lg-signal); }

/* Hero: the art column only exists on wide screens. */
@media (max-width: 1079px) {
	.lg-hero .wp-block-column:has(> .lg-gridart) { display: none; }
	.lg-hero .wp-block-columns > .wp-block-column:first-child { flex-basis: 100% !important; }
}
/* Open mobile menu: left-aligned, large targets. */
.lg-header .is-menu-open .wp-block-navigation__responsive-container-content,
.lg-header .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; }
.lg-header .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--lg-line); }
.lg-header .is-menu-open .wp-block-navigation-item__content { display: block; padding: 0.75rem 0 !important; }

.has-navy-background-color .lg-checklist li::before { filter: brightness(1.6); }

/* Leads plugin specifics. The theme heading replaces the plugin's own title (still used as the form's accessible name). */
.lg-request :where(h2, h3, h4) { color: var(--lg-navy); }
.lg-request:has(.lg-request__heading) .lg-lead-form__title { display: none; }
.lg-lead-form__title { margin-top: 0; font-size: var(--wp--preset--font-size--x-large); }
.lg-lead-form__intro { margin: 0 0 1.25rem; }
.lg-lead-form .lg-req { color: var(--wp--preset--color--alert); }
.lg-lead-form__status:empty { display: none; }
.lg-lead-form .lg-error[hidden] { display: none; }
.lg-lead-form .lg-consent label:has(> input) { align-items: flex-start; }
