@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("./fonts/urbanist-v18-latin-regular.woff2") format("woff2");
}

@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("./fonts/urbanist-v18-latin-500.woff2") format("woff2");
}

@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("./fonts/urbanist-v18-latin-600.woff2") format("woff2");
}

@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("./fonts/urbanist-v18-latin-700.woff2") format("woff2");
}

@font-face {
	font-family: "Mulish";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("./fonts/mulish-v18-latin-regular.woff2") format("woff2");
}

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

body {
	background: #fafafa;
	overflow-x: hidden;
	padding-top: 20px;
}

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

:root {
	--font-primary: "Urbanist", sans-serif;
	--font-secondary: "Mulish", sans-serif;

	--fs-sm: 12px;
	--fs-smm: clamp(10px, 1vw, 14px);
	--fs-md: clamp(14px, 1vw, 16px);
	--fs-lg: clamp(16px, 1.2vw, 20px);
	--fs-xl: clamp(24px, 3vw, 48px);
	--fs-xxl: clamp(36px, 3.6vw, 55px);

	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;

	--gold: #ddac5e;
	--gold-20: rgba(221, 172, 94, 0.2);
	--gold-hover: #e39519;
	--white: #ffffff;
	--grey: #333333;
	--border-light: rgba(214, 214, 214, 0.5);

	--radius-10: 10px;
	--radius-20: 20px;
	--radius-50: 50px;

	--py-20: clamp(12px, 2vw, 20px);
	--pt-24: clamp(16px, 2.4vw, 24px) 0;
	--pt-48: clamp(24px, 4vw, 48px) 0;
}

.flex {
	display: flex;
}

.block {
	display: block;
}

.inline-flex {
	display: inline-flex;
}

.flex-col {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.items-center {
	align-items: center;
}

.justify-center {
	justify-content: center;
}

.relative {
	position: relative;
}

.min-w-0 {
	min-width: 0;
}

.gap-6 {
	gap: 6px;
}

.gap-8 {
	gap: 8px;
}

.gap-16 {
	gap: 16px;
}

.gap-18 {
	gap: 16px;
}

.gap-24 {
	gap: 24px;
}

.gap-36 {
	gap: 36px;
}

.gap-150 {
	gap: clamp(70px, 10vw, 150px);
}

.mt-20 {
	margin-top: 20px;
}

.mt-70 {
	margin-top: 70px;
}

.max-w-full {
	max-width: 100%;
}

.h-auto {
	height: auto;
}

.max-w-620 {
	max-width: 620px;
}

.max-w-572 {
	max-width: 572px;
}

.flex-basis-60 {
	flex: 0 1 60%;
}

.flex-basis-40 {
	flex: 0 1 40%;
}

.text-center {
	text-align: center;
}

.font-primary {
	font-family: var(--font-primary);
}

.font-secondary {
	font-family: var(--font-secondary);
}

.text-smm {
	font-size: var(--fs-smm);
}

.text-md {
	font-size: var(--fs-md);
}

.text-lg {
	font-size: var(--fs-lg);
}

.text-xl {
	font-size: var(--fs-xl);
}

.text-xxl {
	font-size: var(--fs-xxl);
}

.fw-regular {
	font-weight: var(--fw-regular);
}

.fw-medium {
	font-weight: var(--fw-medium);
}

.fw-semibold {
	font-weight: var(--fw-semibold);
}

.fw-bold {
	font-weight: var(--fw-bold);
}

.lh-100 {
	line-height: 1;
}

.lh-110 {
	line-height: 1.1;
}

.text-grey {
	color: var(--grey);
}

.border-grey {
	border: 1px solid var(--border-light);
}

.border-gold {
	border: 1px solid var(--gold-20);
}

.border-radius-10 {
	border-radius: var(--radius-10);
}

.border-radius-20 {
	border-radius: var(--radius-20);
}
.border-radius-50 {
	border-radius: var(--radius-50);
}

.py-20 {
	padding: var(--py-20);
}
.pt-24 {
	padding: var(--pt-24);
}
.pt-48 {
	padding: var(--pt-48);
}

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

.cursor-pointer {
	cursor: pointer;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.3s;
	font-family: var(--font-primary);
	font-size: var(--fs-md);
	font-weight: var(--fw-bold);
	max-width: 200px;
	width: 100%;
	text-decoration: none;
}

.btn-primary {
	background-color: var(--gold);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--gold-hover);
}

.hero-left {
	flex: 1 1 0;
	max-width: clamp(560px, 48vw, 700px);
}

.hero-right {
	flex: 1 1 0;
	min-width: 0;
	position: relative;
}

.hero-right > img {
	width: clamp(260px, 30vw, 382px);
	height: auto;
	flex: 0 1 auto;
}

.hero-popup {
	position: absolute;
	right: 0;
	bottom: 0;

	max-width: clamp(220px, 26vw, 340px);
}

.hero-popup span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.grid-cadr-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;

	/* на всякий случай для ul */
	padding: 0;
	margin: 0;
	list-style: none;
}

.grid-cadr-layout > li {
	/* карточка не растягивается, а переносится */
	flex: 0 1 400px; /* желаемая ширина */
	min-width: 300px; /* нижняя граница */
	max-width: 400px; /* верхняя граница */
}

@media (max-width: 992px) {
	.grid-cadr-layout > li {
		/* карточка не растягивается, а переносится */
		flex: 0 1 100%; /* желаемая ширина */
		min-width: 100%; /* нижняя граница */
		max-width: 100%; /* верхняя граница */
	}
}

