/*
 * LSV Legal — project styles on top of the Louhosteema bundle.
 * Source of truth: Figma "LSV Legal — Leiskat v3" (see docs/toteutussuunnitelma.md).
 *
 * Sections:
 *   1. Tokens
 *   2. Base & typography
 *   3. Layout helpers
 *   4. Buttons & links
 *   5. Icons
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	/* Brand */
	--louhos-primary: #1a1a34;             /* navy */
	--louhos-primary-rgb: 26, 26, 52;
	--louhos-primary-dark: #0f0f22;
	--louhos-accent: #cf9870;              /* copper */
	--louhos-link-color: #1a1a34;

	/* Neutrals */
	--louhos-headings: #1a1a34;
	--louhos-body-color: #5b5b70;
	--louhos-grey: #f1ebe3;                /* LSV/Surface */
	--louhos-border: #e8e2d9;              /* LSV/Border */
	--louhos-border-rgb: 232, 226, 217;

	/* Dark surfaces */
	--louhos-dark-1: #1a1a34;
	--louhos-dark-1-rgb: 26, 26, 52;
	--louhos-dark-2: #232038;
	--louhos-dark-2-rgb: 35, 32, 56;

	/* Shape & layout */
	--louhos-header-height: 88px;
	--louhos-radius: 6px;
	--louhos-radius-lg: 12px;
	--louhos-font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	/* Project tokens */
	--lsv-bg: #faf6f2;                     /* LSV/Background */
	--lsv-surface: #f1ebe3;                /* LSV/Surface */
	--lsv-icon-bg: #f1e6da;
	--lsv-copper: #cf9870;
	--lsv-copper-text: #8f5f3c;            /* copper for small text on light bg, WCAG AA */
	--lsv-border-strong: #dad3c8;
	--lsv-divider: #e1dbd1;
	--lsv-on-dark: #c9c9d8;                /* links on navy */
	--lsv-on-dark-muted: #9a9ab0;          /* body text on navy */
	--lsv-on-dark-subtle: #8a8aa2;         /* small print on navy (Figma #7a7a92 lifted to AA) */
	--lsv-dark-line: #33334d;
	--lsv-dark-line-2: #3d3d5c;
	--lsv-dark-outline: #6a6a85;
	--lsv-radius-xl: 20px;
	--lsv-shadow: 0 8px 20px rgba(26, 26, 51, 0.28);

	/* Brand gradient = the Figma fill image itself (navy with two warm glows),
	   cropped with cover like in Figma, under a navy veil: 32 % on the trust
	   bar, 42 % on the CTA panel and the contact call card. */
	--lsv-gradient-img: url("../img/brand-gradient.webp");
	--lsv-gradient:
		linear-gradient(rgba(26, 26, 52, 0.32), rgba(26, 26, 52, 0.32)),
		var(--lsv-gradient-img) center / cover no-repeat,
		#1a1a34;
	/* Header: measured from Figma, the image's top-right glow at ~2x, no veil */
	--lsv-gradient-header:
		var(--lsv-gradient-img) right top / 200% auto no-repeat,
		#1a1a34;
	--lsv-gradient-cta:
		linear-gradient(rgba(26, 26, 52, 0.42), rgba(26, 26, 52, 0.42)),
		var(--lsv-gradient-img) center / cover no-repeat,
		#1a1a34;
	--lsv-gutter: clamp(1rem, 4vw, 2rem);
	--lsv-section-y: clamp(3.5rem, 7vw, 6rem);

	/* Bootstrap bridges not covered by the parent */
	--bs-body-bg: var(--lsv-bg);
	--bs-body-font-size: 1rem;
	--bs-body-line-height: 1.625;
	--bs-secondary-color: var(--louhos-body-color);
}

/* ==========================================================================
   2. Base & typography
   ========================================================================== */

body {
	background-color: var(--lsv-bg);
	color: var(--louhos-body-color);
	font-size: 1rem;
	line-height: 1.625;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
	color: var(--louhos-headings);
	font-weight: 600;
}

h1, .h1 {
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);   /* 36 → 56 */
	line-height: 1.107;
	letter-spacing: -0.075rem;
}

h2, .h2 {
	font-size: clamp(1.75rem, 1.45rem + 1.2vw, 2.25rem); /* 28 → 36 */
	line-height: 1.167;
	letter-spacing: -0.05rem;
}

h3, .h3 {
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: -0.0125rem;
}

h4, .h4 {
	font-size: 1.0625rem;
	line-height: 1.4;
}

.lead,
.lsv-lead {
	font-size: 1.125rem;
	line-height: 1.667;
	font-weight: 400;
}

.small,
small {
	font-size: 0.875rem;
	line-height: 1.571;
}

/* Eyebrow: small uppercase kicker above headings */
.lsv-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1rem;
	color: var(--lsv-copper-text);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.333;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.lsv-eyebrow--dot::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lsv-copper);
}

.section--dark .lsv-eyebrow,
.lsv-dark .lsv-eyebrow {
	color: var(--lsv-copper);
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

/* 1600px frame used by header, heroes, CTA and footer */
.lsv-container-wide {
	width: min(1600px, calc(100% - 2 * var(--lsv-gutter)));
	margin-inline: auto;
}

/* Content column (Figma 1300px) */
.container {
	--bs-gutter-x: calc(2 * var(--lsv-gutter));
}

@media (min-width: 1400px) {
	.container {
		max-width: 1332px; /* 1300 + gutters */
	}
}

.lsv-section {
	padding-block: var(--lsv-section-y);
}

.lsv-bg-surface {
	background-color: var(--lsv-surface);
}

.lsv-bg-white {
	background-color: #fff;
}

/* Dark brand surface */
.lsv-dark {
	background: var(--lsv-gradient);
	color: var(--lsv-on-dark-muted);
}

.lsv-dark :is(h1, h2, h3, h4) {
	color: #fff;
}

/* Louhosteema turns dark-section links --louhos-primary on hover, which is
   navy here (invisible on navy): keep them white and underline instead. */
.section--dark a:not(.btn):hover,
.section--dark a:not(.btn):focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Section header: eyebrow + H2 (+ optional link on the right) */
.lsv-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lsv-section-head h2 {
	max-width: 36rem;
	margin: 0;
}

/* ==========================================================================
   4. Buttons & links
   ========================================================================== */

.btn {
	--bs-btn-font-family: var(--louhos-font-family);
	--bs-btn-font-size: 0.9375rem;
	--bs-btn-font-weight: 600;
	--bs-btn-line-height: 1.25rem;
	--bs-btn-padding-y: 0.9375rem;
	--bs-btn-padding-x: 1.625rem;
	--bs-btn-border-radius: var(--louhos-radius);

	letter-spacing: 0.0125rem;
}

.louhos-btn {
	gap: 0.625rem;
	min-height: 50px;
}

/* Primary on light: navy */
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--louhos-primary);
	--bs-btn-border-color: var(--louhos-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #2c2c4d;
	--bs-btn-hover-border-color: #2c2c4d;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--louhos-primary-dark);
	--bs-btn-active-border-color: var(--louhos-primary-dark);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--louhos-primary);
	--bs-btn-disabled-border-color: var(--louhos-primary);
}

/* Secondary on light: white with warm border */
.btn-outline-primary {
	--bs-btn-color: var(--louhos-headings);
	--bs-btn-bg: #fff;
	--bs-btn-border-color: var(--lsv-border-strong);
	--bs-btn-hover-color: var(--louhos-headings);
	--bs-btn-hover-bg: var(--lsv-bg);
	--bs-btn-hover-border-color: var(--louhos-headings);
	--bs-btn-active-color: var(--louhos-headings);
	--bs-btn-active-bg: var(--lsv-surface);
	--bs-btn-active-border-color: var(--louhos-headings);
}

/* Copper — header CTA, and primary on dark surfaces */
.btn-accent,
.section--dark .btn-primary,
.lsv-dark .btn-primary {
	--bs-btn-color: var(--louhos-headings);
	--bs-btn-bg: var(--lsv-copper);
	--bs-btn-border-color: var(--lsv-copper);
	--bs-btn-hover-color: var(--louhos-headings);
	--bs-btn-hover-bg: #dcae8c;
	--bs-btn-hover-border-color: #dcae8c;
	--bs-btn-active-color: var(--louhos-headings);
	--bs-btn-active-bg: #c08660;
	--bs-btn-active-border-color: #c08660;
}

/* Outline on dark surfaces */
.btn-outline-light,
.section--dark .btn-outline-primary,
.lsv-dark .btn-outline-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: transparent;
	--bs-btn-border-color: var(--lsv-dark-outline);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
	--bs-btn-hover-border-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: rgba(255, 255, 255, 0.14);
	--bs-btn-active-border-color: #fff;
}

.louhos-buttons {
	gap: 0.75rem;
}

/* Text link with arrow ("Lue lisää →") */
.lsv-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--louhos-headings);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.lsv-arrow-link .lsv-icon {
	width: 14px;
	height: 14px;
	color: var(--lsv-copper-text);
	transition: transform 0.2s ease;
}

.lsv-arrow-link:hover,
.lsv-arrow-link:focus-visible {
	color: var(--louhos-headings);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-arrow-link:hover .lsv-icon,
.lsv-arrow-link:focus-visible .lsv-icon {
	transform: translateX(3px);
}

/* ==========================================================================
   5. Icons
   ========================================================================== */

.lsv-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

.louhos-btn .lsv-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.louhos-btn:hover .lsv-icon--arrow,
.louhos-btn:focus-visible .lsv-icon--arrow {
	transform: translateX(4px);
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.lsv-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 1030;
}

.lsv-header__bar {
	background: var(--lsv-gradient-header);
	border-bottom: 1px solid var(--lsv-dark-line);
	color: #fff;
}

.lsv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
}

.lsv-header__brand {
	display: inline-flex;
	flex-shrink: 0;
}

.lsv-header__brand img {
	width: 150px;
	height: auto;
}

.lsv-header__mobile-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lsv-header__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--lsv-dark-outline);
	border-radius: var(--louhos-radius);
	background: transparent;
	color: #fff;
}

.lsv-header__icon-btn:hover,
.lsv-header__icon-btn:focus-visible {
	color: #fff;
	border-color: #fff;
}

.lsv-header__icon-btn .lsv-icon {
	width: 18px;
	height: 18px;
}

.lsv-burger,
.lsv-burger::before,
.lsv-burger::after,
.lsv-burger > span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
}

.lsv-burger {
	position: relative;
	background: transparent;
}

.lsv-burger::before,
.lsv-burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.lsv-burger::before { top: -6px; }
.lsv-burger::after { top: 6px; }

.lsv-header :focus-visible {
	outline-color: #fff;
}

/* Menu: offcanvas below xl */
.lsv-header__menu {
	--bs-offcanvas-width: min(360px, 88vw);
	--bs-offcanvas-bg: var(--louhos-primary);
	--bs-offcanvas-color: #fff;
	--bs-offcanvas-padding-x: 1.5rem;
}

.lsv-header__menu .offcanvas-header {
	border-bottom: 1px solid var(--lsv-dark-line);
}

.lsv-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-nav__item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.lsv-nav__link {
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.375;
	text-decoration: none;
}

.lsv-nav__link:hover,
.lsv-nav__link:focus-visible,
.lsv-nav__item.is-active > .lsv-nav__link {
	color: var(--lsv-copper);
}

.lsv-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--lsv-copper);
}

.lsv-nav__toggle .lsv-icon {
	width: 11px;
	height: 11px;
	transition: transform 0.2s ease;
}

.lsv-nav__toggle[aria-expanded="true"] .lsv-icon {
	transform: rotate(180deg);
}

