@charset "UTF-8";
/* LEN-MAX – tax and accounting services */

:root {
	--blue: #019cdc;
	--blue-dark: #0477a8;
	--blue-light: #e6f5fc;
	--red: #e40a1d;
	--red-dark: #b80817;
	--text: #2f3133;
	--muted: #5f6368;
	--line: #dde3e8;
	--bg: #ffffff;
	--bg-alt: #f4f7f9;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(16, 42, 67, .08);
	--header-h: 68px;
	--font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--font-head: "Century Gothic", "Avenir Next", "Avenir", "Segoe UI", system-ui, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	/* Exactly the header height (+ 1px bottom border) so the section starts right below it */
	scroll-padding-top: calc(var(--header-h) + 1px);
	-webkit-text-size-adjust: 100%;
}

/* Users with reduced motion enabled – jump without smooth scrolling */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
	}
}

/* Footer always at the bottom, even when content is shorter than the viewport (e.g. error page) */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	font: 400 1rem/1.65 var(--font);
	color: var(--text);
	background: var(--bg);
}

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

a {
	color: var(--blue-dark);
}

a:hover {
	color: var(--red);
}

h1,
h2,
h3 {
	font-family: var(--font-head);
	line-height: 1.2;
	margin: 0 0 .6em;
}

h2 {
	font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem);
}

h3 {
	font-size: 1.15rem;
}

p {
	margin: 0 0 1em;
}

.container {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px;
}

main {
	flex: 1 0 auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 16px;
	top: 8px;
	z-index: 100;
	padding: 8px 12px;
	background: #fff;
}

/* Logo */

.logo {
	display: inline-block;
	line-height: 0;
}

.logo img {
	width: 170px;
	height: auto;
}

.logo--badge {
	padding: 10px 12px;
	background: #fff;
	border-radius: 6px;
}

@media (min-width: 860px) {
	.site-header .logo img {
		width: 190px;
	}
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(6px);
}

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

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: var(--text);
	cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	content: "";
}

.nav-toggle__bar {
	position: relative;
}

.nav-toggle__bar::before {
	position: absolute;
	top: -6px;
}

.nav-toggle__bar::after {
	position: absolute;
	top: 6px;
}

.site-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.site-nav.is-open {
	display: block;
}

.site-nav ul {
	margin: 0;
	padding: 8px 16px 16px;
	list-style: none;
}

.site-nav a {
	display: block;
	padding: 10px 0;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
	color: var(--red);
}

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

	.site-nav {
		position: static;
		display: block;
		background: none;
		border: 0;
		box-shadow: none;
	}

	.site-nav ul {
		display: flex;
		gap: 26px;
		padding: 0;
	}

	.site-nav a {
		padding: 6px 0;
		border-bottom: 2px solid transparent;
		font-size: .95rem;
	}

	.site-nav a.is-active {
		border-bottom-color: var(--red);
	}
}

/* Sections */

.section {
	padding: 64px 0;
}

.section--alt {
	background: var(--bg-alt);
}

.section__head {
	max-width: 720px;
	margin-bottom: 32px;
}

.section__head h2::after {
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 14px;
	background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%);
	content: "";
}

.lead {
	font-size: 1.1rem;
	color: var(--muted);
}

/* Hero */

.hero {
	padding: 72px 0 64px;
	background:
		radial-gradient(circle at 85% 15%, rgba(1, 156, 220, .14), transparent 55%),
		linear-gradient(180deg, var(--blue-light), #fff);
}

.hero__eyebrow {
	margin-bottom: 12px;
	font: 600 .85rem/1 var(--font-head);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--red);
}

