/* ==========================================================================
   Leadman — WordPress theme
   Colours, type scale, spacing and radii are taken from the Webflow export's
   own CSS variables so the converted site matches the original.
   ========================================================================== */

:root {
	/* Colours — lifted from the Webflow variable set */
	--lm-primary: #106cf4;
	--lm-primary-dark: #2a41a1;
	--lm-primary-30: #f7f4ed;
	--lm-primary-40: #ede7d6;
	--lm-primary-50: #e9e0cc;
	--lm-black-90: #101010;
	--lm-black-80: #333;
	--lm-black-40: #6e6e6e;
	--lm-white: #fff;
	--lm-white-35: #f1f1f1;
	--lm-white-70: #fdfcfa;
	--lm-white-80: #ddd;

	/* Type */
	--lm-font-title: Manrope, "Helvetica Neue", Arial, sans-serif;
	--lm-font-serif: Ledger, Georgia, "Times New Roman", serif;
	--lm-font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;

	--lm-d1: 80px;
	--lm-h1: 48px;
	--lm-h2: 40px;
	--lm-h3: 36px;
	--lm-h4: 28px;
	--lm-h5: 22px;
	--lm-h6: 18px;
	--lm-regular: 16px;
	--lm-medium: 14px;
	--lm-r2: 13px;

	--lm-lh-small: 120%;
	--lm-lh-medium: 130%;
	--lm-lh-regular: 150%;

	/* Layout */
	--lm-container: 1240px;
	--lm-container-lg: 1680px;
	--lm-radius-5: 5px;
	--lm-radius-16: 16px;

	--lm-gap-20: 20px;
	--lm-gap-32: 32px;
	--lm-gap-40: 40px;
	--lm-gap-60: 60px;
	--lm-gap-80: 80px;
}

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

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--lm-font-body);
	font-size: var(--lm-medium);
	line-height: var(--lm-lh-regular);
	color: var(--lm-black-80);
	background: var(--lm-white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lm-primary); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lm-font-title);
	color: var(--lm-black-90);
	line-height: var(--lm-lh-small);
	margin: 0 0 0.4em;
}

h1 { font-size: var(--lm-h1); font-weight: 800; }
h2 { font-size: var(--lm-h2); font-weight: 700; }
h3 { font-size: var(--lm-h3); font-weight: 700; }
h4 { font-size: var(--lm-h4); font-weight: 700; }
h5 { font-size: var(--lm-h5); font-weight: 600; }
h6 { font-size: var(--lm-h6); font-weight: 600; }

:focus-visible {
	outline: 3px solid var(--lm-primary);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--lm-black-90); color: #fff;
	padding: 12px 18px; z-index: 999;
}
.skip-link:focus { left: 0; }