.lsv-nav__toggle::after {
	/* larger hit area without changing the 22px visual */
	content: "";
	position: absolute;
	inset: -11px;
}

.lsv-nav__toggle {
	position: relative;
}

.lsv-nav__sub {
	--bs-dropdown-min-width: 17rem;
	--bs-dropdown-padding-y: 0.5rem;
	--bs-dropdown-border-color: var(--louhos-border);
	--bs-dropdown-border-radius: var(--louhos-radius-lg);
	--bs-dropdown-font-size: 0.9375rem;
	--bs-dropdown-link-color: var(--louhos-headings);
	--bs-dropdown-link-hover-color: var(--louhos-headings);
	--bs-dropdown-link-hover-bg: var(--lsv-bg);
	--bs-dropdown-link-active-color: var(--louhos-headings);
	--bs-dropdown-link-active-bg: var(--lsv-surface);
	--bs-dropdown-item-padding-x: 1.125rem;
	--bs-dropdown-item-padding-y: 0.5rem;
	--bs-dropdown-box-shadow: 0 16px 40px rgba(26, 26, 51, 0.18);

	box-shadow: var(--bs-dropdown-box-shadow);
}

.lsv-nav__sub .dropdown-item {
	font-weight: 500;
	white-space: normal;
}

.lsv-nav__sub .dropdown-item[aria-current="page"] {
	font-weight: 600;
	color: var(--lsv-copper-text);
}

.lsv-header__divider {
	display: block;
	background: var(--lsv-dark-line-2);
}

.lsv-header__actions {
	display: flex;
	gap: 0.75rem;
}

.lsv-header__actions .btn {
	--bs-btn-font-size: 1rem;
	--bs-btn-line-height: 1.375rem;
	--bs-btn-padding-y: 0.75rem;
	--bs-btn-padding-x: 1.25rem;

	min-height: 48px;
	white-space: nowrap;
}

.lsv-header__phone .lsv-icon {
	width: 17px;
	height: 17px;
}

/* Mobile / tablet offcanvas layout */
@media (max-width: 1199.98px) {
	.lsv-header__menu .offcanvas-body {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	.lsv-nav__item {
		justify-content: space-between;
		border-bottom: 1px solid var(--lsv-dark-line);
	}

	.lsv-nav__link {
		flex: 1;
		padding: 0.875rem 0;
		font-size: 1.125rem;
	}

	.lsv-nav__toggle {
		width: 32px;
		height: 32px;
	}

	.lsv-nav__sub {
		position: static !important;
		flex-basis: 100%;
		margin: 0 0 0.75rem;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
		transform: none !important;
	}

	.lsv-nav__sub .dropdown-item {
		padding: 0.5rem 0 0.5rem 1rem;
		color: var(--lsv-on-dark);
		border-left: 1px solid var(--lsv-dark-line-2);
	}

	.lsv-nav__sub .dropdown-item:hover,
	.lsv-nav__sub .dropdown-item:focus-visible {
		background: transparent;
		color: #fff;
	}

	.lsv-nav__sub .dropdown-item[aria-current="page"] {
		color: var(--lsv-copper);
	}

	.lsv-header__divider {
		display: none;
	}

	.lsv-header__actions {
		flex-direction: column;
	}
}

@media (min-width: 1200px) {
	.lsv-header__inner {
		min-height: calc(var(--louhos-header-height) - 1px);
	}

	.lsv-header__brand img {
		width: 176px;
	}

	.lsv-header__menu .offcanvas-body {
		display: flex;
		align-items: center;
		gap: 2.25rem;
	}

	.lsv-nav {
		display: flex;
		align-items: center;
		gap: 1.875rem;
	}

	.lsv-nav__item {
		gap: 0.5rem;
	}

	/* Keep dropdown open while the pointer travels from toggle to menu */
	.lsv-nav__sub {
		top: calc(100% + 0.75rem);
		left: -1.125rem;
	}

	.lsv-nav__sub::before {
		content: "";
		position: absolute;
		inset: -0.875rem 0 auto;
		height: 0.875rem;
	}

	.lsv-header__divider {
		width: 1px;
		height: 22px;
	}
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
	.lsv-nav { gap: 1.25rem; }
	.lsv-header__menu .offcanvas-body { gap: 1.5rem; }
}

/* ==========================================================================
   7. Footer
   ========================================================================== */

.lsv-footer {
	background: var(--louhos-primary);
	border-top: 0;
	padding-block: clamp(3.5rem, 6vw, 5rem) 2.25rem;
	color: var(--lsv-on-dark-muted);
	font-size: 0.875rem;
}

.lsv-footer a {
	color: var(--lsv-on-dark);
	text-decoration: none;
}

.lsv-footer a:hover,
.lsv-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-footer :focus-visible {
	outline-color: #fff;
}

.lsv-footer__top {
	display: grid;
	gap: 3rem;
}

.lsv-footer__brand img {
	width: 232px;
	height: auto;
}

.lsv-footer__text {
	max-width: 25rem;
	margin: 1.25rem 0 0;
	color: var(--lsv-on-dark-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.733;
}

.lsv-footer__social {
	display: flex;
	gap: 1rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.lsv-footer__social a {
	display: inline-flex;
	color: #fff;
}

.lsv-footer__social .lsv-icon {
	width: 22px;
	height: 22px;
}

.lsv-footer__info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 2.5rem 3.5rem;
}

.lsv-footer__heading {
	margin: 0 0 0.875rem;
	color: var(--lsv-copper);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.333;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.lsv-footer__menu {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 500;
	line-height: 1.571;
}

.lsv-footer__contact {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding-top: 0.375rem;
	font-style: normal;
}

.lsv-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.1px;
}

.lsv-footer__contact .lsv-icon {
	width: 17px;
	height: 17px;
}

.lsv-footer__area {
	font-size: 0.9375rem;
}

.lsv-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: clamp(3rem, 6vw, 6.25rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--lsv-dark-line);
	color: var(--lsv-on-dark-subtle);
	font-weight: 500;
}

.lsv-footer__bottom p {
	margin: 0;
}

.lsv-footer__bottom a {
	color: var(--lsv-on-dark-subtle);
}

@media (min-width: 1200px) {
	.lsv-footer__top {
		grid-template-columns: minmax(0, 25rem) auto;
		justify-content: space-between;
	}

	.lsv-footer__info {
		display: flex;
		gap: 3.5rem;
		padding-left: 3.5rem;
		border-left: 1px solid var(--lsv-dark-line-2);
	}

	.lsv-footer__menu {
		white-space: nowrap;
	}
}

/* Floating WhatsApp button: the site's copper with a navy logo (~7.4:1), as the
   client asked for the brand palette (11/2026). Mirror of the cookie button
   (bottom left): the label slides out on hover and keyboard focus; it stays in
   the DOM, so the accessible name is constant. */
.lsv-whatsapp {
	--lsv-whatsapp-size: 56px;
	--lsv-whatsapp-icon: 28px;

	position: fixed;
	right: clamp(1rem, 2.5vw, 2.5rem);
	bottom: clamp(1rem, 2.5vw, 2.5rem);
	z-index: 1020;
	display: flex;
	align-items: center;
	justify-content: flex-end; /* collapsed: the label overflows to the left and is clipped */
	max-width: var(--lsv-whatsapp-size);
	height: var(--lsv-whatsapp-size);
	box-sizing: border-box;
	padding: 0 var(--lsv-whatsapp-size) 0 0;
	overflow: hidden;
	border-radius: calc(var(--lsv-whatsapp-size) / 2);
	background: var(--lsv-copper);
	box-shadow: var(--lsv-shadow);
	color: var(--louhos-headings);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.0125rem;
	text-decoration: none;
	white-space: nowrap;
	transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lsv-whatsapp .lsv-icon {
	position: absolute;
	top: 50%;
	right: calc((var(--lsv-whatsapp-size) - var(--lsv-whatsapp-icon)) / 2);
	width: var(--lsv-whatsapp-icon);
	height: var(--lsv-whatsapp-icon);
	transform: translateY(-50%);
}

.lsv-whatsapp:not([aria-expanded="true"]):hover,
.lsv-whatsapp:not([aria-expanded="true"]):focus-visible {
	max-width: 16rem;
	padding-left: 1.5rem;
	color: var(--louhos-headings);
	text-decoration: none;
}

.lsv-whatsapp:focus-visible {
	outline: 2px solid var(--louhos-headings);
	outline-offset: 3px;
}

@media (min-width: 1200px) {
	.lsv-whatsapp {
		--lsv-whatsapp-size: 64px;
		--lsv-whatsapp-icon: 30px;
	}
}

/* Open chat: the WhatsApp icon turns into a close cross */
.lsv-whatsapp .lsv-icon,
.lsv-whatsapp__close {
	transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.lsv-whatsapp__close {
	position: absolute;
	top: 50%;
	right: calc((var(--lsv-whatsapp-size) - 22px) / 2);
	opacity: 0;
	transform: translateY(-50%) rotate(-90deg);
}

.lsv-whatsapp[aria-expanded="true"] .lsv-icon {
	opacity: 0;
	transform: translateY(-50%) rotate(90deg);
}

.lsv-whatsapp[aria-expanded="true"] .lsv-whatsapp__close {
	opacity: 1;
	transform: translateY(-50%) rotate(0);
}

/* Unread dot on the button corner: appears a moment after load until the chat is opened (child.js) */
.lsv-whatsapp__badge {
	position: fixed;
	right: calc(clamp(1rem, 2.5vw, 2.5rem) - 2px);
	bottom: calc(clamp(1rem, 2.5vw, 2.5rem) + 56px - 18px);
	z-index: 1021;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #d42a2a;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
	animation: lsv-wa-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 1200px) {
	.lsv-whatsapp__badge {
		bottom: calc(clamp(1rem, 2.5vw, 2.5rem) + 64px - 18px);
	}
}

.lsv-whatsapp__badge[hidden] {
	display: none;
}

/* Chat window (WhatsApp look, brand header) */
.lsv-wa-chat {
	--lsv-wa-green: #25d366;
	--lsv-wa-paper: #efeae2;

	position: fixed;
	right: clamp(1rem, 2.5vw, 2.5rem);
	bottom: calc(clamp(1rem, 2.5vw, 2.5rem) + var(--lsv-whatsapp-size, 56px) + 0.875rem);
	z-index: 1021;
	display: flex;
	flex-direction: column;
	width: min(22.5rem, calc(100vw - 2rem));
	max-height: calc(100dvh - 7rem);
	overflow: hidden;
	border-radius: var(--lsv-radius-xl);
	background: var(--lsv-wa-paper);
	box-shadow: 0 18px 48px rgba(26, 26, 51, 0.3), 0 2px 6px rgba(26, 26, 51, 0.12);
	transform-origin: calc(100% - 28px) 100%;
	transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@starting-style {
	.lsv-wa-chat {
		opacity: 0;
		transform: translateY(12px) scale(0.92);
	}
}

.lsv-wa-chat[hidden] {
	display: none;
}

@media (min-width: 1200px) {
	.lsv-wa-chat {
		--lsv-whatsapp-size: 64px;
	}
}

.lsv-wa-chat__head {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	padding: 1rem 1rem 1rem 1.125rem;
	background: var(--louhos-primary);
	color: #fff;
}

.lsv-wa-chat__avatar {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--lsv-copper);
	color: var(--louhos-primary);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.lsv-wa-chat__avatar::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0.75rem;
	height: 0.75rem;
	border: 2px solid var(--louhos-primary);
	border-radius: 50%;
	background: var(--lsv-wa-green);
}

.lsv-wa-chat__who {
	flex: 1;
	min-width: 0;
}

.lsv-wa-chat__title {
	margin: 0;
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
}

.lsv-wa-chat__status {
	margin: 0.125rem 0 0;
	color: var(--lsv-on-dark);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.lsv-wa-chat__x {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background-color 0.2s ease;
}

.lsv-wa-chat__x:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lsv-wa-chat__x:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* WhatsApp-style wallpaper: faint dot grid on warm paper */
.lsv-wa-chat__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 9.5rem;
	padding: 1.25rem 1.125rem 1.5rem;
	overflow-y: auto;
	background-color: var(--lsv-wa-paper);
	background-image: radial-gradient(rgba(26, 26, 51, 0.07) 1px, transparent 1.2px);
	background-size: 14px 14px;
}

.lsv-wa-chat__typing,
.lsv-wa-chat__bubble {
	position: relative;
	border-radius: 0 0.75rem 0.75rem;
	background: #fff;
	box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13);
}

.lsv-wa-chat__typing::before,
.lsv-wa-chat__bubble::before {
	content: "";
	position: absolute;
	top: 0;
	left: -8px;
	border-width: 0 8px 10px 0;
	border-style: solid;
	border-color: transparent #fff transparent transparent;
}

.lsv-wa-chat__typing {
	display: none;
	gap: 4px;
	padding: 0.875rem 1rem;
}

.lsv-wa-chat__typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8696a0;
	animation: lsv-wa-dot 1.2s infinite ease-in-out;
}

.lsv-wa-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.lsv-wa-chat__typing span:nth-child(3) { animation-delay: 0.3s; }

.lsv-wa-chat.is-typing .lsv-wa-chat__typing {
	display: flex;
}

.lsv-wa-chat.is-typing .lsv-wa-chat__bubble {
	display: none;
}

.lsv-wa-chat__bubble {
	max-width: 88%;
	padding: 0.5rem 0.75rem 0.375rem;
	animation: lsv-wa-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	transform-origin: 0 0;
}

.lsv-wa-chat__sender {
	margin: 0 0 0.125rem;
	color: var(--lsv-copper-text);
	font-size: 0.8125rem;
	font-weight: 700;
}

.lsv-wa-chat__text {
	margin: 0;
	color: #111b21;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.lsv-wa-chat__time {
	display: block;
	margin-top: 0.125rem;
	color: #667781;
	font-size: 0.6875rem;
	text-align: right;
}

.lsv-wa-chat__foot {
	padding: 0.875rem 1rem 1rem;
	background: #fff;
}

.lsv-wa-chat__cta {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	border-radius: 999px;
	background: var(--lsv-wa-green);
	color: #0b141a;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.lsv-wa-chat__cta:hover {
	background: #1fbf5b;
	color: #0b141a;
	text-decoration: none;
}

.lsv-wa-chat__cta:active {
	transform: scale(0.98);
}

.lsv-wa-chat__cta:focus-visible {
	outline: 2px solid var(--louhos-primary);
	outline-offset: 3px;
}

.lsv-wa-chat__cta .lsv-icon {
	width: 1.375rem;
	height: 1.375rem;
}

@keyframes lsv-wa-dot {
	0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
	30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes lsv-wa-pop {
	from { opacity: 0; transform: scale(0.85); }
}

/* Not over an open mobile menu */
body:has(.offcanvas.show) .lsv-whatsapp,
body:has(.offcanvas.show) .lsv-wa-chat,
body:has(.offcanvas.show) .lsv-whatsapp__badge {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.lsv-whatsapp,
	.lsv-whatsapp .lsv-icon,
	.lsv-whatsapp__close,
	.lsv-wa-chat {
		transition: none;
	}

	.lsv-whatsapp__badge,
	.lsv-wa-chat__bubble,
	.lsv-wa-chat__typing span {
		animation: none;
	}
}

/* ==========================================================================
   8. Hero (views/blocks/hero.twig)
   ========================================================================== */

.lsv-hero__title {
	margin: 0;
}

.lsv-hero__text {
	font-size: 1.125rem;
	line-height: 1.667;
}

.lsv-hero__text p:last-child {
	margin-bottom: 0;
}

.lsv-hero .louhos-buttons {
	margin-top: 0.5rem;
}

/* Split (front page) */
.lsv-hero--split {
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.lsv-hero--split .lsv-hero__row {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.lsv-hero--split .lsv-hero__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 40rem;
}

.lsv-hero--split .lsv-eyebrow {
	margin: 0;
}

.lsv-hero--split .lsv-hero__text {
	max-width: 36.25rem;
}

.lsv-hero--split .lsv-hero__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 22rem;
	padding: clamp(1rem, 2vw, 1.5rem);
	overflow: hidden;
	border-radius: var(--lsv-radius-xl);
}

.lsv-hero--split .lsv-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lsv-hero__tile {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 3rem;
	padding: 1.125rem 1.375rem;
	border-radius: var(--louhos-radius-lg);
	background: rgba(26, 26, 52, 0.88);
	color: #fff;
}

.lsv-hero__tile-text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.412;
	letter-spacing: -0.1px;
}

.lsv-hero__tile .lsv-eyebrow {
	margin: 0;
	color: var(--lsv-copper);
}

.lsv-hero__tile-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.lsv-hero__tile-phone:hover,
.lsv-hero__tile-phone:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-hero__tile-phone .lsv-icon {
	width: 18px;
	height: 18px;
}

.lsv-hero__tile :focus-visible {
	outline-color: #fff;
}

@media (min-width: 1200px) {
	.lsv-hero--split .lsv-hero__row {
		grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
		gap: 5rem;
	}

	.lsv-hero--split .lsv-hero__media {
		min-height: min(700px, calc(100vh - var(--louhos-header-height) - 5rem));
	}
}

/* Banner (sub pages) */
.lsv-hero--banner {
	padding-top: clamp(1rem, 2vw, 1.75rem);
}

.lsv-hero__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(26rem, 40vw, 31.75rem);
	padding: clamp(2.5rem, 6vw, 7.5rem) clamp(1.5rem, 5.5vw, 5.5rem) clamp(2.5rem, 5.5vw, 5.5rem);
	overflow: hidden;
	border-radius: var(--lsv-radius-xl);
	background: var(--louhos-primary);
	color: #d6d2cc;
}

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

