/* WI landing pages. Matches the main site: montserrat headings, poppins light body. */
:root {
	--ch: #34353f;
	--cu: #af6338;
	--cr: #f3f3ec;
	--ln: #e1e1e1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.wlp {
	margin: 0;
	background: #fff;
	color: var(--ch);
	font: 300 15px/1.8 'poppins', sans-serif;
	-webkit-font-smoothing: antialiased;
}
.wlp img { display: block; max-width: 100%; }
.wlp a { color: inherit; }
.wlp h1, .wlp h2, .wlp h3 { font-family: 'montserrat', sans-serif; font-weight: 400; color: var(--cu); margin: 0; }
.wlp h2 { font-size: 32px; line-height: 1.4; }
.wlp p { margin: 0; }

.wlp-ico { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; }
.wlp-rule { display: block; width: 60px; height: 1px; background: var(--cu); }

.wlp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px;
	background: var(--cu); color: #fff !important;
	font: 500 11px/1.4 'poppins', sans-serif; letter-spacing: 1.6px; text-transform: uppercase; text-decoration: none;
	transition: background .2s;
}
.wlp-btn:hover { background: #95532f; }
.wlp-btn-lg { padding: 18px 30px; font-size: 12px; }

/* Header */
.wlp-header {
	position: sticky; top: 0; z-index: 50;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: 84px; padding: 0 40px;
	background: var(--ch);
}
.wlp-call { font: 500 11px/1 'poppins', sans-serif; letter-spacing: 1.6px; color: #fff !important; text-decoration: none; }
.wlp-call span { color: var(--cu); text-transform: uppercase; margin-right: 4px; }
.wlp-header .wlp-logo { color: #e3e0db; width: 216px; }
.wlp-logo svg { display: block; width: 100%; height: auto; }
.wlp-header-btn { justify-self: end; }

/* Hero */
.wlp-hero { position: relative; overflow: hidden; background: var(--ch); }
.wlp-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wlp-hero::before {
	content: ''; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(52,53,63,.85) 0%, rgba(52,53,63,.35) 70%, rgba(52,53,63,.2) 100%);
}
.wlp-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 26px; padding: 150px 180px; color: #fff; }
.wlp-hero h1 { color: #fff; font-size: 46px; line-height: 1.3; }
.wlp-hero p { max-width: 520px; font-size: 16px; }
.wlp-cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wlp-hero-call { font-size: 14px; text-decoration: none; }

/* Trust strip */
.wlp-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 44px 120px; background: var(--cr); }
.wlp-trust strong { display: block; font: 400 20px/1.4 'montserrat', sans-serif; color: var(--cu); }
.wlp-trust span { display: block; font-size: 13px; line-height: 1.6; margin-top: 6px; }

/* Sections */
.wlp-section { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 90px 120px; text-align: center; }
.wlp-cream { background: var(--cr); }
.wlp-dark { background: var(--ch); }
.wlp-dark h2 { color: #fff; }
.wlp-intro p { max-width: 720px; }
.wlp-projects { padding-top: 0; }
.wlp-projects-cta { margin-top: 16px; }
.wlp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; max-width: 1180px; text-align: left; }
.wlp-project { display: block; text-decoration: none; }
.wlp-projects img { width: 100%; aspect-ratio: 373 / 300; object-fit: cover; margin-bottom: 14px; transition: opacity .2s; }
.wlp-projects strong { display: block; font: 400 17px/1.4 'montserrat', sans-serif; color: var(--cu); }
.wlp-projects span { display: block; font-size: 13px; }
.wlp-projects em {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
	font: normal 500 10px/1.4 'poppins', sans-serif; letter-spacing: 1.6px; text-transform: uppercase;
}
.wlp-projects em .wlp-ico { color: var(--cu); transition: transform .2s; }
.wlp-project:hover img { opacity: .85; }
.wlp-project:hover em .wlp-ico { transform: translateX(3px); }

.wlp-rows { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 1080px; text-align: left; }
.wlp-rows > div { display: flex; align-items: center; gap: 36px; padding: 34px 36px; background: #fff; }
.wlp-rows h3 { flex: none; width: 150px; font-size: 24px; padding-right: 36px; border-right: 1px solid var(--ln); line-height: 40px; }
.wlp-rows p { font-size: 14px; line-height: 1.7; }

.wlp-reviews blockquote { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 40px 36px; background: #fff; }
.wlp-q { font: 400 54px/.6 'montserrat', sans-serif; color: var(--cu); padding-top: 14px; }
.wlp-reviews p { font-size: 14px; line-height: 1.75; }
.wlp-reviews cite { font: 500 12px/1.4 'poppins', sans-serif; font-style: normal; color: var(--cu); letter-spacing: .5px; margin-top: auto; }


/* Form */
.wlp-form { gap: 22px; }
.wlp-form h2 { font-size: 36px; }
.wlp-form > p { max-width: 560px; }
.wlp-form-wrap { width: 100%; max-width: 740px; padding-top: 10px; text-align: left; }
.wlp-form .row { display: flex; gap: 30px; margin: 0 0 26px; }
.wlp-form .row::before, .wlp-form .row::after { display: none; } /* Caldera clearfix would become flex gaps */
.wlp-form .row > div { flex: 1 1 0; min-width: 0; padding: 0; width: auto; float: none; }
.wlp-form .row > .col-sm-3 { flex: 0 0 90px; }
.wlp-form .form-group { margin: 0; }
.wlp-form .control-label:not(.sr-only) { display: block; text-align: center; font-size: 14px; font-weight: 300; margin-bottom: 12px; }
.wlp-form .checkbox-inline { display: inline-flex; align-items: center; gap: 8px; margin: 0 11px; font-size: 13px; cursor: pointer; }
.wlp-form #fld_5201299_1-wrap > div { text-align: center; }
.wlp-form .radio { display: flex; justify-content: center; margin: 0 0 6px; }
.wlp-form .radio label { display: inline-flex; align-items: center; gap: 8px; width: 160px; font-size: 13px; cursor: pointer; }
.wlp-form input[type=checkbox], .wlp-form input[type=radio] { width: 14px; height: 14px; margin: 0; accent-color: var(--cu); }
.wlp-form .form-control {
	width: 100%; height: auto; padding: 0 0 12px; border: 0; border-bottom: 1px solid rgba(52,53,63,.18); border-radius: 0;
	background: transparent; box-shadow: none; color: var(--ch); font: 300 13px/1.6 'poppins', sans-serif;
}
.wlp-form .form-control::placeholder { color: var(--ch); opacity: 1; }
.wlp-form .form-control:focus { outline: none; border-bottom-color: var(--cu); }
.wlp-form .field_required { color: var(--cu) !important; }
.wlp-form .last_row { justify-content: center; margin: 6px 0 0; }
.wlp-form .last_row > div { flex: none; }
.wlp-form input[type=submit] {
	padding: 16px 40px; border: 0 !important; border-radius: 0; background: var(--cu) !important; color: #fff !important; cursor: pointer;
	font: 500 11px/1.4 'poppins', sans-serif; letter-spacing: 1.6px; text-transform: uppercase;
}
.wlp-form input[type=submit]:hover { background: #95532f !important; }
.wlp-form .parsley-errors-list { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; color: #b3261e; }
.wlp-form .has-error .form-control { border-bottom-color: #b3261e; }
.wlp-gdpr { max-width: 600px; font-size: 12px; line-height: 1.7; }

/* Footer */
.wlp-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 120px; font-size: 12px; }
.wlp-footer .wlp-logo { color: var(--ch); width: 160px; }
.wlp-footer a { text-decoration: none; margin-right: 16px; }

/* Mobile sticky bar under the header, shown by lp.js once the hero is off screen */
.wlp-sticky { display: none; }
.wlp-m { display: none; }

@media (max-width: 1100px) {
	.wlp-hero-inner { padding: 120px 60px; }
	.wlp-section, .wlp-trust, .wlp-footer { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 900px) {
	html { scroll-padding-top: 64px; }
	.wlp-d { display: none; }
	.wlp-m { display: inline; }
	.wlp-header { grid-template-columns: auto 1fr; height: 64px; padding: 0 20px; }
	.wlp-header .wlp-logo { order: -1; width: 148px; }
	.wlp-call { justify-self: end; font-size: 10px; letter-spacing: 1px; }
	.wlp-header-btn { display: none; }
	.wlp-hero-inner { gap: 18px; padding: 150px 20px 36px; }
	.wlp-hero::before { background: linear-gradient(180deg, rgba(52,53,63,.15) 0%, rgba(52,53,63,.6) 45%, rgba(52,53,63,.95) 100%); }
	.wlp-hero h1 { font-size: 30px; line-height: 1.28; }
	.wlp-hero p { font-size: 14px; line-height: 1.7; }
	.wlp-cta-row { flex-direction: column; align-items: stretch; gap: 18px; }
	.wlp-cta-row .wlp-btn, .wlp-projects-cta { padding: 17px 20px; font-size: 11px; letter-spacing: 1.4px; }
	.wlp-projects-cta { align-self: stretch; margin-top: 8px; }
	.wlp-hero-call { text-align: center; font-size: 13px; }
	.wlp-trust { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 28px 20px; }
	.wlp-trust strong { font-size: 16px; }
	.wlp-trust span { font-size: 12px; margin-top: 3px; }
	.wlp-section { padding: 56px 20px; gap: 20px; }
	.wlp-projects { padding-top: 0; }
	.wlp h2, .wlp-form h2 { font-size: 24px; line-height: 1.35; }
	.wlp-form h2 { font-size: 26px; }
	.wlp-section > p { font-size: 14px; line-height: 1.75; }
	.wlp-cards { grid-template-columns: 1fr; gap: 20px; }
	.wlp-projects img { aspect-ratio: 350 / 260; }
	.wlp-rows > div { flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; }
	.wlp-rows h3 { width: auto; font-size: 20px; line-height: 1.4; padding: 0; border: 0; }
	.wlp-rows p { font-size: 13px; }
	.wlp-reviews blockquote { padding: 28px 24px; gap: 12px; }
	.wlp-reviews blockquote:nth-child(n+3) { display: none; }
	.wlp-reviews p { font-size: 13px; }
	.wlp-form .row { flex-direction: column; gap: 22px; margin-bottom: 22px; }
	.wlp-form .row > .col-sm-3 { flex: 1 1 auto; }
	.wlp-form .control-label:not(.sr-only) { text-align: left; font-size: 13px; }
	.wlp-form #fld_5201299_1-wrap > div { text-align: left; display: flex; flex-wrap: wrap; gap: 10px 16px; }
	.wlp-form .checkbox-inline { margin: 0; }
	.wlp-form .radio { justify-content: flex-start; margin-bottom: 10px; }
	.wlp-form .last_row > div { flex: 1 1 auto; }
	.wlp-form input[type=submit] { width: 100%; padding: 17px; letter-spacing: 1.4px; }
	.wlp-gdpr { font-size: 11px; }
	.wlp-footer { flex-direction: column; text-align: center; gap: 12px; padding: 32px 20px; font-size: 11px; }
	.wlp-sticky {
		display: block; position: fixed; left: 0; right: 0; top: 64px; z-index: 40;
		padding: 0 12px 10px; background: var(--ch);
		transform: translateY(-110%); transition: transform .25s ease;
	}
	.wlp-sticky .wlp-btn { display: flex; padding: 14px 20px; letter-spacing: 1.4px; }
	.wlp-sticky.is-on { transform: none; }
}
