/*баннер основной + форма*/ 

.page-template-homepage main {
    margin-top: 0;
}


.front__main-banner {
    background-image: url('/wp-content/themes/vladuflowres/img/main-image.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%; 
    height: 720px;
    display: flex;
    align-items: center;
	border-radius: 0 0 15px 15px;
}

.main-banner__box--image {
    display: none;
}

.main-banner__box--form {
    max-width: 744px;
    background-color: rgb(255 255 255 / 80%);
    padding: 32px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
}

.main-banner__box--form-title {
    font-size: 42px;
    line-height: 120%;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 24px;
    letter-spacing: 0.84px;
}

.main-banner__box--form-subtitle {
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0.36px;
    margin-bottom: 24px;
}

.main-banner__form {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 24px;
}

.main-banner__form .custom-select {
    width: calc(1 / 2 * 100% - (1 - 1 / 2) * 24px);
    margin: 0;
}

.main-banner__form  .select-trigger {
    border: 1px solid #1E40AF;
    padding: 0 24px;
    font-size: 18px;
    height: 70px;
}

.main-banner__form .select-options {
    padding: 16px 0;
    border: 1px solid #1e40af;
}

.main-banner__form .select-options li {
    padding: 6px 24px;
    font-size: 16px;
}

.main-button.main-banner__form--button {
    margin: 0;
    width: calc(1 / 2 * 100% - (1 - 1 / 2) * 24px);
    max-width: 100%;
	height: 70px;
}

@media screen and (max-width: 768px) {
	.front__main-banner {
		background-image: none;
		height: auto;
	}
	
	.main-banner__box--image {
		display: block;
		border-radius: 15px;
		overflow: hidden;
		margin-top: 16px;
	}
	
	.main-banner__box--form {
		padding: 0;
		backdrop-filter: none;
		background-color: #fff;
		border-radius: 0;
		max-width: 100%;
		margin-top: 16px;
	}
	
	.main-banner__box--form-title {
		font-size: 24px;
		letter-spacing: 0.42px;
		margin-bottom: 12px;
	}
	
	.main-banner__box--form-subtitle {
		font-size: 16px;
		margin-bottom: 12px;
	}
	
	.main-banner__form {
		gap: 12px;
		flex-direction: column;
	}
	
	.main-banner__form .custom-select {
		width: 100%;
	}
	
	.main-button.main-banner__form--button {
		width: 100%;
		height: 64px;
	}
	
	.main-banner__form .select-trigger {
		font-size: 16px;
		height: 64px;
	}
	
}


/*О компании в цифрах (numbers)*/
.numbers__box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.numbers__box-item {
    width: 230px;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F4F4F5;
    border-radius: 100%;
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.8px;
}


.numbers__box-item span {
    color: #FACC15;
    font-size: 80px;
    line-height: 120%;
    letter-spacing: 1px;
    font-weight: 900;
    text-align: center;
}

@media screen and (max-width: 768px) {
	.numbers__box {
		flex-direction: column;
		gap: 16px;
	}
	
	.numbers__box-item {
		width: 165px;
		height: 165px;
		font-size: 18px;
		letter-spacing: 0.4px;
	}
	
	.numbers__box-item span {
		font-size: 60px;
	}
	
}

/*Популярные направления*/

.swiper-head__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}


.swiper-button__box {
    display: flex;
    gap: 12px;
}

.front-slider-button {
    border: 1px solid #EF4444;
    border-radius: 100%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    padding: 8px;
	transition: .25s;
}


.front-slider-button:hover {
    background-color: #EF4444;
}

.front-slider-button:hover img{
    filter: grayscale(1) brightness(1000%);
}


.popular-destinations__slide {
    display: block;
    position: relative;
	border-radius: 15px;
	overflow:hidden;
}

.popular-destinations__slide-link {
    background-color: #FACC15;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 120%;
	position: absolute;
    bottom: 0;
	transition: .25s;
}

.popular-destinations__slide-link:hover {
    background-color: #1E40AF;
    color: #fff;
}

