.main {
	margin-bottom: 150px;
	margin-top: 50px;
}

.main .container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.main__content {
	max-width: 65%;
}

.main__title {
	font-size: 4em;
	font-weight: 600;
	line-height: 145%;
	color: #181818;
	margin-bottom: 50px;
	text-transform: uppercase;
}

.main__title span {
	color: #003BAB;
}
.main__text ul{
	margin: 0;
	padding: 0;
	padding: 0 5px;
}
.main__text ul li{
	list-style-type: none;
	font-size: 20px;
	line-height: 30px;
	color: #181818;
	margin-bottom: 15px;
}

.main__subtitle{
	width: 100%;
}

.main__subtitle ul {
	width: 100%;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr) 2fr;
	align-items: stretch;
	gap: 15px;
}
.main__subtitle.subtitle_two ul {
	width: 100%;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 2fr 1fr 2fr;
	align-items: stretch;
	gap: 15px;
}
.main__subtitle ul li{
	list-style-type: none;
	background-color: #fff;
	border-radius: 30px;
	padding: 30px;
	display: grid;
	grid-template-rows: auto;
	align-items: center;
	text-align: center;
	font-size: 14px;
}

.main__subtitle ul li b{
	font-size: 2em;
	color: #003BAB;
	font-weight: 600;
}

.main__subtitle ul a{
	background: linear-gradient(90deg, #EA337C, #003BAB, #EA337C);
	border-radius: 30px;
	padding: 10px 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 2.3em;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background-size: 200%; 
	animation: gradient-flow 5s infinite;
	transition: color 0.2s ease-in-out;
}

.main__subtitle ul a:hover {
	background-image: linear-gradient(to left, #EA337C, #003BAB); 
}

/* стрелка */
.arrow {
	position: relative;
	width: 25px;
	height: 25px;
	border-bottom: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(-90deg);
}

.arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 27px;
	height: 3px;
	background-color: #fff;
	transform: rotate(45deg);
}

.arrow__button {
	position: relative;
	width: 20px;
	height: 20px;
	border-bottom: 3px solid #003BAB;
	border-right: 3px solid #003BAB;
	transform: rotate(-90deg);
}

.arrow__button::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 22px;
	height: 3px;
	background-color: #003BAB;
	transform: rotate(45deg);
}
.arrow-form{
	position: relative;
	width: 20px;
	height: 20px;
	border-bottom: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: rotate(-90deg);
}

.arrow-form::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 22px;
	height: 3px;
	background-color: #fff;
	transform: rotate(45deg);
}

/* Изображение */
.main__image {
	max-width: 100%;
	width: 70%;
	height: auto;
	position: absolute;
	top: -40em;
	right: -20%;
	z-index: -10;
}

.advantages {
    margin-bottom: 150px;
}

.advantages h2{
	font-size: 3em;
	color: #003BAB;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 50px;
}
.advantages__background-image-right {
    background-image: url('/local/templates/main/images/blob-light.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1500px;
    height: auto;
    max-height: 1000px;
    min-height: 1000px;
    position: fixed;
    top: 100vh;
    left: 50%;
    z-index: -2; 
    transition: all 0.3s ease;
    will-change: transform, top;
}

.advantages__background-image-left{
	background-image: url('/local/templates/main/images/blob-blue.png');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
    max-width: 1800px;
    height: auto;
    max-height: 1200px;
    min-height: 1200px;
	position: fixed;
	top: 120vh;
	left: -15%;
	z-index: -3;
	transition: all 0.5s ease;
	will-change: transform, top;
}
.advantages__background-image-left.show {
    transform: translateY(-5%);  /* Используем transform для движения */
}
.advantages__background-image-left-list{
	background-image: url('/local/templates/main/images/blob-blue.png');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
    max-width: 1800px;
    height: auto;
    max-height: 1200px;
    min-height: 1200px;
	position: fixed;
	top: 26%;
	left: -50%;
	z-index: -3;
	transition: top 0.5s ease;
}
.advantages__background-image-left-bottom{
	background-image: url('/local/templates/main/images/blob-blue-bottom.png');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
    max-width: 1800px;
    height: auto;
    max-height: 1200px;
    min-height: 1200px;
	position: fixed;
	top: 120vh;
	left: -34%;
	z-index: -3;
	transform: rotate(-200deg);
	transition: top 0.5s ease;
}

.advantages__wrapper{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	gap: 15px;
}
.advantages__wrapper-four{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: stretch;
	gap: 15px;
}
.advantages__item{
	background-color: #fff;
	border-radius: 30px;
	padding: 5% 5% 5% 8% ;
	display: grid;
	grid-template-rows: auto;
	align-items: center;
	font-size: 14px;
}

.advantages__icon{
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 60px;
	height: 60px;
	margin-right: 0;
	margin-left: auto;
}
.advantages__title{
	font-size: 1.8em;
	color: #003BAB;
	font-weight: 700;
	text-transform: uppercase;
}

.advantages__text{
	font-size: 1.3em;
	line-height: 1.5;
	color: #181818;
}

/* услуги */
.services {
	margin-bottom: 150px;
}

.services h2 {
	font-size: 3em;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 50px;
}

.services__wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr); 
	grid-template-rows: auto;            
	gap: 15px; 
	
}

