:root {
	--white: #fff;
	--black: #000;
	--dark: #222222;
	--icon-dark: #333333;
	--grey: #00000080;
	--yellow: #FFD900;
	--orange: #FF7100;
}

/* Не трогаем глобальный * / body / a / h* — ломают header/footer сайта */
body.page-template-page-review,
body.page-id-342 {
	background: #f4f5f8;
}

.hidden {
	display: none;
}

section.review .wrapper,
section.breadcrumb__review .wrapper,
section.review__form .wrapper {
	max-width: 1340px;
	width: 100%;
	box-sizing: border-box;
}

section.review {
	display: flex;
	justify-content: center;
	padding-top: 70px;
}

section.review .wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
}

h1.title {
	font-size: 56px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 48px;
}

section.review .wrapper > div {
	margin-bottom: 104px;
	width: 100%;
}

.review__gallery {
	display: flex;
	position: relative;
	align-items: center;
}

.arrows {
	display: flex;
	align-items: center;
	gap: 10px;
}

.arrow {
	width: 40px;
	height: 40px;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: #F6F6F6;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all .5s ease;
}

.review__gallery .arrows {
	position: absolute;
	width: 100%;
	z-index: 9;
	justify-content: space-between;
}

.review__gallery .arrows .arrow.prev {
	transform: translateX(-50%);
}

.review__gallery .arrows .arrow.next {
	transform: translateX(50%);
}

.arrow:hover {
	background: #3573AA;
	border-color: #3573AA;
}

.arrow:hover svg path {
	stroke: #fff;
}

.block__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

h2.block__title {
	font-size: 40px;
	line-height: 1;
}

.review__video__slider {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 40px;
}

.swiper {
	width: 100%;
}

.review__video__slider .swiper-slide {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	height: 240px;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
}

.review__video__slider .swiper-slide video {
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.review__video__slider .swiper-slide img {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.review__video__slider .swiper-slide .play {
	position: absolute;
	display: flex;
	width: 64px;
	height: 64px;
	justify-content: center;
	align-items: center;
	background: #FFFFFF99;
	border-radius: 50%;
	transition: all .5s ease;
	cursor: pointer;
	bottom: 20px;
	left: 20px;
	z-index: 2;
}

.review__video__slider .swiper-slide .play span.circle {
	width: 48px;
	height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	border-radius: 50%;
	transition: all .5s ease;
}

.review__video__slider .swiper-slide:hover .play {
	background: #3573AA;
}

.review__video__slider__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

span.swiper-pagination-bullet {
	margin: 0 !important;
	width: 12px;
	height: 12px;
	opacity: 1;
	background: #3573AA1A;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #013A51;
}

.review__text__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.review__text__item {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: 10px;
	background: #fff;
	gap: 32px;
}

.review__text__item__header {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

p.info {
	display: flex;
	justify-content: space-between;
	line-height: 1;
	font-size: 14px;
	color: #7B7B7B;
}

a.doc {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #3573AA;
	font-size: 14px;
	text-decoration: underline;
}

a.doc:hover {
	text-decoration: none;
}

button.review__text__item__more {
	display: flex;
	align-items: center;
	font-family: inherit;
	gap: 10px;
	color: #3573AA;
	transition: all .5s ease;
	background: transparent;
	border: none;
	cursor: pointer;
}

button.review__text__item__more:hover span {
	text-decoration: underline;
}

button.show__more {
	padding: 22px 32px;
	font-size: 18px;
	font-weight: 600;
	background: #3573AA;
	border-radius: 5px;
	border: 1px solid transparent;
	color: #fff;
	font-family: inherit;
	transition: all .5s ease;
	cursor: pointer;
}

button.show__more:hover {
	border-color: #3573AA;
	background: transparent;
	color: #3573AA;
}

.review__text .block__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

section.review__form {
	display: flex;
	justify-content: center;
	padding: 64px 0;
	background: url(../img/person_bg.png) no-repeat right bottom;
	background-color: #DDE7F1;
}

.review__form .wrapper {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.review__form__wrapper {
	display: flex;
	flex-direction: column;
	max-width: 650px;
	gap: 24px;
}

h3.form__title {
	font-family: Fira Sans;
	font-weight: 600;
	font-size: 40px;
	line-height: 130%;
	margin: 0;
}

.review__form__wrapper > p {
	font-family: Fira Sans;
	font-weight: 400;
	font-size: 20px;
	line-height: 160%;
	vertical-align: middle;
}

form#review__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 16px;
}

form#review__form .row {
	display: grid;
	gap: 20px;
	width: 100%;
	grid-template-columns: repeat(2, 1fr);
	margin: 0;
}

form#review__form .row label {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
}

form#review__form .row label input.input {
	width: 100%;
	height: 62px;
	padding: 0 24px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-family: inherit;
	font-size: 16px;
	background: #fff;
	transition: all .5s ease;
}