.card {
	width: 100%;
	padding: 30px;

	display: grid;
	grid-template-columns: 32px 1fr;
	align-items: center;
	column-gap: 15px;

	min-height: 96px;
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	position: relative;
}

.steps::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 12.5%;
	right: 12.5%;
	height: 2px;
	background-color: var(--gold);
	z-index: 0;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 1;
	background: transparent;
	min-width: 0;
}

.step-circle {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: 2px solid var(--gold);
	color: var(--gold);
	font-family: var(--font-primary);
	font-size: 24px;
	font-weight: var(--fw-semibold);

	display: flex;
	align-items: center;
	justify-content: center;

	background: var(--white);
	z-index: 1;
}
.step-text {
	padding: 12px 0 6px 0;
}

.step-text,
.step-item p {
	max-width: 300px;
	width: 100%;
}

.mi-row > img {
	max-width: 100%;
	height: auto;
	flex: 0 1 48%;
	min-width: 0;
}

.mi-row > div {
	flex: 1 1 26%;
	min-width: 0;
}

.full-bleed-white {
	position: relative;
	background: transparent;
}

.full-bleed-white::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;

	background: var(--white);
	z-index: -1;
}

.list-disc {
	list-style-type: disc;
}
.list-inside {
	list-style-position: inside;
}
.text-center {
	text-align: center;
}

.footer-grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;

	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px 40px;
}

.footer-logo {
	align-self: start;
}

.footer-links {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 24px;
}

.footer-links a {
	font-family: var(--font-secondary);
	font-size: var(--fs-md);
	color: var(--grey);
	font-weight: var(--fw-bold);
	text-decoration: none;

	background-image: linear-gradient(currentColor, currentColor);
	background-size: 100% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
}

.footer-text {
	grid-column: 1 / -1;
	font-family: var(--font-secondary);
	font-size: var(--fs-sm);
	line-height: 1.4;
	color: #838382;
}
.footer-top {
	display: contents;
}

@media (max-width: 992px) {
	.mt-20 {
		margin-top: 10px;
	}
	.gap-36 {
		gap: 24px;
	}
	.gap-24 {
		gap: clamp(10px, 2vw, 16px);
	}
	.hero-section {
		flex-direction: column;
	}
	.hero-left {
		flex: initial;
		max-width: initial;
		text-align: center;
		align-items: center;
	}
	.hero-left br {
		display: none;
	}
	.max-w-572 {
		max-width: initial;
	}
	.grid-cadr-layout {
		grid-template-columns: repeat(1, 1fr);
	}
	.hero-right {
		flex: initial;
		width: 100%;
	}
	.hero-right > img {
		width: clamp(164px, 50vw, 400px);
		flex: initial;
	}
	.hero-popup {
		width: 100%;
		padding: 20px;
		max-width: clamp(200px, 40vw, 400px);
	}
	.hero-popup span {
		font-size: var(--fs-lg);
	}
	.card {
		padding: 16px;
		column-gap: 12px;
		min-height: initial;
		grid-template-columns: 30px 1fr;
	}
	.footer-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.footer-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.footer-links {
		display: flex;
		gap: 12px;
		flex-wrap: wrap;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		text-align: right;
	}

	.footer-logo {
		flex: 0 0 auto;
		height: auto;
		width: clamp(150px, 35vw, 250px);
	}

	.footer-text {
		margin-top: 6px;
		font-size: 10px;
	}
}
@media (max-width: 768px) {
	.hero-popup {
		padding: 12px;
	}
	.hero-popup span {
		font-size: clamp(12px, 1vw, 16px);
	}
	.hero-popup ul {
		gap: clamp(10px, 2vw, 16px);
	}
	.btn {
		min-height: 31px;
		font-size: 14px;
		padding: 8px 30px;
		font-weight: var(--fw-bold);
		max-width: 142px;
	}
	.mi-row {
		flex-direction: column;
	}
	.mi-row > div {
		width: 100%;
	}
	.gap-16 {
		gap: 12px;
	}
}

@media (max-width: 620px) {
	.steps {
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 16px;
		row-gap: 32px;
		position: relative;
	}

	.steps::before {
		content: "";
		position: absolute;
		right: auto;
		height: auto;

		left: 28px;
		top: 22px;
		bottom: 22px;
		width: 2px;

		background-color: var(--gold);
		display: block;
		z-index: 0;
	}

	.step-item {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 16px;
		align-items: start;
		text-align: left;
		position: relative;
		z-index: 1;
		min-width: 0;
	}

	.step-item > p {
		font-size: var(--fs-sm);
	}

	.step-circle {
		width: 36px;
		height: 36px;
		grid-column: 1;
		grid-row: 1 / span 2;
		justify-self: center;
		background: var(--white);
		font-size: 20px;
		z-index: 2;
	}

	.step-text {
		grid-column: 2;
		padding: 0;
		margin-top: 2px;
	}

	.step-item p {
		grid-column: 2;
		max-width: none;
		width: 100%;
	}
	.support > li {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	body {
		padding-top: 16px;
	}
	.hero-popup {
		padding: 12px 8px;
	}
	.hero-popup > ul {
		gap: 6px;
	}
	.hero-popup ul > li > img {
		width: 8px;
		height: 8px;
	}
	.hero-popup span {
		font-size: 10px;
		overflow-wrap: initial;
	}
}
@media (max-width: 376px) {
	.hero-right > img {
		width: clamp(164px, 40vw, 200px);
		flex: initial;
	}
}
