/* Jofa landing pages: trade pages (Distributors, Find an Installer) inside the site's 1300px frame.
   Layout: dark hero, green stats band, then alternating light sections; content is inset 3em,
   the same as the header, so it lines up with the logo. Brand colours come from the theme's :root. */

.jl {
	--jl-ink: #1c1c1c;
	--jl-text: #4a4a4a;
	--jl-dark: #0b2622;
	--jl-dark-2: #12382f;
	--jl-green: var(--green, #076459);
	--jl-gold: var(--gold, #A49365);
	--jl-gold-ink: #6f5f37;
	--jl-sand: #f6f4ee;
	--jl-line: #e6e1d4;
	--jl-wrap: 1300px;
	font-family: var(--dmsans, "DM Sans", sans-serif);
	color: var(--jl-text);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
}
.jl *, .jl *::before, .jl *::after { box-sizing: border-box; }
.jl .jl-wrap { max-width: var(--jl-wrap); margin: 0 auto; padding: 0 3em; }
.jl ul li, .jl ol li { list-style: none; }
.jl ul, .jl ol { margin-left: 0; }
.jl section { margin: 0; }
.jl h1, .jl h2, .jl h3 { font-family: inherit; color: var(--jl-ink); margin: 0; text-wrap: balance; }
.jl p { margin: 0 0 1em; }
.jl a { color: var(--jl-green); }
.jl strong { color: var(--jl-ink); font-weight: 700; }

/* Kicker: small uppercase label above headings */
.jl .jl-kicker {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--jl-gold-ink); margin: 0 0 14px;
}
.jl .jl-badge {
	display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--jl-gold); border: 1px solid rgba(164, 147, 101, .55); background: rgba(164, 147, 101, .08);
	padding: 6px 12px; border-radius: 3px; margin: 0 0 26px;
}

/* Headings */
.jl .jl-h1 {
	font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 850; line-height: .98; letter-spacing: -.015em;
	text-transform: uppercase; color: #fff; margin: 0 0 24px;
}
.jl .jl-h1 .jl-accent { color: var(--jl-gold); display: block; }
.jl .jl-h2 {
	font-size: clamp(1.9rem, 3.3vw, 2.9rem); font-weight: 850; line-height: 1.02; letter-spacing: -.01em;
	text-transform: uppercase; margin: 0 0 18px;
}
.jl .jl-lede { font-size: 1.125rem; max-width: 640px; }

/* Buttons */
.jl .jl-btn {
	display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .06em;
	text-transform: uppercase; text-decoration: none; padding: 17px 28px; border-radius: 3px;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.jl .jl-btn:hover { transform: translateY(-1px); }
.jl .jl-btn:focus-visible { outline: 3px solid var(--jl-gold); outline-offset: 3px; }
.jl .jl-btn-gold { background: var(--jl-gold); color: #141414; box-shadow: 0 10px 24px -12px rgba(164, 147, 101, .9); }
.jl .jl-btn-gold:hover { background: #b5a576; color: #141414; }
.jl .jl-btn-green { background: var(--jl-green); color: #fff; }
.jl .jl-btn-green:hover { background: #05544b; color: #fff; }
.jl .jl-note { font-size: 14px; color: rgba(255, 255, 255, .62); margin: 16px 0 0; }
.jl .jl-note a { color: rgba(255, 255, 255, .85); }

/* Hero */
.jl .jl-hero {
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(7, 100, 89, .45), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(164, 147, 101, .12), transparent 60%),
		linear-gradient(160deg, var(--jl-dark) 0%, var(--jl-dark-2) 100%);
	color: rgba(255, 255, 255, .78); padding: 88px 0 96px; margin-top: 122px; /* clears the theme's fixed header, as its own heroes do */
}
.jl [id] { scroll-margin-top: 130px; }
.jl .jl-hero .jl-wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.jl .jl-hero p, .jl .jl-hero .jl-lede { color: rgba(255, 255, 255, .8); }
.jl .jl-hero .jl-lede { margin-bottom: 32px; }
.jl .jl-hero-media { position: relative; }
.jl .jl-hero-media img {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px;
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7);
}
.jl .jl-float {
	position: absolute; left: -28px; bottom: -26px; background: #fff; border-radius: 4px; padding: 16px 22px;
	display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
}
.jl .jl-float b { font-size: 2.1rem; font-weight: 850; color: var(--jl-green); line-height: 1; }
.jl .jl-float span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; line-height: 1.35; }
.jl .jl-float.jl-float-badge { background: none; box-shadow: none; padding: 0; left: -44px; bottom: -48px; }
.jl .jl-hero-media .jl-float-badge img { width: 156px; height: 156px; aspect-ratio: 1; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5)); }
.jl .jl-badge-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: center; max-width: 900px; }
.jl .jl-badge-row img { width: 220px; height: 220px; display: block; }
.jl .jl-badge-row .jl-head { margin-bottom: 0; }

