/* Fonts */

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-MediumItalic.woff2') format('woff2');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-BoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Angst';
	src: url('../fonts/Angst-NormalSerif.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Gogol';
	src: url('../fonts/gogol.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}






/* Reset */

* {padding: 0;	margin: 0; -webkit-tap-highlight-color: transparent;}
*, *:before, *:after {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
:focus, :active, a:focus, a:active {outline: none;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
	width: 100%;
	min-height: 100%;
	font-size: 100%;
	line-height: normal;
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
}

input, button, textarea, select {
	font-family: inherit;
	background: none;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
input::placeholder, textarea::placeholder {opacity: 1;}
input::-ms-clear {display: none;}
button::-moz-focus-inner {padding: 0; border: 0;}
button, .button, input[type="button"], input[type=submit] {cursor: pointer;}
button[disabled], input[disabled] {cursor: default;}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {display: none;}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {-webkit-appearance: none;}
input[type="number"] {-moz-appearance: textfield;}

a, a:hover, a:visited {text-decoration: none;}
img {vertical-align: top; max-width: 100%;}

h1,h2,h3,h4,h5,h6 {font-size: inherit; font-weight: normal;}

ol, ul {list-style: none;}

table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: inherit;}





/* Variables */

:root {
	--text-family: 'Raleway', sans-serif;
	--title-family: 'Angst', sans-serif;
	--other-family: 'Gogol', sans-serif;

	--white: #f7f7f7;
	--beige: #f0e0d6;
	--brown: #695a4b;
	--darkbrown: #524436;
	--black: #202020;

	--section-padding: 40rem;
	--section-margin: 130rem;
	--container-width: 1920rem;
	
	--background: var(--beige); 
	
	--default-text-color: var(--brown);
	--default-text-size: 30rem;
	--default-font-weight: 400;
	--default-line-height: 1.3;

	--title-size: 110rem;
	--title-line-height: 1.1;
	--title-margin: 30rem;
	--title-color: var(--default-text-color);
	--subtitle-size: 40rem;
	
	--gap: 20rem;
	--transition: 0.3s;

	--button-height: 124rem;
	--button-text-size: 34rem;
	--card-padding: 40rem;
}



/* Global */

html {
	font-size: 0.052vw;
}

body {
	font-family: var(--text-family);
	font-weight: var(--default-font-weight);
	font-size: var(--default-text-size);
	line-height: var(--default-line-height);
	color: var(--default-text-color);
	background: var(--background); 
	position: relative;
	font-variant-numeric: lining-nums;
}

body::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1500;
	pointer-events: none;
/*	background-image: url(../img/noise.png); 
	opacity: 0.8;
	animation: noise 1s steps(10) infinite;*/
}
@keyframes noise {
/*		100% {background-position: -100% 100%;}*/
}

main {
	overflow: clip;
}

section {
	width: 100%;
	padding-inline: var(--section-padding);
	margin-bottom: var(--section-margin);
	position: relative;
}

.container, [class$="__container"] {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
}

.section-dark {
	--title-color: var(--beige);
	color: var(--white);
	background: var(--black);
	margin-block: 320rem;
	padding-top: 80rem;
	padding-bottom: 40rem;
}
.section-dark::before,
.section-dark::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	aspect-ratio: 1920 / 240;
	background: url(../img/section-bg.png) center / cover no-repeat;
}
.section-dark::before {
	bottom: calc(100% - 2rem);
}
.section-dark::after {
	top: calc(100% - 2rem);
	transform: scale(-1,-1);
}

.title {
	font-family: var(--title-family);
	font-weight: 400;
	font-size: var(--title-size);
	line-height: var(--title-line-height);
	color: var(--title-color);
	text-transform: uppercase;
	text-align: center;
	display: block;
	margin-bottom: var(--title-margin);
}
.subtitle {
	font-weight: 700;
	font-size: var(--subtitle-size);
	text-transform: uppercase;
	text-align: center;
	color: var(--title-color);
	margin-bottom: var(--title-margin);
}

a, a:before {
	transition: 0.3s;
}

b {
	font-weight: 700;
}

.nowrap {
	white-space: nowrap;
}

.cover {
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.contain {
	object-fit: contain;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.313em;
	width: 100%;
	height: var(--button-height);
	padding: 20rem;
	border: none;
	background: var(--brown);
	color: var(--white);
	font-weight: 700;
	font-size: var(--button-text-size);
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.4s, background-color 0.4s;
	position: relative;
}
@media (hover: hover) {
	.button:hover {
		background: var(--darkbrown);
	}
}
.button:active {
	transform: scale(0.98);
}







/* Header */

.header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}
.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10rem;
	padding: var(--section-padding) 0;
	max-width: 910rem;
}
.header__logo {
	width: 355rem;
}
.header__link {
	display: block;
	position: relative;
	width: 58rem;
	aspect-ratio: 1;
	transition: filter 0.3s;
}
.header__link:hover {
	filter: brightness(75%);
}
.header__link_email {
	order: -1;
}





