@charset "utf-8";

/* Header fixes for longer Russian labels */
.header_extra
{
	flex-wrap: nowrap;
}

.header_phone,
.header_button
{
	flex-shrink: 0;
}

.header_phone
{
	padding-left: 26px;
	padding-right: 26px;
	font-size: 13px;
}

.header_button a
{
	white-space: nowrap;
	padding-left: 24px;
	padding-right: 24px;
	font-size: 13px;
}

@media only screen and (max-width: 1760px)
{
	.main_nav
	{
		margin-left: 140px;
	}

	.main_nav ul li:not(:last-child)
	{
		margin-right: 24px;
	}
}

@media only screen and (max-width: 1600px)
{
	.main_nav
	{
		margin-left: 70px;
	}

	.header_phone
	{
		padding-left: 20px;
		padding-right: 20px;
	}

	.header_button a
	{
		padding-left: 18px;
		padding-right: 18px;
		font-size: 12px;
	}
}

/* Intro appointment title should remain readable with long text */
.intro_form_container
{
	padding-top: 150px;
}

.intro_form_title
{
	left: 0;
	right: 0;
	width: auto;
	max-width: none;
	height: auto;
	min-height: 88px;
	line-height: 1.2;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
	word-break: break-word;
	hyphens: auto;
}

.intro_form textarea.intro_input
{
	height: 120px;
	padding-top: 16px;
	resize: vertical;
}

/* Contact appointment form should match homepage intro form */
.contact .contact_form_container
{
	padding-top: 150px;
}

.contact .contact_form_title
{
	left: 0;
	right: 0;
	width: auto;
	max-width: none;
	height: auto;
	min-height: 88px;
	line-height: 1.2;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
	word-break: break-word;
	hyphens: auto;
}

.contact .contact_form textarea.contact_input
{
	height: 120px;
	padding-top: 16px;
	resize: vertical;
}

/* Blog newsletter should stay identical to other pages */
.blog + .newsletter
{
	padding-top: 56px;
	padding-bottom: 82px;
}

.blog + .newsletter .newsletter_title
{
	font-size: 30px;
	font-weight: 500;
	color: #fff;
	line-height: 1.2;
}

.blog + .newsletter .newsletter_row
{
	margin-top: 54px;
}

.blog + .newsletter .newsletter_input
{
	width: calc(100% - 150px);
	height: 46px;
}

.blog + .newsletter .newsletter_button
{
	width: 167px;
	height: 46px;
	font-size: 14px;
}

@media only screen and (max-width: 575px)
{
	.intro_form_container
	{
		padding-top: 145px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.intro_form_title
	{
		left: 0;
		right: 0;
		width: auto;
		font-size: 20px;
		min-height: 84px;
	}

	.contact .contact_form_container
	{
		padding-top: 145px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.contact .contact_form_title
	{
		left: 0;
		right: 0;
		width: auto;
		font-size: 20px;
		min-height: 84px;
	}

	.blog + .newsletter
	{
		padding-bottom: 67px;
	}

	.blog + .newsletter .newsletter_row
	{
		margin-top: 39px;
	}

	.blog + .newsletter .newsletter_title
	{
		font-size: 24px;
	}

	.blog + .newsletter .newsletter_input
	{
		width: calc(100% - 120px);
		height: 40px;
	}

	.blog + .newsletter .newsletter_button
	{
		width: 142px;
		height: 40px;
		font-size: 12px;
	}
}

/* Mobile hero fixes: consistent crop + readable text + stable CTA buttons */
@media only screen and (max-width: 991px)
{
	.home .parallax_background
	{
		background-position: 72% center !important;
	}

	.home_overlay + .home_container .home_content
	{
		max-width: 76% !important;
		padding: 10px 14px;
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.76);
	}

	.home_overlay + .home_container .home_text
	{
		color: #5b5b5b;
	}

	.home .background_image
	{
		background-position: 70% center;
	}

	.home .background_image::after
	{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.15) 72%, rgba(255,255,255,0.00) 100%);
		pointer-events: none;
	}

	.home_buttons
	{
		flex-wrap: wrap;
		row-gap: 10px;
	}

	.home_buttons .button
	{
		max-width: 100%;
	}

	.home_buttons .button a
	{
		white-space: nowrap;
		font-size: 13px;
		padding-left: 26px;
		padding-right: 26px;
	}
}

@media only screen and (max-width: 767px)
{
	.home
	{
		height: 500px;
	}

	.home .parallax_background
	{
		background-position: 74% center !important;
	}

	.home_overlay + .home_container .home_content
	{
		max-width: 80% !important;
	}

	.home .background_image
	{
		background-position: 72% center;
	}

	.home_slider_dots
	{
		display: block !important;
		left: 50% !important;
		transform: translateX(-50%);
		bottom: 18px;
	}

	.home_slider_custom_dots
	{
		display: flex !important;
		align-items: center;
		justify-content: center;
	}

	.home_slider_custom_dot
	{
		width: 10px;
		height: 10px;
	}

	.home_slider_custom_dot:not(:last-child)
	{
		margin-right: 10px;
	}

	.home_buttons
	{
		margin-top: 24px;
		flex-direction: column;
		align-items: flex-start !important;
	}

	.home_buttons > div:not(:last-child)
	{
		margin-right: 0;
		margin-bottom: 10px;
	}

	.home_buttons .button a
	{
		white-space: nowrap;
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media only screen and (max-width: 575px)
{
	.home
	{
		height: 420px;
	}

	.home .parallax_background
	{
		background-position: 76% center !important;
	}

	.home_overlay + .home_container .home_content
	{
		max-width: 84% !important;
		padding: 9px 12px;
	}

	.home .background_image
	{
		background-position: 76% center;
	}

	.home_buttons .button a
	{
		font-size: 11px;
		padding-left: 18px;
		padding-right: 18px;
	}
}

@media only screen and (max-width: 400px)
{
	.home
	{
		height: 380px;
	}

	.home .parallax_background
	{
		background-position: 78% center !important;
	}

	.home_overlay + .home_container .home_content
	{
		max-width: 90% !important;
		padding: 8px 10px;
	}

	.home .background_image
	{
		background-position: 80% center;
	}

	.home_buttons .button a
	{
		font-size: 10px;
		padding-left: 14px;
		padding-right: 14px;
	}
}