/* Navy gradient + progressive blur towards the text side (Figma "Blurri" layers) */
.lsv-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(26, 26, 52, 0.92) 0%, rgba(26, 26, 52, 0.74) 50%, rgba(26, 26, 52, 0.22) 100%);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.35) 42%, transparent 58%);
	mask-image: linear-gradient(90deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.35) 42%, transparent 58%);
}

/* The mask would fade the gradient too: repeat it unmasked underneath */
.lsv-hero__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(26, 26, 52, 0.92) 0%, rgba(26, 26, 52, 0.74) 50%, rgba(26, 26, 52, 0.22) 100%);
	pointer-events: none;
}

.lsv-hero__veil {
	z-index: 1;
}

.lsv-hero__card .lsv-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 62.5rem;
}

.lsv-hero__card .lsv-eyebrow {
	margin: 0;
}

.lsv-hero__card .lsv-hero__title {
	font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); /* 34 → 52 */
	line-height: 1.115;
	letter-spacing: -0.07rem;
}

.lsv-hero__card .lsv-hero__text {
	max-width: 47.5rem;
	color: #e6e2dc; /* Figma #d6d2cc lifted: stays ≥ 4.5:1 over the lightest photo areas */
}

.lsv-hero__card .louhos-buttons {
	margin-top: 0.875rem;
}

/* Breadcrumbs */
.lsv-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.538;
}

.lsv-breadcrumbs li {
	display: inline-flex;
	gap: 0.625rem;
	color: var(--lsv-on-dark);
}

.lsv-breadcrumbs li + li::before {
	content: "/";
	color: #9a9ab0;
}

.lsv-breadcrumbs a {
	color: var(--lsv-on-dark);
	text-decoration: none;
}

.section--dark .lsv-breadcrumbs a:hover,
.section--dark .lsv-breadcrumbs a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-breadcrumbs [aria-current] {
	color: #fff;
}

/* Phones: the current page is the H1 right below; a long title would wrap
   with its "/" left hanging at the start of the line. */
@media (max-width: 575.98px) {
	.lsv-breadcrumbs li:has([aria-current]) {
		display: none;
	}
}

@media (max-width: 767.98px) {
	/* Text spans the whole card on phones: veil the whole photo */
	.lsv-hero__veil {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.lsv-hero__card::after {
		background: linear-gradient(180deg, rgba(26, 26, 52, 0.9) 0%, rgba(26, 26, 52, 0.72) 100%);
	}
}

/* ==========================================================================
   9. Section backgrounds & rhythm
   ========================================================================== */

.lsv-bg-bg {
	background-color: var(--lsv-bg);
}

/* Consecutive sections on the same background share one gap (Figma: 96px) */
.lsv-section.lsv-bg-bg + .lsv-section.lsv-bg-bg,
.lsv-section.lsv-bg-surface + .lsv-section.lsv-bg-surface,
.lsv-section.lsv-bg-white + .lsv-section.lsv-bg-white {
	padding-top: 0;
}

.lsv-section-head__intro {
	max-width: 40rem;
	margin: 1rem 0 0;
}

/* Services grid on phones: link to all services below the picked cards */
.lsv-services__more {
	margin: 2rem 0 0;
}

.lsv-services__more .btn {
	justify-content: center;
	width: 100%;
}

.lsv-arrow-link--lg {
	font-size: 0.9375rem;
	padding-bottom: 0.375rem;
}

.lsv-arrow-link--lg .lsv-icon {
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   10. Cards (services grid)
   ========================================================================== */

.lsv-card {
	position: relative;
	display: flex;
	gap: 1rem;
	height: 100%;
	padding: 1.375rem;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lsv-card:hover,
.lsv-card:focus-within {
	border-color: var(--lsv-border-strong);
	box-shadow: 0 12px 30px rgba(26, 26, 52, 0.08);
	transform: translateY(-2px);
}

.lsv-card__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: var(--louhos-radius-lg);
	background: var(--lsv-icon-bg);
	color: var(--louhos-headings);
}

.lsv-card__icon .lsv-icon {
	width: 26px;
	height: 26px;
}

.lsv-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.lsv-card__title {
	margin: 0;
	font-size: 1.1875rem;
	line-height: 1.316;
	letter-spacing: -0.0125rem;
}

.lsv-card__title a {
	color: inherit;
	text-decoration: none;
}

.lsv-card__title a:focus-visible {
	outline: none;
}

.lsv-card__title a:focus-visible::after {
	outline: 3px solid var(--louhos-primary);
	outline-offset: 2px;
	border-radius: var(--louhos-radius-lg);
}

.lsv-card__text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.lsv-card .lsv-arrow-link {
	margin-top: auto;
	padding-top: 0.25rem;
}

.lsv-card:hover .lsv-arrow-link .lsv-icon {
	transform: translateX(3px);
}

/* Surface cards (tools): icon on top, beige background */
.lsv-card--surface {
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.5rem 1.375rem 1.75rem;
	border-color: transparent;
	background: var(--lsv-surface);
}

.lsv-card--surface .lsv-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--lsv-copper);
}

.lsv-card--surface .lsv-card__icon .lsv-icon {
	width: 20px;
	height: 20px;
}

/* ==========================================================================
   11. Stats (trust bar)
   ========================================================================== */

.lsv-stats {
	padding-block: 2.5rem;
}

