@font-face {
	font-family: 'Heebo';
	src: url('./fonts/Heebo-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Heebo';
	src: url('./fonts/Heebo-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Heebo';
	src: url('./fonts/Yantramanav-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/**
	Block model normalization
 */
*,
::before,
::after {
	box-sizing: border-box;
}

/**
	Remove internal indentation on the left of list tags,
	which have the class attribute
  */
:where(ul, ol):where([class]) {
	padding-left: 0;
}

/**
	Remove external indentation of body and two other tags,
	which have the class attribute.
  */
body,
:where(blockquote, figure):where([class]) {
	margin: 0;
}

/**
	Remove external vertical indentation for necessary tags,
	which have class attribute
  */
:where(h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p,
	ul,
	ol,
	dl):where([class]) {
	margin-block: 0;
}

:where(dd[class]) {
	margin-left: 0;
}

:where(fieldset[class]) {
	margin-left: 0;
	padding: 0;
	border: none;
}

/**
	Remove the standard marker for a bulleted list,
	which has the class attribute
  */
:where(ul[class]) {
	list-style: none;
}

:where(address[class]) {
	font-style: normal;
}

/**
	Zero out vertical outer indents of a paragraph,
	declare a local variable for outer indent down,
	to avoid interaction with a more complex selector
  */
p {
	--paragraphMarginBottom: 24px;

	margin-block: 0;
}

/**
	External indent down for a paragraph without class attribute,
	which is not last among its neighboring elements
  */
:where(p:not([class]):not(:last-child)) {
	margin-bottom: var(--paragraphMarginBottom);
}


/**
	Simplify your work with images and videos
  */
img,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

/**
	Inherit font properties for input fields
  */
input,
textarea,
select,
button {
	font: inherit;
}

html {
	/**
		Useful in most situations
		(when, for example, you need to "pin" the footer to the bottom of the site)
	  */
	height: 100%;
	/**
		Remove interface horizontal jump
		when scrollbar appears / disappears
	  */
	scrollbar-gutter: stable;
}

/**
	Smooth Scrolling
  */
html,
:has(:target) {
	scroll-behavior: smooth;
}

body {
	/**
		Useful in most situations
		(when, for example, you need to "pin" the footer to the bottom of the site)
	  */
	min-height: 100%;
	/**
		Uniform interlineage
	  */
	line-height: 1.5;
}

svg *[fill] {
	fill: currentColor
}

svg *[stroke] {
	stroke: currentColor
}

/**
	Normalize the height of a link element when inspecting it in DevTools
  */
a:where([class]) {
	display: inline-flex;
}

/**
	Cursor-hand when hovering over an item
  */
button,
label {
	cursor: pointer;
}

/**
	Colorize the svg elements of
	(except those that already have the
	attribute fill with a value of 'none' or start with 'url')
  */
:where([fill]:not([fill="none"],
		[fill^="url"])) {
	fill: currentColor;
}

/**
	Colorize the svg elements of
	(except those that already have the stroke attribute 'none' set to)
  */
:where([stroke]:not([stroke="none"],
		[stroke^="url"])) {
	stroke: currentColor;
}

/**
	Fix color change delay bug when interacting with svg elements
  */
svg * {
	transition-property: fill, stroke;
}

/**
	Bringing table frames into classic 'collapse' view
  */
:where(table) {
	border-collapse: collapse;
	border-color: currentColor;
}

/**
	Remove all animations and transitions for people
	who prefer not to use them.
  */
@media (prefers-reduced-motion: reduce) {

	*,
	::before,
	::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

:root {
	--color-dark: #000000;
	--color-dark-alternate: #131619;
	--color-light: #FFFFFF;
	--color-dark-gray: #404040;
	--color-light-gray: #C4C4C4;

	--border-radius: 30px;
	--border: 1px solid var(--color-light);

	--font-family-base: 'Heebo', sans-serif;
	--font-family-accent: 'Yantramanav', sans-serif;

	--input-height: 54px;

	--container-width: 1300px;
	--container-padding-x: 15px;

	--transition-duration: 0.2s;

	--header-height: 90px;
}

body {
	font-family: var(--font-family-base);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-light-gray);
	background-color: var(--color-dark);
}

a,
button,
input,
textarea,
svg * {
	transition-duration: var(--transition-duration);
}

a {
	color: var(--color-light);
}

a:hover {
	color: var(--color-light-gray);
}

p {
	margin-block: 0;
}

p:not(:last-child) {
	margin-bottom: 24px;
}

.container {
	max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
	margin-inline: auto;
	padding-inline: var(--container-padding-x);
}

.container-wide {
	max-width: 1920px;
	margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-light);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	border: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	clip-path: inset(100%) !important;
	clip: rect(0 0 0 0) !important;
	overflow: hidden !important;
}

.button {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding-inline: 26px;
	font-size: 12px;
	font-weight: 700;
	line-height: 2;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-decoration: none;
	background-color: var(--color-light);
	border: none;
	border-radius: var(--border-radius);
	white-space: nowrap;
}

.button:hover {
	background-color: var(--color-light-gray);
}

.button.transparent {
	position: relative;
	height: var(--input-height);
	padding-left: 31px;
	padding-right: 80px;
	color: var(--color-light);
	background-color: transparent;
	border: var(--border);
}

.button.transparent::after {
	content: "";
	position: absolute;
	right: 0;
	height: 100%;
	aspect-ratio: 1;
	background: url('./icons/arrow-top-right.svg') center/70% no-repeat;
	border: var(--border);
	border-radius: 50%;
}

.button.transparent:hover {
	color: var(--color-dark);
	background-color: var(--color-light-gray);
}

.title-medium {
	font-size: clamp(20px, 2.08vw, 40px);
	line-height: 1.3;
}

.title-big {
	font-size: clamp(24px, 3.12vw, 60px);
}

.backdrop-title {
	position: relative;
	z-index: 2;
}

.backdrop-title::before {
	content: "";
	display: block;
	position: absolute;
	right: calc(100% + 8px);
	width: 26px;
	aspect-ratio: 1;
	background: url('./icons/plus.svg') center/contain no-repeat;
}

.backdrop-title::after {
	content: attr(data-title);
	position: absolute;
	top: -0.3em;
	left: -0.6em;
	z-index: -1;
	font-size: 2.8em;
	font-family: var(--font-family-accent);
	color: transparent;
	line-height: 1;
	-webkit-text-stroke: 1px var(--color-light-gray);
	text-stroke: 1px var(--color-light-gray);
}

.backdrop-title.centered::after {
	top: -0.25em;
	left: 50%;
	translate: -50% 0;
}

.input {
	width: 100%;
	height: var(--input-height);
	padding-inline: 25px;
	color: var(--color-light);
	background-color: transparent;
	border: 1px solid var(--color-light-gray);
	border-radius: var(--border-radius);
}

.input::placeholder,
select.input:invalid {
	color: var(--color-light-gray);
}

.input:hover {
	border-color: var(--color-light);
}

.input:focus {
	outline: none;
	color: var(--color-dark);
	background-color: var(--color-light-gray);
}

.section-description {
	font-size: 20px;
	line-height: 1.65;
	text-transform: uppercase;
	color: var(--color-light);
	text-align: center;
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	column-gap: 20px;
	min-height: var(--header-height);
	padding-inline: 32px;
	background-color: var(--color-dark-alternate);
}

.header-logo {
	flex-shrink: 0;
}

.header-menu-list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 50px;
}

.header-menu-link {
	display: inline-flex;
	align-items: center;
	column-gap: 7px;
	height: var(--header-height);
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
}

.header-menu-link.is-current::after {
	content: "";
	width: 5px;
	aspect-ratio: 1;
	background-color: currentColor;
	border-radius: 50%;
}

.header-actions {
	display: flex;
	column-gap: 40px;
}

.header-burger-button {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 4px;
	padding-left: 8px;
	width: 40px;
	aspect-ratio: 1;
	color: var(--color-light);
	background-color: transparent;
	border: var(--border);
	border-radius: 50%;
}

.header-burger-button:hover {
	color: var(--color-light-gray);
	border-color: currentColor;
}

.header-burger-button-line {
	width: 8px;
	height: 1px;
	background-color: currentColor;
	box-shadow: 14px 0 0 currentColor;
	;
}

.banner {
	display: flex;
	flex-direction: column;
	justify-content: end;
	min-height: calc(100vh - var(--header-height));
	padding: 36px 70px;
	color: var(--color-light);
	background-color: var(--color-dark-alternate);
}

.banner-body {
	text-transform: uppercase;
}

.banner-info {
	display: flex;
	align-items: end;
	font-size: clamp(16px, 1.56vw, 30px);
	line-height: 1.27;
	font-weight: 700;
}

.banner-info::before {
	content: "";
	width: clamp(60px, 18.75vw, 194px);
	aspect-ratio: 1;
	background: url('./icons/bold-arrow-down-right.svg') center/contain no-repeat;
	margin-right: 30px;
}

.banner-title {
	font-size: min(18.75vw, 360px);
	line-height: 1;
}

.banner-pagination-list {
	display: flex;
	justify-content: center;
}

.banner-pagination-item {
	display: flex;
}

.banner-pagination-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 7px;
	background-color: transparent;
	border: none;
}

.banner-pagination-button::after {
	content: "";
	width: 10px;
	aspect-ratio: 1;
	border: var(--border);
	border-radius: 50%;
	transition-duration: var(--transition-duration);
}

.banner-pagination-button.is-current::after {
	background-color: var(--color-light);
}

.banner-pagination-button:not(.is-current):hover::after {
	border-color: var(--color-light-gray);
}

.motivation-item:nth-child(even) {
	background-color: var(--color-dark-alternate);
}

.motivation-item:nth-child(even) .motivation-card {
	flex-direction: row-reverse;
}

.motivation-card {
	display: flex;
	justify-content: start;
	align-items: center;
	column-gap: clamp(10px, 10.42vw, 200px);
}

.motivation-card-title:not(:last-child) {
	margin-bottom: 14px;
}

.motivation-card-image {
	margin-block: -60px;
}

.motivation-card-body {
	padding-left: 35px;
	z-index: 2;
}

.motivation-card-description {
	min-width: 400px;
}

.motivation-card-description:not(:last-child) {
	margin-bottom: 37px;
}

.training-types {
	position: relative;
	padding-top: 70px;
	padding-bottom: 120px;
	background-color: var(--color-dark);
}

.training-types-list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 60px;
}

