@font-feature-values "Roboto" {
	@styleset {
		double-storey-lower-g: 1;
	}
}
* {
	font: inherit;
	margin: 0;
	padding: 0;
}
html {
	--base-fonts: "IBM Plex Sans", "Noto Sans", "Roboto", system-ui, sans-serif;
	--heading-fonts: "IBM Plex Sans", "Noto Sans", "Roboto", system-ui, sans-serif;
	--content-max-width: 1200px;
	color-scheme: light dark;
	background: light-dark(#f7f7f7, #333);
	color: light-dark(#000, #ccc);
	font-family: var(--base-fonts);
	font-size: 18px;
	line-height: 1.4;
	font-variant-alternates: styleset(double-storey-lower-g);
}
html.big-text {
	--content-max-width: 1400px;
	font-size: max(1rem, 22px);
}
@media all and (max-width: 500px) {
	html {
		hyphens: auto;
		overflow-wrap: break-word;
	}
}
@media all and (prefers-color-scheme: dark) {
	html {
		accent-color: #f3e699;
	}
}
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,
footer {
	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], :first-child) {
	margin-block-start: 1em;
}
/* Inline content */
b,
strong {
	font-weight: bold;
}
@media all and (prefers-color-scheme: dark) {
	b,
	strong {
		font-weight: 600;
	}
}
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 {
	font-size: 1.5rem;
	font-weight: bold;
}
h2 {
	font-size: 1.35rem;
	font-weight: bold;
}
.s1 h2 {
	width: fit-content;
	background: light-dark(rgba(100,0,0,.1), rgba(255,255,255,.1));
	border-radius: .2em;
	padding: .25em .7em;
}
h2::before {
	content: "✦ ";
	color: light-dark(#bd3d3d, #a43333);
}
h3 {
	font-size: 1.2rem;
	font-weight: bold;
}
@media all and (prefers-color-scheme: dark) {
	h1, h2, h3 {
		font-weight: 600;
	}
}
/* Links */
a img {
	border: none;
}
a {
	color: inherit;
	text-decoration: underline;
}
:where(.main-body) a {
	color: light-dark(#0e3add, #f3e699);
}
/* 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 print {
	dialog { display: none; }
}
/* Forms */
fieldset {
	border: 1px dashed light-dark(#ccc, #a9a9a9);
	padding: 1em;
}
@media all and (prefers-contrast: more) {
	fieldset {
		border-color: light-dark(#000, #fff);
	}
}
input,
textarea,
select,
option,
button {
	box-sizing: border-box;
}
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 light-dark(#7e7e7e, #e6e6e6);
}
tfoot {
	border-block-start: .1em solid light-dark(#7e7e7e, #e6e6e6);
}
@media all and (prefers-contrast: more) {
	thead {
		border-block-end-color: light-dark(#000, #fff);
	}
	tfoot {
		border-block-start-color: light-dark(#000, #fff);
	}
}
tbody > tr:nth-child(even) {
	background: light-dark(rgba(0,0,0,.08), rgba(255,255,255,.08));
	color: light-dark(#000, #fff);
}
th[scope="row"] {
	text-align: start;
}
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;
	}
}
/* Quotations */
blockquote:not([class]) {
	padding-inline-start: 1em;
	border-inline-start: 4px solid light-dark(#ddd, #909090);
}
@media all (prefers-contrast: more) {
	blockquote:not([class]) {
		border-inline-start-color: light-dark(#000, #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;
}
/* Spoilers */
summary {
	cursor: pointer;
}
/* When to show what */
.mobile-nav-button {
	display: none;
}
@media not all and (min-width: 1200px) {
	.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: light-dark(#fff, #161616);
	color: light-dark(#000, #f0f0f0);
	border: .05em solid light-dark(#333, #ccc);
	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: light-dark(#333, #ccc);
	color: light-dark(#fff, #000);
}
.page-controls-button > svg {
	vertical-align: -.15em;
}
@media all and (prefers-contrast: more) {
	.page-controls-button {
		border-color: light-dark(#000, #fff);
		background-color: light-dark(#fff, #000);
		color: light-dark(#000, #fff);
	}
	.page-controls-button:hover,
	.page-controls-button:focus {
		background-color: light-dark(#000, #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: light-dark(#f8f8f8, #4d4b45);
	color: light-dark(#000, #fff);
	box-shadow: 2px 0 2px 0 rgba(0,0,0,.2);
	block-size: 100%;
	overflow: auto;
	overscroll-behavior: contain;
}
@media all and (prefers-contrast: more) {
	.mobile-menu {
		background-color: light-dark(#f8f8f8, #2a2926);
	}
}
/* 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 > * {
	display: block;
	box-sizing: border-box;
	padding-block: 6px 5px;
	padding-inline: 12px;
	outline: none;
	border: none;
	inline-size: 100%;
}
.mobile-menu-itself li > span {
	display: block;
	font-weight: bold;
	text-align: center;
	background: light-dark(#efe5e5, #353535);
	color: light-dark(#000, #e5e5e5);
}
.mobile-menu-itself li > a,
.button-mobile-menu-close {
	cursor: pointer;
	transition: background-color 300ms ease-out, color 300ms ease-out;
	background: transparent;
	color: inherit;
	text-align: start;
}
.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;
	}
}
/* Dialog layout */
.dialog-layout[open],
.dialog-layout:popover-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: light-dark(#f0f0f0, #333);
	color: light-dark(#000, #fff);
	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-contrast: more) {
	.dialog-layout-inner {
		background: light-dark(#fff, #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,
.text-with-bg-w {
	display: flow-root;
}
@media not print {
	.pad-content {
		padding-inline: max(1.5rem, (100% - var(--content-max-width)) / 2);
	}
	.text-with-bg-w {
		padding-inline: max(1.5rem, (100% - var(--content-max-width) - 3rem) / 2);
	}
	@media (max-width: 1199px) {
		.text-with-bg-w {
			padding-inline: max(0, (100% - var(--content-max-width) - 3rem) / 2);
		}
	}
}
.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;
}
/* Template */
.top {
	font-size: 1.1rem;
	padding-block: 1rem;
	position: relative;
	z-index: 8;
}
.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,
	.l-top > .menu-horizontal,
	.contacts {
		display: none !important;
	}
}
.l-top > .menu-horizontal a {
	display: inline-block;
}
.menu-horizontal {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 1.5em;
}
.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 ul {
	display: none;
	position: absolute;
	z-index: 1;
	background: light-dark(#f7f7f7, #111);
	color: light-dark(#000, #e5e5e5);
	min-width: 320px;
	margin: 0;
	border: 1px solid light-dark(#ccc, #444);
}
.menu-horizontal > li > ul {
	inset-inline-start: -1em;
	inset-block-start: 100%;
	padding-block: .5em;
	border-radius: .2em;
	box-shadow: 2px 2px 2px 0 rgba(0,0,0,.2);
}
.menu-horizontal > li > ul ul {
	inset-inline-start: 100%;
	inset-block-start: 0;
}
.menu-horizontal > li li > :first-child {
	display: block;
	padding-block: .25em;
	padding-inline: 1em;
	text-decoration: none;
}
.menu-horizontal > li li > :first-child:focus-visible {
	text-decoration: underline;
}
.menu-horizontal > li li > :first-child:hover,
.menu-horizontal > li li > :first-child:focus {
	background: light-dark(#ddd, #333);
	color: light-dark(#000, #e5e5e5);
}
.menu-horizontal a.active {
	color: light-dark(#ae1c1c, #dd5277);
	font-weight: bold;
}
.menu-horizontal > li > :first-child:has(+ ul)::after {
	content: "";
	speak: never;
	user-select: none;
	display: inline-block;
	margin-inline-start: .2em;
	width: 1em;
	height: 1em;
	background: left top no-repeat transparent;
	vertical-align: middle;
}
@media all and (prefers-color-scheme: light) {
	.menu-horizontal > li > :first-child:has(+ ul)::after {
		background-image: url("../images/down.svg");
	}
}
@media all and (prefers-color-scheme: dark) {
	.menu-horizontal > li > :first-child:has(+ ul)::after {
		background-image: url("../images/down-dark.svg");
	}
}
.menu-horizontal a {
	text-decoration: none;
}
.menu-horizontal a:hover,
.menu-horizontal a:focus {
	text-decoration: underline;
}
main {
	line-height: 1.5;
}
main :where(a:not([class])) {
	color: light-dark(#ae1c1c, #dd5277);
}
.top-logo > a {
	display: inline-block;
	padding: .3em .5em;
	background: light-dark(#bd3d3d, #643642);
	color: light-dark(#fff, #e5e5e5);
	text-decoration: none;
	font-weight: bold;
	border-radius: .2em;
}
.top-logo > a:focus-visible {
	text-decoration: underine;
}
@media all and (prefers-color-scheme: dark) {
	.top-logo > a, .menu-horizontal a.active {
		font-weight: 600;
	}
}
.bottom {
	padding-block: 1rem;
}
.l-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1em;
}
.button-1 {
	display: inline-block;
	padding: .5em 1em;
	border-radius: .2em;
	background: light-dark(#bd3d3d, #532c36);
	color: light-dark(#fff, #e5e5e5);
	text-decoration: none;
	border: none;
	cursor: pointer;
}
.button-1:focus-visible {
	text-decoration: underline;
}
main > section {
	padding-block: 1rem;
}
:where(section:nth-child(odd)) {
	background: light-dark(#fff, #252525);
	color: light-dark(#000, #ddd);
}
:where(section:nth-child(even)) {
	background: light-dark(#f4f0e8, #2f2729);
	color: light-dark(#000, #ddd);
}
@media all and (min-width: 1200px) {
	main > section {
		padding-block: 2rem;
	}
	.decor {
		position: relative;
	}
	.decor::after {
		content: "";
		speak: never;
		pointer-events: none;
		position: absolute;
		z-index: 1;
		top: -2rem;
		width: 400px;
		width: 400px;
		height: calc(100% + 4rem);
	}
	:where(section:nth-child(odd)) > .decor {
		padding-right: 432px;
	}
	:where(section:nth-child(odd)) > .decor::after {
		right: 0;
		background: left top / cover no-repeat transparent;
	}
	:where(section:nth-child(even)) > .decor {
		padding-left: 432px;
	}
	:where(section:nth-child(even)) > .decor::after {
		left: 0;
		background: left top / cover no-repeat transparent;
	}
	.s1 > .decor::after {
		background-image: url("../images/georgia.webp");
	}
	.s2 > .decor::after {
		background-image: url("../images/why.webp");
	}
	.faq > .decor::after {
		background-image: url("../images/faq.webp");
	}
	.conditions > .decor::after {
		background-image: url("../images/conditions.webp");
	}
	.advices > .decor::after {
		background-image: url("../images/advices.webp");
	}
	.steps > .decor::after {
		background-image: url("../images/steps.webp");
	}
	.addresses > .decor {
		min-height: 500px;
	}
	.addresses > .decor::after {
		background-image: url("../images/addresses.webp");
	}
	.advantages > .decor::after {
		background-image: url("../images/advantages.webp");
	}
	.reunion > .decor::after {
		background-image: url("../images/reunion.webp");
	}
	.estate > .decor::after {
		background-image: url("../images/estate.webp");
	}
	.estate-advantages > .decor::after {
		background-image: url("../images/estate-advantages.webp");
	}
	.work > .decor::after {
		background-image: url("../images/work.webp");
	}
	.education > .decor::after {
		background-image: url("../images/education.webp");
	}
	.investment > .decor::after {
		background-image: url("../images/investment.webp");
	}
	.turnkey > .decor::after {
		background-image: url("../images/turnkey.webp");
	}
	.propiska > .decor::after {
		background-image: url("../images/propiska.webp");
	}
	.reg-ie > .decor::after {
		background-image: url("../images/reg-ie.webp");
	}
	.reg-ie-remote > .decor::after {
		background-image: url("../images/reg-ie-remote.webp");
	}
	.buh > .decor::after {
		background-image: url("../images/buh.webp");
	}
	.llc > .decor::after {
		background-image: url("../images/llc.webp");
	}
	.bank-account-creation > .decor::after {
		background-image: url("../images/bank-account-creation.webp");
	}
	.bank-account-remote > .decor::after {
		background-image: url("../images/bank-account-remote.webp");
	}
	.bank-account-ooo > .decor::after {
		background-image: url("../images/bank-account-ooo.webp");
	}
	.marriage > .decor::after {
		background-image: url("../images/marriage.webp");
	}
	.divorce > .decor::after {
		background-image: url("../images/divorce.webp");
	}
	.divorce-remote > .decor::after {
		background-image: url("../images/divorce-remote.webp");
	}
}
.contact-form:not(:first-child) {
	margin-block-start: 1em;
}
.contact-form input:where([type="text"], [type="tel"], [type="email"]),
.contact-form textarea {
	margin-block-start: .2em;
	width: 100%;
	background: light-dark(#fff, #222);
	color: light-dark(#000, #ddd);
	border: 1px solid light-dark(#ccc, #666);
	padding: .3em;
}
.contact-form textarea {
	height: 10em;
	height: 7lh;
	resize: vertical;
}
@media all and (min-width: 1200px) {
	.contact-form {
		display: flex;
		flex-wrap: wrap;
		gap: .5em;
	}
	.contact-form > div {
		flex-grow: 1;
		width: 100%;
	}
	.contact-form > div:nth-child(-n + 3) {
		width: calc((100% - 1em) / 3);
	}
	.form-unit._submit:not(:first-child) {
		margin-block-start: .5em;
	}
}
@media not all and (min-width: 1200px) {
	.form-unit:not(:first-child) {
		padding-block-start: .5em;
	}
	.form-unit._submit:not(:first-child) {
		margin-block-start: 1em;
	}
}
.s2 h2::before {
	color: light-dark(#bd3d3d, #b33636);
}
.list-1:not(:first-child) {
	margin-block-start: 1em;
}
.list-1 {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 1em;
}
.list-1 > li {
	list-style: none;
	box-sizing: border-box;
	padding: .5em 1em;
	border-radius: .2em;
	background: light-dark(rgba(0,0,0,.05), rgba(255,255,255,.05));
	color: light-dark(#000, #e5e5e5);
	flex-grow: 1;
}
.list-1 > li > b {
	color: light-dark(#333, #ccc);
}
summary {
	padding: .5em;
	background: light-dark(rgba(0,0,0,.05), rgba(255,255,255,.05));
	color: light-dark(#000, #fff);
}
.front-info {
	background: url("../images/big.webp") center / cover no-repeat #111328;
	color: light-dark(#000, #e5e5e5);
	padding-block: 0;
}
.text-with-bg {
	padding-block: 1rem;
	padding-inline: 1.5rem;
	background: light-dark(rgba(255,255,255,.85), rgba(0,0,0,.75));
}
@media all and (min-width: 1200px) {
	.text-with-bg {
		padding-block: 2rem;
	}
}
.services:not(:first-child) {
	margin-block-start: 1em;
}
.services {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1em;
}
.services > a {
	box-sizing: border-box;
	background: light-dark(#fff, rgba(255,255,255,.05));
	color: light-dark(#000, #e5e5e5);
	padding: .5em 1em;
	border-radius: .2em;
	width: 286px;
	max-width: 100%;
	text-decoration: none;
	transition: background-color 300ms ease-out, color 300ms ease-out;
}
.services > a:hover,
.services > a:focus {
	background: light-dark(#bd3d3d, rgba(255,255,255,.15));
	color: light-dark(#fff, #e5e5e5);
}
.services > a:focus-visible {
	text-decoration: underline;
}
@media all and (prefers-color-scheme: light) {
	.front-info + .contacts {
		background: #fafafa;
		color: #000;
	}
}
.text-with-flag:not(:first-child) {
	margin-block-start: 1em;
}
.text-with-flag {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
}
.text-with-flag > :first-child {
	flex-grow: 1;
}
.text-with-flag > :last-child {
	flex-shrink: 0;
}
@media all and (max-width: 900px) {
	.text-with-flag {
		flex-wrap: wrap;
	}
}
@media all and (prefers-color-scheme: dark) {
	.text-with-flag > :last-child > img {
		opacity: .7;
	}
}