.lsv-stats__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-stats__item {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.lsv-stats__item::before {
	content: "";
	width: 26px;
	height: 2px;
	margin-bottom: 0.5rem;
	border-radius: 1px;
	background: var(--lsv-copper);
}

.lsv-stats__value {
	color: #fff;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.1875;
	letter-spacing: -0.05rem;
}

.lsv-stats__label {
	color: #b4b4c8; /* lighter than --lsv-on-dark-muted: sits on the warm glow */
	font-size: 0.875rem;
	line-height: 1.571;
}

@media (min-width: 992px) {
	.lsv-stats {
		padding-block: 2.5rem 2.75rem;
	}

	.lsv-stats__list {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}

	.lsv-stats__item + .lsv-stats__item {
		position: relative;
	}

	.lsv-stats__item + .lsv-stats__item::after {
		content: "";
		position: absolute;
		top: 50%;
		left: calc(-1 * var(--lsv-stats-gap, 4vw) / 2);
		width: 1px;
		height: 48px;
		background: var(--lsv-dark-line);
		transform: translateY(-40%);
	}

	.lsv-stats__list {
		gap: var(--lsv-stats-gap, 4vw);
	}
}

/* ==========================================================================
   12. Text + image
   ========================================================================== */

.lsv-ti__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 620 / 420;
	object-fit: cover;
	border-radius: 16px;
}

.lsv-ti__image--wide {
	aspect-ratio: 1300 / 400;
	margin-bottom: 2.25rem;
}

.lsv-ti__row {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.lsv-ti__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.125rem;
}

.lsv-ti .lsv-eyebrow {
	margin: 0;
}

.lsv-ti__title {
	margin: 0;
}

.lsv-ti__body > :last-child {
	margin-bottom: 0;
}

.lsv-ti__body p {
	margin-bottom: 1rem;
}

.lsv-ti .louhos-buttons {
	margin-top: 0.5rem;
}

.lsv-ti__columns {
	display: grid;
	gap: 1.5rem;
}

.lsv-ti__head {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

@media (max-width: 767.98px) {
	.lsv-ti__image--wide {
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 992px) {
	.lsv-ti__row {
		grid-template-columns: minmax(0, 620fr) minmax(0, 600fr);
		gap: 5rem;
	}

	.lsv-ti--right .lsv-ti__row {
		grid-template-columns: minmax(0, 600fr) minmax(0, 620fr);
	}

	.lsv-ti--right .lsv-ti__media {
		order: 2;
	}

	/* Side image as tall as the text column, never shorter than 620:420 (the
	   ::before spacer); the text stays vertically centred beside it. */
	.lsv-ti__row {
		align-items: stretch;
	}

	.lsv-ti__content {
		align-self: center;
	}

	.lsv-ti__media {
		position: relative;
	}

	.lsv-ti__media::before {
		content: "";
		display: block;
		padding-top: calc(420 / 620 * 100%);
	}

	.lsv-ti__media .lsv-ti__image {
		position: absolute;
		inset: 0;
		height: 100%;
		aspect-ratio: auto;
	}

	.lsv-ti__columns {
		grid-template-columns: minmax(0, 560fr) minmax(0, 660fr);
		gap: 5rem;
	}
}

/* ==========================================================================
   13. Numbered list
   ========================================================================== */

.lsv-numbered__row {
	display: grid;
	gap: 2.5rem;
}

.lsv-numbered__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.lsv-numbered__intro :is(h2, p) {
	margin: 0;
	max-width: 32.5rem;
}

.lsv-numbered__intro .louhos-buttons {
	margin-top: 0.5rem;
}

.lsv-numbered__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-numbered__item {
	display: flex;
	gap: 1.375rem;
	padding-block: 1.625rem;
	border-bottom: 1px solid var(--lsv-divider);
}

.lsv-numbered__item:first-child {
	padding-top: 0;
}

.lsv-numbered__item:last-child {
	border-bottom: 0;
}

.lsv-numbered__num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--louhos-border);
	border-radius: 50%;
	background: #fff;
	color: var(--lsv-copper-text);
	font-size: 0.9375rem;
	font-weight: 600;
}

.lsv-numbered__title {
	margin: 0 0 0.4375rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-numbered__item p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.571;
}

@media (min-width: 992px) {
	.lsv-numbered__row {
		grid-template-columns: minmax(0, 540fr) minmax(0, 670fr);
		gap: 5.625rem;
		align-items: start;
	}
}

/* ==========================================================================
   14. CTA card
   ========================================================================== */

.lsv-cta {
	padding-bottom: var(--lsv-section-y);
}

.lsv-cta__card {
	display: grid;
	overflow: hidden;
	border-radius: var(--lsv-radius-xl);
}

.lsv-cta__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 14rem;
	max-height: 20rem;
	object-fit: cover;
}

.lsv-cta__panel {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: clamp(2rem, 5vw, 3.75rem);
	background: var(--lsv-gradient-cta);
}

.lsv-cta__text {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	max-width: 31.25rem;
}

.lsv-cta .lsv-eyebrow {
	margin: 0;
}

.lsv-cta__title {
	margin: 0;
}

.lsv-cta__body {
	color: var(--lsv-on-dark-muted);
	font-size: 1.0625rem;
	line-height: 1.647;
}

.lsv-cta__body p:last-child {
	margin: 0;
}

.lsv-cta__actions {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	gap: 0.75rem;
	width: max-content;
	min-width: min(100%, 16.125rem);
	max-width: 100%;
}

.lsv-cta__actions .btn {
	white-space: nowrap;
}

.lsv-cta__buttons {
	flex-direction: column;
	margin: 0;
}

.lsv-cta__actions .btn {
	justify-content: center;
	width: 100%;
}

.lsv-cta__phone {
	--bs-btn-border-color: #4a4a63;
}

@media (min-width: 1200px) {
	.lsv-cta__card {
		grid-template-columns: 520px minmax(0, 1fr);
		min-height: 424px;
	}

	/* Panel sets the card height; the photo (often portrait) is cropped to it */
	.lsv-cta__media {
		position: relative;
	}

	.lsv-cta__media img {
		position: absolute;
		inset: 0;
		min-height: 0;
		max-height: none;
	}

	.lsv-cta__panel {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 3.75rem clamp(3.75rem, 7vw, 8.125rem) 3.75rem 3.75rem;
	}

	.lsv-cta__actions {
		padding-top: 0.875rem;
	}
}

/* ==========================================================================
   15. Experts
   ========================================================================== */

.lsv-contact-lines {
	display: grid;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-contact-lines a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--louhos-headings);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.lsv-contact-lines a:hover,
.lsv-contact-lines a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-contact-lines .lsv-icon {
	width: 15px;
	height: 15px;
}

.lsv-expert-grid {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-expert-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-expert-card__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 417 / 400;
	object-fit: cover;
	object-position: center 20%;
	background: #e9e7e3;
}

.lsv-expert-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.375rem;
	padding: 1.5rem;
}

.lsv-expert-card__name {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-expert-card__name a {
	color: inherit;
	text-decoration: none;
}

.lsv-expert-card__name a:hover,
.lsv-expert-card__name a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-expert-card__title {
	margin: 0;
	color: var(--lsv-copper-text);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.385;
	letter-spacing: 0.3px;
}

.lsv-expert-card__areas {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-expert-card .lsv-contact-lines {
	margin-top: auto;
	padding-top: 0.875rem;
}

.lsv-expert-card--grid .lsv-contact-lines {
	margin-top: 0.875rem;
	border-top: 1px solid #e4e4ea;
	padding-top: 0.875rem;
}

@media (min-width: 768px) {
	.lsv-expert-grid--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lsv-expert-grid--horizontal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.lsv-expert-grid--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Horizontal cards (service pages) */
.lsv-expert-card--horizontal {
	flex-direction: row;
	gap: 1.5rem;
	padding: 1rem;
}

.lsv-expert-card--horizontal .lsv-expert-card__photo {
	width: 42%;
	max-width: 12.5rem;
	aspect-ratio: 200 / 230;
	border-radius: 10px;
}

.lsv-expert-card--horizontal .lsv-expert-card__body {
	padding: 0.5rem 0;
}

.lsv-expert-card--horizontal .lsv-contact-lines {
	margin-top: 1rem;
}

/* Compact list (contact page) */
.lsv-expert-list {
	margin: 0;
	padding: 0.5rem 1.75rem;
	list-style: none;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-expert-list__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 0.75rem 1rem;
	align-items: center;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--louhos-border);
}

.lsv-expert-list__item:last-child {
	border-bottom: 0;
}

.lsv-expert-list__photo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 20%;
}

.lsv-expert-list__name {
	margin: 0;
	font-size: 1.0625rem;
}

.lsv-expert-list__name a {
	color: inherit;
	text-decoration: none;
}

.lsv-expert-list__who p {
	margin: 0;
	font-size: 0.8125rem;
}

.lsv-expert-list .lsv-contact-lines {
	grid-column: 2;
}

@media (min-width: 768px) {
	.lsv-expert-list__item {
		grid-template-columns: 48px minmax(0, 1fr) auto;
	}

	.lsv-expert-list .lsv-contact-lines {
		grid-column: 3;
		justify-items: end;
	}
}

/* Profile (single expert) */
.lsv-profile__row {
	display: grid;
	gap: 2.5rem;
}

.lsv-profile__aside {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 28.75rem;
}

/* Photo with an offset copper frame behind it */
.lsv-profile__figure {
	position: relative;
	margin: 0;
}

.lsv-profile__photo {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 460 / 520;
	object-fit: cover;
	object-position: center 20%;
	border-radius: var(--lsv-radius-xl);
	background: var(--lsv-surface);
}

/* Contact card: navy brand gradient, overlaps the photo's lower edge */
.lsv-profile__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.75rem;
	border-radius: var(--lsv-radius-xl);
	background: var(--lsv-gradient-cta);
	box-shadow: var(--lsv-shadow);
}

.lsv-profile__card--overlap {
	margin-top: 1.5rem; /* below the photo, no overlap (client 11/2026) */
}

.lsv-profile__card-name {
	margin: 0;
	color: #fff;
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.25;
}

.lsv-profile__card-role {
	margin: -0.875rem 0 0;
	color: var(--lsv-copper);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lsv-profile__contacts {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--lsv-dark-line-2);
	list-style: none;
}

.lsv-profile__contact {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.5rem 0;
	color: #fff;
	text-decoration: none;
}

.lsv-profile__contact-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(207, 152, 112, 0.35);
	border-radius: 50%;
	background: rgba(207, 152, 112, 0.14);
	color: var(--lsv-copper);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.lsv-profile__contact-icon .lsv-icon {
	width: 18px;
	height: 18px;
}

.lsv-profile__contact-text {
	display: grid;
	min-width: 0;
}