.hero h1 {
	max-width: 760px;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

.hero__text {
	max-width: 720px;
}

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

.highlights {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.highlights li {
	padding: 18px 20px;
	background: #fff;
	border-left: 4px solid var(--blue);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.highlights strong {
	display: block;
	font-family: var(--font-head);
	font-size: 1.05rem;
}

.highlights span {
	color: var(--muted);
	font-size: .95rem;
}

@media (min-width: 720px) {
	.highlights {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid var(--blue);
	border-radius: 999px;
	background: var(--blue);
	font: 600 1rem/1.2 var(--font);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}

.btn:hover {
	background: var(--blue-dark);
	border-color: var(--blue-dark);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--blue-dark);
}

.btn--ghost:hover {
	background: var(--blue);
	color: #fff;
}

/* Services */

.service {
	display: grid;
	gap: 24px;
	padding: 28px 24px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.service__place {
	margin: 0;
	padding: 12px 16px;
	background: var(--blue-light);
	border-radius: 6px;
	font-weight: 600;
}

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

.checklist li {
	position: relative;
	padding: 6px 0 6px 30px;
	border-bottom: 1px solid var(--line);
}

.checklist li:last-child {
	border-bottom: 0;
}

.checklist li::before {
	position: absolute;
	left: 4px;
	top: 14px;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--red);
	border-bottom: 2px solid var(--red);
	transform: rotate(-45deg);
	content: "";
}

@media (min-width: 860px) {
	.service {
		padding: 36px 40px;
	}

	.checklist--cols {
		columns: 2;
		column-gap: 40px;
	}

	.checklist--cols li {
		break-inside: avoid;
	}
}

/* About */

.facts {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.facts__row {
	display: grid;
	gap: 2px 24px;
	padding: 14px 24px;
	border-bottom: 1px solid var(--line);
}

.facts__row:last-child {
	border-bottom: 0;
}

.facts dt {
	font-size: .9rem;
	color: var(--muted);
}

.facts dd {
	margin: 0;
	font-weight: 600;
}

@media (min-width: 640px) {
	.facts__row {
		grid-template-columns: 200px 1fr;
	}
}

/* Contact */

.contact {
	display: grid;
	gap: 32px;
}

@media (min-width: 860px) {
	.contact {
		grid-template-columns: 5fr 7fr;
		gap: 48px;
	}
}

.contact-card {
	padding: 28px 24px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.contact-card__name {
	margin-bottom: 2px;
	font: 700 1.2rem/1.3 var(--font-head);
}

.contact-card__role {
	margin-bottom: 20px;
	color: var(--muted);
}

.contact-list {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.contact-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
}

.contact-list span {
	display: block;
	font-size: .85rem;
	color: var(--muted);
}

.contact-list a {
	font-weight: 600;
	font-size: 1.05rem;
	text-decoration: none;
	word-break: break-word;
}

/* Form */

.form {
	padding: 28px 24px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.form__grid {
	display: grid;
	gap: 16px;
}

.form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: .95rem;
}

.form input,
.form select,
.form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c3ccd4;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: inherit;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: 2px solid var(--blue);
	outline-offset: 1px;
	border-color: var(--blue);
}

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

.form__note {
	margin: 16px 0;
	font-size: .85rem;
	color: var(--muted);
}

.alert {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: 6px;
	font-weight: 600;
}

.alert--ok {
	background: #e7f6ec;
	color: #1d6b38;
}

.alert--test {
	background: #fff6dc;
	color: #7a5400;
	font-weight: 400;
}

.alert--error {
	background: #fdeaea;
	color: var(--red-dark);
}

/* Text page (privacy policy) */

.section__head h1 {
	font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem);
}

.section__head h1::after {
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 14px;
	background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%);
	content: "";
}

.prose {
	max-width: 760px;
	margin-bottom: 32px;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: 1.3rem;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose .checklist {
	margin-bottom: 1em;
}

.prose__meta {
	margin-top: 2em;
	font-size: .9rem;
	color: var(--muted);
}

/* Error page */

.error-page {
	padding: 80px 0 96px;
	text-align: center;
}

.error-page .lead {
	max-width: 560px;
	margin: 0 auto 1em;
}

.error-page .hero__actions {
	justify-content: center;
	margin: 28px 0;
}

.error-page__code {
	margin: 0;
	font: 700 clamp(4.5rem, 3rem + 7vw, 8rem)/1 var(--font-head);
	background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Back-to-top arrow */

.to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--blue);
	box-shadow: var(--shadow);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s, background .15s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover,
.to-top:focus-visible {
	background: var(--red);
	color: #fff;
}

@media (min-width: 860px) {
	.to-top {
		right: 24px;
		bottom: 24px;
	}
}

/* Footer */

.site-footer {
	padding: 40px 0;
	background: #1f2a33;
	color: #c9d2da;
	font-size: .92rem;
}

.site-footer a {
	color: #fff;
}

.site-footer__inner {
	display: grid;
	gap: 24px;
}

.site-footer p {
	margin: 0 0 .4em;
}

.site-footer .logo img {
	width: 160px;
}

@media (min-width: 720px) {
	.site-footer__inner {
		grid-template-columns: repeat(3, 1fr);
	}
}