.services__item {
  background-color: #fff;
  border-radius: 20px;
  padding: 25px;
  min-height: 230px;
  transition: transform 0.3s, box-shadow 0.3s, max-height 0.5s ease, opacity 0.5s ease;
  text-decoration: none;
  color: #181818;
  overflow: hidden; 

  opacity: 1; 
}

.services__item.hidden {
  max-height: 0; 
  opacity: 0; 
  padding: 0; 
  transition: max-height 0.5s ease, opacity 0.5s ease; /* Плавный переход */
}

.services__item.hidden-removed {
  display: none; 
}

.services__item:hover {
  color: #181818;
  cursor: default;
}

.services__item:nth-child(4n+3) {
  grid-column: span 1;
  grid-row: span 2;
}

.services__item:nth-child(4n) {
  grid-column: 1 / span 2;
}


.services__item h3{
	color: #003BAB;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.8em;

}

.services__item.with-link{
	transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
	background: linear-gradient(-45deg, #EA337C, #003BAB);
	color: #fff;
}
.services__item.with-link h3{
	color: #fff;
	display: grid;
	grid-template-columns: 2fr 0.5fr; 
	align-items: end; 
	gap: 10px;
	font-size: 1.8em;
}
.services__item.with-link h3 span{
	display: flex;
	align-items: center; 
	height: 100%; 
}
.services__item.with-link-hover:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.services__item.with-link:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	background: linear-gradient(45deg, #EA337C, #003BAB);
}

.services__item .services__button,
.slide__text .services__button,
.stages-section .stages-section__number{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 20px;
	background-color:  rgba(0, 59, 171, 0.3);
	border: none;
	cursor: pointer;
	width: 65px;
	height: 65px;
	border-radius: 50%;
}

.services__item.with-link .services__button{
	display: flex;
	justify-content: center; 
	align-items: center; 
	padding: 10px 20px;
	background-color: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	position: relative;
}

.services__item.with-link ul{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	font-size: 0.9em;
}
.services__text{
	margin: 10px 0;
}
.services__text.with-link{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.services__item:nth-child(4n) .services__text.with-link {
	flex-direction: row;
}
.services__text ul{
	padding: 0;
	width: 100%;
}
.services__item .services__text ul li {
	margin-left: 20px;
	font-size: 0.9em;
	margin-bottom: 10px;
	margin-top: 10px;
	line-height: 1.8;
}
.services__item.with-link .services__button-circle,
.services__item .services__button-circle,
.slide__text .services__button-circle,
.stages-section .stages-section__number-circle{
	width: 37px;
	height: 37px;
	border-radius: 50%;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	position: absolute;
}

.toggle-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -80px;
	padding: 10px 20px;
	background-color: rgba(0, 59, 171, 0.3); 
	border: none;
	cursor: pointer;
	width: 188px;
	height: 188px;
	border-radius: 50%;
	position: relative;
	left: 40%;
	top: -30%;
	z-index: 5;
	transition: box-shadow 0.3s, background 0.3s;
}

.btn-circle {
	width: 128px;
	height: 128px;
	border-radius: 50%;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	position: absolute;
}

.btn-circle span {
	opacity: 1;
	color: #003BAB;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.9em;
}

.toggle-btn:hover{
	background-color: rgba(0, 59, 171, 0.6); 
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



/* форма */
.form-section {
	position: relative;
	background-color: #003BAB;
	padding: 15px 0;
	z-index: 1;
}

.form-section__background-image-right {
	background-image: url('/local/templates/main/images/blob-form.png');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
    max-width: 1200px;
    height: auto;
    max-height: 1000px;
    min-height: 1000px;
	position: absolute;
	top: -45%;
	right: -20%;
	z-index: 1; 
	pointer-events: none; 
	transition: top 0.3s ease;
}

.form-container {
	position: relative;
	width: 100%;
	margin: 60px 0;
	background-color: #fff;
	border-radius: 20px;
	padding: 80px;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	align-items: center;
	gap: 30px;
	z-index: 2;
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1); 
}
.form-container textarea{
	max-width: 100%;
    line-height: 1.5;
    min-height: 100px;
    resize: none;
}
.form-title {
	font-size: 3em;
	font-weight: 600;
	color: #EA337C; 
	margin-bottom: 10px;
	text-align: left;
	line-height: 1.5;
}

.form-subtitle {
	font-size: 20px;
	color: #000;
	margin-bottom: 30px;
	text-align: left;
	line-height: 1.8;
}

.form-input {
	width: 100%;
	padding: 15px;
	margin-bottom: 20px;
	border: 2px solid #003BAB;
	border-radius: 30px;
	font-size: 16px;
	padding-left: 30px;
	outline: none;
}

.form-input:focus {
	border-color: #EA337C;
}

.form-input::placeholder, .capcha input[type="text"]::placeholder {
	color: rgba(0, 59, 171, 0.6); 
	font-weight: 600;
	font-size: 14px; 
	transition: color 0.3s ease; 
	opacity: 0.6;

}

.form-input:focus::placeholder, .capcha input[type="text"]:focus::placeholder{
	color: #EA337C;
}

.form-button {
	width: 100%;
	padding: 15px;
	background: linear-gradient(45deg, #EA337C, #003BAB); 
	color: #fff;
	font-size: 16px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-weight: bold;
	transition: background 0.6s ease-in-out;
}

.form-button:hover {
	background: linear-gradient(-45deg, #EA337C, #003BAB);
}

.arrow-icon {
	font-size: 18px;
}

.form-footer {
	margin-top: 20px;
	font-size: 12px;
	text-align: left;
	color: #000;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.form-footer input[type="checkbox"] {
	display: none;
}

.custom-checkbox {
    position: relative;
    padding-left: 40px; 
    cursor: pointer;
    font-size: 14px;
    color: #000;
    line-height: 1.5;
    display: flex; 
    align-items: center; 
}

.custom-checkbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border: 2px solid #003BAB;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 27px;
    height: 27px;
    background-color: #003BAB;
    border-radius: 50%;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked + .custom-checkbox::after {
    transform: translateY(-50%) scale(1);
}

.checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.form-input-div {
    position: relative;
}

.tooltip {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: #fff; 
    color: #EA337C; 
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease; 
    opacity: 0;
    transform: translateY(-10px);
}

.tooltip:before {
    content: "";
    position: absolute;
    bottom: 25px; 
    left: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #EA337C transparent;
}

.tooltip.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}



.form-footer .form-link {
	color: #003BAB;
	text-decoration: none;
	font-weight: bold;
}

.form-footer .form-link:hover {
	color: #EA337C;
}

.capcha {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.capcha img {
    border-radius: 30px;
    border: 2px solid #003BAB;
/*	padding: 5px;*/

}

.capcha input[type="text"] {
    transition: border-color 0.3s ease;
    width: 100%;
	padding: 15px;
	border: 2px solid #003BAB;
	border-radius: 30px;
	font-size: 16px;
	padding-left: 30px;
	outline: none;
}

.capcha input[type="text"]:focus {
    border-color: #EA337C;
}

.capcha .tooltip {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 35%;
    transform: translateX(-50%);
    background-color: #fff; 
    color: #EA337C; 
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease; 
}

.capcha input[type="text"]:focus + .tooltip {
    display: block;
    transform: translateY(5px);
}

.capcha img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}




/* выпадающие списки */
.list {
	margin-bottom: 150px;
}
.list .advantages__background-image-left{
	transition: top 0.5s ease; 
	top: 120vh;
	left: -50%;
}
.list h2{
	font-size: 3em;
	font-weight: 600;
	line-height: 145%;
	color: #fff;
	margin-bottom: 50px;
	text-transform: uppercase;
}
.list h2 span{
	color: #003BAB;
}
.list__wrapper {
	display: flex;
	flex-direction: column;
	gap: 0px;
}

.list__item {
	border-radius: 30px;
	overflow: hidden;
	transition: all 0.3s;
}

.list__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	background: #fff;
	cursor: pointer;
	transition: background 0.3s;
	border-radius: 30px;
}

.list__title {
	font-size: 1.5em;
	margin: 0;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	margin: 10px;
	color: #003BAB;
	font-weight: 700;
	text-transform: uppercase;
}

.list__title span{
	font-size: 14px;
	font-weight: normal;
	text-transform: lowercase;
}

.list__toggle-button {
	display: flex;
	justify-content: center; 
	align-items: center; 
	padding: 10px 20px;
	background-color: rgba(0, 59, 171, 0.3);
	border: none;
	cursor: pointer;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	position: relative;
	transition: transform 0.5s ease; 
}
.list__toggle-button .list__toggle-circle{
	width: 37px;
	height: 37px;
	border-radius: 50%; 
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	position: absolute;
	font-size: 40px;
	color: #003BAB;
}

.list__text {
  padding: 15px;
  font-size: 20px;
  line-height: 1.8;
  color: #181818;
  margin: 0 20px;
  max-height: 0; 
  opacity: 0; 
  overflow: hidden; 
  transition: max-height 1s ease, opacity 0.5s ease; 
}
.list__text ul{
	margin-left: 20px;
}

.list__item.active .list__toggle-button {
  transform: rotate(45deg);
  background-color: rgba(255, 255, 255, 0.3);
}

.list__item.active{
	transition: all 0.8s ease; 
}

.list__item.active .list__header {
  background: linear-gradient(45deg, #EA337C, #003BAB);
  color: #fff;
  border-radius: 30px;
}

.list__item.active .list__header .list__title {
  color: #fff;
}

.list__item.active .list__text {
  max-height: 500px; 
  opacity: 1; 
}

.list__header:hover {
  background: linear-gradient(45deg, #EA337C, #003BAB);
  color: #fff;
}

.list__header:hover .list__title {
  color: #fff;
}

.list__header:hover .list__toggle-button {
  background-color: rgba(255, 255, 255, 0.3);
}


/* слайдер */
.slide-section {
	margin-bottom: 150px;
}
.slide-section .advantages__background-image-left{
	top: 50%;
	left: -50%;
}
.slide-section__background-image-left{
	background-image: url('/local/templates/main/images/blob-light-two.png');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
    max-width: 1800px;
    height: auto;
    max-height: 1200px;
    min-height: 1200px;
	position: absolute;
	top: 55%;
	left: -15%;
	z-index: -3;
	transition: top 0.3s ease;
}
.slide-section h2{
	font-size: 3em;
	font-weight: 600;
	line-height: 145%;
	color: #003BAB;
	margin-bottom: 50px;
	text-transform: uppercase;
}

.custom-slider {
	width: 100%;
	margin: 50px 0;
	overflow: hidden;
	padding: 0;
}

.slider-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	padding: 0; 
	margin: 0;
	gap: 30px;
}

.slide {
	flex: 0 0 48%;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 30px;
	padding: 30px;
	gap: 20px;
	margin: 0;
}

.slide__header{
	display: grid;
	grid-template-columns: 0.5fr 2fr;
	align-items: center;
	grid-gap: 20px;
}
.slide__image{
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 145px;
	height: 145px;
}
.slide__title{
	font-size: 1.6em;
	font-weight: 600;
	line-height: 1.5;
	color: #003BAB;
	text-transform: uppercase;
}
.slide__text{
	display: grid;
	grid-template-columns: 2.5fr 0.5fr;
	align-items: center;
	grid-gap: 20px;
}
.slide__description p{
	font-size: 0.9em;
	line-height: 1.5;
	color: #181818;
	margin: 0;
}

.slider-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}

.slider-button {
	background: none;
	border: 3px solid #003BAB;
	padding: 10px;
	border-radius: 50%;
	cursor: pointer;
}

.slider-pagination {
	display: flex;
	gap: 5px;
}

.slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #181818;
	cursor: pointer;
}

