/* Contact Us step form (lind-site, D-76; Lucas, 2026-11-04). Markup: inc/contact-form.php, script: contact-form.js.
   One grey card with the Lind cut corner; the steps share one grid cell, so the card keeps the height of the tallest
   step and Back / Next always sit at its bottom. Titles all black (no accent word), subject options plain rectangles. */

.lind-cf {
	--lind-cf-blue: var(--e-global-color-primary, #118cc9);
	--lind-cf-ink: #1f1f1f;
	--lind-cf-line: #d2d2d2;
	--lind-cut: 40px;
	background: #f7f7f7;
	padding: 40px;
	clip-path: polygon(0 0, calc(100% - var(--lind-cut)) 0, 100% var(--lind-cut), 100% 100%, 0 100%);
	font-family: "Lato", sans-serif;
	color: #444;
}
.lind-cf__form { margin: 0; }

/* Progress line */
.lind-cf__progress { display: flex; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: lind-cf; }
.lind-cf__progress li {
	flex: 1;
	margin: 0;
	padding-top: 8px;
	border-top: 3px solid var(--lind-cf-line);
	font: 700 13px/1.3 "Raleway", sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #8f8f8f;
	counter-increment: lind-cf;
}
.lind-cf__progress li::before { content: counter(lind-cf) " "; }
.lind-cf__progress li.is-on { border-color: var(--lind-cf-blue); color: var(--lind-cf-blue); }

/* Steps: stacked in one cell once the script runs (without it, every step shows one under the other). */
.lind-cf.is-js .lind-cf__steps { display: grid; }
.lind-cf.is-js .lind-cf__step { grid-area: 1 / 1; }
/* Inactive steps: invisible with every child. Opacity, because a child can't undo it (a theme rule showed a hidden
   step's Back button through visibility: hidden); inert (set by the script) keeps them out of reach. */
.lind-cf.is-js .lind-cf__step:not(.is-on) { opacity: 0 !important; pointer-events: none; }
.lind-cf.is-js .lind-cf__step:not(.is-on),
.lind-cf.is-js .lind-cf__step:not(.is-on) * { visibility: hidden !important; }
.lind-cf.is-js .lind-cf__step[hidden] { display: flex; }
.lind-cf__step { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.lind-cf__step + .lind-cf__step { margin-top: 32px; }
.lind-cf.is-js .lind-cf__step + .lind-cf__step { margin-top: 0; }
.lind-cf__title {
	float: left; /* a floated legend joins the flex column like any other child */
	width: 100%;
	margin: 0 0 20px;
	padding: 0;
	font: 700 24px/1.25 "Raleway", sans-serif;
	text-transform: uppercase;
	color: var(--lind-cf-ink);
}
.lind-cf__title:focus { outline: none; }

/* Fields */
.lind-cf__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.lind-cf__field { margin: 0 0 16px; }
.lind-cf__field label { display: block; margin: 0 0 6px; font: 700 14px/1.4 "Raleway", sans-serif; color: var(--lind-cf-ink); }
.lind-cf__field label i { font-style: normal; color: var(--lind-cf-blue); }
.lind-cf__optional { font: 400 13px "Lato", sans-serif; color: #8f8f8f; }
.lind-cf input[type="text"],
.lind-cf input[type="email"],
.lind-cf input[type="tel"],
.lind-cf select,
.lind-cf textarea {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--lind-cf-line);
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	font: 400 16px/1.4 "Lato", sans-serif;
	color: var(--lind-cf-ink);
}
.lind-cf select { padding-right: 36px; }
.lind-cf select:disabled { background: #fafafa; color: #aaa; }
.lind-cf textarea { height: 120px; resize: vertical; }
.lind-cf input:focus, .lind-cf select:focus, .lind-cf textarea:focus { outline: none; border-color: var(--lind-cf-blue); box-shadow: 0 0 0 1px var(--lind-cf-blue); }

/* Step 1: subject options (plain rectangles) */
.lind-cf__choices { display: grid; gap: 12px; }
.lind-cf__choice { position: relative; display: block; margin: 0; cursor: pointer; }
.lind-cf__choice input { position: absolute; opacity: 0; pointer-events: none; }
.lind-cf__choice span {
	display: block;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--lind-cf-line);
	font-size: 15px;
	line-height: 1.45;
	color: #555;
	transition: border-color .2s, box-shadow .2s;
}
.lind-cf__choice strong { display: block; font: 700 17px/1.35 "Raleway", sans-serif; color: var(--lind-cf-ink); }
.lind-cf__choice:hover span { border-color: var(--lind-cf-blue); }
.lind-cf__choice input:checked + span { border-color: var(--lind-cf-blue); box-shadow: inset 5px 0 0 var(--lind-cf-blue); }
.lind-cf__choice input:focus-visible + span { outline: 2px solid var(--lind-cf-blue); outline-offset: 2px; }

/* Files */
.lind-cf__drop { position: relative; border: 2px dashed #c4c4c4; background: #fff; text-align: center; transition: border-color .2s; }
.lind-cf__drop.is-over, .lind-cf__drop:hover { border-color: var(--lind-cf-blue); }
.lind-cf__drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.lind-cf__drop p { margin: 0; padding: 16px; font-size: 14px; line-height: 1.5; color: #777; }
.lind-cf__drop strong { color: var(--lind-cf-blue); }
.lind-cf__files { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; }
.lind-cf__files li { margin: 2px 0; color: var(--lind-cf-ink); }
.lind-cf__files span { color: #8f8f8f; }

/* Rep cards: Name / Title / Region / Phone / Email; the photo's top level with the name. */
.lind-cf__reps-title { margin: 0 0 8px; font: 700 14px/1.4 "Raleway", sans-serif; color: var(--lind-cf-ink); }
.lind-cf__reps:not(:empty) { margin: 0 0 16px; }
.lind-cf__rep { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 0 10px; padding: 16px; background: #fff; border: 1px solid var(--lind-cf-blue); }
.lind-cf__rep:last-child { margin-bottom: 0; }
.lind-cf__rep div { display: flex; flex-direction: column; font-size: 15px; line-height: 1.5; color: #555; }
.lind-cf__rep-name { font: 700 17px/1.3 "Raleway", sans-serif; color: var(--lind-cf-ink); margin-bottom: 2px; }
.lind-cf__rep-for { margin: 0 0 4px; font: 700 12px/1.3 "Raleway", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: var(--lind-cf-blue); }
.lind-cf__rep a { color: var(--lind-cf-blue); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.lind-cf__rep a:hover { text-decoration: underline; }
/* ".lind-cf img" beats Elementor's ".elementor img { border-radius: 0; height: auto }" */
.lind-cf img.lind-cf__rep-photo, .lind-cf .lind-cf__rep-photo { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.lind-cf .lind-cf__rep-photo--icon { display: grid; place-items: center; background: #e8f4fa; color: var(--lind-cf-blue); font-size: 30px; }
.lind-cf .lind-cf__rep-photo--icon i { font-size: 30px !important; line-height: 1; }

/* Back / Next at the bottom of every step */
.lind-cf__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 12px; }
.lind-cf .lind-cf__next {
	padding: 16px 34px;
	border: 0;
	border-radius: 2px;
	background: var(--lind-cf-blue);
	font: 700 15px/1 "Raleway", sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #fff;
	cursor: pointer;
	transition: background-color .2s;
}
.lind-cf .lind-cf__next:hover { background: #0d6fa1; }
.lind-cf .lind-cf__next:disabled { opacity: .6; cursor: wait; }
.lind-cf .lind-cf__back { padding: 12px 0; border: 0; background: none; font: 700 14px/1 "Raleway", sans-serif; text-transform: uppercase; color: #8f8f8f; cursor: pointer; }
.lind-cf .lind-cf__back:hover { color: var(--lind-cf-ink); }
.lind-cf button:focus-visible { outline: 2px solid var(--lind-cf-blue); outline-offset: 2px; }

/* Messages */
.lind-cf__error { margin: 0 0 18px; padding: 12px 16px; border-left: 4px solid #c62828; background: #fdecea; font-size: 15px; color: #8e1c1c; }
.lind-cf__error[hidden] { display: none; }
.lind-cf__done p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; }
.lind-cf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 767px) {
	.lind-cf { --lind-cut: 28px; padding: 28px 20px; }
	.lind-cf__row { grid-template-columns: minmax(0, 1fr); }
	.lind-cf__title { font-size: 21px; }
	.lind-cf .lind-cf__next { padding: 15px 26px; }
}

/* Contact Us page: direct contact lines beside the form (Text Editor widget, class lind-contact-details). */
.lind-contact-details { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.lind-contact-details li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; margin: 0; }
.lind-contact-details li > i {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--e-global-color-primary, #118cc9);
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
	font-size: 21px;
	color: #fff;
}
.lind-contact-details h3 { margin: 0 0 4px; font: 700 20px/1.3 "Raleway", sans-serif; color: #1f1f1f; }
.lind-contact-details p { margin: 0; font-size: 17px; line-height: 1.65; }
.lind-contact-details a { font-weight: 700; color: var(--e-global-color-primary, #118cc9); text-decoration: none; }
.lind-contact-details a:hover { text-decoration: underline; }

/* "Ask for a Call" (sales reps and Taylor Marks, Lucas 2026-11-05): bottom right of the card; under the text when the
   card is narrow (the rep panel is a size container). */
.lind-cf__reps { container-type: inline-size; }
.lind-cf__rep:has(.lind-cf__call) { grid-template-columns: 64px minmax(0, 1fr) auto; }
.lind-cf .lind-cf__call {
	align-self: end;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	border: 2px solid var(--lind-cf-blue);
	border-radius: 2px;
	background: transparent; /* border only until hovered (Lucas) */
	font: 700 13px/1 "Raleway", sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--lind-cf-blue);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.lind-cf .lind-cf__call i { font-size: 16px; line-height: 1; }
.lind-cf .lind-cf__call:hover { background: var(--lind-cf-blue); color: #fff; }
.lind-cf .lind-cf__call:disabled { opacity: .6; cursor: wait; }
@container (max-width: 520px) {
	.lind-cf__rep:has(.lind-cf__call) { grid-template-columns: 64px minmax(0, 1fr); }
	.lind-cf .lind-cf__call { grid-column: 2; justify-self: end; margin-top: 4px; }
}