.wrap {
	max-width: var(--lm-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.wrap--wide { max-width: var(--lm-container-lg); }

.section { padding-block: var(--lm-gap-80); }
.section--tight { padding-block: var(--lm-gap-60); }
.section--tint { background: var(--lm-white-35); }
.section--cream { background: var(--lm-primary-30); }

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

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--lm-font-body);
	font-size: var(--lm-medium);
	font-weight: 400;
	line-height: 1.4;
	padding: 8px 20px;
	border: 1px solid transparent;
	border-radius: 0;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary { background: var(--lm-primary-dark); color: #fff; }
.btn--primary:hover,
.btn--primary:focus { background: var(--lm-primary); color: #fff; }

.btn--outline {
	background: transparent;
	color: var(--lm-black-90);
	border-color: var(--lm-black-40);
}
.btn--outline:hover,
.btn--outline:focus { border-color: var(--lm-primary-dark); color: var(--lm-primary-dark); }

.btn--light { background: #fff; color: var(--lm-primary-dark); }
.btn--light:hover,
.btn--light:focus { background: var(--lm-primary-40); }

.btn--upper { text-transform: uppercase; letter-spacing: 0.04em; }

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

.site-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 60;
}

.site-header--solid {
	position: sticky;
	background: #fff;
	border-bottom: 1px solid var(--lm-white-80);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lm-gap-32);
	min-height: 72px;
}

.brand__logo { max-height: 44px; width: auto; }

.brand__text {
	font-family: var(--lm-font-title);
	font-size: 26px;
	font-weight: 800;
	color: var(--lm-primary-dark);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.site-header:not(.site-header--solid) .brand__text { color: #fff; }

.primary-nav { display: flex; align-items: center; gap: var(--lm-gap-32); }

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav__list a {
	font-family: var(--lm-font-body);
	font-size: var(--lm-medium);
	color: #011813;
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
	display: block;
}

.site-header:not(.site-header--solid) .primary-nav__list a { color: #fff; }

.primary-nav__list a:hover,
.primary-nav__list a:focus,
.primary-nav__list .current-menu-item > a { border-bottom-color: var(--lm-primary); }

.site-header--solid .primary-nav__list .current-menu-item > a { color: var(--lm-primary); }

/* Dropdown submenu */
.primary-nav__list li { position: relative; }

.primary-nav__list .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-5);
	padding: 6px 0;
	margin: 6px 0 0;
	list-style: none;
	display: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	z-index: 20;
}

.primary-nav__list li:hover > .sub-menu,
.primary-nav__list li:focus-within > .sub-menu { display: block; }

.primary-nav__list .sub-menu a {
	color: var(--lm-black-80) !important;
	padding: 8px 16px;
	border-bottom: 0;
	white-space: nowrap;
}

.primary-nav__list .sub-menu a:hover,
.primary-nav__list .sub-menu a:focus {
	background: var(--lm-white-35);
	color: var(--lm-primary-dark) !important;
}

.nav-toggle {
	display: none;
	width: 42px; height: 42px;
	background: none;
	border: 1px solid currentColor;
	border-radius: var(--lm-radius-5);
	color: #fff;
	cursor: pointer;
}

.site-header--solid .nav-toggle { color: var(--lm-black-90); }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px; height: 2px;
	background: currentColor;
	margin-inline: auto;
	position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Floating contact rail --------------------------------------------------- */

.contact-rail {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 70;
	display: flex;
	flex-direction: column;
	border-radius: var(--lm-radius-5) 0 0 var(--lm-radius-5);
	overflow: hidden;
}

.contact-rail a {
	width: 40px; height: 40px;
	display: grid;
	place-items: center;
	background: var(--lm-primary-dark);
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	transition: background-color 0.15s ease;
}

.contact-rail a:last-child { border-bottom: 0; }
.contact-rail a:hover,
.contact-rail a:focus { background: var(--lm-primary); }
.contact-rail svg { width: 18px; height: 18px; fill: currentColor; }

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

.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--lm-black-90);
}

.hero__media,
.hero__media video,
.hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The yard photograph is bright and busy, so the overlay is weighted to the
   left where the headline sits and lets the right side of the photo show. */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.2) 100%),
		linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0.45) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-block: 160px var(--lm-gap-80);
	width: 100%;
}

.hero__title {
	font-size: clamp(34px, 5.2vw, var(--lm-d1));
	font-weight: 800;
	line-height: var(--lm-lh-small);
	color: #fff;
	text-transform: capitalize;
	max-width: 17ch;
	margin: 0 0 20px;
}

.hero__lede {
	font-size: var(--lm-regular);
	color: rgba(255, 255, 255, 0.9);
	max-width: 58ch;
	margin: 0 0 var(--lm-gap-32);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Page banner (interior pages) -------------------------------------------- */

.page-banner {
	position: relative;
	min-height: 340px;
	display: grid;
	place-items: center;
	text-align: center;
	background: var(--lm-primary-dark);
	overflow: hidden;
}

.page-banner__bg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}

.page-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.page-banner__inner { position: relative; z-index: 2; padding: 120px 20px 50px; }

.page-banner__title {
	font-size: clamp(32px, 4.4vw, var(--lm-h1));
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
}

.breadcrumb {
	font-size: var(--lm-medium);
	color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumb a:hover,
.breadcrumb a:focus { color: #fff; text-decoration: underline; }
.breadcrumb span { margin-inline: 8px; }

/* Section headings -------------------------------------------------------- */

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--lm-gap-32);
	margin-bottom: var(--lm-gap-40);
	flex-wrap: wrap;
}

.section__title {
	font-size: clamp(26px, 3.2vw, var(--lm-h2));
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
}