/* Hero */

.hero {
	display: grid;
	grid-template-columns: 1fr 910rem 1fr;
	grid-gap: var(--gap);
}
.hero__maincontent {
	padding-top: 105rem;
	position: relative;
}
.hero__date {
	font-weight: 500;
	text-align: center;
	position: absolute;
	right: 0;
	top: 230rem;
	display: grid;
	justify-items: center;
}
.hero__date::before {
	content: '';
	display: block;
	width: 1.333em;
	aspect-ratio: 1;
	background: url(../img/icon.svg) center / contain no-repeat;
	margin-bottom: 10rem;
}
.hero__date span {
	font-weight: 400;
	font-size: 22rem;
	text-transform: uppercase;
	opacity: 0.5;
	display: block;
}
.hero__author {
	font-family: var(--other-family);
	font-size: 54rem;
	text-align: right;
	transform: translateY(12rem);
}
.hero__title {
	line-height: 1;
	text-align: left;
}
.hero__bigtitle {
	font-size: 250rem;
	white-space: nowrap;
}
.hero__symboltitle {
	position: relative;
}
.hero__symboltitle::before {
	content: '';
	position: absolute;
	top: 0.31em;
	left: 0.26em;
	display: block;
	width: 0.28em;
	aspect-ratio: 1;
	background: url(../img/icon.svg) center / contain no-repeat;
}
.safari .hero__symboltitle::before {
	top: 0.5em;
}
.hero__smalltitle {
	display: block;
	text-align: right;
}
.hero__subtitle {
	margin-top: -20rem;
	margin-bottom: 0;
}
.hero__desc {
	max-width: 694rem;
	margin-inline: auto;
	text-align: center;
}
.hero__desc_mob {
	display: none;
}
.hero__ul {
	grid-column: 1 / -1;
	border-top: 1px solid var(--brown);
	border-bottom: 1px solid var(--brown);
	width: calc(100% + var(--section-padding) * 2);
	margin-left: calc(var(--section-padding) * -1);
	padding: 15rem;
	display: flex;
	justify-content: center;
	gap: 10rem;
}
.hero__li {
	font-size: 32rem;
	display: flex;
	align-items: center;
	gap: 0.313em;
}
.hero__li::before,
.hero__li:last-child:after {
	content: '';
	display: block;
	width: 0.938em;
	aspect-ratio: 1;
	background: url(../img/icon.svg) center / contain no-repeat;
}
.hero__footer {
	grid-column: 1 / -1;
	display: flex;
	gap: var(--gap);
}
.hero__text b {
	display: block;
}
.hero__button {
	width: 755rem;
	flex-shrink: 0;
}
.hero__pic {
	position: relative;
	grid-row: 1 / span 2;
}
.hero__pic_left {
	grid-column: 1;
	margin-top: calc(var(--section-padding) * -1);
}
.hero__pic_right {
	grid-column: 3;
}





/* About */

