*{
	color: #1c1d20;
	font-family: 'InterTight', sans-serif;
	box-sizing: border-box;
	text-decoration: none;
	user-select: none;
}
.red {
	color: #f8604a;
}
:root{
	--gray: #545454;
	--second-block-padding: 100px;
	--third-block-padding: 150px;
	--black: #2b2b2b;
	--width: 80%;
}
/* Скрываем скроллбар */
::-webkit-scrollbar {
  width: 0;
}
.no-select{
	user-select: none;
}
.overlay{
	  position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
/* Scroll Smoother */
.smooth-content{
	will-change: transform;
}
main{

}
.first-block {
	min-height: 105vh;
	position: relative;
	background-color: var(--black);
	overflow: hidden;
}
.headers {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 3;
}
.headers p{
	display: inline-block;
	margin: 5.5vh 4%;
	font-size: 4vh;
	font-weight: 700;
	line-height: clamp(1em, 2.5vw, 1.2em);
	letter-spacing: 0.25vh;
	padding: 20px;
	padding-top: 5px;
}
/* .headers p:nth-child(1){
} */
.headers p:nth-child(2){
	cursor: pointer;
	position: relative;
} 
.headers p:nth-child(2)::after{
		content: "👆";
		position: absolute;
		font-size: 3.5vh;
    bottom: -11%;
    right: 20%;
    transform: rotate(333deg);
		animation: finger 1.7s ease-in-out infinite;
		will-change: auto;
		opacity: .8;
		transition: .3;
}
@keyframes finger {
	0%{
		transform: translate(0%, 0%) rotate(333deg);
	}
	50%{
		transform: translate(-40%, -40%) rotate(320deg);
	}
	100%{
		transform: translate(0%, 0%) rotate(333deg);
	}
}
.headers p:nth-child(2).finger-hidden::after {
   opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.first-block p, .rollingText{
	color: #fff;
}
.curves{
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(3.6) rotate(344deg);
}
.first-block .personal-image{
	  top: 3%;
    width: 100%;
    height: 100%;
		z-index: 2;
}
.first-block .personal-image img{
	  width: auto;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
		pointer-events: none;
		z-index: 2;
}
.first-block .personal-image .blur-circle{
	top: 50%;
  left: 50%;
	opacity: .7;
  transform: translate(-42%, -50%) scale(1.6);
	z-index: 1;
	animation: blur-circle 3.3s ease-in-out infinite;
}
@keyframes blur-circle{
	0%{
		opacity: .85;
	}
	/* 30%{
		opacity: .55;
	} */
	50%{
		opacity: .55;
		/* transform: scale(1.3); */
	}
	/* 65%{
		opacity: .7;
	} */
	100%{
		opacity: .85;
	}
}
.wrapperRollingText{
	position: absolute;
	bottom: 18vh;
	z-index: 3;
	display: flex;
}
.rollingText{
	display: inline-block;
	text-wrap: nowrap;
	font-size: 18vh;
	text-shadow: 6px 0px 35px rgba(0, 0, 0, 0.25);
	will-change: transform;
}
.rollingText p, .rollingText02 p{
	 will-change: transform;
}
.wrapperRollingText02{
	z-index: 1;
	display: flex;
	top: 25%;
}
.rollingText02{
	opacity: .1;
	text-wrap: nowrap;
	font-size: 14vh;
	will-change: transform;
}

/* Second block */

.second-block{
	background-color: #f8f8f8;
	width: 100%;
	/* min-height: 85vh; */
	padding: var(--second-block-padding) 0;
}
.header{
	text-align: center;
	color: #1c1d20;
	/* padding: 100px 0; */
	padding-bottom: var(--second-block-padding);
	font-size: clamp(2.25em, 2.25vw, 3.5em);
	letter-spacing: 1px;
	opacity: .85;
}
.header span{
	display: none;
}
.why-me{
	display: grid;
	width: var(--width);
	margin: 0 auto;
	/* grid-template-rows: 1fr; */
	grid-template-columns: 1fr 1fr 1fr;
	gap: clamp(2em, 2vw, 3em);
}
.grid-block{
	width: 100%;
	background-color: #fff;
	min-height: 40px;
	/* margin: 10px; */
	padding: 30px;
	border-radius: 10px;
	transition: .3s ease;
	-webkit-box-shadow: 2px 4px 8px 0px rgba(34, 60, 80, 0.25);
	-moz-box-shadow: 2px 4px 8px 0px rgba(34, 60, 80, 0.25);
	box-shadow: 2px 4px 8px 0px rgba(34, 60, 80, 0.25);
	will-change: auto;
}
.grid-block:hover{
	transform: scale(1.03);
		-webkit-box-shadow: 2px 4px 8px 0px rgba(34, 60, 80, 0.1);
	-moz-box-shadow: 2px 4px 8px 0px rgba(34, 60, 80, 0.1);
	box-shadow: 2px 4px 8px 0px rgba(34, 60, 80, 0.1);
		will-change: auto;
}
.grid-block-header{
	font-size: clamp(1.25em, 2vw, 1.6em);
	letter-spacing: .4px;
	padding-bottom: 20px;
	color: var(--gray);
	font-weight: 500;
	line-height: 28px;
}
.grid-block-text{
		letter-spacing: 1px;
		font-size: clamp(1.25em, 1.8vw, 1.3em);
		padding-bottom: 17px;
		line-height: clamp(1.25em, 1.8vw, 1.4em);
}

/* Third block */

.third-block {
	background-color: var(--black);
	position: relative;
	overflow: hidden;
}

.third-block .shine {
	position: absolute;
	right: -438px;
	top: -1136px;
	z-index: 0;
	animation: shining 8s ease-in 3s infinite;
}
@keyframes shining{
	0%{
		transform: translate(0%, 0%);
	}
	50%{
		transform: translate(10%, -5%) ;
	}
	100%{
		transform: translate(0%, 0%);
	}
}

.third-block-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 2vw, 100px);
	width: min(80%, 1400px);
	margin: auto;
	padding: clamp(50px, 7vw, 150px) 0;
	align-items: center;
	position: relative;
	/* overflow: hidden; */
}