.popular-destinations__slide-image {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.main-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.swiper-pagination-bullet {
    width: 10px!important;
    height: 10px!important;
    background: #212121!important;
}


@media screen and (max-width: 991px) {
	.swiper-button__box {
		display: none;
	}
}


/*Главная - о компании*/

.front__about--box {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.front__about--text {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.38px;
    max-width: 555px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front__about--text p {
    margin-bottom: 16px;
}

.front__about--image {
    flex: 1;
    display: flex;
    align-items: stretch;
    border-radius: 15px;
    overflow: hidden;
}

.front__about--image img {
    height: 100%; 
}


@media screen and (max-width: 992px) {
	.front__about--box {
		display: flex;
		flex-direction: column;
	}
	
	.front__about--text {
		max-width: 100%;
	}	
}

@media screen and (max-width: 768px) {
	.front__about--text {
		font-size: 16px;
		line-height: 140%;
	}
	
	.front__about--box {
        gap: 16px;
    }
	
	.swiper-head__box {
		margin-bottom: 16px!important;
	}
}

/*Main button*/ /*Main button*/ /*Main button*/ 

.main-button {
    background-color: #1E40AF;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    padding: 24px 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin: 32px auto 0;
    border-radius: 60px;
    transition: .25s;
    border: 1px solid #1E40AF;
    letter-spacing: 0.40px;
	cursor:pointer;
}



.main-button:hover {
	color: #1E40AF;
    background-color: #fff;
}

@media screen and (max-width: 768px) {
	.main-button {
		padding: 20px 50px;
	}
}


.main-button_new {
    background-color: #ffffff;
    color: #FB923C;
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    padding: 21px 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: max-content;
    margin: 32px auto 0;
    border-radius: 60px;
    transition: .25s;
    border: 1px solid #FB923C;
}


.main-button_new:hover {
	background-color: #0EA5E9;
	border-color: #0EA5E9;
	color: #fff;
}



/*Основной заголовок*/
.container-title {
	font-size: 48px;
    line-height: 120%;
    font-weight: 600;
    text-align: left;
    color: #1E40AF;
	letter-spacing: 0.8px;
}

.container-title.mb {
    margin-bottom: 24px;
}

@media screen and (max-width: 991px) {
	.container-title {
		font-size: 36px;
	}
}

@media screen and (max-width: 768px) {
	.container-title {
		font-size: 24px;
		line-height: 140%;
	}
	
	.container-title.mb {
		margin-bottom: 16px;
	}
	
	.main-button {
		margin: 16px auto 0;
	}
}


/*Акция (discount)*/

.front__discount--box {
    background-color: #FACC15;
    padding: 64px 75px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.front__discount-img {
    margin-bottom: 64px;
}

.front__discount-title {
    font-size: 36px;
    line-height: 120%;
    font-weight: 600;
    letter-spacing: 0.80px;
    margin-bottom: 24px;
	text-align: center;
}

.front__discount-subtitle {
    font-size: 24px;
    line-height: 120%;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
	margin-bottom: 24px;
}

.discount-button {
    background-color: #ffffff00;
    color: #212121;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    padding: 24px 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 60px;
    transition: .25s;
    border: 1px solid #212121;
    letter-spacing: 0.40px;
}

.discount-button:hover {
    background-color: #212121;
    color: #fff;
}


@media screen and (max-width: 992px) {
	.front__discount-title {
		font-size: 32px;
	}
	
	.front__discount-subtitle {
		font-size: 18px;
	}
}


@media screen and (max-width: 768px) {
	.front__discount--box {
		padding: 32px 16px;
	}
	
	.front__discount-img {
		margin-bottom: 24px;
	}
	
	.front__discount-title {
		font-size: 20px;
		margin-bottom: 16px;
	}
	
	.front__discount-subtitle {
		font-size: 16px;
		margin-bottom: 16px;
	}
	
	.discount-button {
		font-size: 16px;
	}	
}





/*Отзывы*/

.review__item {
    background-color: #F4F4F5;
    padding: 24px 24px 48px 24px;
    border-radius: 15px;
	position: relative;
}

.review__stars {
    align-items: center;
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
	gap: 2px;
}

.review__stars-item {
    display: flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
}

.review__stars-item.full svg path {
    fill: #ffa900;
}

.review-photo {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    overflow: hidden;
	flex-shrink: 0;
}

.review__author-wrapper {
    display: flex;
    gap: 16px;
	align-items: center;
	margin-bottom: 16px;
}

.review__author {
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.40px;
    font-weight: 400;
    margin-bottom: 6px;
}

.review__shool, .review__date {
    font-size: 15px;
    line-height: 120%;
    letter-spacing: 0.40px;
    font-weight: 400;
    margin-bottom: 6px;
}

.review__author-wrapper__info {
    width: 100%;
}

.review__text {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
}


.toggle-review {
    position: absolute;
    bottom: 16px;
    right: 24px;
    background-color: #fff0;
    border: none;
    cursor: pointer;
    color: #1E40AF;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.4px;
}

@media screen and (max-width: 568px) {
	.review__item {
		padding: 16px 16px 42px 16px;
	}
	
	.review__author-wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		margin-bottom: 12px;
	}
	
	.review__author, .review__shool, .review__date {
		text-align: center;
	}
	
	.review__stars {
		justify-content: center;
	}
	
	.review__text {
		font-size: 16px;
	}
	
	.toggle-review {
		bottom: 12px;
		right: 16px;
		font-size: 16px;
	}
	
}





.question {
	cursor: pointer;
    background-color: #F4F4F5;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 24px auto;
    padding: 24px;
    border-radius: 15px;
}

.front-questions__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: 0.4px;
}

.question_content {
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #212121;
    margin-top: 16px;
    display: none;
}

.question_content p {
    margin-bottom: 16px;
}

.question_content p:last-child {
    margin-bottom: 0px;
}

.front-questions__icon {
    width: 100%;
    height: 38px;
    position: relative;
    cursor: pointer;
    max-width: 38px;
    border-radius: 100%;
    margin-left: 16px;
	transition: transform 0.1s ease-in-out;
}

.question.open .front-questions__icon {
	transform: rotate(90deg);
}


.question_map {
    display: block;
    width: 100% !important;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 24px;
	position: relative;
}


.map-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.2);
    border-top-color: #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.custom-select.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}


.swiper-head__box .container-title {
    margin: 0!important;
}



.section.school-slider {
    background-color: #F4F4F5;
    padding: 64px 0;
}

.school-slider .front-slider-button {
    background-color: #F4F4F5;
}

.school-slider .front-slider-button:hover {
    background-color: #EF4444;
}



.school-slider-product-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 260px;
    display: block;
}

