/* Регистрация яхты */

.main-register {
	position: relative;
	display: flex;
	justify-content: end;
	padding: 0;
	margin-top: 20px;
	margin-bottom: 45px;
}

.main-register span {
	font-size: 30px;
	font-weight: 700;
	color: var(--site-accent-color);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media (max-width: 1040px) {
	.main-register {
		margin-bottom: 30px;
		justify-content: center;
	}

	.main-register .g-button {
		display: none;
	}

	.main-register span {
		position: static;
		transform: translate(0, 0);
	}
}

@media (max-width: 940px) {
	.main-register span {
		font-size: 28px;
		line-height: 32px;
	}
}

@media (max-width: 767px) {
	.main-register {
		margin-bottom: 30px;
	}
}

@media (max-width: 560px) {
	.main-register {
		margin-bottom: 30px;
	}

	.main-register span {
		font-size: 20px;
		line-height: 22px;
	}
}

/* Слайдер флагов */

.country-slider-block.g-section {
	padding-bottom: 0px;
}

.country-slider-block h2 {
	margin-bottom: 15px;
	text-align: center;
}

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

.country-slider__container {
	width: 100%;
	padding: 45px 15px;
}

.country-slider__wrapper {
	display: flex;
	transition-timing-function: linear !important;
}

.country-slider__nav {
	width: 26px;
	height: 49px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--site-transition);
}

.country-slider__nav--prev {
	margin-left: 10px;
	transition: var(--site-transition);
}
.country-slider__nav--next {
	margin-right: 10px;
	transition: var(--site-transition);
}

.country-slider__nav--prev:hover,
.country-slider__nav--next:hover {
	transform: scale(1.2);
}
.country-slider__nav--prev svg path,
.country-slider__nav--next svg path {
	transition: var(--site-transition);
}
.country-slider__nav--prev:hover svg path,
.country-slider__nav--next:hover svg path {
	stroke: var(--site-accent-color);
}

.country-slider__slide {
	flex-shrink: 0;
	text-decoration: none;
	display: inline-block;
	position: relative;
	border-radius: var(--site-border-radius);
	transition: var(--site-transition);
	margin-right: 18px;
	max-width: calc(20% - 14px);
}

.country-slider__slide:hover {
	transform: scale(1.05);
}

.country-slider__link {
	display: flex;
	flex-direction: column;
}

.country-slider__slide img {
	width: 100%;
	max-width: 185px;
	border-radius: var(--site-border-radius);
}

.country-slider__price {
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translate(-50%, 0);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	color: var(--site-white-color);
}

.country-slider__price--spec {
	color: var(--site-accent-color);
}

.country-slider__price svg {
	width: 110px;
	height: 60px;
	z-index: 0;
}

.country-slider__price.request-price svg {
	width: 145px;
	height: 55px;
	z-index: 0;
}

.country-slider__price span {
	position: relative;
	z-index: 1;
}

.country-slider__price svg {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
}

.country-slider__price-value {
	color: var(--site-bg-color);
	white-space: nowrap;
}

.country-slider__price--spec .country-slider__price-value {
	color: var(--site-white-color);
}

@media (max-width: 940px) {
}

@media (max-width: 940px) {
	.country-slider__price svg {
		height: 40px;
	}

	.country-slider__price.request-price svg {
		height: 37px;
	}

	.country-slider__price {
		font-size: 12px;
	}

	.country-slider-block h2 {
		font-size: 28px;
		line-height: 32px;
	}
}

@media (max-width: 560px) {
	.country-slider__nav {
		width: 7px;
		height: 16px;
	}

	.country-slider__nav svg {
		width: 7px;
		height: 16px;
	}

	.country-slider__price svg {
		height: 36px;
	}

	.country-slider__price {
		font-size: 12px;
	}

	.country-slider__nav--next {
		margin-right: 5px;
	}

	.country-slider__nav--prev {
		margin-left: 5px;
	}

	.country-slider__price.request-price svg {
		height: 36px;
	}

	.country-slider-block h2 {
		font-size: 20px;
		line-height: 22px;
		margin-bottom: 0;
	}

	.country-slider__container {
		width: 100%;
		padding: 22px 8px;
	}

	.country-slider__slide:hover {
		transform: none;
	}

	.country-slider__slide {
		max-width: calc(33% - 4px);
		margin-right: 8px;
	}

	.country-slider__slide img {
		width: 100%;
		max-width: 152px;
		max-height: 102px;
	}
}

/* Сетка со странами */

.country-block__title {
	margin-bottom: 60px;
	text-align: center;
}