.about__title {
	margin-bottom: 0;
}
.about__subtitle {
	font-family: var(--other-family);
	text-transform: none;
	font-weight: 400;
	font-size: 100rem;
}
.about__text {
	display: grid;
	justify-items: center;
	gap: 1em;
	text-align: center;
	margin-bottom: 60rem;
}
.about__text p {
	max-width: 1387rem;
}
.about__text p:last-child {
	max-width: 1083rem;
}
.about__list {
	display: grid;
	grid-template-columns: repeat(2, 500rem);
	grid-template-rows: repeat(3, 1fr);
	grid-auto-flow: column;
	justify-content: space-between;
}
.about__item {
	font-weight: 700;
	font-style: italic;
	text-align: center;
	color: var(--brown);
	display: block;
	width: 100%;
	aspect-ratio: 500 / 270;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 60rem;
	background: url(../img/about-item-bg.png) center / contain no-repeat;
}
.about__item:nth-child(1),
.about__item:nth-child(3) {
	margin-left: 107rem;
}
.about__item:nth-child(4),
.about__item:nth-child(6) {
	margin-left: -107rem;
}
.about__pic {
	position: absolute;
	bottom: 164rem;
	left: 500rem;
	width: 840rem;
	aspect-ratio: 1;
}
.about__button {
	width: 600rem;
	margin-inline: auto;
}





/* Focus */

.focus__title {
	max-width: 1220rem;
	margin-inline: auto;
	margin-bottom: 20rem;
}
.focus__content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: var(--gap);
}
.focus__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: var(--gap);
}
.focus__card {
	border: 2rem solid var(--brown);
	padding: var(--card-padding);
	padding-right: calc(var(--card-padding) * 2);
	display: grid;
	align-content: space-between;
	grid-gap: 60rem;
}
.focus__card::before {
	content: '';
	display: block;
	width: 1.333em;
	aspect-ratio: 1;
	background: url(../img/icon.svg) center / contain no-repeat;
}
.focus__button {
	height: 100%;
}
.focus__button_mob {
	display: none;
}
.focus__pic {
	position: relative;
	width: 100%;
	aspect-ratio: 910 / 930;
	grid-column: 2;
	grid-row: 1;
	align-self: end;
}
.focus__text {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	position: relative;
	z-index: 2;
	border: 2rem solid var(--brown);
	background: var(--beige);
	padding: var(--card-padding);
	margin: 30rem;
}




/* Benefits */

.benefits__title {
	max-width: 950rem;
	margin-inline: auto;
}
.benefits__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: var(--gap);
	margin-bottom: var(--gap);
	background: url(../img/benefits-bg.svg) center / contain no-repeat;
}
.benefits__card {
	background: var(--brown);
	color: var(--white);
	padding: var(--card-padding);
	display: grid;
	grid-gap: 10rem;
	align-content: space-between;
	min-height: 345rem;
	counter-increment: item-counter;
	position: relative;
	overflow: hidden;
}
.benefits__card::before {
	content: counter(item-counter, decimal-leading-zero);
	font-family: var(--other-family);
	font-size: var(--title-size);
	color: var(--beige);
	opacity: 0.2;
	position: absolute;
	top: -0.35em;
	right: 0;
}
.benefits__card:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
}
.benefits__card:nth-child(4) {
	grid-column: 3;
	grid-row: 2;
}
.benefits__card:nth-child(5) {
	grid-column: 1;
	grid-row: 3;
}
.benefits__caption {
	font-weight: 700;
	text-transform: uppercase;
}
.benefits__text {
	font-size: 27rem;
}
.benefits__pic {
	grid-column: 3;
	grid-row: 3;
	position: relative;
}




/* Program */

.program__title {
	margin-bottom: 10rem;
}
.program__text {
	text-align: center;
	max-width: 990rem;
	margin-inline: auto;
	margin-bottom: 20rem;
}
.program__info {
	display: flex;
	align-items: center;
	width: fit-content;
	margin-inline: auto;
	opacity: 0.5;
	margin-bottom: 40rem;
}
.program__info::before {
	content: '';
	display: block;
	width: 1.167em;
	aspect-ratio: 35 / 38;
	margin-right: 0.667em;
	background: url(../img/program-icon.svg) center / contain no-repeat;
	flex-shrink: 0;
}
.program__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	grid-gap: 2rem;
	margin-bottom: var(--gap);
}
.program__card {
	position: relative;
	padding: calc(var(--section-padding) * 1.4) var(--card-padding);
	cursor: pointer;
	overflow: hidden;
	text-align: center;
	color: var(--beige);
}
.program__caption {
	font-family: var(--title-family);
	font-size: 80rem;
	line-height: 1.1;
	text-transform: uppercase;
	margin-bottom: var(--gap);
	position: relative;
	z-index: 1;
}
.program__desc {
	font-weight: 700;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}