.school-slider-product-image img {
    height: 100%;
}

.school-slider__slide {
    display: block;
    position: relative;
    background-color: #fff;
    border-radius: 15px;
	padding-bottom: 24px;
}


.school-slider_name {
    font-size: 22px;
    line-height: 140%;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    margin: 16px 20px;
}

.school-slider_link {
    text-align: center;
    font-size: 18px;
    line-height: 140%;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #1E40AF;
    border-bottom: 1px solid transparent;
    width: max-content;
    margin: 0 auto;
}

.school-slider_link:hover {
	border-bottom: 1px solid #1E40AF;
}

@media screen and (max-width: 768px) {
	.section.school-slider {
		padding: 32px 0;
	}
}


.section.form-page {
    background-color: #EEF2FF;
    padding: 64px 0;
}

.form-page_box {
    display: flex;
    gap: 24px;
}

.custom-feedback-form {
    background-color: #fff;
    padding: 24px;
    border-radius: 15px;
    width: 440px;
    flex-shrink: 0;
	position: relative;
	min-height: 403px;
}

.custom-feedback-form .main-button {
    margin: 24px auto 0 auto;
}

.custom-feedback-form__title {
    font-size: 22px;
    line-height: 120%;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 24px;
    text-align: center;
}

.form-page--image {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
}

.form-page--image img{
    height: 100%;
}


.custom-feedback-thanks {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    left: 0;
    top: 0;
    border-radius: 15px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.feedback-thanks-title {
    font-size: 24px;
    line-height: 120%;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
}

.feedback-thanks-text {
    font-size: 18px;
    line-height: 120%;
    font-weight: 400;
    letter-spacing: 0.4px;
    text-align: center;
}

.feedback-thanks__logo {
    max-width: 180px;
    position: absolute;
    top: 24px;
    right: 24px;
}

.custom-feedback-personal {
    font-size: 14px;
    line-height: 140%;
    font-weight: 400;
    letter-spacing: 0.4px;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
}

.custom-feedback-personal a{
    color: #1E40AF;
}


@media screen and (max-width: 768px) {
	.form-page_box {
		flex-direction: column;
		gap: 16px;
	}
	
	.custom-feedback-form {
		width: 100%;
		padding: 16px;
	}
	
	.custom-feedback-form__title {
		font-size: 18px;
		margin-bottom: 16px;
	}
	
	.custom-feedback-form .main-button {
		max-width: 100%;
		width: 100%;
	}
	
	.feedback-thanks-text {
		font-size: 14px;
	}
}	