.country-block__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.country-block__item {
	position: relative;
	height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-size: cover;
	background-position: center;
	color: var(--site-white-color);
	text-decoration: none;
	border-radius: var(--site-border-radius);
	transition: var(--site-transition);
}

.country-block__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.country-block__bg--mobile {
	display: none;
}

.country-block__item.full-width {
	grid-column: 1 / -1;
	height: 250px;
}

.country-block__item:hover {
	transform: scale(1.05);
}

.country-block__item.full-width:hover {
	transform: scale(1.03);
}

.country-block__overlay {
	background: rgba(237, 106, 89, 0.9);
	padding: 15px 5px;
	text-align: center;
	position: relative;
	z-index: 1;
	border-radius: 0 0 var(--site-border-radius) var(--site-border-radius);
}

.country-block__name {
	font-weight: 700;
	font-size: 26px;
	line-height: 40px;
}

.country-block__price {
	position: absolute;
	top: 21px;
	left: 0px;
	background-color: var(--site-white-color);
	color: var(--site-dark-accent-color);
	border-radius: 0 var(--site-border-radius) var(--site-border-radius) 0;
	font-size: 16px;
	line-height: 1;
	font-weight: 700;
	padding: 11px 20px;
	z-index: 1;
}

.country-block__item.full-width .country-block__price {
	left: auto;
	right: 0;
	top: 30px;
	padding-right: 130px;
	border-radius: var(--site-border-radius) 0 0 var(--site-border-radius);
	text-align: right;
}

.country-block__price.red-price {
	color: var(--site-red-color);
}

.country-block__badge {
	position: absolute;
	top: -3px;
	right: 20px;
	color: var(--site-white-color);
	font-size: 16px;
	text-align: center;
	line-height: 1;
	font-weight: 700;
	z-index: 2;
}
.country-block__badge-text {
	position: absolute;
	top: calc(50% - 7px);
	left: 50%;
	transform: translate(-50%, -50%);
}

.country-block__note {
	font-weight: 700;
	text-align: center;
	padding: 12px 14px;
	position: absolute;
	top: 46px;
	left: 43px;
	border: 3px solid var(--site-yellow-color);
	color: var(--site-yellow-color);
	border-radius: var(--site-border-radius);
	transform: rotate(-5deg);
}

.price-text--mobile {
	display: none;
}

.price-text--desktop {
	display: inline;
}

@media (max-width: 1024px) {
	.country-block__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.country-block__name {
		font-size: 24px;
		line-height: 26px;
	}

	.country-block__note {
		display: none;
	}

	.country-block__item:hover {
		transform: none;
	}

	.country-block__item.full-width:hover {
		transform: none;
	}
}

@media (max-width: 940px) {
	.country-block__title {
		font-size: 28px;
		line-height: 32px;
	}
}

@media (max-width: 767px) {
	.country-block__badge {
		font-size: 14px;
		line-height: 16px;
	}

	.country-block__name {
		font-size: 20px;
		line-height: 22px;
	}

	.country-block__price {
		font-size: 14px;
	}

	.country-block__item {
		height: 320px;
	}

	.price-text--mobile {
		display: inline;
	}
	.price-text--desktop {
		display: none;
	}
}

@media (max-width: 560px) {
	.country-block__grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 15px;
	}

	.country-block__badge {
		font-size: 12px;
		line-height: 13px;
	}

	.country-block__badge-text {
		top: calc(50% - 3px);
	}

	.country-block__price {
		font-size: 14px;
		line-height: 18px;
		padding: 6px 15px;
		width: 138px;
		height: 48px;
	}

	.country-block__badge svg {
		width: 80px;
		height: auto;
	}

	.country-block__item.full-width .country-block__price {
		padding-right: 115px;
		top: 20px;
		width: 250px;
	}

	.country-block__title {
		font-size: 20px;
		line-height: 22px;
		margin-bottom: 22px;
	}

	.country-block__item.full-width,
	.country-block__item {
		height: 100%;
		aspect-ratio: 1 / 1;
	}

	.country-block__bg--desktop {
		display: none;
	}
	.country-block__bg--mobile {
		display: block;
	}
}
/* Текстовый блок */

.main-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 50px;

	margin-bottom: 0;
	padding-bottom: 0;
}
.main-text__block {
	background: rgba(14, 33, 71, 0.8);
	border-radius: var(--site-border-radius);
	padding: 25px 20px;

	font-weight: 700;
	font-size: 20px;
	line-height: 28px;
	text-align: justify;
}

@media (max-width: 767px) {
	.main-text {
		gap: 30px;
	}

	.main-text__block {
		font-size: 16px;
		padding: 10px;
		line-height: 22px;
		text-align: left;
	}

	.main-text .g-button {
		max-width: 270px;
	}
}
