/* LA Home Remodelers – lead forms. Colors and corners come from the "Form design" settings
   as --lahr-lf-* variables printed on each .lahr-lf wrapper. Selectors carry an extra class
   so theme and Elementor kit form styles don't win. */

.lahr-lf {
	--lahr-lf-text: #0C2C5A;
	--lahr-lf-ph: #8391A7;
	--lahr-lf-err: #C41017;
	--lahr-lf-focus: #146CB0;
	--lahr-lf-focus-ring: rgba(20, 108, 176, .22);
	--lahr-lf-note: #52606D;
	--lahr-lf-small: #6B7A8C;
	container-type: inline-size;
	container-name: lahr-lf;
	scroll-margin-top: 120px;
	width: 100%;
	font-family: var(--lahr-font-body, 'Inter', Helvetica, Arial, sans-serif);
	color: var(--lahr-lf-text);
	text-align: left;
}
.lahr-lf *,
.lahr-lf *::before,
.lahr-lf *::after { box-sizing: border-box; }

.lahr-lf--dark {
	--lahr-lf-err: #FFB3B6;
	--lahr-lf-focus: #F9A61A;
	--lahr-lf-focus-ring: rgba(249, 166, 26, .35);
	--lahr-lf-note: #9FB6D3;
	--lahr-lf-small: #9FB6D3;
}

