/* =========================================================
   Lightstyle Solutions — design tokens & base styles
   ========================================================= */

:root {
	--ls-ink: #110c09;
	--ls-black: #080503;
	--ls-body: #4d4e50;
	--ls-body-muted: #5c534d;
	--ls-gray-light: #b2b2b2;
	--ls-bg: #fdfeff;
	--ls-cream: #fcf2e3;
	--ls-cream-soft: #fcf8f2;
	--ls-beige: #f4f0e9;
	--ls-white: #ffffff;
	--ls-border: rgba(227, 221, 214, 0.6);

	--ls-orange-light: #f57720;
	--ls-orange: #f26c20;
	--ls-orange-mid: #faa038;
	--ls-yellow: #fec92f;

	--ls-gradient-cta: linear-gradient(140deg, var(--ls-orange) 0%, var(--ls-orange-mid) 55%, var(--ls-yellow) 100%);
	--ls-gradient-heading: linear-gradient(172deg, var(--ls-orange) 0%, var(--ls-orange-mid) 55%, var(--ls-yellow) 100%);
	--ls-gradient-cta-hover: linear-gradient(140deg, #ec6512 0%, #f08a14 55%, #f2a31b 100%);
	--ls-gradient-hero-word: linear-gradient(118deg, #ffc509 0%, #ff7719 100%);
	--ls-gradient-financing: linear-gradient(90deg, var(--ls-orange-light) 0%, #fdaf32 100%);

	--ls-font-display: 'Fraunces', serif;
	--ls-font-body: 'Inter', sans-serif;

	--ls-container: 1140px;
	--ls-container-wide: 1440px;
	--ls-gutter: 150px;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body.ls-no-scroll {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--ls-bg);
	color: var(--ls-body);
	font-family: var(--ls-font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ls-container {
	max-width: var(--ls-container-wide);
	margin: 0 auto;
	padding: 0 clamp(24px, 10.4vw, var(--ls-gutter));
}

@media (max-width: 600px) {
	.ls-container {
		padding: 0 16px;
	}
}

@media (max-width: 900px) {
	.ls-topbar .ls-container {
		padding-inline: 23px;
	}

	.ls-nav .ls-container {
		padding-inline: 30px;
	}
}

/* ---- typography ---- */

.ls-font-display,
h1, h2, h3,
.ls-h1, .ls-h2, .ls-h3 {
	font-family: var(--ls-font-display);
	font-weight: 400;
	font-variation-settings: 'SOFT' 0, 'WONK' 1;
	color: var(--ls-ink);
	margin: 0;
	letter-spacing: -0.02em;
}

.ls-h1 {
	font-size: 68px;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.ls-h2 {
	font-size: 47px;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.ls-h3 {
	font-size: 24px;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.ls-gradient-word {
	background: var(--ls-gradient-hero-word);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: italic;
}

.ls-heading em,
.ls-gradient-amp {
	font-style: italic;
	background: var(--ls-gradient-heading);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ls-hero .ls-heading em {
	background: var(--ls-gradient-hero-word);
	-webkit-background-clip: text;
	background-clip: text;
}

.ls-body-lg {
	font-size: 18px;
	line-height: 1.2;
}

.ls-eyebrow {
	font-family: var(--ls-font-body);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--ls-body-muted);
}

.ls-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.ls-kicker__line {
	display: block;
	width: 32px;
	height: 1px;
	background: currentColor;
	flex-shrink: 0;
}

.ls-kicker__text {
	font-family: var(--ls-font-body);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
}

/* ---- buttons ---- */

.ls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	padding: 0 25px;
	border-radius: 999px;
	font-family: var(--ls-font-body);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.3px;
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.ls-btn--outline {
	padding: 0 32px;
}

.ls-btn--primary,
.ls-btn--outline {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ls-gradient-cta);
	color: #010101;
	transition: box-shadow 0.25s ease;
}

.ls-btn--primary:hover,
.ls-btn--primary:focus-visible,
.ls-btn--outline:hover,
.ls-btn--outline:focus-visible {
	box-shadow: 0 6px 24px rgba(242, 108, 32, 0.55), 0 0 0 1px rgba(242, 108, 32, 0.2);
}

.ls-btn--primary::before,
.ls-btn--outline::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ls-gradient-cta-hover);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ls-btn--primary:hover::before,
.ls-btn--primary:focus-visible::before,
.ls-btn--outline:hover::before,
.ls-btn--outline:focus-visible::before {
	opacity: 1;
}

.ls-btn svg,
.ls-btn img {
	width: 16px;
	height: 16px;
}

/* =========================================================
   Header
   ========================================================= */

.ls-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.25s ease;
}

.ls-header.is-scrolled {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ls-topbar {
	background: var(--ls-orange-light);
	padding: 17px 0 16px;
}

.ls-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.ls-topbar__location,
.ls-topbar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 20px;
	color: #000;
	white-space: nowrap;
}

.ls-topbar__location {
	text-transform: capitalize;
}

.ls-topbar__right {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.ls-topbar__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ls-nav {
	background: var(--ls-white);
	padding: 16px 0;
}

.ls-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ls-nav__logo img {
	height: 88px;
	width: auto;
}

.ls-nav__menu {
	display: flex;
	align-items: center;
}

.ls-nav__menu-list {
	display: flex;
	align-items: center;
	gap: 47px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ls-nav__menu a {
	font-size: 18px;
	line-height: 1.2;
	color: #4d4e50;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease;
}

.ls-nav__menu a:hover {
	color: var(--ls-orange);
}

.ls-nav__menu-chevron {
	width: 8px;
	height: 10px;
}

.ls-nav__toggle,
.ls-nav__drawer {
	display: none;
}

/* Mobile header */
@media (max-width: 900px) {
	.ls-topbar {
		padding: 9px 0;
	}

	.ls-topbar__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.ls-topbar__location,
	.ls-topbar__item {
		font-size: 12px;
		line-height: 20px;
		gap: 6px;
	}

	.ls-topbar__icon {
		width: 14px;
		height: 14px;
	}

	.ls-topbar__right {
		gap: 17px;
		flex-wrap: nowrap;
	}

	.ls-nav {
		padding: 18px 0;
	}

	.ls-nav__inner > .ls-btn {
		display: none;
	}

	.ls-nav__menu {
		display: none;
	}

	.ls-nav__inner {
		justify-content: space-between;
	}

	.ls-nav__logo img {
		height: 66px;
	}

	.ls-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border: 1px solid #e3ddd6;
		border-radius: 999px;
		background: none;
		cursor: pointer;
	}

	.ls-nav__toggle img {
		width: 16px;
		height: 16px;
	}

	.ls-nav__drawer {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 50;
		background: var(--ls-white);
		border-top: 1px solid var(--ls-border);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
		padding: 16px 24px 24px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.ls-nav__drawer.is-open {
		display: block;
	}

	.ls-nav__drawer ul {
		display: flex;
		flex-direction: column;
		gap: 4px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.ls-nav__drawer ul a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 12px 4px;
		font-size: 18px;
		color: var(--ls-ink);
		border-bottom: 1px solid var(--ls-border);
	}

	.ls-nav__drawer ul a:focus-visible,
	.ls-nav__drawer .ls-btn:focus-visible {
		outline: 2px solid var(--ls-orange);
		outline-offset: -2px;
		border-radius: 4px;
	}

	/* "Services" accordion toggle */
	.ls-nav__drawer .menu-item-has-children > a {
		cursor: pointer;
	}

	.ls-nav__drawer .menu-item-has-children > a::after {
		content: '';
		width: 12px;
		height: 12px;
		flex-shrink: 0;
		background: url('../images/icons/icon-chevron-nav.svg') center / contain no-repeat;
		transition: transform 0.25s ease;
	}

	.ls-nav__drawer .menu-item-has-children.is-open > a::after {
		transform: rotate(180deg);
	}

	.ls-nav__drawer .sub-menu {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.ls-nav__drawer .sub-menu a {
		padding-left: 16px;
		font-size: 16px;
		color: var(--ls-body);
	}

	.ls-nav__drawer .sub-menu a::after {
		content: none;
	}

	.ls-nav__drawer .ls-btn {
		margin-top: 16px;
		width: 100%;
	}

	.ls-nav__drawer .ls-btn:first-of-type {
		margin-top: 20px;
	}
}

/* =========================================================
   Footer
   ========================================================= */

.ls-footer {
	background: #000;
	color: rgba(255, 255, 255, 0.7);
	padding: 73px 0 0;
}

.ls-footer .ls-container {
	padding-inline: clamp(24px, 8.33vw, 120px);
}

.ls-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
}

.ls-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 249px;
	flex-shrink: 0;
}

.ls-footer__logo {
	width: 54px;
	height: 69px;
	object-fit: contain;
}

.ls-footer__promise {
	font-size: 14px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 -5px 0 0;
}

.ls-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.ls-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.ls-footer__social img {
	width: 16px;
	height: 16px;
}

.ls-footer__region {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ls-footer__region--text {
	width: 224px;
	flex-shrink: 0;
}

.ls-footer__region-name,
.ls-footer__contact-title {
	font-family: var(--ls-font-display);
	font-weight: 700;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--ls-orange);
	font-variation-settings: 'SOFT' 0, 'WONK' 1;
}

.ls-footer__region-cities {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.ls-footer__region-cities ul {
	min-width: 0;
}

.ls-footer__region-cities li {
	line-height: 36px;
	white-space: nowrap;
}

.ls-footer__region-description {
	font-size: 14px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
}

.ls-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 242px;
	flex-shrink: 0;
}

.ls-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ls-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 20px;
	color: rgba(255, 255, 255, 0.7);
}

.ls-footer__contact-item img {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}

.ls-footer__bottom {
	margin-top: 41px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ls-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 24px;
	font-size: 12px;
	line-height: 16px;
	color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
	.ls-footer .ls-container {
		padding-inline: 16px;
	}
}

@media (max-width: 1200px) {
	.ls-footer__inner {
		flex-wrap: wrap;
		row-gap: 47px;
	}
}

@media (max-width: 900px) {
	.ls-footer__inner {
		flex-direction: column;
		gap: 47px;
	}

	.ls-footer__brand,
	.ls-footer__region--text,
	.ls-footer__contact {
		width: 100%;
	}

	.ls-only-desktop-flex {
		display: none !important;
	}

	.ls-footer__region-cities {
		gap: 12px;
	}

	.ls-footer__bottom-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 15px;
	}
}

/* =========================================================
   Generic page fallback (page.php)
   ========================================================= */

.ls-page-title-banner {
	padding: 80px 24px 40px;
	max-width: var(--ls-container);
	margin: 0 auto;
}

.ls-page-content {
	padding: 0 24px 80px;
	max-width: var(--ls-container);
	margin: 0 auto;
}

/* Desktop/mobile copy variants */
.ls-only-mobile {
	display: none;
}

@media (max-width: 900px) {
	.ls-only-desktop {
		display: none;
	}

	.ls-only-mobile {
		display: inline;
	}
}

/* Figma mobile buttons are smaller */
@media (max-width: 900px) {
	.ls-btn {
		height: 38px;
		padding: 0 19px;
		font-size: 13.56px;
		gap: 3px;
	}

	.ls-btn--outline {
		padding: 0 19px;
	}

	.ls-btn img,
	.ls-btn svg {
		width: 12px;
		height: 12px;
	}
}

.ls-kicker--lg .ls-kicker__text {
	font-size: 18px;
	line-height: 16px;
}

/* ---- nav dropdown ---- */
.ls-nav__menu-list > li {
	position: relative;
}

.ls-nav__menu-list .menu-item-has-children > a::after {
	content: '';
	width: 8px;
	height: 10px;
	background: url('../images/icons/icon-chevron-nav.svg') center / contain no-repeat;
}

.ls-nav__menu-list .sub-menu {
	position: absolute;
	top: 100%;
	left: -30px;
	margin: 14px 0 0;
	padding: 22px;
	list-style: none;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(5, auto);
	grid-template-columns: 235px 201px;
	column-gap: 14px;
	row-gap: 12px;
	background: var(--ls-white);
	border-radius: 12px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 60;
}

.ls-nav__menu-list .sub-menu a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0;
	font-size: 16px;
	color: var(--ls-body);
	white-space: nowrap;
}

.ls-nav__menu-list .sub-menu a::before {
	content: '';
	flex-shrink: 0;
	width: 13px;
	height: 10px;
	background: url('../images/icons/icon-nav-check.svg') center / contain no-repeat;
}

.ls-nav__menu-list li:hover > .sub-menu,
.ls-nav__menu-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}


@media (max-width: 900px) {
	.ls-kicker--lg .ls-kicker__text {
		font-size: 12px;
	}
}