.training-types-item {
	--training-types-icon-bg-size: 80px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	row-gap: 32px;
	padding-top: var(--training-types-icon-bg-size);
	background: url('./icons/arrow-botton-left.svg') 100% 0/var(--training-types-icon-bg-size) no-repeat;
}

.training-types-item-title {
	font-size: 16px;
}

.join-us {
	background-color: var(--color-dark-alternate);
}

.join-us-video-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url('./images/join-us/background.jpg') center/cover no-repeat var(--color-dark-alternate);
	padding: 150px 30px;
}

.join-us-video {
	width: 100%;
	max-width: 960px;
	height: auto;
}

.join-us-video-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 200px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 4px;
	background-color: transparent;
	border: var(--border);
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-light);
}

.join-us-video-play-button::after {
	content: "";
	width: 26px;
	aspect-ratio: 1;
	background: url('./icons/arrow-top-right.svg') center/contain no-repeat;
	transition-duration: var(--transition-duration);
}

.join-us-video-play-button:hover {
	color: var(--color-dark);
	background-color: var(--color-light-gray);
}

.join-us-video-play-button:hover::after {
	filter: invert(1);
}

.join-us-body {
	padding-bottom: 150px;
}

.join-us-title {
	position: relative;
	margin-top: -0.4em;
	font-size: clamp(64px, 9.37vw, 180px);
	line-height: 1;
	text-align: center;
}

