/* start base */
:root {
	/* colors */
	--none-color: transparent;
	--white-color: #fff;
	--text-color: #000;
	--bg-color: #fff;
	--primary-color: #ffc000;
}

.text-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
/* end base */

/* start form */
.custom-checkbox {
	display: flex;
	flex-direction: column;
	user-select: none;
	cursor: pointer;
}

.custom-checkbox__input {
    position: absolute;
	appearance: none;
}

.custom-checkbox__input:checked + .custom-checkbox__text::after {
    opacity: 1;
}

.custom-checkbox__input:focus + .custom-checkbox__text {
    color: var(--primary-color);
}

.custom-checkbox__text {
	position: relative;
	font-size: 14px;
	padding-left: 24px;
	color: var(--text-color);
	transition: color .2s linear;
}

.custom-checkbox__text::before {
	content: '';
	position: absolute;
	top: 7px;
	left: 0;
	border: 1px solid var(--primary-color);
	border-radius: 4px;
	width: 16px;
	height: 16px;
}

.custom-checkbox__text::after {
	content: '';
	position: absolute;
    top: 10px;
    left: 3px;
    border-radius: 2px;
	width: 10px;
	height: 10px;
	opacity: 0;
	background-color: var(--primary-color);
	transition: opacity .2s linear;
}

.custom-checkbox__link {
	display: inline;
	border-bottom: 1px solid var(--primary-color);
	color: var(--primary-color);
	transition: border-color .2s linear, color .2s linear;
}
/* end form */

/* start cookies */
.cookies {
    position: fixed;
    z-index: 10000;
    right: 0;
    bottom: 15px;
    display: flex;
    justify-content: flex-end;
    padding: 0px 25px;
    max-width: max-content;
}

.cookies__content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    border-radius: 4px;
    padding: 20px;
    max-width: 512px;
    width: 100%;
    color: var(--text-color);
    font-size: 16px;
    background-color: var(--white-color)
}

.cookies__text {
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.cookies__text-link {
    display: inline;
    text-decoration: underline;
    color: var(--text-color);
}

.cookies__btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.cookies__btn {
    border: none;
    border-radius: 4px;
    max-width: 48%;
    min-width: auto;
    width: 100%;
    font-family: PFDinTextPro-Regular, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 45px;
    color: rgba(255, 255, 255, .5);
    text-align: center;
    text-transform: uppercase;
    background-color: #34355c;
    cursor: pointer;
    transition: background-color .2s linear;
}
/* end cookies */
/* start nav-list */
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    padding-top: 12px;
    list-style: none;
}

.nav-list__list-item {
    text-align: center;
}

.nav-list__list-item.active .nav-list__list-item-link {
    font-weight: 700;
}

.nav-list__list-item-link {
    font-size: 14px;
    color: var(--text-color);
    text-decoration: underline;
    transition: color .2s linear;
}
/* end nav-list */

/* start hover */
@media(hover: hover) {
    .nav-list__list-item-link:hover {
        text-decoration: none;
    }
    
    .cookies__text-link:hover {
        text-decoration: none;
    }
    
    .cookies__btn:hover {
        background-color: #46487d;
    }
}
/* end hover */

@media only screen and (max-width: 991px) {
    .to_clients .arrow {
        display: none;
    }
}

/* start phone */
@media(max-width: 767px) {
    /* start cookies */
    .cookies {
        padding: 0px 10px;
    }
    
    .cookies__content-wrap {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 10px;
      font-size: 14px;
    }
    
    .cookies__btn {
        max-width: 100%;
        width: 100%;
    }
    /* end cookies */
    
    /* start nav-list */
    .nav-list {
        justify-content: center;
        flex-direction: column;
    }
    /* end nav-list */
}
/* end phone */

.reviews {
    margin-bottom: 80px;
}

.reviews__content-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* .reviews__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */

.reviews__title {
    margin: 0;
    margin-bottom: 40px;
    font-family: Molot, sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.4;
    color: #34355c;
    text-align: left;
    text-decoration: auto;
    text-transform: uppercase;
}

.reviews__wrap {
    position: relative;
    width: 50%;
    height: 540px;
    overflow: hidden;
}

.reviews__content {
    width: 50%;
}

.reviews__content h2 {
    font-size: 40px;
}

.reviews__content p {
    font-size: 20px;
}

@media (max-width: 767px) {
    .reviews__content-wrap {
       flex-direction: column-reverse;
    }
    
    .reviews__wrap {
        width: 100%;
    }
    
    .reviews__content {
        width: 100%;
    }
    
    .reviews__content h2 {
        font-size: 32px;
    }
    
    .reviews__content p {
        font-size: 18px;
    }
}