form#review__form .row label .review__label-text {
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	transition: 0.3s ease;
	pointer-events: none;
	margin: 0;
	font-size: 16px;
}

form#review__form .row label .review__label-text span {
	color: #E54141;
}
  
  /* при фокусе или если input заполнен */
#review__form .row label.filled > .review__label-text,
  #review__form .row label:focus-within > .review__label-text {
	top: -8px;
	left: 8px;
	font-size: 12px;
	color: #555;
}

.checkbox__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.3;
	font-size: 12px;
	color: #7B7B7B;
	cursor: pointer;
}

label.checkbox__label a {
	color: #3573aa;
}

label.checkbox__label a:hover {
	text-decoration: underline;
}

form#review__form button {
	height: 62px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	background: #3573aa;
	transition: all .5s ease;
	cursor: pointer;
	text-align: center;
}

form#review__form button:hover {
	background: transparent;
	color: #3573aa;
	border-color: #3573aa;
}

/* Отключаем стандартный стиль чекбокса */
.checkbox__input {
	appearance: none;
	-webkit-appearance: none;
 /* для поддержки в Safari */;
}

/* Стилизация чекбокса */
.checkbox__input {
	appearance: none;
	width: 12px;
	height: 12px;
	border: 1px solid #3573AA;
	border-radius: 1px;
	background-color: transparent;
	cursor: pointer;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	margin: 0;
}

/* Оформление состояния checked */
.checkbox__input:checked {
	border-color: #3573AA;
	background: url(../img/check.svg) no-repeat center;
}

/* Эффект нажатия */
.checkbox__input:active {
	filter: brightness(90%);
}

/* Смена цвета границы при наведении */
.checkbox__input:hover:not(:disabled) {
	border-color: #3573AA;
}

/* Стили для чекбокса при фокусе */
.checkbox__input:focus {
	border-color: #3573AA;
	outline: none;
	box-shadow: 0 0 0 0.1rem rgba(69, 144, 255, 0.25);
}

/* Отключенный чекбокс */
.checkbox__input:disabled {
	filter: none;
	opacity: 0.5;
	cursor: not-allowed;
}

.checkbox__input:disabled ~ .checkbox__label {
	opacity: 0.5;
	cursor: not-allowed;
}

.review__form__person {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	color: #013A51;
	max-width: 190px;
}

p.person__name {
	font-size: 32px;
	line-height: 1.2;
	font-weight: 500;
}

p.person__status {
	font-size: 14px;
	line-height: 1.4;
	opacity: .5;
}

label.checkbox__label {
	cursor: pointer;
}

form#review__form .row label input.input:focus {
    border-color: #3573aa;
}

section.review h1.title {
    color: #000;
}

section.breadcrumb__review {
    padding-top: 170px;
}

section.breadcrumb__review .wrapper {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #A7B6BC;
}

a.breadcrumb__item {
    color: #A7B6BC;
}

a.breadcrumb__item:hover {
    color: #1677E9;
}

p.error {
    color: #d3334f;
	font-size: 13px;
}