.slider-dot.active {
	background-color: #003BAB;
}

.slider-button.prev .arrow__button{
	transform: rotate(135deg);
}
.slider-button.next .arrow__button{
	transform: rotate(-45deg);
}

.slider-button.prev:hover .arrow__button,
.slider-button.next:hover .arrow__button{
	border-color: #EA337C;
}
.slider-button:hover.prev .arrow__button::before,
.slider-button:hover.next .arrow__button::before{
	background-color: #EA337C;
}
.slider-button:hover,
.slider-button:hover{
	border-color: #EA337C;
}
.slide__text .services__button{
	background-color: rgba(0, 59, 171, 0.3); 
}
.slide__text .services__button:hover{
	background-color: rgba(0, 59, 171, 0.6); 
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stages-section{
	margin-bottom: 150px;
}
.stages-section h2 {
	font-size: 3em;
	font-weight: 600;
	line-height: 145%;
	color: #003BAB;
	margin-bottom: 50px;
	text-transform: uppercase;
}
.stages-section__wrapper{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	gap: 15px;
}
.stages-section__item{
	background-color: #fff;
	border-radius: 30px;
	padding: 25px;
	display: grid;
	grid-template-rows: auto;
	font-size: 14px;
	gap: 15px;
}

.stages-section__item:nth-child(2) {
	grid-column: span 2; 
	background-color: #003BAB;
	color: #fff;
}
.stages-section__item:nth-child(3) {
	grid-column: span 2; 
	background-color: #003BAB;
	color: #fff;
}

.stages-section__item:nth-child(3) .stages-section__title,
.stages-section__item:nth-child(2) .stages-section__title {
	color: 	#fff;
}

.stages-section__item:nth-child(3) .stages-section__number,
.stages-section__item:nth-child(2) .stages-section__number {
	background-color: rgba(255, 255, 255, 0.3);
}

.stages-section__header{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: auto;
}
.stages-section__number{
	font-size: 2.5em;
	color: #003BAB;
	font-weight: 700;
}
.stages-section__title{
	font-size: 1.8em;
	color: #003BAB;
	font-weight: 600;
	width: 80%;
	text-transform: uppercase;
	margin: 0;
}
.stages-section__text{
	text-transform: lowercase;
}

/* переливание кнопки */
@keyframes gradient-flow {
	0% {
		background-position: 0% 50%; 
	}
	25% {
		background-position: 50% 50%; 
	}
	50% {
		background-position: 100% 50%; 
	}
	75% {
		background-position: 50% 50%; 
	}
	100% {
		background-position: 0% 50%; 
	}
}


.scroll-to-top {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    width: 50px; 
    height: 50px;
    background: none; 
    color: #003BAB;
    border: 2px solid #003BAB;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 98; 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #fff; 
    transform: scale(1.1); 
}

.scroll-to-top .arrow {
	position: relative;
	width: 20px;
	height: 20px;
	border-bottom: 3px solid #003BAB;
	border-right: 3px solid #003BAB;
	transform: rotate(-135deg);
}

.scroll-to-top .arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 21px;
	height: 3px;
	background-color: #003BAB;
	transform: rotate(45deg);
}

.call-to-action {
    position: fixed;
    bottom: 20px; 
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #EA337C, #003BAB);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    display: none;
     align-items: center;
    justify-content: center;
    z-index: 98;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.call-to-action:hover {
    background: linear-gradient(-45deg, #EA337C, #003BAB);
    transform: scale(1.1); /* Эффект увеличения */
}

.call-to-action .phone-icon {
    width: 20px; 
    height: 20px; 
}


/* Показать кнопку только на мобильных */
@media (max-width: 768px) {
	.scroll-to-top {
		bottom: 90px; 
	}
    .call-to-action {
        display: flex; 
    }
}



.reveal{
  transform: translateX(-150px);
  opacity: 0;
  transition: .5s all ease;
}

.reveal.active{
  transform: translateX(0);
  opacity: 1;

}