/* Stats band */
.jl .jl-band { background: var(--jl-green); color: #fff; padding: 30px 0; }
.jl .jl-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; list-style: none; margin: 0; padding: 0; }
.jl .jl-stats li { margin: 0; }
.jl .jl-stats b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 850; line-height: 1.05; color: #fff; }
.jl .jl-stats span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .82); margin-top: 6px; }

/* Sections */
.jl .jl-section { padding: 96px 0; }
.jl .jl-section.jl-sand { background: var(--jl-sand); }
.jl .jl-head { max-width: 680px; margin-bottom: 44px; }
.jl .jl-head p { font-size: 1.0625rem; }

/* Numbered cards */
.jl .jl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.jl .jl-card { background: var(--jl-sand); border: 1px solid var(--jl-line); border-radius: 4px; padding: 28px 26px 26px; margin: 0; }
.jl .jl-sand .jl-card { background: #fff; }
.jl .jl-card.jl-card-hl { border-color: var(--jl-gold); box-shadow: inset 0 0 0 1px var(--jl-gold); }
.jl .jl-num {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 3px; background: var(--jl-green);
	color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.jl .jl-card h3 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 10px; }
.jl .jl-card p { font-size: .95rem; margin: 0; }
.jl .jl-card a { font-weight: 700; }

/* Places (where Jofa is supplied) */
.jl .jl-places { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.jl .jl-place { background: #fff; border: 1px solid var(--jl-line); border-radius: 4px; padding: 22px 18px; text-align: center; margin: 0; }
.jl .jl-place .jl-flag { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 10px; }
.jl .jl-place b { display: block; color: var(--jl-ink); font-size: 1rem; }
.jl .jl-place span { display: block; font-size: .85rem; color: #6b6b6b; margin-top: 2px; }
.jl .jl-place.jl-place-open { border-style: dashed; border-color: var(--jl-gold); background: transparent; }

/* Product family tiles */
.jl .jl-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 34px 0 0; padding: 0; }
.jl .jl-tiles li { margin: 0; }
.jl .jl-tiles a {
	display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 100%; padding: 16px 18px;
	background: #fff; border: 1px solid var(--jl-line); border-radius: 4px; color: var(--jl-ink); font-weight: 700;
	text-decoration: none; font-size: .95rem; transition: border-color .15s ease;
}
.jl .jl-tiles a:hover { border-color: var(--jl-green); }
.jl .jl-tiles a span { color: var(--jl-gold-ink); font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* Who we work with */
.jl .jl-who { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.jl .jl-who li { margin: 0; border-top: 3px solid var(--jl-gold); background: var(--jl-sand); padding: 20px 18px; border-radius: 0 0 4px 4px; }
.jl .jl-who b { display: block; color: var(--jl-ink); font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; }
.jl .jl-who span { display: block; font-size: .88rem; margin-top: 6px; }
.jl .jl-aside { margin-top: 26px; padding: 20px 24px; border-left: 3px solid var(--jl-green); background: var(--jl-sand); font-size: .98rem; }
.jl .jl-sand .jl-aside { background: #fff; }

/* Steps */
.jl .jl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: jl; }
.jl .jl-steps li { position: relative; padding: 0 26px 0 0; margin: 0; }
.jl .jl-steps li::before {
	counter-increment: jl; content: counter(jl); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--jl-dark); color: var(--jl-gold); font-weight: 850; font-size: 1.25rem; margin-bottom: 20px; position: relative; z-index: 1;
}
.jl .jl-steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: var(--jl-line); }
.jl .jl-steps li:last-child::after { display: none; }
.jl .jl-steps h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 8px; }
.jl .jl-steps p { font-size: .95rem; margin: 0; }

/* Form */
.jl .jl-form .jl-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.jl .jl-form .jl-wrap > div:first-child { position: sticky; top: 150px; }
.jl .jl-contact { list-style: none; margin: 26px 0 0; padding: 0; }
.jl .jl-contact li { margin: 0 0 10px; }
.jl .jl-contact b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--jl-gold-ink); }
.jl .jl-contact a { color: var(--jl-ink); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.jl .jl-form-card { background: #fff; border: 1px solid var(--jl-line); border-radius: 4px; padding: 34px 34px 30px; box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .35); }
.jl .jl-form-card .jofa-trade-intro { display: none; }
.jl .jl-form-card .gform_wrapper { margin: 0; }
.jl .jl-form-card .gform_wrapper .gfield_label { font-weight: 700; color: var(--jl-ink); font-size: 15px; }
.jl .jl-form-card .gform_wrapper .gfield input[type="text"], .jl .jl-form-card .gform_wrapper .gfield input[type="email"],
.jl .jl-form-card .gform_wrapper .gfield input[type="tel"], .jl .jl-form-card .gform_wrapper .gfield input[type="url"],
.jl .jl-form-card .gform_wrapper .gfield input[type="number"], .jl .jl-form-card .gform_wrapper .gfield select,
.jl .jl-form-card .gform_wrapper .gfield textarea {
	width: 100%; border: 1px solid #d5d0c3; border-radius: 3px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fcfbf8; color: var(--jl-ink);
}
.jl .jl-form-card input:focus, .jl .jl-form-card select:focus, .jl .jl-form-card textarea:focus { outline: 2px solid var(--jl-green); outline-offset: 1px; border-color: var(--jl-green); }
.jl .jl-form-card .gform_footer input[type="submit"], .jl .jl-form-card .gform_footer button {
	background: var(--jl-green); color: #fff; border: 0; border-radius: 3px; padding: 17px 30px; font: inherit; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; font-size: 15px; cursor: pointer;
}
.jl .jl-form-card .gform_footer input[type="submit"]:hover { background: #05544b; }
.jl .jl-privacy { font-size: 13px; color: #5c5c5c; margin: 14px 0 0; }
.jl .jl-form-card .gform_required_legend { color: #5c5c5c; }
.jl .jl-faq a, .jl .jl-head a, .jl .jl-card a, .jl .jl-aside a, .jl .jl-privacy a, .jl .jl-place a { text-decoration: underline; text-underline-offset: 2px; }

/* FAQ */
.jl .jl-faq { max-width: 860px; }
.jl .jl-faq details { border-bottom: 1px solid var(--jl-line); }
.jl .jl-faq details:first-of-type { border-top: 1px solid var(--jl-line); }
.jl .jl-faq summary {
	cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 700; color: var(--jl-ink); font-size: 1.08rem;
}
.jl .jl-faq summary::-webkit-details-marker { display: none; }
.jl .jl-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--jl-green); }
.jl .jl-faq details[open] summary::after { content: "\2212"; }
.jl .jl-faq summary:focus-visible { outline: 2px solid var(--jl-green); outline-offset: 2px; }
.jl .jl-faq details > div { padding: 0 44px 22px 0; }
.jl .jl-faq ul { margin: 0 0 1em 1.25em; padding: 0; }
.jl .jl-faq ul li { list-style: disc; margin: 0 0 .4em; }
.jl .jl-faq p:last-child, .jl .jl-faq ul:last-child { margin-bottom: 0; }

/* Closing call to action */
.jl .jl-cta { background: linear-gradient(160deg, var(--jl-dark) 0%, var(--jl-dark-2) 100%); color: rgba(255, 255, 255, .78); padding: 88px 0; text-align: center; }
.jl .jl-cta .jl-h2 { color: #fff; max-width: 860px; margin: 0 auto 16px; }
.jl .jl-cta .jl-h2 .jl-accent { color: var(--jl-gold); }
.jl .jl-cta p { max-width: 640px; margin: 0 auto 30px; color: rgba(255, 255, 255, .8); font-size: 1.125rem; }

@media (max-width: 1100px) {
	.jl .jl-places, .jl .jl-who { grid-template-columns: repeat(3, 1fr); }
	.jl .jl-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.jl { font-size: 16px; }
	.jl .jl-hero { padding: 56px 0 72px; }
	.jl .jl-hero .jl-wrap, .jl .jl-form .jl-wrap { grid-template-columns: 1fr; gap: 48px; }
	.jl .jl-form .jl-wrap > div:first-child { position: static; }
	.jl .jl-float { left: 12px; bottom: -22px; }
	.jl .jl-float.jl-float-badge { left: 10px; bottom: -36px; }
	.jl .jl-hero-media .jl-float-badge img { width: 112px; height: 112px; }
	.jl .jl-badge-row { grid-template-columns: 1fr; gap: 24px; }
	.jl .jl-badge-row img { width: 150px; height: 150px; }
	.jl .jl-stats { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
	.jl .jl-cards { grid-template-columns: 1fr 1fr; }
	.jl .jl-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.jl .jl-steps li::after { display: none; }
	.jl .jl-section { padding: 68px 0; }
}
@media (max-width: 900px) {
	.jl .jl-wrap { padding: 0 24px; }
}
@media (max-width: 600px) {
	.jl .jl-wrap { padding: 0 16px; }
	.jl .jl-stats { grid-template-columns: 1fr 1fr; }
	.jl .jl-cards, .jl .jl-steps, .jl .jl-tiles { grid-template-columns: 1fr; }
	.jl .jl-places, .jl .jl-who { grid-template-columns: 1fr 1fr; }
	.jl .jl-stats li:last-child:nth-child(odd), .jl .jl-places li:last-child:nth-child(odd),
	.jl .jl-who li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.jl .jl-form-card { padding: 24px 18px; }
	.jl .jl-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.jl .jl-btn { transition: none; }
	.jl .jl-btn:hover { transform: none; }
}

/* Packshot heroes: a product photo on white, shown whole rather than cropped */
.jl .jl-hero-media.jl-pack img { object-fit: contain; background: #fff; padding: 4% 8%; }

/* Datasheet library ([jofa_datasheets]) */
.jl .jds [hidden] { display: none !important; }
.jl .jds-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jl .jds-bar {
	position: sticky; top: 112px; z-index: 5; display: grid; grid-template-columns: minmax(260px, 380px) 1fr auto; gap: 14px 22px; align-items: center;
	background: #fff; border: 1px solid var(--jl-line); border-radius: 4px; padding: 14px 16px; margin: 0 0 34px; box-shadow: 0 12px 30px -24px rgba(0, 0, 0, .45);
}
.jl .jds-search { position: relative; display: block; margin: 0; }
.jl .jds-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #6b6b6b; }
.jl .jds-search input {
	width: 100%; min-height: 46px; margin: 0; padding: 10px 14px 10px 40px; font: inherit; font-size: 16px; color: var(--jl-ink);
	border: 1px solid #c9c3b4; border-radius: 4px; background: #fff;
}
.jl .jds-search input:focus { outline: 2px solid var(--jl-green); outline-offset: 1px; border-color: var(--jl-green); }
.jl .jds-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jl .jds-chip {
	min-height: 36px; padding: 6px 13px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--jl-ink);
	background: var(--jl-sand); border: 1px solid var(--jl-line); border-radius: 999px; cursor: pointer;
}
.jl .jds-chip:hover { border-color: var(--jl-green); }
.jl .jds-chip[aria-pressed="true"] { background: var(--jl-green); border-color: var(--jl-green); color: #fff; }
.jl .jds-chip:focus-visible { outline: 2px solid var(--jl-gold); outline-offset: 2px; }
.jl .jds-count { margin: 0; font-size: 14px; font-weight: 700; color: var(--jl-gold-ink); white-space: nowrap; }
.jl .jds-group { margin: 0 0 40px; scroll-margin-top: 200px; }
.jl .jds-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--jl-ink); padding-bottom: 10px; margin-bottom: 4px; }
.jl .jds-group-head h3 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.jl .jds-group-head h3 span { color: var(--jl-gold-ink); font-weight: 700; margin-left: 6px; }
.jl .jds-group-head a { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.jl .jds-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.jl .jds-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--jl-line); }
.jl .jds-name { color: var(--jl-ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.jl .jds-name:hover { color: var(--jl-green); text-decoration: underline; }
.jl .jds-dl {
	flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: 4px;
	border: 1px solid var(--jl-green); color: var(--jl-green); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.jl .jds-dl small { font-size: 12px; font-weight: 500; color: #5c5c5c; }
.jl .jds-dl:hover { background: var(--jl-green); color: #fff; }
.jl .jds-dl:hover small { color: rgba(255, 255, 255, .85); }
.jl .jds-dl.jds-ask { border-color: #c9c3b4; color: var(--jl-gold-ink); }
.jl .jds-dl.jds-ask:hover { background: var(--jl-sand); color: var(--jl-gold-ink); }
.jl .jds-dl.jds-ask:hover small { color: #5c5c5c; }
.jl .jds-none { padding: 24px; background: var(--jl-sand); border-radius: 4px; }
.jl .jds-none a { text-decoration: underline; }
@media (max-width: 1100px) {
	.jl .jds-bar { grid-template-columns: 1fr auto; }
	.jl .jds-chips { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 900px) {
	.jl .jds-bar { position: static; }
	.jl .jds-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.jl .jds-bar { grid-template-columns: 1fr; padding: 12px; }
	.jl .jds-chips { grid-row: auto; flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 2px 12px 6px; }
	.jl .jds-chip { flex: none; }
	.jl .jds-count { white-space: normal; }
	.jl .jds-list li { align-items: flex-start; flex-direction: column; gap: 8px; }
}