/* The original splits these headings across two colours: the leading word
   sits in blue, the remainder in near-black. */
.section__title em { font-style: normal; color: var(--lm-primary); }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--lm-primary); }

.section__lede {
	max-width: 62ch;
	margin: 10px 0 0;
	color: var(--lm-black-40);
	font-size: var(--lm-regular);
}

.section--center { text-align: center; }
.section--center .section__head { justify-content: center; text-align: center; }
.section--center .section__lede { margin-inline: auto; }

/* Product cards ----------------------------------------------------------- */

.lm-grid { display: grid; gap: var(--lm-gap-20); }
.lm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.lm-grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-16);
	overflow: hidden;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.card:focus-within {
	border-color: var(--lm-primary);
	box-shadow: 0 10px 28px rgba(16, 108, 244, 0.12);
}

.card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--lm-white-35);
	overflow: hidden;
	margin: 10px 10px 0;
	border-radius: var(--lm-radius-5);
}

.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__media-empty {
	display: block; width: 100%; height: 100%;
	background: repeating-linear-gradient(45deg, var(--lm-white-35), var(--lm-white-35) 10px, #e7e7e7 10px, #e7e7e7 20px);
}

.card__body { padding: 14px 16px 6px; flex: 1; }

.card__title {
	font-family: var(--lm-font-title);
	font-size: var(--lm-h6);
	font-weight: 700;
	margin: 0 0 10px;
	line-height: var(--lm-lh-medium);
}

.card__title a { color: var(--lm-black-90); text-decoration: none; }
.card__title a:hover,
.card__title a:focus { color: var(--lm-primary-dark); }

.card__text {
	font-size: var(--lm-r2);
	color: var(--lm-black-40);
	margin: 0;
}

/* The spec rows are the original's signature: grey label left, blue value
   right, hairline rule between. */
.spec-rail { margin: 0; padding: 0 16px 14px; }

.spec-rail__item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px solid var(--lm-white-35);
}

.spec-rail__item:last-child { border-bottom: 0; }

.spec-rail dt {
	margin: 0;
	font-family: var(--lm-font-title);
	font-size: var(--lm-r2);
	color: var(--lm-black-40);
}

.spec-rail dd {
	margin: 0;
	font-family: var(--lm-font-title);
	font-size: var(--lm-r2);
	color: var(--lm-primary-dark);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Category pills (product archive) ---------------------------------------- */

.cat-pills {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--lm-gap-20);
	margin-bottom: var(--lm-gap-40);
}

.cat-pill {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-16);
	text-decoration: none;
	color: var(--lm-black-90);
	font-family: var(--lm-font-title);
	font-size: var(--lm-medium);
	font-weight: 600;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.cat-pill:hover,
.cat-pill:focus,
.cat-pill.is-current { border-color: var(--lm-primary); color: var(--lm-primary-dark); }

.cat-pill img {
	width: 46px; height: 46px;
	object-fit: cover;
	border-radius: var(--lm-radius-5);
	flex: 0 0 auto;
}

.cat-pill__fallback {
	width: 46px; height: 46px;
	border-radius: var(--lm-radius-5);
	background: var(--lm-white-35);
	flex: 0 0 auto;
}

/* Why Leadman / Industries glass cards ------------------------------------ */

.feature-band {
	position: relative;
	overflow: hidden;
	background: var(--lm-black-90);
}

.feature-band__bg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.feature-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.feature-band__inner { position: relative; z-index: 2; }

.glass-grid { display: grid; gap: var(--lm-gap-20); }
.glass-grid--4 { grid-template-columns: repeat(4, 1fr); }
.glass-grid--5 { grid-template-columns: repeat(5, 1fr); }

.glass-card {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--lm-radius-16);
	padding: 22px 18px;
	text-align: center;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	text-decoration: none;
	display: block;
}

.glass-card__title {
	font-family: var(--lm-font-title);
	font-size: var(--lm-medium);
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 6px;
	line-height: var(--lm-lh-medium);
}

/* The original sets these descriptions in the Ledger serif on cream. */
.glass-card__text {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-medium);
	color: var(--lm-primary-40);
	margin: 0;
	line-height: var(--lm-lh-medium);
}