.program__image {
	transition: 0.6s;
}
@media (hover: hover) {
	.program__card:hover .program__image{
		transform: scale(1.15);
		filter: brightness(120%);
	}
}




/* Lesson */

.lesson__title {
	font-size: 80rem;
	margin-bottom: 10rem;
}
.lesson__subtitle {
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: var(--gap);
}
.lesson__text {
	text-align: center;
}




/* Author */

.author__caption {
	font-family: var(--other-family);
	font-size: 100rem;
	text-align: center;
	margin-bottom: 10rem;
}
.author__title {
	max-width: 1200rem;
	margin-inline: auto;
}
.author__content {
	display: grid;
	grid-template-columns: 1fr 600rem 1fr;
	grid-gap: var(--gap);
}
.author__text {
	display: grid;
	grid-gap: 20rem;
}
.author__text_left {
	grid-row: span 2;
}
.author__text_bottom {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-auto-flow: column;
	margin-top: var(--gap);
}
.author__text_bottom::before {
	content: '';
	display: block;
	width: 2rem;
	background: var(--brown);
	grid-column: 2;
}
.author__ul {
	display: grid;
	grid-gap: 24rem;
}
.author__ul li {
	padding-left: 1.667em;
	position: relative;
}
.author__ul li::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 1.333em;
	aspect-ratio: 1;
	background: url(../img/icon.svg) center / contain no-repeat;
}
.author__photo {
	grid-row: span 2;
	position: relative;
	overflow: hidden;
	border-radius: 1000rem 1000rem 0 0;
}
.author__quote {
	font-weight: 700;
	font-style: italic;
	color: var(--white);
	background: var(--brown);
	padding: 1em;
	padding-right: 50rem;
	align-self: end;
}




/* Audience */

.audience__title {
	margin-bottom: 10rem;
}
.audience__text {
	max-width: 950rem;
	margin-inline: auto;
	margin-bottom: 50rem;
}
.audience__list {
	display: grid;
	grid-template-columns: 1fr 910rem 1fr;
	grid-template-rows: repeat(4, auto);
	grid-auto-flow: column;
	grid-gap: var(--gap);
}
.audience__item {
	font-size: 28rem;
	counter-increment: item-counter;
}
.audience__item::before {
	content: counter(item-counter, decimal-leading-zero)'.';
	display: block;
	font-family: var(--title-family);
	font-size: 70rem;
	line-height: 1.1;
	margin-bottom: 10rem;
	color: var(--beige);
	opacity: 0.2;
}
.audience__pic {
	grid-column: 2;
	grid-row: 1 / span 4;
	align-self: center;
}
.audience__item_center {
	grid-row: 5;
	grid-column: 1 / -1;
	justify-self: center;
	max-width: 688rem;
	text-align: center;
}




/* Tariff */

.tariff {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: var(--gap);
	background: url(../img/tariff-decor.svg) top right var(--section-padding) / 175rem no-repeat;
}
.tariff__title {
	text-align: left;
}
.tariff__pricing {
	background: url(../img/about-item-bg.png) center / contain no-repeat;
	display: grid;
	justify-items: center;
	align-content: center;
	padding: 100rem 25rem;
	min-height: 510rem;
	width: calc(100% + 80rem);
	margin-right: -80rem;
	margin-left: -30rem;
	margin-top: -110rem;
	margin-bottom: -20rem;
}
.tariff__text {
	max-width: 524rem;
	text-align: center;
	margin-bottom: 10rem;
}
.tariff__price {
	font-family: var(--title-family);
	font-size: var(--title-size);
	line-height: 1.1;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 0.182em;
}
.tariff__price::before,
.tariff__price::after {
	content: '';
	display: block;
	width: 0.364em;
	aspect-ratio: 1;
	background: url(../img/icon.svg) center / contain no-repeat;
}
.tariff__oldprice {
	font-family: var(--title-family);
	font-size: 60rem;
	line-height: 1.1;
	text-transform: uppercase;
	position: relative;
}
.tariff__oldprice::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 3rem;
	background: var(--brown);
}
.tariff__note {
	font-weight: 700;
	font-style: italic;
}
.tariff__pic {
	position: relative;
	grid-column: 1;
	grid-row: 1 / span 4;
	width: 100%;
	aspect-ratio: 910 / 855;
	align-self: end;
}




/* Result */

