* {
	font: inherit;
	margin: 0;
	padding: 0;
}
html {
	--base-fonts: system-ui, sans-serif;
	--heading-fonts: system-ui, serif;
	--content-max-width: 1108px;
	color-scheme: light dark;
	background: #ecebe7;
	color: #000;
	font-family: var(--base-fonts);
	font-size: 18px;
	line-height: 1.4;
	accent-color: #b54867;
}
@media all and (max-width: 500px) {
	html {
		hyphens: auto;
		overflow-wrap: anywhere;
	}
}
@media all and (prefers-color-scheme: dark) {
	html {
		background: #333;
		color: #fff;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	html {
		background-color: #000;
	}
}
body {
	min-inline-size: 320px;
	max-inline-size: 1920px;
	margin-inline: auto;
}
[hidden] {
	display: none !important;
}
/* Hierarchy */
article,
aside,
main,
section,
header,
footer {
	display: flow-root;
}
article,
aside,
header,
footer,
section {
	contain: content;
}
figure {
	box-sizing: border-box;
	max-inline-size: 100%;
	overflow: auto;
}
hr {
	margin-block: 2em;
	margin-inline: auto;
	color: inherit;
	border: none;
	border-block-start: .2em dashed currentColor;
	max-inline-size: 90%;
}
/* Line spacing */
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, dl, fieldset, table, figure, details):not([class]):not(:first-child) {
	margin-block-start: 1em;
}
/* Inline content */
b,
strong {
	font-weight: bold;
}
i,
em {
	font-style: italic;
}
sub,
sup {
	font-size: smaller;
}
img {
	vertical-align: middle;
	max-inline-size: 100%;
	block-size: auto;
}
video {
	max-inline-size: 100%;
	block-size: auto;
}
iframe {
	border: none;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
	break-after: avoid;
	break-inside: avoid;
}
:where(h1, h2, h3, h4, h5, h6):not([class]) {
	font-family: var(--heading-fonts);
	line-height: normal;
}
:is(h1, h2, h3, h4, h5, h6) > a {
	text-decoration: none;
	color: inherit;
}
:is(h1, h2, h3, h4, h5, h6) > a:focus-visible {
	text-decoration: underline;
}
h1:not([class]) {
	font-size: 1.5em;
	font-weight: bold;
}
/* Links */
a img {
	border: none;
}
a {
	color: inherit;
	text-decoration: underline;
}
/* Lists */
:where(ul, ol):not([class]) {
	margin-inline-start: 1.5em;
}
:where(ul, ol):not([class]) > li:not(:first-child) {
	margin-block-start: .5em;
}
/* Dialogs */
dialog {
	border: none;
	box-sizing: border-box;
}
dialog::backdrop {
	background: rgba(0,0,0,.75);
}
@media all and (prefers-color-scheme: light) and (prefers-reduced-transparency: reduce) and (not (prefers-contrast: more)) {
	dialog::backdrop { background: #f0f0f0; }
}
@media all and (prefers-color-scheme: light) and (prefers-reduced-transparency: reduce) and (prefers-contrast: more) {
	dialog::backdrop { background: #fff; }
}
@media all and (prefers-color-scheme: dark) and (prefers-reduced-transparency: reduce) and (not (prefers-contrast: more)) {
	dialog::backdrop { background: #333; }
}
@media all and (prefers-color-scheme: dark) and (prefers-reduced-transparency: reduce) and (prefers-contrast: more) {
	dialog::backdrop { background: #000; }
}
@media print {
	dialog { display: none; }
}
/* Forms */
fieldset {
	border: 1px dashed #ccc;
	padding: 1em;
}
input,
textarea,
select,
option,
button {
	box-sizing: border-box;
}
@media all and (prefers-color-scheme: light) and (prefers-contrast: more) {
	fieldset { border-color: #000; }
}
@media all and (prefers-color-scheme: dark) and (not (prefers-contrast: more)) {
	fieldset { border-color: #a9a9a9; }
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	fieldset { border-color: #fff; }
}
input[type="checkbox"],
input[type="radio"] {
	width: 1em;
	height: 1em;
}
/* Tables */
table {
	border-collapse: collapse;
	margin-inline: auto;
}
caption {
	padding-block: .2em;
	padding-inline: 1em;
	text-align: start;
}
td, th {
	padding-block: .2em;
	padding-inline: 1em;
	text-align: start;
	min-width: 6em;
}
th {
	font-weight: bold;
}
thead {
	border-block-end: .1em solid #7e7e7e;
}
tfoot {
	border-block-start: .1em solid #7e7e7e;
}
tbody > tr:nth-child(even) {
	background: rgba(0,0,0,.08);
	color: #000;
}
thead > tr > th {
	vertical-align: bottom;
}
@supports (margin-trim: block) {
	td, th {
		margin-trim: block;
	}
}
@supports not (margin-trim: block) {
	:where(td, th) > :first-child {
		margin-block-start: 0 !important;
	}
	:where(td, th) > :last-child {
		margin-block-end: 0 !important;
	}
}
@media all and (prefers-color-scheme: light) and (prefers-contrast: more) {
	thead { border-block-end-color: #000; }
	tfoot { border-block-start-color: #000; }
}
@media all and (prefers-color-scheme: dark) and (not (prefers-contrast: more)) {
	thead { border-block-end-color: #e6e6e6; }
	tfoot { border-block-start-color: #e6e6e6; }
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	thead { border-block-end-color: #fff; }
	tfoot { border-block-start-color: #fff; }
}
@media all and (prefers-color-scheme: dark) {
	tbody > tr:nth-child(even) {
		background: rgba(255,255,255,.08);
		color: #fff;
	}
}
/* Quotations */
blockquote:not([class]) {
	padding-inline-start: 1em;
	border-inline-start: 4px solid #ddd;
}
@media all and (prefers-color-scheme: light) and (prefers-contrast: more) {
	blockquote:not([class]) { border-inline-start-color: #000; }
}
@media all and (prefers-color-scheme: dark) and (not (prefers-contrast: more)) {
	blockquote:not([class]) { border-inline-start-color: #909090; }
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	blockquote:not([class]) { border-inline-start-color: #fff; }
}
/* Definition lists */
dl:not([class]) > dt {
	font-weight: bold;
}
dl:not([class]) > dt:not(:first-child) {
	margin-block-start: 1em;
}
dl:not([class]) > dd {
	margin-inline-start: 2em;
}
dl:not([class]) > dd:not(:first-child) {
	margin-block-start: .5em;
}
.menu-horizontal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
}
.menu-horizontal li {
	list-style: none;
	position: relative;
}
.menu-horizontal li:hover > ul,
.menu-horizontal ul:hover,
.menu-horizontal > li:focus-within > ul,
.menu-horizontal > li li:focus-within > ul {
	display: block;
}
.menu-horizontal > li {
	display: inline-block;
}
.menu-horizontal > li ul {
	display: none;
	position: absolute;
}
.menu-horizontal > li > ul {
	inset-inline-start: 0;
	inset-block-start: 100%;
}
.menu-horizontal > li > ul ul {
	inset-inline-start: 100%;
	inset-block-start: 0;
}
.menu-horizontal > li li > :first-child {
	display: block;
	padding-block: .2em;
	padding-inline: .5em;
}
.menu-horizontal .nav-header {
	cursor: default;
}
/* When to show what */
.mobile-nav-button {
	display: none;
}
@media not all and (min-width: 1108px) {
	.top-nav {
		display: none;
	}
	.mobile-nav-button {
		display: block;
	}
}
/* Command panel */
.page-controls {
	font-size: 20px;
	position: fixed;
	z-index: 9;
	inset-block-start: 16px;
	inset-inline-end: 16px;
	display: flex;
	flex-direction: column;
	align-items: end;
	gap: 16px;
}
.page-controls-button {
	box-sizing: border-box;
	padding-block: 9px;
	padding-inline: 12px;
	background: #fff;
	color: #000;
	border: .1em solid #333;
	line-height: normal;
	cursor: pointer;
	transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.page-controls-button:hover,
.page-controls-button:focus {
	background-color: #333;
	color: #fff;
}
.page-controls-button > svg {
	vertical-align: -.15em;
}
@media all and (prefers-color-scheme: light) and (prefers-contrast: more) {
	.page-controls-button {
		border-color: #000;
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: #000;
	}
}
@media all and (prefers-color-scheme: dark) and (not (prefers-contrast: more)) {
	.page-controls-button {
		background: #000;
		color: #fff;
		border-color: #ccc;
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: #ccc;
		color: #000;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.page-controls-button {
		border-color: #fff;
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: #fff;
	}
}
/* Menu dialog */
.dialog-mobile-menu {
	background: transparent;
	max-block-size: none;
	block-size: 100%;
	inline-size: 100%;
	max-inline-size: 400px;
}
.mobile-menu {
	box-sizing: border-box;
	padding: 16px;
	background: #f8f8f8;
	color: #000;
	box-shadow: 2px 0 2px 0 rgba(0,0,0,.2);
	block-size: 100%;
	overflow: auto;
	overscroll-behavior: contain;
}
@media all and (prefers-color-scheme: dark) and (not (prefers-contrast: more)) {
	.mobile-menu {
		background: #64625b;
		color: #fff;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.mobile-menu {
		background: #2a2926;
		color: #fff;
	}
}
/* Menu dialog content */
.mobile-menu-itself {
	font-weight: normal;
	padding: 0;
}
.mobile-menu-itself li {
	list-style: none;
	position: relative;
}
.mobile-menu-itself li:hover > ul,
.mobile-menu-itself li:focus > ul {
	display: block;
}
.mobile-menu-itself li > :first-child:focus + ul {
	display: block;
}
.mobile-menu-itself > li ul {
	margin-inline-start: 1.2em;
}
.mobile-menu-itself .separator::after {
	content: ":";
}
.mobile-menu-itself li > a,
.button-mobile-menu-close {
	display: block;
	box-sizing: border-box;
	padding-block: 6px 5px;
	padding-inline: 12px;
	outline: none;
	border: none;
	inline-size: 100%;
	cursor: pointer;
	background: transparent;
	color: inherit;
	text-align: start;
	transition: background-color 300ms ease-out, color 300ms ease-out;
}
.mobile-menu-itself li > a:hover,
.mobile-menu-itself li > a:focus,
.button-mobile-menu-close:hover,
.button-mobile-menu-close:focus {
	background-color: #7c7c7c;
	color: #fff;
}
@media all and (prefers-color-scheme: light) and (prefers-contrast: more) {
	.mobile-menu-itself li > a:hover,
	.mobile-menu-itself li > a:focus,
	.button-mobile-menu-close:hover,
	.button-mobile-menu-close:focus {
		background-color: #000;
	}
}
@media all and (prefers-color-scheme: dark) and (not (prefers-contrast: more)) {
	.mobile-menu-itself li > :first-child:hover,
	.mobile-menu-itself li > :first-child:focus,
	.button-mobile-menu-close:hover,
	.button-mobile-menu-close:focus {
		background-color: #fafafa;
		color: #000;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.mobile-menu-itself li > :first-child:hover,
	.mobile-menu-itself li > :first-child:focus,
	.button-mobile-menu-close:hover,
	.button-mobile-menu-close:focus {
		background-color: #fff;
		color: #000;
	}
}
.mobile-menu a {
	text-decoration: none;
	outline: none;
}
@media print {
	.page-controls {
		display: none;
	}
}
/* Vector icons */
.icon {
	width: 1em;
	height: 1em;
}
/* Dialog layout */
.dialog-layout[open] {
	box-sizing: border-box;
	background: transparent;
	max-inline-size: none;
	max-block-size: none;
	inline-size: 100%;
	block-size: 100%;
	padding: 1em;
	display: grid;
	place-content: safe center;
}
.dialog-layout-inner {
	background: #fff;
	color: #000;
	padding: 1.5em;
	box-shadow: 0 0 3px 3px rgba(255,255,255,.15);
	border-radius: 4px;
	position: relative;
	overflow: auto;
}
@media all and (prefers-color-scheme: dark) {
	.dialog-layout-inner {
		background: #333;
		color: #fff;
	}
}
@media all and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	.dialog-layout-inner {
		background: #000;
	}
}
.form-close-dialog {
	position: absolute;
	z-index: 1;
	inset-block-start: .5em;
	inset-inline-end: .5em;
}
.form-close-dialog-button {
	background: transparent;
	color: #b24539;
	border: none;
	cursor: pointer;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	padding: 0;
	transition: background-color 300ms ease-out, color 300ms ease-out;
}
.form-close-dialog-button:hover,
.form-close-dialog-button:focus {
	background-color: #b24539;
	color: #fff;
}
/* .limit-content is a wrapper for normal content, which needs padding on narrow screens. */
.limit-content {
	display: flow-root;
}
@media not print {
	.limit-content {
		max-inline-size: var(--content-max-width);
		margin-inline: auto;
		padding-inline: 1.5rem;
	}
}
/* Alternatively, one can increase paddings to fill space. */
.pad-content {
	display: flow-root;
}
@media not print {
	.pad-content {
		padding-inline: max(1.5rem, (100% - var(--content-max-width)) / 2);
	}
}
/* Template */
.lang-switcher-start::before {
	content: "•";
	speak: never;
	pointer-events: none;
	opacity: .6;
	margin-inline-end: 1em;
}
.active-language {
	font-weight: bold;
}
.phone-w {
	display: block;
	margin-block-start: .5em;
}
.top {
	font-size: 1.1rem;
	padding-block: 1em;
}
.l-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}
@media not print {
	@media (max-width: 1599px) {
		.l-top {
			padding-inline-end: 72px;
		}
	}
}
@media print {
	nav {
		display: none !important;
	}
}
.ajax-form-result {
	display: none;
	background: #fbfbfb;
	color: #000;
	border: .1em solid #999;
	padding-block: .5em;
	padding-inline: 1em;
}
.ajax-form-result[data-state="positive"] {
	display: block;
	background-color: #f4f9ee;
	border-color: #99bf7f;
}
.ajax-form-result[data-state="negative"] {
	display: block;
	background-color: #f9f3ee;
	border-color: #bf857f;
}
.ajax-form-result:not(:first-child) {
	margin-block-start: 1em;
}
.top-logo {
	background: #b54867;
	color: #fff;
	padding: .35em .7em;
	text-align: center;
}
.top-slogan {
	font-style: italic;
}
.bottom {
	padding-block: 1em;
}
.contact-form:not(:first-child) {
	margin-top: 1em;
}
.contact-form input,
.contact-form textarea {
	margin-top: .2em;
	width: 100%;
	padding: .25em;
	background: #fff;
	color: #000;
	border: 1px solid #999;
}
@media all and (prefers-color-scheme: dark) {
	.contact-form input,
	.contact-form textarea {
		background-color: #111;
		color: #fff;
		border-color: #666;
	}
}
.contact-form textarea {
	height: 7em;
	resize: vertical;
}
.contact-form button {
	background: #b54867;
	color: #fff;
	padding: .4em .8em;
	border: none;
	cursor: pointer;
}
.contact-form button:hover,
.contact-form button:focus {
	background-color: #8b3750;
}
.contact-form button:focus-visible {
	text-decoration: underline;
}
.form-unit:not(:first-child) {
	margin-block-start: 1em;
}
/* Services */
.services:not(:first-child) {
	margin-block-start: 1.5em;
}
@media all and (min-width: 1108px) {
	.services {
		display: flex;
		align-items: center;
		gap: 1.5em;
		background: #fff;
		color: #000;
	}
	.services-text {
		flex-grow: 1;
		padding-inline-end: 1.5em;
	}
	@media (prefers-color-scheme: dark) {
		.services {
			background: #444;
			color: #fff;
		}
	}
}
@media not all and (min-width: 1108px) {
	.decor {
		display: none;
	}
	.services-text {
		background: #fff;
		color: #000;
		padding: .5em 1em 1em 1em;
	}
	@media (prefers-color-scheme: dark) {
		.services-text {
			background: #444;
			color: #fff;
		}
	}
}
/* Contacts */
.contacts:not(:first-child) {
	margin-block-start: 1.5em;
}
@media all and (min-width: 1108px) {
	.contacts {
		display: flex;
		align-items: center;
		gap: 1.5em;
		background: #fff;
		color: #000;
	}
	.contacts-text {
		flex-grow: 1;
		padding-inline-start: 1.5em;
	}
	@media (prefers-color-scheme: dark) {
		.contacts {
			background: #444;
			color: #fff;
		}
	}
}
@media not all and (min-width: 1108px) {
	.contacts-decor {
		display: none;
	}
	.contacts-text {
		background: #fff;
		color: #000;
		padding: .5em 1em 1em 1em;
	}
	@media (prefers-color-scheme: dark) {
		.contacts-text {
			background: #444;
			color: #fff;
		}
	}
}
.plain-content {
	padding: 1.5em;
	background: #fff;
	color: #000;
}
@media (prefers-color-scheme: dark) {
	.plain-content {
		background: #444;
		color: #fff;
	}
}
.textslider {
	position: relative;
	overflow: hidden;
}
.textslider::after {
	content: "";
	display: table;
	clear: both;
}
.textslider > ul > li {
	list-style: none;
	position: absolute;
	left: 100%;
	top: 0;
	width: 100%;
	line-height: 1.2em;
	transition: left .5s;
}
.textslider > ul > .active {
	left: 0;
}
.textslider > ul > li > * {
	font: inherit;
	color: inherit;
	text-transform: none;
	padding: 0;
	margin: 0;
	border: none;
}