.join-us-title::after {
	content: "";
	display: inline-block;
	height: 0.7em;
	aspect-ratio: 1;
	margin-left: 0.14em;
	background: url('./icons/bold-arrow-down-right.svg') center/contain no-repeat;
	scale: 1 -1;
}

.join-us-title:not(:last-child) {
	margin-bottom: 130px;
}

.join-us-form-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 7px;
}

.join-us-form-header:not(:last-child) {
	margin-bottom: 52px;
}

.join-us-form-body {
	display: flex;
	justify-content: center;
	column-gap: 20px;
}

.join-us-form-input {
	max-width: 400px;
}

.location {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.location-map-image {
	width: 100%;
	height: auto;
}

.location-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 80px 15px;
	text-align: center;
}

.location-title:not(:last-child) {
	margin-bottom: 14px;
}

.location-description {
	max-width: 490px;
}

.location-description:not(:last-child) {
	margin-bottom: 37px;
}

.family {
	background-color: var(--color-dark-alternate);
}

.family-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 7px;
	padding-top: 132px;
	padding-bottom: 62px;
	text-align: center;
}

.family-body {
	display: flex;
	justify-content: center;
	column-gap: 26px;
	scroll-snap-type: x mandatory;
	overflow-x: scroll;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
}

.family-body::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.family-image {
	scroll-snap-align: start;
}