.result {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: var(--gap);
}
.result__head {
	padding-top: 20rem;
}
.result__sticky {
	position: sticky;
	top: 40rem;
}
.result__pretitle {
	font-family: var(--other-family);
	font-size: 100rem;
	line-height: 1.1;
	margin-bottom: 10rem;
}
.result__title {
	text-align: left;
}
.result__list {
	display: grid;
	grid-gap: var(--gap);
}
.result__item {
	border: 2rem solid var(--brown);
	padding: var(--card-padding);
}
.result__number {
	font-family: var(--other-family);
	font-size: 54rem;
	line-height: 1.1;
	margin-bottom: 60rem;
}
.result__caption {
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 10rem;
}





/* Reviews */

.reviews__title {
	margin-bottom: 10rem;
}
.reviews__intro {
	max-width: 1200rem;
	margin-inline: auto;
	text-align: center;
	margin-bottom: 30rem;
}
.reviews__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: var(--gap);
}
.reviews__item {
	border: 2rem solid var(--brown);
	padding: var(--card-padding);
}
.reviews__item::before {
	content:'';
	display: block;
	width: 71rem;
	aspect-ratio: 71 / 60;
	margin-bottom: 20rem;
	background: url(../img/reviews-icon.svg) center / contain no-repeat;
}
.reviews__text {
	letter-spacing: -0.002em;
	margin-bottom: 20rem;
}
.reviews__author {
	font-weight: 700;
	font-style: italic;
}






/* Footer */

.footer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 30rem 50rem;
	padding: var(--section-padding);
	color: var(--beige);
	background: var(--black);
	margin-top: 320rem;
	padding-top: 80rem;
	position: relative;
}
.footer::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	aspect-ratio: 1920 / 240;
	background: url(../img/section-bg.png) center / cover no-repeat;
}
.footer::before {
	bottom: calc(100% - 2rem);
}

.footer__logo {
	width: 448rem;
	grid-column: 1 / span 2;
}
.footer__logo img {
	width: 100%;
}
.footer__info {
	grid-column: 1;
	font-size: 24rem;
	display: grid;
	grid-gap: var(--gap);
	align-content: start;
}
.footer__infoitem {
	opacity: 0.5;
}
.footer__copyright {
	font-weight: 700;
	font-style: italic;
}
.footer__copyright_mob {
	display: none;
}
.footer__links {
	grid-column: 2;
	font-size: 24rem;
	display: grid;
	grid-gap: var(--gap);
	align-content: start;
}
.footer__link {
	color: var(--beige);
	opacity: 0.5;
	width: fit-content;
	position: relative;
}
.footer__link:hover {
	opacity: 1;
}

.footer__contacts {
	grid-column: 3;
	grid-row: 1 / span 2;
}
.footer__caption {
	font-weight: 700;
	font-style: italic;
	font-size: 26rem;
	margin-bottom: 30rem;
}
.footer__contactlist {
	font-size: 24rem;
	display: grid;
	grid-gap: var(--gap);
}
.footer__contacticon {
	width: 1em;
	height: 1em;
	margin-top: 0.1em;
	margin-right: 0.2em;
}
.footer__contactlink {
	color: var(--beige);
}
.footer__contactlink:hover {
	opacity: 0.7;
}
.footer__contacttext {
	padding-left: 1.4em;
}
.footer__privacy {
	grid-column: 1 / -1;
	font-weight: 700;
	font-style: italic;
}





/* Popup */