.about-me {
	font-size: clamp(32px, 5vw, 60px);
	padding-bottom: clamp(30px, 5vw, 60px);
	font-weight: 500;
	letter-spacing: 1.5px;
	color: white;
}

.third-block-text p:nth-child(2) {
	font-size: clamp(16px, 1.6vw, 24px);
	letter-spacing: 0.8px;
	line-height: 1.5;
	font-weight: 300;
	color: white;
	max-width: 90%;
}

.third-block-image {
	padding: 0 20px;
	transition: .3s;
}
.third-block-image:hover{
	transform: rotate(2deg) scale(1.02);
}
.third-block-image div {
	 aspect-ratio: 3 / 4; /* сохраняем соотношение сторон */
	width: 100%;
	border: 20px solid #fff;
	/* background-image: url(../img/me_in_moscow_city2.webp); */
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}


/* Fourth block */

.fourth-block{
	background-color: #f8f8f8;
	width: 100%;
	min-height: 85vh;
	padding: clamp(50px, 7vw, 150px) 0;
	position: relative;
}
.fourth-block-wrapper{
	width: min(90%, 1400px);
	margin: 0 auto;
}
.news-block{
  padding: clamp(2.5rem, 3vw, 4rem);
  border: 3px solid transparent;
  border-radius: 15px;
	position: relative;
	overflow: hidden;
}
.news-block .shine{
	position: absolute;
	width: 71%;
	top: -103%;
	right: -27%;
	z-index: 0;
	opacity: .75;

}
.news-block.VC{
		background: 
    linear-gradient(#ffffff 0 0) padding-box, /*this is your grey background*/
    linear-gradient(44deg,rgba(43, 43, 43, 1) 0%, rgba(216, 65, 97, 1) 105%) border-box;
}
.news-header{
	padding: 0 0 clamp(3rem, 4vw, 5rem) 0;
	font-size: clamp(2.6em, 2.5vw, 4em);
	font-weight: 500;
	color: #545454;
	letter-spacing: 1.3px;
	position: relative;
	z-index: 2;
}
.news-header span{
	display: none;
}
.news-content-wrapper{
	display: flex;
		position: relative;
	z-index: 2;
}
.text-n-button{
	width: 45%;
	padding-right: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	
}
.text-n-button p{
	font-size: clamp(1.5em, 1.5vw, 4em);
	line-height: clamp(1.125em, 1.3vw, 3em);
	letter-spacing: 1px;
	color: #2b2b2b;
}
.cover{
	max-width: 55%;
	overflow: hidden;
	transition: .3s;
}
.cover:hover{
	transform: scale(1.02);
}
.cover img, .cover video{
	width: 100%;
}
.news-button{
	background-color: #f8604a;
	display: block;
	padding: clamp(1.5em, 1.5vw, 4em);
	border-radius: 10px;
	text-align: center;
	width: 70%;
	transition: 0.5s;
	background-size: 200% auto;
	font-weight: 500;
}
.news-button:hover {
	background-position: right center;
}
.news-button p{
	color: #fff;
}
.news-button.vc{
	background-image: linear-gradient(to right, #d9345a 0%, #f790a5  51%, #d9345a  100%);
}

.btn-grad {background-image: linear-gradient(to right, #314755 0%, #26a0da  51%, #314755  100%)}
.btn-grad {
	margin: 10px;
	padding: 15px 45px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 20px #eee;
	border-radius: 10px;
	display: block;
}

.btn-grad:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
}
.news-block.extension{
			background: 
    linear-gradient(#ffffff 0 0) padding-box,
    linear-gradient(44deg,rgba(43, 43, 43, 1) 0%, #3151e2 105%) border-box;
		margin-top: var(--second-block-padding);
}
.news-button.extension{
	background-image: linear-gradient(to right, #281da8 0%, #3154e5  51%, #281da8  100%);
}
.news-button.extension p{
	font-size: 35px;
}
.news-block.extension>.news-content-wrapper>.cover video{
	transform: scale(1.1);
}


.fourth-block-rounded-div-wrap.bottom {
   top: unset;
   bottom: 1px;
   position: absolute;
   transform: translateY(99%);
   z-index: 4;
   height: 0vh;
   will-change: height;
}

.fourth-block-rounded-div-wrap  {
   width: 100%;
   top: 0;
   position: relative;
   overflow: hidden;
}

.fourth-block-rounded-div {
   width: 150%;
   content: "";
   display: block;
   position: absolute;
   background: #fff;
   height: 750%;
   left: 50%;
   border-radius: 50%;
   transform: translate(-50%, -86.666%);
   z-index: 2;
	 background-color: #f8f8f8;
}

/* Fifth block */

.fifth-block {
	position: relative;
	 width: 100%;
	background-color: var(--black);
	min-height: 100vh;
	padding: var(--second-block-padding) 0;
	padding-bottom: 190px;
	overflow: hidden;
}
.fifth-block-wrapper{
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
	justify-self: center;
	width: min(90%, 1400px);
}
.line {
	position: absolute;
	width: 1px;
	background-color: white;
	height: 75%;
	 left: 50%;
	 top: 10%;
  transform: translateX(-50%);
	pointer-events: none;
}
.me-small{
	margin-right: .125em;
    height: 1.5em;
    width: 1.5em;
    transform: translateY(.3em);
		position: relative;
    display: inline-flex;
    border-radius: 50%;
    background-size: contain;
}
.wrapper-cooperation{
	width: 100%;
	display: flex;
	justify-content: flex-end;
}
.cooperation{
	color: #fff;
	font-size: calc(clamp(3.25em, 2.75vw, 8em) * .875);
	letter-spacing: 1px;
	line-height: 1.25em;
	padding-right: 2em;
	z-index: 2;
	text-wrap: nowrap;
}
.form{
	padding-left: 6em;
	padding-top: 2em;
	z-index: 2;

}
form label{
	color: #fff;
	display: block;
}
input{
	background: transparent;
	border: 0;
	color: #fff;
	outline:none;
	width: 100%;
}
.input-box{
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 30px;
}
.input-box span{
	color: #ffffff56;
	font-style: italic;
	font-weight: 200;
}
.radio-group{
	display: flex;
	width: 60%;
	justify-content: space-around;
	border-radius: 5px;
	overflow: hidden;
}
form p{
	color: #fff;
}
.radio-group label {
	position: relative;
	overflow: hidden;
	color: var(--black);
	background: #fff;
	width: 33.33%;
	margin: 0 auto;
	text-align: center;
	padding: 9px 5px;
	transition: color .2s;
	z-index: 1;
	font-size: clamp(14px, 1.6vw, 18px);
	letter-spacing: 0;
	user-select: none;
	cursor: pointer;
}
.radio-group label::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(240,126,91,1) 0%, rgb(207, 60, 15) 93%);
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: -1;
}
.radio-group label.active::before {
	opacity: 1;
}
.radio-group label.active {
	color: white;
}
button[type="submit"]{
	width: 100%;
	background: linear-gradient(180deg, rgba(240,126,91,1) 0%, rgb(207, 60, 15) 93%);
	color: #fff;
	border: none;
	border-radius: 10px;
	margin-top: 50px;
	padding: 17px 0;
	font-size: 28px;
	letter-spacing: .5px;
	font-weight: 500;
	transition: .4s;
	cursor: pointer;
}
button[type="submit"]:hover{
		background: linear-gradient(180deg, rgba(240,126,91,1) 0%, rgb(207, 60, 15) 60%);
		box-shadow: 0 10px 30px rgba(207,60,15,0.4);
}
label{
	margin-top: 30px;
	font-size: clamp(16px, 1.6vw, 24px);
	padding-bottom: 20px;
	letter-spacing: 1px;
}
input{
	font-size: clamp(16px, 1.6vw, 20px);
	margin-bottom: 15px;
	letter-spacing: .7px;
}
.fifth-block .shine{
	position: absolute;
  right: -438px;
  top: -1136px;
	pointer-events: none;
	animation: shining 8s ease-in 3s infinite;
}
.footer{
	position: absolute;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 30px 0;
	width: 100%;
	color: #fff;
	text-align: center;
}
.footer p{
	padding: 15px;
	padding-bottom: 5px;
	display: inline-block;
	text-align: center;
	color: #fff;
	font-size: 20px;
	letter-spacing: 1px;
}
.footer a{
	text-align: center;
	color: #fff;
}
.gradient-overlay{
		width: 100%;
    display: block;
    position: absolute;
    left: 50%;
		top: 0;
    transform: translate(-50%, 0);
		z-index: 3;
    background: linear-gradient(to bottom, rgba(28, 29, 32, 1) 0%, rgba(28, 29, 32, 0) 100%);
    opacity: .95;
		height: 40vh;
}

/* ===== POPUP base ===== */
.popup-overlay{
  position: fixed; 
	inset: 0;
  background: rgba(0,0,0,.55);
  display: none; /* по умолчанию скрыт */
  align-items: center; 
	justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.popup-overlay.is-open{ 
	display: flex; 
}
.popup{
  position: relative;
  width: min(520px, 92vw);
  background: #2f3c48;
  color: #fff;
  border-radius: 14px;
  padding: 26px 22px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  outline: 1px solid rgba(120,170,220,.35);
  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
.popup-overlay.is-open .popup{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup__close{
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.15);
  font-size: 24px; line-height: 1;
}
.popup__close:hover{ background: rgba(255,255,255,.25); }

.popup__avatar{
  width: 120px; height: 120px; border-radius: 50%;
  margin: 6px auto 18px;
  background: url("../img/tg-cover.webp") center/cover no-repeat, #1f2730;
  outline: 6px solid rgba(255,255,255,.08);
}

.popup__title{
  font-weight: 600;
  text-align: center;
  font-size: clamp(22px, 3.2vw, 28px);
  line-height: 1.25;
  margin-bottom: 12px;
	color: white;
}
.popup__text{
  text-align: center;
  opacity: .9;
  font-size: clamp(15px, 2.3vw, 18px);
  line-height: 1.6;
  max-width: 40ch;
  margin: 0 auto 22px;
	color: white;
}

.pop-up-button-wrapper{
	display: flex;
	justify-content: center;
}
.popup__cta{
  display: inline-block;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 10px;
  background: #229ED9; /* tg */
  color: #fff; 
	font-weight: 600; 
	letter-spacing: 1px;
  text-align: center;
  width: min(260px, 100%);
  transition: transform .15s ease, box-shadow .3s ease;
	font-size: clamp(18px, 1.3vw, 30px);
}
.popup__cta:hover{ transform: translateY(-1px); box-shadow: 0 10px 26px rgba(34,158,217,.35); }

/* мобильные мелкие твики */
@media (max-width: 400px){
  .popup{ padding: 22px 16px; }
  .popup__avatar{ width: 96px; height: 96px; }
}

/* Поп ап успешная отправка */

/* Дополнительные стили для попапа успеха */
#popup-success .popup__cta {
  background: #4CAF50;
}
#popup-success .popup__cta:hover {
  box-shadow: 0 10px 26px rgba(76, 175, 80, 0.35);
}

/* Поп ап проверка сертификата */

#popup-certificate .popup__image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto 20px;
}

#popup-certificate .popup__button {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 48px;
  background: #F8604A;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
	font-size: clamp(18px, 1.3vw, 30px);
}

#popup-certificate .popup__button:hover {
  background: #c34b39;
}
@media(max-width: 560px){
	.popup__close {
    top: -17px;
    right: -7px;
	}
}

/* preloader */

.loading-container {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   overflow: hidden;
   z-index: 800;
   pointer-events: none;
   background: transparent;
}

.loading-screen {
   position: relative;
   padding: 0;
   width: 100%;
   height: 100%;
   left: 0;
   will-change: top;
	 top: 0;
	 display: flex;
	 pointer-events: none;
	 justify-content: center;
	 align-items: center;
	 flex-direction: column;
	 font-family: 'Arial', sans-serif;
}

.loading-screen,
.loading-container .rounded-div-wrap.top .rounded-div,
.loading-container .rounded-div-wrap.bottom .rounded-div {
   background: #141517;
}

.loading-container .rounded-div-wrap.top .rounded-div,
.loading-container .rounded-div-wrap.bottom .rounded-div {
   height: 745%;
}

.loading-container .rounded-div-wrap.top {
   top: 0;
   position: absolute;
   transform: translateY(-99%) scale(1,-1);
   z-index: 2;
   height: 0vh;
   will-change: height;
}

.loading-container .rounded-div-wrap.bottom {
   top: unset;
   bottom: 1px;
   position: absolute;
   transform: translateY(99%);
   z-index: 2;
   height: 0vh;
   will-change: height;
}

.rounded-div-wrap {
   width: 100%;
   top: 0;
   position: relative;
   height: 10vh;
   overflow: hidden;
}

.rounded-div {
   width: 150%;
   content: "";
   display: block;
   position: absolute;
   background: #fff;
   height: 750%;
   left: 50%;
   border-radius: 50%;
   transform: translate(-50%, -86.666%);
   z-index: 1;
}

.loading-screen p{
	text-transform: uppercase;
	position: relative;
	color: #E6E6E6;
	top: 3%;
	z-index: 10;
	font-size: 1em;
	letter-spacing: 5px;
	opacity: 0;
	text-align: center;
}

/* Pulsing grid */

@import url("https://fonts.cdnfonts.com/css/thegoodmonolith");

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .container {
    grid-template-columns: 1fr;
  }
}

.animation-container {
  position: relative;
  width: 220px;
  height: 220px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  transition: border-color 0.3s ease;
	transform: scale(1.2);
}

.animation-title {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

.circle-container {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.line {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  transform-origin: 0% 50%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Corner decorations */

.top-left {
  top: -8px;
  left: -8px;
  transition-delay: 0s;
}

.top-right {
  top: -8px;
  right: -8px;
  transform: rotate(90deg);
  transition-delay: 0.1s;
}

.bottom-left {
  bottom: -8px;
  left: -8px;
  transform: rotate(-90deg);
  transition-delay: 0.2s;
}

.bottom-right {
  bottom: -8px;
  right: -8px;
  transform: rotate(180deg);
  transition-delay: 0.3s;
}

/* Animation keyframes */
@keyframes orbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes reverseOrbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* preloader bottom */