.calculate {
	padding-block: 146px;
	background-color: var(--color-dark-alternate);
}

.calculate-inner {
	display: flex;
	align-items: center;
	column-gap: 36px;
}

.calculate-body {
	flex-grow: 1;
	max-width: 627px;
}

.calculate-title:not(:last-child) {
	margin-bottom: 16px;
}

.calculate-description {
	max-width: 385px;
}

.calculate-description:not(:last-child) {
	margin-bottom: 30px;
}

.calculate-form-body {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 30px;
}

.calculate-form-body:not(:last-child) {
	margin-bottom: 26px;
}

.calculate-input.wide {
	grid-column: -1 / 1;
}

.calculate-table-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 610px;
}

.calculate-table-wrapper::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 100%;
	aspect-ratio: 1;
	background-color: var(--color-dark);
	border-radius: 50%;

}

.calculate-table {
	position: relative;
	border-collapse: collapse;
}

.calculate-table :is(td, th) {
	padding-right: 30px;
}

.calculate-table :is(td, th):not(:first-child) {
	padding-left: 30px;
}

.calculate-table :is(td, th):not(:last-child) {
	border-right: 1px solid var(--color-light-gray);
}

.calculate-table tbody td {
	border-top: 1px solid var(--color-light-gray);
}

.calculate-table tbody tr:last-child td:first-child {
	position: relative;
}

.calculate-table tbody tr:last-child td:first-child::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 70%;
	height: 1px;
	background-color: var(--color-light-gray);
}

.calculate-table th {
	padding-block: 20px;
	text-align: left;
	text-transform: uppercase;
	color: var(--color-light);
}

.calculate-table td {
	padding-block: 14px;
}

.calculate-table tfoot {
	color: var(--color-light);
}

.calculate-table tfoot td {
	padding-top: 33px;
	padding-bottom: 0;
}

.footer {
	--footer-logo-width: 20.77%;
}

.footer-main {
	padding-top: 140px;
	padding-bottom: 160px;
}

.footer-header,
.footer-body {
	display: grid;
	column-gap: 62px;
}

.footer-header {
	grid-template-columns: var(--footer-logo-width) auto;
	align-items: start;
}

.footer-header:not(:last-child) {
	margin-bottom: 60px;
}

.footer-logo-image {
	height: auto;
}

.footer-description {
	text-align: left;
}

.footer-body {
	grid-template-columns: var(--footer-logo-width) repeat(3, 1fr);
}

.footer-column-title {
	font-size: clamp(18px, 1.15wv, 22px);
}

.footer-column-title.has-arrow::after {
	content: "";
	display: inline-block;
	height: 0.74em;
	aspect-ratio: 1;
	margin-left: 0.5em;
	background: url('./icons/bold-arrow-down-right.svg') center/contain no-repeat;
	scale: -1 1;
}

.footer-column-title:not(:last-child) {
	margin-bottom: 15px;
}

.footer-schedule:not(:last-child) {
	margin-bottom: 13px;
}

.footer-address {
	font-style: normal;
}

.footer-address:not(:last-child) {
	margin-bottom: 35px;
}

.footer-subscribe {
	position: relative;
}

.footer-subscribe:not(:last-child) {
	margin-bottom: 50px;
}

.footer-subscribe-input {
	padding-right: 70px;
}