.popup {
	--popup-max-width: 1200rem;
	--popup-padding: 80rem 130rem;
	--popup-radius: 0;
	--popup-color: var(--beige);
	--popup-close-size: 50rem;
	--popup-close-bg: none;
	--popup-close-padding: 0;
	--popup-close-margin: 40rem;
	--popup-close-radius: 0;
	--popup-close-line-width: 2rem;
	--popup-close-line-color: var(--brown);
	--popup-close-line-radius: 0;
	--popup-overlay-color: rgba(105, 90, 75, 0.2);

	position:fixed;
	top:0;
	left: 0;
	width: 100%;
	height: calc(100% + 70px);
	padding: 15px;
	padding-top: calc(var(--popup-close-size) + var(--popup-close-size) / 3 * 2);
	padding-bottom: calc(15px + 70px);
	overflow: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	display: flex;
	z-index: 1001;
	visibility: hidden;
}
.popup_show {
	visibility: visible;
	overflow-y: scroll;
}
.popup__box {
	position: relative;
	margin: auto;
	width: 100%;
	max-width: var(--popup-max-width);
	background: var(--popup-color); 
	padding: var(--popup-padding); 
	border-radius: var(--popup-radius);
	border: 2rem solid var(--brown);
	color: var(--brown);
	z-index: 1001;
	transform: translateY(-10vh) scale(0.7);
	opacity: 0;
}
.popup_show .popup__box {
	transition: transform 0.4s, opacity 0.4s;
	transform: translateY(0) scale(1);
	opacity: 1;
}
.popup__close {
	position: absolute;
	top: 0;
	right: 0;
	width: var(--popup-close-size);
	height: var(--popup-close-size);
	background: var(--popup-close-bg);
	margin: var(--popup-close-margin);
	padding: var(--popup-close-padding);
	border-radius: var(--popup-close-radius);
	border: none;
	cursor: pointer;
}
.popup__close-icon {
	display: block;
	position: relative;
	height: 100%;
	transition: 0.3s;
}
.popup__close-icon:after, 
.popup__close-icon:before {
	content: '';
	display: block;
	width: 120%;
	left: -10%;
	position: absolute;
	top: 50%;
	height: var(--popup-close-line-width);
	background: var(--popup-close-line-color);
	border-radius: var(--popup-close-line-radius);
}
.popup__close-icon:after {
	transform: translateY(-50%) rotate(45deg);
}
.popup__close-icon:before {
	transform: translateY(-50%) rotate(-45deg);
}
.popup__close:hover .popup__close-icon {
	transform: rotate(180deg);
}

.popup__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100vh + 140px);
	transform: translateY(-70px);
	background: var(--popup-overlay-color);
	z-index: 1000;
	backdrop-filter: blur(10px);
	transition: 0.4s;
	opacity: 0;
}
.popup_show .popup__overlay {
	opacity: 1;
}




/* Order */

.order {
	text-align: center;
}
.order__text {
	font-size: var(--default-text-size);
	margin: 1em 0;
}
.order__whatsapp {
	font-size: calc(var(--default-text-size) * 1.4);
	color: var(--brown-50);
	text-transform: none;
}
@media (hover: hover) {
	.order__whatsapp:hover {
		color: var(--brown);
	}
}




/* Cookie */

.cookie {
	--cookie-box-margin: 30rem;
	--cookie-box-width: 520rem;
	--cookie-box-padding: 40rem;
	--cookie-box-radius: 10rem;
	--cookie-box-color: rgb(33, 33, 33);
	--cookie-box-shadow: 0 0 30rem rgba(0,0,0, 0.1);
	--cookie-text-color: var(--white);
	--cookie-text-size: 16px;
	/*--cookie-text-size: inherit;*/
	--cookie-button-margin: 20rem;
	--cookie-button-position: start; /* start, center, end */
	--cookie-button-padding: 0.7em 1.5em;
	--cookie-button-radius: 8rem;
	--cookie-button-color: var(--brown);
	--cookie-button-text-color: var(--white-80);
	--cookie-button-hover-color: #756555;
	--cookie-button-hover-text-color: white;
	/*	--cookie-button-text-size: inherit;*/
    --cookie-button-text-size: 16px;

	font-size: var(--cookie-text-size);
	color: var(--cookie-text-color);
	padding: var(--cookie-box-padding);
	border-radius: var(--cookie-box-radius);
	background: var(--cookie-box-color);
	box-shadow: var(--cookie-box-shadow);
	display: grid;
	position: fixed;
	bottom: var(--cookie-box-margin);
	left: auto;
	right: var(--cookie-box-margin);
	width: 100%;
	max-width: min(var(--cookie-box-width), calc(100% - var(--cookie-box-margin) * 2));
	z-index: 100;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s;
}
.cookie_open {
	opacity: 1;
	pointer-events: all;
}
.cookie__button {
	justify-self: var(--cookie-button-position);
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: var(--cookie-button-padding);
	border: none;
	border-radius: var(--cookie-button-radius);
	background: var(--cookie-button-color);
	color: var(--cookie-button-text-color);
	font-size: var(--cookie-button-text-size);
	margin-top: var(--cookie-button-margin);
	transition: 0.3s;
}
.cookie__button:hover {
	background: var(--cookie-button-hover-color);
	color: var(--cookie-button-hover-text-color);
}