a.glass-card:hover,
a.glass-card:focus { background: rgba(255, 255, 255, 0.2); }

/* Category showcase rows -------------------------------------------------- */

.showcase {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--lm-gap-60);
	align-items: center;
	padding-block: var(--lm-gap-60);
}

.showcase--flip .showcase__media { order: -1; }

.showcase__media img {
	width: 100%;
	border-radius: var(--lm-radius-16);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.showcase__title {
	font-size: clamp(26px, 3vw, var(--lm-h3));
	font-weight: 700;
	margin: 0 0 14px;
	text-transform: capitalize;
}

.showcase__text { color: var(--lm-black-40); font-size: var(--lm-regular); margin: 0 0 20px; }

.pointers { list-style: none; margin: 0 0 26px; padding: 0; }

.pointers li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	font-size: var(--lm-medium);
	color: var(--lm-black-80);
}

/* Blue circular arrow marker, matching the original's bullet treatment. */
.pointers li::before {
	content: "";
	flex: 0 0 auto;
	width: 18px; height: 18px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--lm-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Product detail ---------------------------------------------------------- */

.product__top {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: var(--lm-gap-60);
	align-items: start;
	padding-block: var(--lm-gap-60) var(--lm-gap-40);
}

.product__title {
	font-size: clamp(28px, 3.6vw, var(--lm-h3));
	font-weight: 800;
	color: var(--lm-primary-dark);
	text-transform: uppercase;
	margin: 0 0 6px;
}

.product__cat {
	font-family: var(--lm-font-title);
	font-size: var(--lm-h6);
	font-weight: 600;
	text-transform: uppercase;
	color: var(--lm-black-90);
	margin: 0 0 var(--lm-gap-32);
	display: block;
	text-decoration: none;
}

.product__cat:hover,
.product__cat:focus { color: var(--lm-primary); }

.spec-table { margin: 0 0 var(--lm-gap-32); }

.spec-table__row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 11px 0;
	border-bottom: 1px solid var(--lm-white-35);
}

.spec-table dt {
	margin: 0;
	font-family: var(--lm-font-title);
	font-size: var(--lm-r2);
	color: var(--lm-black-40);
}

.spec-table dd {
	margin: 0;
	font-family: var(--lm-font-title);
	font-size: var(--lm-r2);
	color: var(--lm-primary-dark);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.gallery__main {
	border-radius: var(--lm-radius-16);
	overflow: hidden;
	background: var(--lm-white-35);
	aspect-ratio: 4 / 3;
}

.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.gallery__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--lm-radius-5);
	background: none;
	cursor: pointer;
	overflow: hidden;
	aspect-ratio: 1;
}

.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-current { border-color: var(--lm-primary); }

/* Tab bar on the product page */
.product-tabs {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lm-gap-20);
	border-bottom: 1px solid var(--lm-white-80);
	padding-bottom: 12px;
	margin-bottom: var(--lm-gap-40);
	flex-wrap: wrap;
}

.product-tabs__list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.product-tabs__name {
	background: var(--lm-black-90);
	color: #fff;
	font-family: var(--lm-font-title);
	font-size: var(--lm-medium);
	font-weight: 600;
	padding: 7px 16px;
	border-radius: var(--lm-radius-5);
}

.product-tabs__link {
	font-family: var(--lm-font-title);
	font-size: var(--lm-medium);
	font-weight: 600;
	text-transform: uppercase;
	color: var(--lm-black-90);
	text-decoration: none;
	padding: 7px 14px;
	border-radius: var(--lm-radius-5);
}

.product-tabs__link:hover,
.product-tabs__link:focus { background: var(--lm-white-35); color: var(--lm-primary-dark); }

.product-tabs__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.spec-sheet {
	background: #fff;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-16);
	padding: 16px;
	overflow-x: auto;
}

.spec-sheet svg { max-width: 100%; height: auto; margin-inline: auto; display: block; }

.spec-sheet table { width: 100%; border-collapse: collapse; }
.spec-sheet th,
.spec-sheet td {
	border: 1px solid var(--lm-white-80);
	padding: 8px 12px;
	text-align: left;
	font-size: var(--lm-medium);
}