.footer-subscribe-button {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	aspect-ratio: 1;
	background: url('./icons/arrow-top-right.svg') center/70% no-repeat;
	border: var(--border);
	border-radius: 50%;
}

.footer-soc1als-list {
	display: flex;
	column-gap: 18px;
}

.footer-soc1als-link {
	display: flex;
	width: 23px;
	color: var(--color-light);
}

.footer-extra {
	padding-block: 15px;
	background-color: var(--color-dark-alternate);
	color: var(--color-light-gray);
}

.footer-copyright {
	font-size: 14px;
}

@media (max-width: 1919px) {
	.motivation-card-image {
		margin-block: -20px;
	}
}

@media (max-width: 1280px) {
	.training-types-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1024px) {
	.header {
		flex-wrap: wrap;
		row-gap: 10px;
		padding-top: 20px;
	}

	.header,
	.banner {
		padding-inline: 15px;
	}

	.header-menu {
		order: 1;
		flex-basis: 100%;
	}

	.header-menu-link {
		height: 50px;
	}

	.banner {
		row-gap: 10px;
	}

	.motivation-card {
		padding-block: 50px;
	}

	.motivation-card-image {
		min-width: 30%;
		height: auto;
		margin-block: 0;
	}

	.join-us-body {
		padding-bottom: 80px;
	}

	.join-us-title:not(:last-child) {
		margin-bottom: 80px;
	}

	.location {
		display: flex;
		flex-direction: column-reverse;
	}

	.family-image {
		height: 360px;
	}

	.calculate {
		padding-block: 100px;
	}

	.calculate-inner {
		column-gap: 20px;
	}

	.calculate-form-body {
		grid-template-columns: 1fr;
	}

	.calculate-button {
		width: 100%;
	}

	.calculate-table :is(td, th) {
		padding-block: 10px;
	}

	.calculate-table tfoot td {
		padding-top: 10px;
	}

	.footer-main {
		padding-top: 80px;
		padding-bottom: 50px;
	}

	.footer-header {
		display: flex;
		flex-direction: column;
		row-gap: 30px;
	}

	.footer-body {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 30px;
	}
}

@media (max-width: 762px) {
	.button {
		padding-inline: 18px;
	}

	.header {
		padding-top: 10px;
	}

	.header-menu-list {
		column-gap: 24px;
	}

	.header-menu-link {
		height: 32px;
	}

	.header-actions {
		column-gap: 15px;
	}

	.banner-info {
		margin-bottom: 5px;
	}

	.banner-info::before {
		margin-right: 10px;
	}

	.motivation-card {
		row-gap: 30px;
		padding-block: 30px;
	}

	.motivation-card,
	.motivation-item:nth-child(even) .motivation-card {
		flex-direction: column-reverse;
	}

	.motivation-card-image {
		min-width: 60%;
	}

	.motivation-card-description {
		min-width: 200px;
	}

	.motivation-card-description:not(:last-child) {
		margin-bottom: 20px;
	}

	.training-types-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.training-types-item {
		--training-types-icon-bg-size: 50px;

		row-gap: 10px;
	}

	.training-types-image {
		max-width: 120px;
	}

	.join-us-video-play-button {
		width: 140px;
	}

	.join-us-title:not(:last-child) {
		margin-bottom: 40px;
	}

	.section-description {
		font-size: 16px;
	}

	.join-us-form-body {
		flex-direction: column;
		align-items: center;
		row-gap: 20px;
	}

	.location-body {
		padding-block: 40px;
	}

	.location-description:not(:last-child) {
		margin-bottom: 20px;
	}

	.family-image {
		height: 180px;
	}

	.family-header {
		padding-top: 80px;
		padding-bottom: 50px;
	}

	.family-body {
		column-gap: 12px;
	}

	.calculate {
		padding-block: 60px;
	}

	.calculate-inner {
		flex-direction: column;
		row-gap: 30px;
	}

	.calculate-table-wrapper::before {
		display: none;
	}

	.footer-body {
		grid-template-columns: 1fr;
	}

	.footer-header:not(:last-child) {
		margin-bottom: 30px;
	}

	.footer-main {
		padding-top: 50px;
	}

	.footer-subscribe:not(:last-child) {
		margin-bottom: 40px;
	}
}