@media (max-width: 600px) {
	.cookie {
		--cookie-box-margin: 10rem;
		--cookie-box-padding: 20rem;
	}
}






/* Responsive */

@media (max-width: 1023px) {
	html {font-size: 0.057vw;}
	
	.hero__button {width: 650rem;}
	.hero__li {font-size: 29.5rem;}

	.about__pic {left: 450rem; width: 760rem;}

	.focus__card {padding: var(--card-padding); grid-gap: 30rem;}

	.tariff {background: none;}
	.tariff__pricing {min-height: unset; width: calc(100% + 40rem); margin-right: -40rem; margin-left: -10rem; margin-top: -90rem;}

	.result__pretitle {font-size: 90rem;}

	.footer {grid-gap: 30rem 20rem;}
}

@media (max-width: 600px) {
	:root {
		--section-padding: 10rem;
		--section-margin: 100rem;

		--default-text-size: 14rem;
		
		--title-size: 44rem;
		--title-margin: 15rem;
		--subtitle-size: 18rem;
		
		--radius: 10rem;
		--gap: 10rem;
		
		--button-height: 60rem;
		--button-text-size: 18rem;
		--card-padding: 20rem;
		--icon-size: 45rem;
	}
	html {font-size: 0.313vw;}

	main {overflow: hidden;}

	.section-dark {padding-block: 30rem; margin-block: var(--section-margin);}

	.header {padding: var(--section-padding); padding-top: 20rem;}
	.header__logo {width: 190rem; margin-right: auto;}
	.header__link {width: 28rem;}
	.header__link_email {order: unset;}

	.hero {padding-top: 100rem; grid-template-columns: repeat(2, 1fr); grid-column-gap: 8rem;}
	.hero__maincontent {padding: 0; grid-column: 1 / -1;}
	.hero__date {text-align: center; position: static; display: block; font-size: 18rem; margin-bottom: 10rem;}
	.hero__date::before {display: inline-block; width: 14rem; margin-right: 4rem; margin-bottom: 0;}
	.hero__date span {font-size: 18rem; display: inline;}
	.hero__author {font-size: 26rem; text-align: center; transform: none;}
	.hero__title {text-align: center; font-size: 41rem;}
	.hero__bigtitle {font-size: 100rem;}
	.hero__smalltitle {text-align: center;}
	.hero__subtitle {margin-top: 0; max-width: 230rem; margin-inline: auto;}
	.hero__desc {grid-column: 1 / -1;}
	.hero__desc_mob {display: block;}
	.hero__desc_pc {display: none;}
	.hero__ul {display: none;}
	.hero__footer {flex-direction: column;}
	.hero__button {order: -1; width: 100%; margin-bottom: 10rem;}
	.hero__text {text-align: center;}
	.hero__pic {grid-row: 3; height: 235rem; margin-top: 0;}
	.hero__pic_left {grid-column: 1;}
	.hero__pic_right {grid-column: 2;}

	.about__title {margin-bottom: 10rem;}
	.about__subtitle {font-size: 36rem; line-height: 1.1;}
	.about__text {margin-bottom: 10rem;}
	.about__list {grid-template-columns: 1fr; grid-template-rows: unset; grid-auto-flow: row;}
	.about__item {font-size: 18rem; width: calc(100% + 5rem); padding: 0 45rem 0 40rem; margin: 0 0 -5rem 0!important;}
	.about__pic {position: relative; width: 100%; left: 0; bottom: 0; margin-top: 20rem;}
	.about__button {width: 100%;}

	.focus__title {margin-bottom: 10rem;}
	.focus__subtitle {margin-bottom: 20rem;}
	.focus__content, .focus__list {grid-template-columns: 1fr;}
	.focus__card {font-size: 18rem; grid-gap: 40rem; border-width: 1rem;}
	.focus__action {display: none;}
	.focus__pic, .focus__text {grid-column: unset; grid-row: unset;}
	.focus__text {font-size: 18rem; margin: 0; margin-top: -10rem; border-width: 1rem;}
	.focus__button_mob {display: flex;}

	.benefits__list {background: none; grid-template-columns: 1fr;}
	.benefits__card, .benefits__pic {grid-column: unset!important; grid-row: unset!important;}
	.benefits__card {min-height: unset;}
	.benefits__card::before {font-size: 80rem;}
	.benefits__caption {font-size: 18rem;}
	.benefits__text {font-size: 16rem;}
	.benefits__pic {height: 170rem;}

	.program__text {margin-bottom: 14rem;}
	.program__info {max-width: 190rem; margin-bottom: 20rem;}
	.program__info::before {width: 18rem;}
	.program__list {grid-template-columns: 1fr;}
	.program__card {padding: 22rem 16rem; display: grid; align-content: center;}
	.program__caption {font-size: 44rem;}
	.program__desc {font-size: 16rem;}

	.lesson__title {font-size: 44rem;}
	.lesson__subtitle, .lesson__text {font-size: 16rem;}

	.author__caption {font-size: 36rem; margin-bottom: 5rem;}
	.author__content {grid-template-columns: 1fr; grid-gap: 10rem;}
	.author__text {grid-gap: 10rem; font-size: 16rem;}
	.author__text ul {grid-gap: 10rem;}
	.author__quote {padding: 20rem; font-size: 16rem;}
	.author__photo {width: 100%; aspect-ratio: 300 / 400; grid-row: 3; margin-top: 10rem;}
	.author__text_left {grid-row: 1;}
	.author__text_bottom {grid-template-columns: 1fr; grid-auto-flow: unset;}
	.author__text_bottom::before {grid-column: 1; grid-row: 2; width: 100%; height: 1rem;}

	.audience__text {text-align: center; margin-bottom: 20rem;}
	.audience__list {grid-template-columns: 1fr; grid-template-rows: unset; grid-auto-flow: unset; grid-gap: 20rem;}
	.audience__item {font-size: 16rem;}
	.audience__item::before {font-size: 44rem; margin-bottom: 5rem;}
	.audience__item_center {text-align: left;}
	.audience__pic, .audience__item_center {grid-column: unset; grid-row: unset;}

	.tariff {grid-template-columns: 1fr;}
	.tariff__text {max-width: 246rem; margin-bottom: 5rem;}
	.tariff__pricing {width: calc(100% + 15rem); margin: -40rem -15rem -10rem -5rem; padding: 40rem 25rem;}
	.tariff__price {font-size: 36rem;}
	.tariff__oldprice {font-size: 20rem;}
	.tariff__oldprice::before {height: 1rem;}
	.tariff__note {font-size: 16rem;}
	.tariff__pic {grid-row: 3;}

	.result {grid-template-columns: 1fr;}
	.result__head {padding-top: 0;}
	.result__pretitle {font-size: 36rem; text-align: center; line-height: 0.8; margin-bottom: 15rem;}
	.result__title {font-size: 40rem; text-align: center; margin-bottom: 5rem;}
	.result__item {border-width: 1rem;}
	.result__number {font-size: 36rem; margin-bottom: 10rem;}
	.result__caption {font-size: 18rem;}
	.result__text {font-size: 16rem;}

	.reviews__intro {margin-bottom: 15rem;}
	.reviews__list {grid-template-columns: 1fr;}
	.reviews__item {border-width: 1rem;}
	.reviews__item::before {width: 36rem;}
	.reviews__text {font-size: 16rem;}
	.reviews__author {font-size: 18rem;}

	.footer {grid-template-columns: 1fr; grid-gap: 20rem; grid-column: 1; padding-top: 30rem; margin-top: 0;}
	.footer__logo {width: 100%; grid-column: 1;}
	.footer__contacts {grid-column: 1; grid-row: 2;}
	.footer__caption {margin-bottom: 10rem; font-weight: 500;}
	.footer__contactlist, .footer__caption, .footer__info, .footer__links, .footer__copyright {font-size: 16rem;}
	.footer__copyright_pc {display: none;}
	.footer__copyright_mob {display: block;}
	.footer__links {grid-column: 1;}
	.footer__privacy {font-weight: 500;}

	.popup {
		--popup-padding: 50rem 2rem;
		--popup-close-size: 22rem;
		--popup-close-margin: 20rem;
		--popup-close-line-width: 2px;
	}
	.popup__box {border: 1rem solid var(--brown);}
	.order__text {font-size: 12rem;}
}