.lsv-profile__contact-label {
	color: var(--lsv-on-dark-muted);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lsv-profile__contact-value {
	font-size: 1rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.lsv-profile__contact:hover .lsv-profile__contact-icon,
.lsv-profile__contact:focus-visible .lsv-profile__contact-icon {
	background: var(--lsv-copper);
	color: var(--louhos-primary);
}

.lsv-profile__contact:hover .lsv-profile__contact-value,
.lsv-profile__contact:focus-visible .lsv-profile__contact-value {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-profile__cta {
	justify-content: center;
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.lsv-profile__contact-icon {
		transition: none;
	}
}

.lsv-profile__main .lsv-eyebrow {
	margin-bottom: 1.125rem;
}

.lsv-profile__name {
	margin: 0 0 1.125rem;
}

.lsv-profile__bio p {
	margin-bottom: 1.125rem;
}

.lsv-profile__label {
	margin: 1.75rem 0 0.75rem;
	color: #6b6358;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.0125rem;
	text-transform: uppercase;
}

.lsv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-tags li {
	padding: 0.5625rem 1rem;
	border: 1px solid #e5dfd5;
	border-radius: 100px;
	background: #fff;
	color: var(--louhos-headings);
	font-size: 0.875rem;
	line-height: 1.571;
}

@media (min-width: 992px) {
	.lsv-profile__row {
		grid-template-columns: minmax(0, 460fr) minmax(0, 768fr);
		gap: 4.5rem;
		align-items: start;
	}
}

/* ==========================================================================
   16. Plain content pages (privacy, cookies …)
   ========================================================================== */

.lsv-hero--compact .lsv-hero__card {
	min-height: clamp(16rem, 24vw, 20rem);
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.lsv-prose {
	max-width: 48rem;
	margin-inline: auto;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.lsv-prose :is(h2, h3, h4) {
	margin: 2.5rem 0 1rem;
}

.lsv-prose h2 {
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.lsv-prose h3 {
	font-size: 1.25rem;
}

.lsv-prose > :first-child,
.lsv-prose #cmplz-document > :first-child {
	margin-top: 0;
}

.lsv-prose :is(p, ul, ol) {
	margin-bottom: 1.25rem;
}

.lsv-prose a {
	color: var(--louhos-headings);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-prose table {
	width: 100%;
	margin-bottom: 1.5rem;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.lsv-prose :is(th, td) {
	padding: 0.625rem 0.75rem;
	border-bottom: 1px solid var(--louhos-border);
	text-align: left;
	vertical-align: top;
}

/* Complianz documents inherit the site typography */
.lsv-prose #cmplz-document,
.lsv-prose #cmplz-document :is(p, li, span) {
	max-width: none;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

.lsv-prose #cmplz-document h2 {
	font-family: inherit;
	color: var(--louhos-headings);
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
	font-weight: 600;
}

/* Palvelut page: CTA sits on a beige band */
.lsv-cta-wrap {
	padding-top: var(--lsv-section-y);
}

/* Header sub-menu items with an icon (services, tools) */
.lsv-nav__sub-link--icon {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lsv-nav__sub-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--lsv-icon-bg);
	color: var(--louhos-headings);
}

.lsv-nav__sub-icon .lsv-icon {
	width: 17px;
	height: 17px;
}

@media (max-width: 1199.98px) {
	.lsv-nav__sub-icon {
		width: 28px;
		height: 28px;
		background: rgba(255, 255, 255, 0.08);
		color: var(--lsv-copper);
	}
}

/* Header shrinks on scroll (.is-scrolled toggled in child.js) */
.lsv-header__inner,
.lsv-header__brand img,
.lsv-header__actions .btn,
.lsv-header__icon-btn {
	transition: min-height 0.25s ease, width 0.25s ease, height 0.25s ease, padding 0.25s ease;
}

.lsv-header__bar {
	transition: box-shadow 0.25s ease;
}

.lsv-header.is-scrolled .lsv-header__bar {
	box-shadow: 0 6px 24px rgba(15, 15, 34, 0.28);
}

.lsv-header.is-scrolled .lsv-header__inner {
	min-height: 60px;
}

.lsv-header.is-scrolled .lsv-header__brand img {
	width: 124px;
}

.lsv-header.is-scrolled .lsv-header__icon-btn {
	width: 40px;
	height: 40px;
}

@media (min-width: 1200px) {
	.lsv-header.is-scrolled .lsv-header__inner {
		min-height: 64px;
	}

	.lsv-header.is-scrolled .lsv-header__brand img {
		width: 150px;
	}

	.lsv-header.is-scrolled .lsv-header__actions .btn {
		--bs-btn-padding-y: 0.5rem;

		min-height: 42px;
	}
}

/* ==========================================================================
   17. Header hover effects (subtle; disabled by prefers-reduced-motion)
   ========================================================================== */

/* Logo: slight fade */
.lsv-header__brand img {
	transition: opacity 0.2s ease, width 0.25s ease;
}

.lsv-header__brand:hover img,
.lsv-header__brand:focus-visible img {
	opacity: 0.85;
}

@media (min-width: 1200px) {
	/* Nav links: copper underline grows from the left */
	.lsv-nav__link {
		position: relative;
		transition: color 0.2s ease;
	}

	.lsv-nav__link::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -6px;
		height: 2px;
		border-radius: 1px;
		background: var(--lsv-copper);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.25s ease;
	}

	.lsv-nav__link:hover,
	.lsv-nav__link:focus-visible {
		color: #fff;
	}

	.lsv-nav__link:hover::after,
	.lsv-nav__link:focus-visible::after,
	.lsv-nav__item.is-active > .lsv-nav__link::after {
		transform: scaleX(1);
	}

	/* Active page keeps copper text + underline */
	.lsv-nav__item.is-active > .lsv-nav__link {
		color: var(--lsv-copper);
	}

	/* Chevron pill lights up with its item */
	.lsv-nav__toggle {
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.lsv-nav__item:hover .lsv-nav__toggle,
	.lsv-nav__toggle:focus-visible,
	.lsv-nav__toggle[aria-expanded="true"] {
		background: rgba(207, 152, 112, 0.22);
		color: #e7bd9c;
	}

	/* Dropdown: soft fade + drop in */
	.lsv-nav__sub.show {
		animation: lsv-dropdown-in 0.18s ease-out;
	}

	@keyframes lsv-dropdown-in {
		from {
			opacity: 0;
			transform: translateY(-4px);
		}

		to {
			opacity: 1;
			transform: none;
		}
	}

	/* Dropdown items: nudge right, icon tile warms up */
	.lsv-nav__sub .dropdown-item {
		transition: background-color 0.15s ease, padding-left 0.2s ease;
	}

	.lsv-nav__sub .dropdown-item:hover,
	.lsv-nav__sub .dropdown-item:focus-visible {
		padding-left: calc(var(--bs-dropdown-item-padding-x) + 4px);
	}

	.lsv-nav__sub-icon {
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.lsv-nav__sub .dropdown-item:hover .lsv-nav__sub-icon,
	.lsv-nav__sub .dropdown-item:focus-visible .lsv-nav__sub-icon {
		background: var(--lsv-copper);
		color: var(--louhos-headings);
	}
}

/* Header buttons: phone icon wiggles, CTA lifts */
.lsv-header__actions .btn {
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, min-height 0.25s ease, padding 0.25s ease;
}

.lsv-header__phone:hover .lsv-icon--phone,
.lsv-header__phone:focus-visible .lsv-icon--phone {
	animation: lsv-ring 0.5s ease;
}

@keyframes lsv-ring {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(-12deg); }
	50% { transform: rotate(10deg); }
	75% { transform: rotate(-6deg); }
}

.lsv-header__actions .btn-accent:hover,
.lsv-header__actions .btn-accent:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(207, 152, 112, 0.28);
}

/* Mobile icon buttons */
.lsv-header__icon-btn {
	transition: border-color 0.2s ease, background-color 0.2s ease, width 0.25s ease, height 0.25s ease;
}

.lsv-header__icon-btn:hover,
.lsv-header__icon-btn:focus-visible {
	background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   18. Mobile menu as a sidebar (not full width)
   ========================================================================== */

@media (max-width: 1199.98px) {
	.lsv-header__menu {
		--bs-offcanvas-width: min(320px, calc(100vw - 64px));

		border-left: 1px solid var(--lsv-dark-line);
		border-radius: 16px 0 0 16px;
		box-shadow: -16px 0 40px rgba(10, 10, 25, 0.35);
	}

	.lsv-header__menu .offcanvas-header {
		padding-block: 1rem;
	}

	.lsv-header__menu .offcanvas-header img {
		width: 124px;
		height: auto;
	}

	.lsv-header__menu .offcanvas-body {
		padding-top: 0.5rem;
	}

	.lsv-nav__link {
		font-size: 1.0625rem;
	}

	.lsv-header__actions .btn {
		justify-content: center;
		width: 100%;
	}
}

/* Dim the page behind the sidebar */
.offcanvas-backdrop.show {
	opacity: 0.55;
	background-color: #0f0f22;
}

/* ==========================================================================
   19. Steps ("Näin etenemme")
   ========================================================================== */

.lsv-steps__list {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-steps__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.625rem 1.5rem;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lsv-copper);
	color: var(--louhos-headings);
	font-weight: 600;
}

.lsv-steps__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-steps__item p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.571;
}

@media (min-width: 768px) {
	.lsv-steps__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.lsv-steps__list {
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		grid-template-columns: none;
		gap: 3.625rem; /* 24 + 18px arrow + 24 */
	}

	/* Copper arrow between cards */
	.lsv-steps__item + .lsv-steps__item::before {
		content: "";
		position: absolute;
		top: 2.4375rem;
		left: calc(-1 * (3.625rem + 18px) / 2);
		width: 18px;
		height: 18px;
		background: var(--lsv-copper-text);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.975 8.5h11.05'/%3E%3Cpath d='M9.669 4.144 14.025 8.5l-4.356 4.356'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.975 8.5h11.05'/%3E%3Cpath d='M9.669 4.144 14.025 8.5l-4.356 4.356'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

/* ==========================================================================
   20. FAQ
   ========================================================================== */

.lsv-faq__inner {
	max-width: 62.5rem;
	margin-inline: auto;
}

.lsv-faq__title {
	margin: 0 0 2.5rem;
}

.lsv-faq__intro {
	margin: -1.5rem 0 2.5rem;
}

.lsv-faq__item {
	border-bottom: 1px solid #ded5c8;
}

.lsv-faq__item:last-child {
	border-bottom: 0;
}

.lsv-faq__q {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-faq__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	padding: 1.375rem 0;
	border: 0;
	background: transparent;
	color: var(--louhos-headings);
	font: inherit;
	font-weight: 600;
	text-align: left;
	letter-spacing: -0.0125rem;
}

.lsv-faq__item:first-child .lsv-faq__button {
	padding-top: 0;
}

.lsv-faq__button:hover {
	color: var(--lsv-copper-text);
}

/* + / − drawn with two bars */
.lsv-faq__marker {
	position: relative;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
}

.lsv-faq__marker::before,
.lsv-faq__marker::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: var(--lsv-copper-text);
	transition: transform 0.2s ease;
}

.lsv-faq__marker::after {
	transform: rotate(90deg);
}

.lsv-faq__button:not(.collapsed) .lsv-faq__marker::after {
	transform: rotate(0deg);
}

.lsv-faq__a {
	padding: 0 2.5rem 1.375rem 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.lsv-faq__a > :last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   21. Experts: horizontal cards (Figma service pages) + CTA spacing
   ========================================================================== */

.lsv-expert-card--horizontal {
	gap: 1.75rem;
	padding: clamp(1rem, 2.5vw, 2rem);
}

.lsv-expert-card--horizontal .lsv-expert-card__photo {
	width: 45%;
	max-width: 15rem;
	aspect-ratio: 240 / 280;
}

.lsv-expert-card--horizontal .lsv-expert-card__body {
	padding: 0;
}

.lsv-expert-card--horizontal .lsv-expert-card__name {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.25;
}

.lsv-expert-card--horizontal .lsv-contact-lines {
	margin-top: 0.875rem;
	padding-top: 0;
}

@media (max-width: 575.98px) {
	.lsv-expert-card--horizontal {
		flex-direction: column;
	}

	.lsv-expert-card--horizontal .lsv-expert-card__photo {
		width: 100%;
		max-width: none;
		aspect-ratio: 4 / 3;
	}
}

/* Experts directly followed by the CTA card: 24px gap as in Figma */
.lsv-experts:has(+ .lsv-cta) {
	padding-bottom: 1.5rem;
}

/* ==========================================================================
   22. Pricing cards
   ========================================================================== */

.lsv-pricing--narrow .lsv-pricing__inner {
	max-width: 62.5rem;
	margin-inline: auto;
}

.lsv-pricing__grid {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.lsv-pricing__grid--2,
	.lsv-pricing__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.lsv-pricing__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.lsv-price-card {
	display: flex;
	flex-direction: column;
	padding: 2rem 1.875rem;
	border: 1px solid #e5dfd5;
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-price-card--featured {
	border-color: var(--louhos-primary);
	background: var(--louhos-primary);
	color: var(--lsv-on-dark-muted);
}

.lsv-price-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.lsv-price-card__name {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-price-card__badge {
	padding: 0.3125rem 0.625rem;
	border-radius: 4px;
	background: var(--lsv-copper);
	color: var(--louhos-headings);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.333;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.lsv-price-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
}

.lsv-price-card__amount {
	color: var(--louhos-headings);
	font-size: 2.125rem;
	font-weight: 600;
	line-height: 1.176;
	letter-spacing: -0.0625rem;
}

.lsv-price-card--featured .lsv-price-card__amount {
	color: #fff;
}

.lsv-price-card__unit {
	font-size: 0.875rem;
}

.lsv-price-card__text {
	margin: 0.625rem 0 0;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-price-card__features {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 1.375rem 0 0;
	border-top: 1px solid #e4e4ea;
	list-style: none;
	color: var(--louhos-headings);
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-price-card--featured .lsv-price-card__features {
	border-top-color: var(--lsv-dark-line);
	color: #fff;
}

.lsv-price-card__features li {
	position: relative;
	padding-left: 1rem;
}

.lsv-price-card__features li::before {
	content: "";
	position: absolute;
	top: 0.5625rem;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--lsv-copper);
}

.lsv-price-card__btn {
	--bs-btn-font-size: 0.875rem;
	--bs-btn-padding-y: 0.875rem;

	justify-content: center;
	width: 100%;
	margin-top: auto;
}

.lsv-price-card .lsv-price-card__btn {
	margin-top: 1.75rem;
}

.lsv-price-card > :nth-last-child(2) {
	margin-bottom: auto;
}

.lsv-price-card--featured .btn-outline-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: transparent;
	--bs-btn-border-color: var(--lsv-dark-outline);
}

.lsv-price-card:not(.lsv-price-card--featured) .btn-outline-primary {
	--bs-btn-border-color: #cfc7ba;
}

/* ==========================================================================
   23. Price table
   ========================================================================== */

.lsv-price-table__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.lsv-price-table__table thead th {
	padding: 0 1.5rem 0.875rem 0;
	border-bottom: 1px solid #cfc7ba;
	color: #6b6358;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.333;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.lsv-price-table__table :is(tbody th, td) {
	padding: 1.125rem 1.5rem 1.125rem 0;
	border-bottom: 1px solid var(--louhos-border);
	vertical-align: top;
}

.lsv-price-table__table tbody th {
	color: var(--louhos-headings);
	font-weight: 500;
}

.lsv-price-table__table td:last-child,
.lsv-price-table__table th:last-child {
	padding-right: 0;
	color: var(--louhos-headings);
	font-weight: 500;
	text-align: right;
	white-space: nowrap;
}

.lsv-price-table__table thead th:last-child {
	color: #6b6358;
	font-weight: 600;
}

.lsv-price-table__note {
	position: relative;
	margin: 1.875rem 0 0;
	padding-left: 1rem;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-price-table__note::before {
	content: "";
	position: absolute;
	top: 0.5625rem;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--lsv-copper);
}

@media (min-width: 768px) {
	.lsv-price-table__table thead th:first-child { width: 42%; }
	.lsv-price-table__table thead th:nth-child(2) { width: 37%; }
}

/* Phones: each row becomes a small card */
@media (max-width: 767.98px) {
	.lsv-price-table__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.lsv-price-table__table tr {
		display: block;
		padding-block: 1rem;
		border-bottom: 1px solid var(--louhos-border);
	}

	.lsv-price-table__table :is(tbody th, td) {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.125rem 0;
		border: 0;
		text-align: left;
	}

	.lsv-price-table__table td::before {
		content: attr(data-label);
		color: #6b6358;
		font-size: 0.8125rem;
	}

	.lsv-price-table__table td:last-child {
		text-align: right;
		white-space: normal;
	}
}

/* ==========================================================================
   24. Contact form + sidebar
   ========================================================================== */

.lsv-contact__row {
	display: grid;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 1200px) {
	.lsv-contact__row {
		grid-template-columns: minmax(0, 1fr) 420px;
		gap: 2.5rem;
	}
}

.lsv-contact__form-card {
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-contact__title {
	margin: 0 0 1.25rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-contact__intro {
	max-width: 40rem;
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lsv-form__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.lsv-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lsv-field--full {
		grid-column: 1 / -1;
	}
}

.lsv-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.lsv-field > label,
.lsv-field__label {
	color: var(--louhos-headings);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.385;
	letter-spacing: 0.0125rem;
}

.lsv-field :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	width: 100%;
	padding: 0.8125rem 1rem;
	border: 1px solid #e5dfd5;
	border-radius: var(--louhos-radius);
	background: var(--lsv-bg);
	color: var(--louhos-headings);
	font: inherit;
	font-size: 0.9375rem;
	line-height: 1.467;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lsv-field select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11' fill='none' stroke='%238f5f3c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.75 4.2 5.5 7l2.75-2.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 12px;
}

.lsv-field textarea {
	min-height: 7.5rem;
	resize: vertical;
}

.lsv-field ::placeholder {
	color: #6b6358; /* Figma #9b9384 lifted to AA (5.5:1) on the field background */
	opacity: 1;
}

.lsv-field :is(input, select, textarea):hover {
	border-color: #cfc7ba;
}

.lsv-field :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--louhos-headings);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(26, 26, 52, 0.12);
}

.lsv-field [aria-invalid="true"] {
	border-color: #b3261e;
}

.lsv-field__error {
	margin: 0;
	color: #b3261e;
	font-size: 0.8125rem;
	font-weight: 500;
}

/* Drop zone */
.lsv-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1.625rem 1.25rem;
	border: 1px dashed #cfc7ba;
	border-radius: var(--louhos-radius);
	background: var(--lsv-bg);
	color: var(--louhos-headings);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lsv-drop:hover,
.lsv-drop.is-dragover {
	border-color: var(--lsv-copper-text);
	background: #fff;
}

.lsv-drop .lsv-icon {
	width: 20px;
	height: 20px;
}

.lsv-drop__title {
	font-size: 0.875rem;
	font-weight: 600;
}

.lsv-drop__hint {
	color: #6b6358;
	font-size: 0.75rem;
}

/* Keep the file input focusable but visually hidden; focus shows on the zone */
.lsv-drop__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lsv-drop__input:focus-visible + .lsv-drop__list,
.lsv-field:has(.lsv-drop__input:focus-visible) .lsv-drop {
	outline: 3px solid var(--louhos-primary);
	outline-offset: 2px;
}

.lsv-drop__list {
	display: grid;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

.lsv-drop__list li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--louhos-radius);
	background: var(--lsv-surface);
	color: var(--louhos-headings);
}

.lsv-drop__remove {
	padding: 0;
	border: 0;
	background: none;
	color: var(--lsv-copper-text);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
}

/* Consent */
.lsv-field--check {
	flex-flow: row wrap;
	align-items: flex-start;
	gap: 0.75rem;
}

.lsv-field--check input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0.125rem 0 0;
	accent-color: var(--louhos-primary);
}

.lsv-field--check label {
	flex: 1;
	color: var(--louhos-body-color);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.571;
}

.lsv-field--check label a {
	color: var(--louhos-headings);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lsv-field--check .lsv-field__error {
	flex-basis: 100%;
}

/* Submit row with the inline reCAPTCHA badge */
.lsv-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-top: 1.75rem;
}

.lsv-form__submit {
	--bs-btn-padding-x: 1.75rem;
}

.lsv-form__submit.is-busy {
	opacity: 0.7;
	cursor: progress;
}

.lsv-form__recaptcha {
	flex-shrink: 0;
}

.lsv-form__recaptcha .grecaptcha-badge {
	border-radius: var(--louhos-radius);
	box-shadow: 0 0 0 1px var(--louhos-border) !important;
}

.lsv-form__required {
	margin: 1rem 0 0;
	color: #6b6358;
	font-size: 0.75rem;
}

/* Status */
.lsv-form__status:focus {
	outline: none;
}

.lsv-form__notice {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: var(--louhos-radius);
	font-size: 0.9375rem;
	font-weight: 500;
}

.lsv-form__notice--ok {
	border: 1px solid #b9d7c0;
	background: #eef6f0;
	color: #1e5631;
}

.lsv-form__notice--error {
	border: 1px solid #efc2bf;
	background: #fcf1f0;
	color: #8c1d18;
}

/* Sidebar */
.lsv-contact__aside {
	display: grid;
	gap: 1.5rem;
}

.lsv-contact__card {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.75rem;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-contact__card .lsv-eyebrow {
	margin: 0;
}

.lsv-contact__card--call {
	gap: 1rem;
	padding: 2rem;
	border: 0;
	background: var(--lsv-gradient-cta); /* Figma: 42 % veil like the CTA */
}

.lsv-contact__call-text {
	margin: 0;
	color: var(--lsv-on-dark-muted);
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-contact__lines {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-contact__lines a {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.lsv-contact__lines a:hover,
.lsv-contact__lines a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-contact__lines .lsv-icon {
	width: 17px;
	height: 17px;
}

.lsv-contact__company {
	margin: 0;
	color: var(--louhos-headings);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.412;
}

.lsv-contact__address {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-style: normal;
	line-height: 1.571;
}

.lsv-contact__label {
	margin: 0;
	color: #6b6358;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.0125rem;
	text-transform: uppercase;
}

.lsv-contact__small {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-contact__map {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #e8e2dc;
	color: var(--louhos-headings);
	text-decoration: none;
}

.lsv-contact__map-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.lsv-contact__map:hover .lsv-contact__map-image,
.lsv-contact__map:focus-visible .lsv-contact__map-image {
	transform: scale(1.03);
}

.lsv-contact__map-label {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	left: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.625rem 0.875rem;
	border-radius: var(--louhos-radius);
	background: #fff;
	box-shadow: var(--lsv-shadow);
}

.lsv-contact__map-label > span {
	display: grid;
}

.lsv-contact__map .lsv-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--lsv-copper-text);
}

.lsv-contact__map-title {
	font-size: 0.8125rem;
	font-weight: 600;
}

.lsv-contact__map:hover .lsv-contact__map-title,
.lsv-contact__map:focus-visible .lsv-contact__map-title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-contact__map-address {
	color: var(--louhos-body-color);
	font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
	.lsv-contact__map-image {
		transition: none;
	}
}

/* Contact page: compact expert list sits in a narrow column */
.lsv-experts--list .container > * {
	max-width: 62.5rem;
	margin-inline: auto;
}

/* Sub-menu opens below the link's copper underline (Bootstrap sets
   [data-bs-popper] { top: 100%; margin-top: spacer } which would cover it). */
@media (min-width: 1200px) {
	.lsv-nav__sub[data-bs-popper],
	.lsv-nav__sub {
		top: calc(100% + 18px);
		margin-top: 0;
	}

	/* Invisible bridge across the gap so hover does not drop */
	.lsv-nav__sub::before {
		inset: -18px 0 auto;
		height: 18px;
	}
}

/* ==========================================================================
   25. Mobile sidebar: sub-menus slide in sideways, burger → X
   ========================================================================== */

/* Burger / X */
.lsv-burger > span,
.lsv-burger::before,
.lsv-burger::after {
	transition: transform 0.28s ease, top 0.2s ease 0.1s, opacity 0.15s ease;
}

.lsv-menu-close {
	border-color: transparent;
}

/* Close button starts as a burger and morphs into an X once the panel is open */
.lsv-header__menu.show .lsv-menu-close .lsv-burger > span,
.lsv-header__toggler[aria-expanded="true"] .lsv-burger > span {
	opacity: 0;
}

.lsv-header__menu.show .lsv-menu-close .lsv-burger::before,
.lsv-header__toggler[aria-expanded="true"] .lsv-burger::before {
	top: 0;
	transform: rotate(45deg);
	transition: top 0.2s ease, transform 0.28s ease 0.12s;
}

.lsv-header__menu.show .lsv-menu-close .lsv-burger::after,
.lsv-header__toggler[aria-expanded="true"] .lsv-burger::after {
	top: 0;
	transform: rotate(-45deg);
	transition: top 0.2s ease, transform 0.28s ease 0.12s;
}

@media (max-width: 1199.98px) {
	/*
	 * Drill-down: child.js marks the open item (.is-open) and the body
	 * (.is-sub-open); other rows hide and the sub-list replaces them in normal
	 * flow. No absolutely positioned panel or transformed ancestors: iOS Safari
	 * placed the earlier sliding panel off the sidebar's left edge (11/2026).
	 */
	.lsv-header__menu .offcanvas-body {
		overflow-x: clip;
	}

	.lsv-header__menu .offcanvas-body.is-sub-open > :not(.lsv-nav),
	.lsv-header__menu .offcanvas-body.is-sub-open .lsv-nav__item:not(.is-open),
	.lsv-header__menu .offcanvas-body.is-sub-open .lsv-nav__item.is-open > :not(.lsv-nav__sub) {
		display: none;
	}

	.lsv-header__menu .offcanvas-body.is-sub-open .lsv-nav__item.is-open {
		border-bottom: 0;
	}

	.lsv-nav__sub {
		position: static !important;
		inset: auto !important;
		flex-basis: 100%;
		margin: 0 !important;
		padding: 0;
		background: transparent;
		transform: none !important;
	}

	.lsv-nav__sub.show {
		animation: lsv-sub-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	}

	@keyframes lsv-sub-in {
		from {
			opacity: 0;
			transform: translateX(32px);
		}
	}

	.lsv-nav__sub-head {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
		margin-bottom: 0.75rem;
		padding-bottom: 1rem;
		border-bottom: 1px solid var(--lsv-dark-line);
	}

	.lsv-nav__back {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.375rem 0;
		border: 0;
		background: none;
		color: var(--lsv-on-dark);
		font: inherit;
		font-size: 0.9375rem;
		font-weight: 600;
	}

	.lsv-nav__back:hover,
	.lsv-nav__back:focus-visible {
		color: #fff;
	}

	.lsv-nav__back-icon {
		display: inline-flex;
		color: var(--lsv-copper);
		transform: rotate(180deg);
	}

	.lsv-nav__back-icon .lsv-icon {
		width: 16px;
		height: 16px;
	}

	.lsv-nav__sub-parent {
		color: #fff;
		font-size: 1.25rem;
		font-weight: 600;
		text-decoration: none;
	}

	.lsv-nav__sub-parent:hover,
	.lsv-nav__sub-parent:focus-visible {
		color: var(--lsv-copper);
	}

	.lsv-nav__sub .dropdown-item {
		padding: 0.75rem 0;
		border-left: 0;
		border-bottom: 1px solid var(--lsv-dark-line);
		font-size: 1rem;
	}

	/* Toggle reads as "open panel" on mobile: chevron points right */
	.lsv-nav__toggle .lsv-icon {
		transform: rotate(-90deg);
	}

	.lsv-nav__toggle[aria-expanded="true"] .lsv-icon {
		transform: rotate(-90deg);
	}
}

@media (max-width: 1199.98px) {
	.lsv-menu-close {
		margin-left: auto;
		margin-right: -0.5rem;
	}
}

@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
	.lsv-nav__sub.show {
		animation: none;
	}
}

/* ==========================================================================
   26. Calculators
   ========================================================================== */

.lsv-calc__row {
	display: grid;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 992px) {
	.lsv-calc__row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
		gap: 2rem;
	}
}

.lsv-calc__form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-calc__heading {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.lsv-calc__form .lsv-field input[type="date"],
.lsv-calc__form .lsv-field input[type="number"] {
	width: 100%;
	padding: 0.8125rem 1rem;
	border: 1px solid #e5dfd5;
	border-radius: var(--louhos-radius);
	background: var(--lsv-bg);
	color: var(--louhos-headings);
	font: inherit;
	font-size: 0.9375rem;
}

.lsv-calc__form .lsv-field input:focus {
	outline: none;
	border-color: var(--louhos-headings);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(26, 26, 52, 0.12);
}

.lsv-calc__note {
	margin: 0;
	padding: 0.875rem 1rem;
	border-radius: 8px;
	background: var(--lsv-icon-bg);
	color: #6e5033; /* Figma #8a6a46 lifted to AA on the tile */
	font-size: 0.8125rem;
	line-height: 1.538;
}

.lsv-calc__submit {
	justify-content: center;
	width: 100%;
	margin-top: 0.5rem;
}

.lsv-calc__result {
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--louhos-radius-lg);
	background: var(--louhos-primary);
	color: var(--lsv-on-dark-muted);
}

.lsv-calc__result .lsv-eyebrow {
	margin: 0;
}

.lsv-calc__rows {
	display: grid;
	gap: 1.125rem;
	margin: 0;
}

.lsv-calc__line dt {
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.571;
}

.lsv-calc__line dd {
	margin: 0.25rem 0 0;
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.412;
	letter-spacing: -0.1px;
}

.lsv-calc__line--big dd {
	font-size: 2.125rem;
	line-height: 1.176;
	letter-spacing: -0.0625rem;
}

.lsv-calc__detail,
.lsv-calc__result-note {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.571;
}

.lsv-calc__detail {
	padding-top: 1rem;
	border-top: 1px solid var(--lsv-dark-line);
	color: var(--lsv-on-dark);
}

/* Blog: category filter */
.lsv-blog-cats {
	margin-bottom: 2rem;
}

.lsv-blog-cats ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsv-blog-cats a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.375rem 0.875rem;
	border: 1px solid var(--louhos-border);
	border-radius: 999px;
	background: #fff;
	color: var(--louhos-headings);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lsv-blog-cats a:hover {
	border-color: var(--louhos-headings);
}

.lsv-blog-cats a:focus-visible {
	outline: 2px solid var(--louhos-primary);
	outline-offset: 2px;
}

.lsv-blog-cats a[aria-current="page"] {
	border-color: var(--louhos-headings);
	background: var(--louhos-headings);
	color: #fff;
}

/* Late interest: breakdown per reference-rate period */
.lsv-calc__periods {
	padding-top: 1rem;
	border-top: 1px solid var(--lsv-dark-line);
	overflow-x: auto;
}

.lsv-calc__periods table {
	width: 100%;
	border-collapse: collapse;
	color: var(--lsv-on-dark);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

.lsv-calc__periods caption {
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: left;
	caption-side: top;
}

.lsv-calc__periods :is(th, td) {
	padding: 0.375rem 0.5rem 0.375rem 0;
	border-bottom: 1px solid var(--lsv-dark-line);
	text-align: right;
	white-space: nowrap;
}

.lsv-calc__periods :is(th:first-child, td:first-child) {
	text-align: left;
}

.lsv-calc__periods thead th {
	font-weight: 600;
}

.lsv-calc__periods tbody th {
	font-weight: 400;
}

.lsv-calc__periods tbody td:last-child {
	color: #fff;
	font-weight: 600;
}

/* Expected value: conclusion */
.lsv-calc__verdict {
	margin: 0;
	padding: 0.875rem 1rem;
	border-left: 3px solid var(--lsv-copper);
	border-radius: var(--louhos-radius);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.lsv-calc__verdict.is-negative {
	border-left-color: #e8a49c;
}

/* Plain text section (e.g. Määräpäivälaskurin toimintaperiaate) */
.lsv-text-section > * {
	max-width: min(62.5rem, calc(100% - 2 * var(--lsv-gutter)));
	margin-inline: auto;
}

.lsv-text-section h2 {
	margin-bottom: 1.5rem;
}

.lsv-text-section p {
	margin-bottom: 1rem;
	line-height: 1.625;
}

.lsv-text-section > :last-child {
	margin-bottom: 0;
}

/* Footer menu items with icons */
.lsv-footer__menu a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.lsv-footer__menu-icon {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	color: var(--lsv-copper);
	opacity: 0.85;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.lsv-footer__menu a:hover .lsv-footer__menu-icon,
.lsv-footer__menu a:focus-visible .lsv-footer__menu-icon {
	opacity: 1;
	transform: translateX(2px);
}

/* ==========================================================================
   27. Blog
   ========================================================================== */

/* Cards: four per row on desktop */
.lsv-post-grid {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 576px) {
	.lsv-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.lsv-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.lsv-post-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

.lsv-post-grid > li {
	display: flex;
}

.lsv-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lsv-post-card:hover,
.lsv-post-card:focus-within {
	border-color: var(--lsv-border-strong);
	box-shadow: 0 12px 30px rgba(26, 26, 52, 0.08);
	transform: translateY(-2px);
}

.lsv-post-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: var(--lsv-surface);
}

.lsv-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.25rem 1.375rem 1.5rem;
}

.lsv-post-card__label {
	margin: 0;
}

.lsv-post-card__title {
	margin: 0;
	font-size: 1.1875rem;
	line-height: 1.316;
}

.lsv-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.lsv-post-card__title a:focus-visible {
	outline: none;
}

.lsv-post-card__title a:focus-visible::after {
	outline: 3px solid var(--louhos-primary);
	outline-offset: 2px;
	border-radius: var(--louhos-radius-lg);
}

.lsv-post-card .lsv-arrow-link {
	margin-top: auto;
	padding-top: 0.375rem;
}

.lsv-post-card:hover .lsv-arrow-link .lsv-icon {
	transform: translateX(3px);
}

.lsv-blog__more {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.lsv-blog__more .is-busy {
	opacity: 0.7;
	pointer-events: none;
}

/* Article */
.lsv-article__column {
	max-width: 47.5rem;
	margin-inline: auto;
}

.lsv-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	margin: 0 0 1.375rem;
	color: #6b6358;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.0125rem;
	text-transform: uppercase;
}

.lsv-article__lead {
	margin: 0 0 1.375rem;
	color: var(--louhos-headings);
	font-size: 1.1875rem;
	line-height: 1.684;
}

.lsv-article__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 760 / 400;
	margin-bottom: 1.375rem;
	object-fit: cover;
	border-radius: 14px;
}

.lsv-article__content {
	font-size: 1.0625rem;
	line-height: 1.765;
}

.lsv-article__content > * {
	margin-top: 0;
	margin-bottom: 1.375rem;
}

.lsv-article__content :is(h2, h3) {
	margin-top: 2.25rem;
	margin-bottom: 1rem;
}

.lsv-article__content h2 {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
	line-height: 1.267;
	letter-spacing: -0.0375rem;
}

.lsv-article__content h3 {
	font-size: 1.375rem;
}

.lsv-article__content a {
	color: var(--louhos-headings);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-article__content :is(blockquote, .wp-block-quote, .wp-block-pullquote) {
	margin-inline: 0;
	padding: 1.5rem 1.75rem;
	border: 0;
	border-left: 3px solid var(--lsv-copper);
	color: var(--louhos-headings);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.417;
	letter-spacing: -0.3px;
	text-align: left;
}

.lsv-article__content :is(blockquote, .wp-block-quote) p:last-child {
	margin: 0;
}

.lsv-article__content :is(blockquote, .wp-block-quote) cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--louhos-body-color);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 400;
}

.lsv-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

/* Classic-editor captions from the old site carry an inline pixel width:
   show them column-wide like the other article images. */
.lsv-article__content .wp-caption {
	width: auto !important;
	max-width: 100%;
}

.lsv-article__content .wp-caption-text {
	margin: 0.5rem 0 0;
	color: #6b6358;
	font-size: 0.875rem;
}

.lsv-author {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-author__photo {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 20%;
}

.lsv-author__name {
	margin: 0 0 0.25rem;
	font-size: 1.0625rem;
	font-weight: 600;
}

.lsv-author__name a {
	color: var(--louhos-headings);
	text-decoration: none;
}

.lsv-author__name a:hover,
.lsv-author__name a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsv-author__role {
	margin: 0;
	font-size: 0.875rem;
}

/* Blog callback request (views/partials/callback-form.twig) */
.lsv-callback {
	margin-top: 2.5rem;
	padding: clamp(1.5rem, 3.5vw, 2.25rem);
	border: 1px solid var(--louhos-border);
	border-top: 4px solid var(--lsv-copper);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

.lsv-callback__title {
	margin: 0 0 0.75rem;
	font-size: 1.375rem;
	line-height: 1.3;
}

.lsv-callback__intro {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.lsv-callback__row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.lsv-callback__submit {
	--bs-btn-padding-x: 1.5rem;

	justify-content: center;
	white-space: nowrap;
}

@media (min-width: 576px) {
	.lsv-callback__row {
		flex-direction: row;
		align-items: stretch;
	}

	.lsv-callback__row input {
		flex: 1 1 auto;
		min-width: 0;
	}
}

.lsv-callback .lsv-form__recaptcha {
	margin-top: 1rem;
}

.lsv-callback__privacy {
	margin: 1rem 0 0;
	color: #6b6358;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.lsv-callback__privacy a {
	color: inherit;
	text-underline-offset: 2px;
}

/* Footer: chevron for columns without page icons */
.lsv-footer__chevron {
	width: 12px;
	height: 12px;
	transform: rotate(-90deg);
}

.lsv-footer__menu a:hover .lsv-footer__chevron,
.lsv-footer__menu a:focus-visible .lsv-footer__chevron {
	transform: rotate(-90deg) translateY(2px);
}

/* ==========================================================================
   28. Complianz consent banner
   Colours, radii and texts come from `wp lsv complianz apply`
   (inc/hooks/lsv-complianz.php); here only type and button feel.
   ========================================================================== */

.cmplz-cookiebanner,
#cmplz-manage-consent .cmplz-manage-consent {
	font-family: var(--louhos-font-family);
}

.cmplz-cookiebanner.cmplz-cookiebanner {
	box-shadow: var(--lsv-shadow);
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-header .cmplz-title {
	justify-self: start;
	color: var(--louhos-headings);
	font-size: 1.125rem;
	font-weight: 600;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-message {
	color: var(--louhos-body-color);
	line-height: 1.55;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	min-height: 46px;
	font-family: var(--louhos-font-family);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.0125rem;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover {
	border-color: #dcae8c;
	background-color: #dcae8c;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn:not(.cmplz-accept):hover,
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn:not(.cmplz-accept):focus-visible {
	background-color: var(--louhos-primary);
	color: #fff;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn:focus-visible,
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-close:focus-visible,
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-links a:focus-visible,
#cmplz-manage-consent .cmplz-manage-consent:focus-visible {
	outline: 2px solid var(--louhos-primary);
	outline-offset: 2px;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-links .cmplz-link {
	font-weight: 600;
}

/* Window: site card (white, border, large radius); title left-aligned like the
   site's card headings (the hidden logo's grid column centred it). */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	box-sizing: border-box;
	grid-template-columns: minmax(0, 1fr);
	width: min(var(--cmplz_banner_width, 480px), calc(100vw - 2rem));
	gap: 1rem;
	padding: 1.5rem;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius-lg);
	background: #fff;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner > * {
	grid-column: 1 / -1;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-logo {
	display: none;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title {
	display: block;
	grid-column: 1;
	justify-self: start;
	margin: 0;
	text-align: left;
	font-size: 1.25rem;
	line-height: 1.3;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	color: var(--louhos-headings);
	transition: background-color 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close svg {
	width: 14px;
	height: 14px;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:hover {
	background-color: var(--lsv-bg);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider {
	display: none;
}

/* Complianz sizes these as banner width − 42px (its own padding); ours differs */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body > * {
	width: auto;
	margin-right: 0;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message {
	font-size: 0.875rem;
	line-height: 1.6;
}

/* Categories: bordered rows like the site's FAQ accordion */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories.cmplz-fade-in {
	display: grid;
	gap: 0.5rem;
	margin-top: 1rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category {
	margin: 0;
	border: 1px solid var(--louhos-border);
	border-radius: var(--louhos-radius);
	background: var(--lsv-bg);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category summary {
	padding: 0.625rem 1rem;
	border-radius: inherit;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category summary:focus-visible {
	outline: 2px solid var(--louhos-primary);
	outline-offset: 2px;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-category-header {
	align-items: center;
	gap: 1rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-category-title {
	color: var(--louhos-headings);
	font-size: 0.9375rem;
	font-weight: 600;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-always-active {
	color: var(--lsv-copper-text);
	font-size: 0.8125rem;
	font-weight: 600;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-icon svg {
	width: 14px;
	height: 14px;
	fill: var(--louhos-headings);
	transition: transform 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-description {
	padding: 0 1rem 1rem;
	color: var(--louhos-body-color);
	font-size: 0.8125rem;
	line-height: 1.6;
}

/* Toggles: 40×22 switch, navy when on */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox .cmplz-label {
	width: 34px;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox .cmplz-label::before {
	top: -11px;
	left: -6px;
	width: 40px;
	height: 22px;
	border-radius: 11px;
	background-color: #8b8478;
	transition: background-color 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox .cmplz-label::after {
	top: -8px;
	left: -3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(26, 26, 52, 0.25);
	transition: left 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox input:checked + .cmplz-label::before {
	background-color: var(--louhos-primary);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox input:checked + .cmplz-label::after {
	left: 15px;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox input:focus-visible + .cmplz-label::before {
	outline: 2px solid var(--louhos-primary);
	outline-offset: 2px;
}

/* Buttons: the site's button shape (louhos-btn) */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0 0.875rem;
	white-space: nowrap;
	border-radius: var(--louhos-radius);
	font-size: 0.875rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
	color: var(--louhos-headings);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences {
	border: 1px solid var(--louhos-headings);
	background: transparent;
	color: var(--louhos-headings);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences {
	border-color: var(--louhos-primary);
	background-color: var(--louhos-primary);
	color: #fff;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover {
	border-color: var(--louhos-headings);
	background-color: var(--louhos-headings);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links {
	margin-top: 0.25rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links .cmplz-link {
	color: var(--lsv-copper-text);
	font-size: 0.8125rem;
	text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		padding: 1.25rem;
	}

	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
		flex: 1 1 100%;
		white-space: normal;
	}
}

/* Visual layer: navy brand header with a copper cookie badge, white category
   cards with a copper accent when open, focus ring kept inside the card. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	--lsv-cmplz-pad: 1.5rem;

	overflow: hidden;
	padding: var(--lsv-cmplz-pad);
	border-radius: var(--lsv-radius-xl);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header {
	margin: calc(var(--lsv-cmplz-pad) * -1) calc(var(--lsv-cmplz-pad) * -1) 0.25rem;
	padding: 1.125rem var(--lsv-cmplz-pad);
	background: var(--lsv-gradient-cta);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title {
	position: relative;
	min-height: 2.75rem;
	padding-left: 3.5rem;
	color: #fff;
	line-height: 2.75rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title::before,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title::before {
	left: 0;
	width: 2.75rem;
	height: 2.75rem;
	box-sizing: border-box;
	border: 1px solid rgba(207, 152, 112, 0.35);
	border-radius: 50%;
	background: rgba(207, 152, 112, 0.14);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header .cmplz-title::after {
	left: 0.6875rem;
	width: 1.375rem;
	height: 1.375rem;
	background: var(--lsv-copper);
	-webkit-mask: url("../icons/cookie.svg") center / contain no-repeat;
	mask: url("../icons/cookie.svg") center / contain no-repeat;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close {
	color: #fff;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:hover {
	background-color: rgba(255, 255, 255, 0.12);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:focus-visible {
	outline-color: #fff;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category {
	border-radius: var(--louhos-radius-lg);
	background: #fff;
	box-shadow: 0 1px 2px rgba(26, 26, 52, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category:hover {
	border-color: var(--lsv-border-strong);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category[open] {
	border-color: var(--lsv-copper);
	box-shadow: inset 3px 0 0 var(--lsv-copper), 0 4px 12px rgba(26, 26, 52, 0.06);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category summary {
	padding: 0.75rem 1rem;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category summary:focus-visible {
	outline-offset: -2px;
	border-radius: var(--louhos-radius-lg);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-always-active {
	padding: 0.25rem 0.625rem;
	border-radius: 100px;
	background: var(--lsv-icon-bg);
	font-size: 0.75rem;
}

@media (max-width: 575.98px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		--lsv-cmplz-pad: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category {
		transition: none;
	}
}

/* Manage-consent button: round navy twin of the WhatsApp button (bottom left),
   copper cookie icon; only the label slides out on hover and keyboard focus. The
   text stays in the DOM, so the accessible name is always "Evästeasetukset". */
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent {
	--lsv-cookie-size: 56px;

	position: fixed;
	top: auto;
	right: auto;
	bottom: clamp(1rem, 2.5vw, 2.5rem);
	left: clamp(1rem, 2.5vw, 2.5rem);
	z-index: 1020;
	display: flex;
	align-items: center;
	width: auto;
	min-width: 0;
	max-width: var(--lsv-cookie-size);
	height: var(--lsv-cookie-size);
	min-height: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 0 0 0 var(--lsv-cookie-size);
	overflow: hidden;
	border: 0;
	border-radius: calc(var(--lsv-cookie-size) / 2);
	background: var(--lsv-gradient-cta);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), var(--lsv-shadow);
	color: #fff;
	font-family: var(--louhos-font-family);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.0125rem;
	white-space: nowrap;
	cursor: pointer;
	transform: none;
	animation: none !important; /* Complianz slides `bottom` with keyframes, also on :hover/:focus */
	transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cookie icon */
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc((var(--lsv-cookie-size) - 26px) / 2);
	width: 26px;
	height: 26px;
	background: var(--lsv-copper);
	-webkit-mask: url("../icons/cookie.svg") center / contain no-repeat;
	mask: url("../icons/cookie.svg") center / contain no-repeat;
	transform: translateY(-50%);
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:focus-visible {
	max-width: 15rem;
	padding-right: 1.5rem;
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:focus-visible {
	outline: 2px solid var(--lsv-copper);
	outline-offset: 3px;
}

@media (min-width: 1200px) {
	#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent {
		--lsv-cookie-size: 64px;
	}
}

/* Hidden while the banner is open (Complianz adds .cmplz-dismissed) */
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent.cmplz-dismissed {
	display: none;
}

/* Not over an open mobile menu */
body:has(.offcanvas.show) #cmplz-manage-consent {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
	#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent {
		transition: none;
	}
}

/* Phones and tablets: the info tile sits below the business-card photo instead of on top
   of it (client 11/2026) — the photo is shown whole, the tile is its footer. */
@media (max-width: 1199.98px) {
	.lsv-hero--split .lsv-hero__media {
		display: block;
		min-height: 0;
		padding: 0;
		background: var(--louhos-primary);
	}

	.lsv-hero--split .lsv-hero__media img {
		position: static;
		display: block;
		height: auto;
		aspect-ratio: 2000 / 1097;
	}

	.lsv-hero__tile {
		gap: 0.75rem 1.5rem;
		border-radius: 0;
		background: var(--louhos-primary);
	}
}