.product-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lm-gap-20); }
.product-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--lm-radius-16); }

/* FAQ --------------------------------------------------------------------- */

.faq { max-width: 860px; margin-inline: auto; }

.faq__item {
	background: var(--lm-white-70);
	border: 1px solid var(--lm-white-35);
	border-radius: var(--lm-radius-5);
	margin-bottom: 12px;
	overflow: hidden;
}

.faq__q {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 18px 46px 18px 22px;
	font-family: var(--lm-font-title);
	font-size: var(--lm-h6);
	font-weight: 700;
	color: var(--lm-black-90);
	cursor: pointer;
	position: relative;
}

.faq__q::after {
	content: "";
	position: absolute;
	right: 20px; top: 50%;
	width: 11px; height: 11px;
	margin-top: -6px;
	border-right: 2px solid var(--lm-black-40);
	border-bottom: 2px solid var(--lm-black-40);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.faq__q[aria-expanded="true"]::after { transform: rotate(-135deg); }

.faq__a { padding: 0 22px 18px; font-size: var(--lm-medium); color: var(--lm-black-80); }
.faq__a[hidden] { display: none; }

/* Contact ----------------------------------------------------------------- */

.contact-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--lm-gap-40);
	align-items: stretch;
}

.contact-photo { position: relative; border-radius: var(--lm-radius-16); overflow: hidden; min-height: 380px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.contact-photo__pills {
	position: absolute;
	left: 16px; right: 16px; bottom: 16px;
	display: grid;
	gap: 10px;
}

.contact-photo__pill {
	background: #fff;
	border-radius: 999px;
	padding: 10px 18px;
	text-align: center;
	font-size: var(--lm-medium);
	color: var(--lm-primary-dark);
	text-decoration: none;
}

.contact-form-wrap {
	background: var(--lm-white-70);
	border-radius: var(--lm-radius-16);
	padding: 28px;
}

.contact-form { display: grid; gap: 12px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-5);
	font: inherit;
	background: #fff;
	color: var(--lm-black-80);
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form__consent { display: flex; gap: 8px; align-items: flex-start; font-size: var(--lm-r2); color: var(--lm-black-40); }

.contact-form button {
	background: var(--lm-primary-dark);
	color: #fff;
	border: 0;
	border-radius: var(--lm-radius-5);
	padding: 13px 20px;
	font-family: var(--lm-font-body);
	font-size: var(--lm-regular);
	cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus { background: var(--lm-primary); }

.form-notice {
	padding: 12px 16px;
	border-radius: var(--lm-radius-5);
	margin-bottom: 14px;
	font-size: var(--lm-medium);
}

.form-notice--ok { background: #e7f4ea; color: #1c6b34; }
.form-notice--error { background: #fdeceb; color: #a02b28; }

/* Prose ------------------------------------------------------------------- */

.prose { max-width: 78ch; font-size: var(--lm-regular); line-height: var(--lm-lh-regular); }
.prose h2 { font-size: var(--lm-h4); margin-top: 1.6em; }
.prose h3 { font-size: var(--lm-h5); margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose img { border-radius: var(--lm-radius-16); margin-block: 1.4em; }
.prose blockquote {
	border-left: 3px solid var(--lm-primary);
	margin-inline: 0;
	padding-left: 20px;
	color: var(--lm-black-40);
}

/* Posts, pagination, empty ------------------------------------------------ */

.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lm-white-80); border-radius: var(--lm-radius-16); overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 10; background: var(--lm-white-35); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 16px 18px; }
.post-card__date { font-size: var(--lm-r2); color: var(--lm-black-40); margin: 0 0 6px; }
.post-card__title { font-size: var(--lm-h6); margin: 0 0 8px; }
.post-card__title a { color: var(--lm-black-90); text-decoration: none; }
.post-card__title a:hover { color: var(--lm-primary-dark); }
.post-card__text { font-size: var(--lm-r2); color: var(--lm-black-40); margin: 0; }

.pagination { margin-top: var(--lm-gap-40); display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-block;
	padding: 9px 15px;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-5);
	text-decoration: none;
	color: var(--lm-black-90);
	font-size: var(--lm-medium);
}
.pagination .page-numbers.current { background: var(--lm-primary-dark); border-color: var(--lm-primary-dark); color: #fff; }

.empty-state { text-align: center; max-width: 52ch; margin-inline: auto; padding-block: var(--lm-gap-60); }
.empty-state p { color: var(--lm-black-40); }

.search-form { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.search-form input[type="search"] {
	padding: 11px 14px;
	border: 1px solid var(--lm-white-80);
	border-radius: var(--lm-radius-5);
	font: inherit;
	min-width: 220px;
}
.search-form button,
.search-form input[type="submit"] {
	padding: 11px 20px; border: 0;
	border-radius: var(--lm-radius-5);
	background: var(--lm-primary-dark);
	color: #fff; cursor: pointer; font: inherit;
}

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

.site-footer { background: var(--lm-primary-dark); color: rgba(255, 255, 255, 0.88); }

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr;
	gap: var(--lm-gap-32);
	padding-block: var(--lm-gap-60) var(--lm-gap-40);
}

.site-footer__logo { max-height: 46px; width: auto; margin-bottom: 14px; }

.site-footer__name {
	font-family: var(--lm-font-title);
	font-size: 24px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 8px;
}

.site-footer__blurb { max-width: 34ch; margin: 0 0 18px; font-size: var(--lm-medium); }

.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus { color: #fff; text-decoration: underline; }

.site-footer h3,
.site-footer .widget-title {
	font-family: var(--lm-font-title);
	font-size: var(--lm-medium);
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 14px;
	letter-spacing: 0.04em;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: var(--lm-medium); }

.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
}
.social-row svg { width: 14px; height: 14px; fill: currentColor; }

.site-footer__qr { margin-top: 12px; max-width: 110px; border-radius: var(--lm-radius-5); }

.site-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-block: 16px;
	font-size: var(--lm-r2);
	text-align: center;
}

.site-footer__legal p { margin: 0; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
	.lm-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.glass-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.glass-grid--5 { grid-template-columns: repeat(3, 1fr); }
	.cat-pills { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }

	.primary-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border: 1px solid var(--lm-white-80);
		border-radius: var(--lm-radius-5);
		padding: 10px 18px 18px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	}

	.primary-nav.is-open { display: flex; }

	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }

	.primary-nav__list a,
	.site-header:not(.site-header--solid) .primary-nav__list a {
		color: var(--lm-black-80);
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--lm-white-35);
	}

	.primary-nav__list .sub-menu {
		position: static;
		display: block;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 14px;
		margin: 0;
	}

	.site-header__inner { position: relative; }

	.lm-grid--3,
	.lm-grid--4,
	.lm-grid--5 { grid-template-columns: repeat(2, 1fr); }

	.showcase,
	.product__top,
	.contact-split { grid-template-columns: 1fr; gap: var(--lm-gap-32); }

	.showcase--flip .showcase__media { order: 0; }

	.product-gallery-grid { grid-template-columns: repeat(2, 1fr); }

	.site-footer__inner { grid-template-columns: 1fr 1fr; }

	.section { padding-block: var(--lm-gap-60); }

	.hero { min-height: 78vh; }
	.hero__inner { padding-block: 130px var(--lm-gap-60); }

	.contact-rail { top: auto; bottom: 0; transform: none; flex-direction: row; border-radius: 0; left: 0; right: 0; }
	.contact-rail a { flex: 1; height: 46px; border-bottom: 0; border-right: 1px solid rgba(255,255,255,0.2); }
}

@media (max-width: 560px) {
	.lm-grid--2,
	.lm-grid--3,
	.lm-grid--4,
	.lm-grid--5 { grid-template-columns: 1fr; }

	.glass-grid--4,
	.glass-grid--5 { grid-template-columns: repeat(2, 1fr); }

	.cat-pills { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr; gap: var(--lm-gap-32); }
	.gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
	.product-gallery-grid { grid-template-columns: 1fr; }
	.contact-form .row-2 { grid-template-columns: 1fr; }
	.product-tabs { flex-direction: column; align-items: flex-start; }
}

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

@media print {
	.site-header, .site-footer, .contact-rail, .product-tabs__actions, .hero__actions { display: none; }
	.product__top { grid-template-columns: 1fr; }
}