.lahr-lf .lahr-lf__title {
	margin: 0 0 6px;
	font-family: var(--lahr-font-head, 'Poppins', sans-serif);
	font-size: 21px; font-weight: 700; line-height: 1.3; color: #0C2C5A;
}
.lahr-lf .lahr-lf__intro { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: #52606D; }
.lahr-lf--dark .lahr-lf__title { color: #fff; }
.lahr-lf--dark .lahr-lf__intro { color: #C7D9EE; }

.lahr-lf .lahr-lf__form { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; }

.lahr-lf .lahr-lf__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px 14px; }
@container lahr-lf (min-width: 520px) {
	.lahr-lf .lahr-lf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lahr-lf .lahr-lf__f--full { grid-column: 1 / -1; }
}

.lahr-lf .lahr-lf__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }

.lahr-lf .lahr-lf__label {
	display: block; margin: 0; padding: 0;
	font-family: var(--lahr-font-body, 'Inter', sans-serif);
	font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none;
	color: var(--lahr-lf-label, #0C2C5A);
}
.lahr-lf .lahr-lf__req { margin-left: 3px; color: var(--lahr-lf-accent, #E12228); font-weight: 700; }
.lahr-lf--dark .lahr-lf__req { color: #FF8A8F; }

.lahr-lf .lahr-lf__f .lahr-lf__in {
	display: block; width: 100%; max-width: 100%; height: 46px; min-height: 0; margin: 0; padding: 0 14px;
	border: 1px solid var(--lahr-lf-field-border, #C9D3E0);
	border-radius: var(--lahr-lf-field-radius, 0);
	background-color: var(--lahr-lf-field-bg, #fff);
	box-shadow: none; outline: none;
	color: var(--lahr-lf-text);
	font-family: var(--lahr-font-body, 'Inter', sans-serif);
	font-size: 15px; font-weight: 400; line-height: 1.4;
	-webkit-appearance: none; appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.lahr-lf .lahr-lf__f .lahr-lf__in::placeholder { color: var(--lahr-lf-ph); opacity: 1; }

.lahr-lf .lahr-lf__f select.lahr-lf__in {
	padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238391A7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
}
.lahr-lf .lahr-lf__f select.lahr-lf__in.is-empty,
.lahr-lf .lahr-lf__f select.lahr-lf__in:has(option[value=""]:checked) { color: var(--lahr-lf-ph); }
.lahr-lf .lahr-lf__f select.lahr-lf__in option { color: #0C2C5A; }

.lahr-lf .lahr-lf__f textarea.lahr-lf__in { height: 92px; min-height: 84px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.lahr-lf--blog .lahr-lf__f textarea.lahr-lf__in { height: 84px; }
/* 16px stops phones zooming in when a field gets focus. */
@media (max-width: 600px) {
	.lahr-lf .lahr-lf__f .lahr-lf__in { font-size: 16px; }
}

.lahr-lf .lahr-lf__f .lahr-lf__file {
	height: auto; padding: 12px 14px; border-style: dashed; cursor: pointer;
	font-size: 14px; color: #52606D;
}
.lahr-lf .lahr-lf__file::file-selector-button {
	margin-right: 12px; padding: 8px 14px; border: 1px solid #C9D3E0; border-radius: 999px;
	background: #EEF1F8; color: #0C2C5A; font: 600 13px/1 var(--lahr-font-body, 'Inter', sans-serif); cursor: pointer;
}

.lahr-lf .lahr-lf__f .lahr-lf__in:hover { border-color: #9AA7B8; }
.lahr-lf--dark .lahr-lf__f .lahr-lf__in:hover { border-color: #5D7FAF; }
.lahr-lf .lahr-lf__f .lahr-lf__in:focus,
.lahr-lf .lahr-lf__f .lahr-lf__in:focus-visible {
	border-color: var(--lahr-lf-focus);
	box-shadow: 0 0 0 3px var(--lahr-lf-focus-ring);
	outline: none;
}

.lahr-lf .lahr-lf__f.is-invalid .lahr-lf__in { border-color: var(--lahr-lf-err); }
.lahr-lf--light .lahr-lf__f.is-invalid .lahr-lf__in { border-color: #C41017; }
.lahr-lf--dark .lahr-lf__f.is-invalid .lahr-lf__in { border-color: #FF8A8F; box-shadow: 0 0 0 1px #FF8A8F; }

.lahr-lf .lahr-lf__err { margin: 0; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--lahr-lf-err); }
.lahr-lf .lahr-lf__err:empty { display: none; }
.lahr-lf .lahr-lf__hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--lahr-lf-small); }

/* Button */
.lahr-lf .lahr-lf__form .lahr-lf__btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 54px; margin: 4px 0 0; padding: 14px 22px;
	border: 0; border-radius: var(--lahr-lf-btn-radius, 999px);
	background: var(--lahr-lf-accent, #E12228); color: var(--lahr-lf-btn-text, #fff);
	font-family: var(--lahr-font-head, 'Poppins', sans-serif);
	font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
	text-align: center; text-decoration: none; white-space: normal;
	box-shadow: none; cursor: pointer; transition: background-color .15s, transform .15s;
}
.lahr-lf .lahr-lf__form .lahr-lf__btn:hover { background: var(--lahr-lf-accent-hover, #C41017); color: var(--lahr-lf-btn-text, #fff); }
.lahr-lf .lahr-lf__form .lahr-lf__btn:focus { background: var(--lahr-lf-accent, #E12228); color: var(--lahr-lf-btn-text, #fff); outline: none; }
.lahr-lf .lahr-lf__form .lahr-lf__btn:focus-visible { outline: 3px solid var(--lahr-lf-focus); outline-offset: 3px; }
.lahr-lf .lahr-lf__form .lahr-lf__btn:active { transform: translateY(1px); }
.lahr-lf .lahr-lf__form .lahr-lf__btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.lahr-lf .lahr-lf__btn .lahr-ic { flex-shrink: 0; }
.lahr-lf .lahr-lf__btn.is-sending .lahr-ic { display: none; }

.lahr-lf .lahr-lf__note,
.lahr-lf .lahr-lf__consent { margin: 0; text-align: center; }
.lahr-lf .lahr-lf__note { font-size: 12.5px; font-weight: 500; line-height: 1.5; color: var(--lahr-lf-note); }
.lahr-lf .lahr-lf__consent { margin-top: -6px; font-size: 11.5px; line-height: 1.55; color: var(--lahr-lf-small); }
.lahr-lf .lahr-lf__note + .lahr-lf__consent { margin-top: -10px; }

/* Trap field for bots: off screen, out of the tab order, hidden from screen readers. */
.lahr-lf .lahr-lf__hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Error summary */
.lahr-lf .lahr-lf__summary {
	padding: 12px 14px; border-left: 4px solid #C41017; background: #FDEEEE; color: #7A0E12;
	font-size: 14px; line-height: 1.5;
}
.lahr-lf .lahr-lf__summary[hidden] { display: none; }
.lahr-lf .lahr-lf__summary:focus { outline: 2px solid var(--lahr-lf-focus); outline-offset: 2px; }
.lahr-lf .lahr-lf__summary p { margin: 0; font-weight: 600; }
.lahr-lf .lahr-lf__summary p + p { margin-top: 6px; }
.lahr-lf .lahr-lf__summary ul { margin: 6px 0 0; padding: 0 0 0 18px; }
.lahr-lf .lahr-lf__summary li { margin: 2px 0; }
.lahr-lf .lahr-lf__summary a { color: inherit; font-weight: 600; text-decoration: underline; }
.lahr-lf--dark .lahr-lf__summary { background: rgba(255, 255, 255, .08); color: #fff; border-left-color: #FF8A8F; }

/* Thank-you panel */
.lahr-lf .lahr-lf__done {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px; border: 1px solid #CFE3D7; background: #F1F8F4; color: #0C2C5A;
}
.lahr-lf .lahr-lf__done[hidden] { display: none; }
.lahr-lf .lahr-lf__done:focus { outline: 2px solid var(--lahr-lf-focus); outline-offset: 2px; }
.lahr-lf .lahr-lf__done-ic {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 40px; height: 40px; border-radius: 50%; background: #1E7B4F; color: #fff;
}
.lahr-lf .lahr-lf__done-msg { margin: 0; padding-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.55; }
.lahr-lf--dark .lahr-lf__done { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.lahr-lf * { transition: none !important; }
}

/* Narrow cards (blog sidebar): keep the button label on one line. */
@container lahr-lf (max-width: 300px) {
	.lahr-lf .lahr-lf__form .lahr-lf__btn { font-size: 12px; letter-spacing: .03em; padding-left: 12px; padding-right: 12px; gap: 6px; white-space: nowrap; }
}

/* ------------------------------------------------------------------ compact form (2.0.3)
   Shorter fields and tighter spacing. Fields sit two to a row as soon as the form is wide
   enough: Phone | Email from 340px, ZIP | Project type from 280px. */
.lahr-lf .lahr-lf__intro { margin-bottom: 12px; }
.lahr-lf .lahr-lf__form { gap: 11px; }
.lahr-lf .lahr-lf__grid { gap: 10px 12px; }
.lahr-lf .lahr-lf__f { gap: 5px; }
.lahr-lf .lahr-lf__label { font-size: 12.5px; }
.lahr-lf .lahr-lf__f .lahr-lf__in { height: 42px; padding: 0 12px; }
.lahr-lf .lahr-lf__f select.lahr-lf__in { padding-right: 36px; background-position: right 12px center; }
.lahr-lf .lahr-lf__f textarea.lahr-lf__in,
.lahr-lf--blog .lahr-lf__f textarea.lahr-lf__in { height: 66px; min-height: 58px; padding: 10px 12px; }
.lahr-lf .lahr-lf__form .lahr-lf__btn { min-height: 48px; padding: 12px 20px; margin-top: 2px; }
.lahr-lf .lahr-lf__note { font-size: 12px; line-height: 1.45; }
.lahr-lf .lahr-lf__consent { margin-top: -5px; font-size: 11px; line-height: 1.45; }
.lahr-lf .lahr-lf__note + .lahr-lf__consent { margin-top: -8px; }
@container lahr-lf (min-width: 280px) {
	.lahr-lf .lahr-lf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lahr-lf .lahr-lf__f--full,
	.lahr-lf .lahr-lf__f--tel,
	.lahr-lf .lahr-lf__f--email,
	.lahr-lf .lahr-lf__f--file { grid-column: 1 / -1; }
}
@container lahr-lf (min-width: 340px) {
	.lahr-lf .lahr-lf__f--half.lahr-lf__f--tel,
	.lahr-lf .lahr-lf__f--half.lahr-lf__f--email { grid-column: auto; }
}
