@charset "UTF-8";

@font-face {
    font-family: "Proxima Nova";
    src: url("/assets/shared/fonts/ProximaNova-Regular.woff2") format("woff2"), url("/assets/shared/fonts/ProximaNova-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("/assets/shared/fonts/ProximaNova-Bold.woff2") format("woff2"), url("/assets/shared/fonts/ProximaNova-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.main {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.main__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.main__title {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.main__title-text {
    font: 700 75px "Proxima Nova", sans-serif;
    color: #272829;
    width: fit-content;
    display: flex;
    flex-direction: column;
}

.main__title-subtext {
    white-space: nowrap;
}

.main__title-line {
    display: block;
    width: 100%;
    height: 14px;
    background: #27814E;
}

.main p {
    font: 400 20px "Proxima Nova", sans-serif;
    color: #272829;
    margin-bottom: 30px;
}

.main img {
    display: block;
    max-width: 100%;
}

.reviews-list {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 50px;
    margin-top: 50px;
}

.reviews-item {
    display: flex;
    flex-direction: column;
    grid-gap: 18px;
    width: 100%;
    max-width: 573px;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #B3B3B3;
    background: #FFF;
}

.reviews-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 10px;
}

.reviews-item__name {
    font: 700 20px "Proxima Nova", sans-serif;
    color: #272829;
}

.reviews-item__service {
    font: 700 18px "Proxima Nova", sans-serif;
    color: #fff;
    background: #B3B3B3;
    border-radius: 5px;
    padding: 3px 10px;
}

.reviews-item__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 10px;
}

.reviews-item__date {
    font: 400 18px "Proxima Nova", sans-serif;
    color: #808080;
}

.reviews-item__text {
    font: 400 18px "Proxima Nova", sans-serif;
    color: #272829;
}

.reviews-item__gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    grid-gap: 10px;
}

.reviews-item__gallery img {
    display: block;
    object-fit: cover;
    height: 228px;
    max-width: 48%;
}
.reviews-item__gallery.even img {
    max-width: 48%;
}
.reviews-item__gallery.odd img:last-child {
    max-width: 100%;
}
.reviews-item__gallery.one img {
    max-width: 100%;
}

.rating {
    overflow: hidden;
}

.rating:not(:checked)>input {
    display: none;
}

.rating:not(:checked)>label {
    float: right;
    width: 37px;
    padding: 0;
    cursor: pointer;
    font-size: 40px;
    line-height: 33px;
    color: #B3B3B3;
}

.rating:not(:checked)>label:before {
    content: "★";
}

.rating>input:checked~label {
    color: #FFCC00;
}

.rating:not(:checked)>label:hover,
.rating:not(:checked)>label:hover~label {
    color: #FFCC00;
}

.rating>input:checked+label:hover,
.rating>input:checked+label:hover~label,
.rating>input:checked~label:hover,
.rating>input:checked~label:hover~label,
.rating>label:hover~input:checked~label {
    color: #FFCC00;
}

.rating-result {
	display: block;
}
.rating-result span {
    width: 37px;
    padding: 0;
    font-size: 40px;
    line-height: 33px;
    color: #B3B3B3;
}
.rating-result > span:before {
	content: '★';
}
.rating-result > span.active {
	color: #FFCC00;
}

/* Input file */
.input-file {
	position: relative;
	display: inline-block;
}
.input-file-btn {
	position: relative;
	display: flex;
    align-items: center;
    grid-gap: 10px;
	cursor: pointer;
	outline: none;
	font: 400 18px "Proxima Nova", sans-serif;
    text-decoration: underline;
	vertical-align: middle;
	color: #27814E;
	text-align: center;
	background-color: transparent;
	line-height: 22px;
	box-sizing: border-box;
	border: none;
	margin: 0;
	transition: background-color 0.2s;
}
.input-file-btn img {
    display: block;
    width: 20px;
    height: 20px;
}
.input-file-text {
    display: none;
	padding: 0 10px;
	line-height: 40px;
    font: 400 16px "Proxima Nova", sans-serif;
}
.input-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}

.reviews-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 573px;
    background: #F3F4F6;
    border-radius: 5px;
    padding: 30px;
    box-sizing: border-box;
}

.reviews-form__title {
    font: 700 36px "Proxima Nova", sans-serif;
    color: #272829;
}

.reviews-form__desc {
    font: 400 20px "Proxima Nova", sans-serif;
    color: #272829;
    margin-top: 3px;
}

.reviews-form__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    grid-gap: 23px;
    margin-top: 23px;
}

.reviews-form__input {
    width: 100%;
    height: 60px;
    border: 2px solid #27814E;
    background: #FFF;
    outline: none;
    padding-left: 24px;
    box-sizing: border-box;
    font: 400 20px "Proxima Nova", sans-serif;
    color: #272829;
}

.reviews-form__input::-moz-placeholder {
    color: #272829;
}

.reviews-form__input::placeholder {
    color: #272829;
}

.reviews-form__textarea {
    width: 100%;
    height: 141px;
    resize: vertical;
    border: 2px solid #27814E;
    background: #FFF;
    outline: none;
    padding-left: 24px;
    padding-top: 16px;
    box-sizing: border-box;
    font: 400 20px "Proxima Nova", sans-serif;
    color: #272829;
}

.reviews-form__textarea::-moz-placeholder {
    color: #272829;
}

.reviews-form__textarea::placeholder {
    color: #272829;
}

.reviews-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 20px;
}

.reviews-form__btn {
    width: 100%;
    max-width: 288px;
    height: 58px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #27814E;
    font: 700 30px "Proxima Nova", sans-serif;
    color: #fff;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-form__to-form {
    width: 100%;
    max-width: 288px;
    height: 58px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #27814E;
    font: 700 26px "Proxima Nova", sans-serif;
    color: #fff;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.reviews-form__to-form:hover {
    color: #fff;
}

.reviews-form__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 5px;
}

.reviews-form__label {
    font: 400 20px "Proxima Nova", sans-serif;
    color: #272829;
}

@media screen and (max-width: 1199px) {
    .main__container {
        padding: 50px 10px;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .main__title-text {
        font-size: 56px;
    }

    .main__title-line {
        height: 10px;
    }
}

@media screen and (max-width: 575px) {
    .main__container {
        padding: 30px 10px;
    }

    .main__title-text {
        font-size: 34px;
    }

    .main__title-line {
        height: 6px;
    }

    .main p {
        margin-bottom: 20px;
    }

    .reviews-list {
        grid-gap: 30px;
        margin-top: 30px;
    }

    .reviews-item {
        padding: 20px;
    }

    .reviews-form {
        padding: 20px;
    }

    .reviews-form__title {
        font-size: 30px;
    }

    .reviews-form__form {
        grid-gap: 20px;
        margin-top: 20px;
    }

    .reviews-form__input {
        padding-left: 20px;
        height: 50px;
    }

    .reviews-form__textarea {
        height: 120px;
        padding-left: 20px;
    }

    .reviews-form__btn {
        height: 60px;
        font-size: 26px;
    }
}