section {
	padding-top: 80px;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	margin-top: 0;
	transition: opacity 0.4s ease, margin-top 0.4s ease;
	will-change: max-height;
}

.faq-quest.open .faq-answer {
	max-height: 1000px; /* оставляем большой запас */
	opacity: 1;
	margin-top: 20px;
}


.page-template-contact-template .address__value {
	font-size: max(20px, min(1.563vw, 23px));
}

.service__img {
	bottom: -10px;
    max-width: 85%;
}

.contact-messenger__item {
	transition: .4s;
}

.contact-messenger__item:hover {
    transform: scale(1.2);
}    

.footer-wrapper .title-form-hr {
	font-size: max(32px, min(3vw, 70px));
	min-height: 140px;
	padding-block: 60px;
}



.workers-slide-block {
	align-items: flex-start;
}

.workers-slide-block::after {
	content: '';
	position: absolute;
	bottom: 0%;
	left: 0;
	width: 100%;
	height: 150%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
	pointer-events: none;
	z-index: 1;
}

.workers-slide__name, .workers-slide__position {
	position:relative;
	z-index:2;
	font-size: clamp(10px, 1.688vw, 30px);
}

.footer-wrapper h2 {
	line-height: 100%;
	font-size: max(32px, min(3vw, 90px));
	min-height: 140px;
	padding-block: 40px;
	white-space: nowrap;
}

.faq h2 {
	margin-bottom: 10px;
}
.faq-title {
	color: #000000;
}

.faq-answer {
	color: #000000;
}


.workers-slide-block {
	z-index: 2;
	color: white;
	background: none;
	backdrop-filter: blur(0);
}



.info_top_title h2{
	font-size: clamp(40px, 3vw, 60px);
	padding-top: 50px;
	padding-right: 90px;
	line-height: 105%;
}

.services .topaz {
	width: 340px;
	right: 0px;
	top: -13px;
}

.section-skills {
	padding-top: 10px;
}

.stage-container {
	background-image: url('https://www.russ-market.ru/wp-content/uploads/2025/05/back-line.svg');
	background-repeat: no-repeat;
	background-size: contain; 
	background-position: center 100px;
}

.stage__title {
	line-height: 105%;
}

.stage__description {
	color: black;
}

.case-employer {
	padding-top: 0px;
}

.case-employer .container .container {
	padding-inline: 0px;
}

.partner__description{
	margin-top: 10px;
}

.service_card p {
	font-size: max(20px, min(1.042vw, 25px));
}

.service_card {
	min-height: 0px;
}

.review-text {
	color: black;
}

.review__company {
	color: black;
}

.till-day{
	color: #fff;
	background: #001b93;
	margin-top: 0px;
}

.card-info p, .service_card .tags div, .card-info h3 {
	padding: 10px 0px;
	color: black;	
}

.services .topaz2 {
	top: -90px;
	width: 20%;
	display: none;
}

.header-text {
	max-width: 100%;
}

.info {
	margin-bottom: 0;
}

.info_top_title h2 {
	font-size: clamp(59px, 4.688vw, 70px);
	padding-top: 35px;
}

.services > .container > p {
	max-width: 800px;
	margin-top: 20px;
	font-size: clamp(30px, 1.823vw, 40px)
}

.page-template-applicant-template .header-figure.f-0, .page-template-employer-template .header-figure.f-0 {
	max-width: 1200px;
}

.case-section .container .container {
	padding-inline: 0;
}

.partners-slide {
	aspect-ratio: 1 / 1;
}

.service-case__item {
	position: relative;
	overflow: hidden;
}

.service-case__item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 1;
}

.service-case__text {
	position: relative;
	z-index: 2;
	color: inherit;
}

.case--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	color: #999;
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	min-height: 300px; /* Подгони под твои реальные кейсы */
	position: relative;
}

.service-case--white .service-case__text {
	color: white;
}

.service-case--white::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
	pointer-events: none;
	z-index: 1;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	margin-top: 20px; /* отступ сверху */
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.faq-quest.open .faq-answer {
	max-height: 1000px; /* достаточно большое значение */
	opacity: 1;
	margin-top: 20px;
}


.retreat-blog {
	display: block;
	padding-top: 20px;
}

.page {
	margin-top: 0; !important;
}

.container-content ol li::before {
	font-size: max(18px, min(1.2vw, 24px));
}

.modal__container {
	max-width: 600px;
	padding: 60px 70px 0px;
}

.modal-description {
	font-size: 20px;
	margin-bottom: 28px;
	color: #000000;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	font-size: 16px;

}

.wpcf7-submit {
	margin-top: 10px;
	font-size: 18px;
}

.modal .form-agree__text {
	max-width: 100%;
	text-align: left;
}


.modal-description{
	line-height: 135%;
	text-align: left;
}

.modal__content {
	margin-top: 10px;
}

.modal__header {
	justify-content: flex-start
}


.modal__title {
	font-size: 40px;
}

.header2.dark .header-nav ul {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
}

.container-content p img {
	border-radius: 30px;
}

.header-tags__item {
	font-size: 14px;
}

.page-template-about-template .header2 {
	z-index: 100;
}

.header-content-btn {
	color: black;
}

.contact-messenger {
	padding-top: 40px;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	font-size: 18px;
}

factoids__item {
	border-radius: 30px
}

.main-blog__text {
	font-size: 17px;
}

.close-menu-form {
	display: none;
}

.mobile-menu {
	z-index: 100;
}

.contact-form .f-row {
	padding: 0;
	margin: 0;
}

.wpcf7-submit {
	margin-top: 30px;
}

.wpcf7-spinner {
	display: none;
}

.wpcf7-form .f-row:not(:first-of-type) {
	margin-top: 20px;
}


.service__item {
	min-height: 300px;
}

.case__description{
	line-height: 105%;
}

.case-block a.case__item:nth-of-type(2)::after {
	height: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.case-block a.case__item:nth-of-type(3)::after {
	height: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

body .tekst_sverhu {
	justify-content: flex-start;
}


.case--white {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
}

.case--white::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
	pointer-events: none;
	z-index: 1;
}

.case--white .case__description {
	position: relative;
	z-index: 2;
	color: #fff;
	line-height: 105%;
}

.footer-figure .buttons_wrapper .btn {
	font-size: clamp(14px, 1.146vw, 22px);
}

.contact-messenger__item {
	width: 50px;
}

.header2-top-wrapper {
	z-index: 100;
}

.single-blog .header-text .title-h1{
	line-height: 105%
}

.title-margine {
	margin-bottom: 10px;	
}

.service__title{
	line-height: 105%;
}

.direction__tag {
	font-size: max(15px, min(.833vw, 16px));
}

.main-blog__text {
	font-size: 14px;
}

.about-review-clients {
	z-index: 1;
}

.about-review__content {
	z-index: 2;
}

.about-review__text {
	max-width: 300px;
}

.kube {
	position: absolute;
	width: 150px;
	right: -110px;
	bottom: -50px;
}

.case-title {
	margin-bottom: 35px;
}

.title-h2, h2{
	line-height: 105%;
	font-size: clamp(40px, 3vw, 60px);
}

.header2-text .title-h1 {
	line-height: 105%;
	padding-top: 50px;
}

.header2 .style_2 .header-figure.f-2, .header2 .style_2 .header-figure.f-0 {
	top: 60px;
}

.breadcrumbs li:not(:last-child):after {
	top: -1px;	
}

.breadcrumbs li {
	font-size: max(15px, min(.938vw, 18px));
}

.about-review__item:nth-child(2) img {
	width: 13.667vw;
}

.exclusive-wrapper .title-h2 {
	padding: 43px 30px;
	line-height: 105%;	
	position: relative;
}

.scroll__title {
	line-height: 105%;
}

.about-team {
	display: none;
}

.menu-item a{
	text-wrap: nowrap;
}

footer {
	margin-top: 70px;
}

.main-blog-block {
	margin-bottom: 70px;
}

.footer-bottom {
	margin-top: 0px;
	margin-block: 10px;
}

.mini-image img {
	width: 70%;
}

.main-direction {
	padding-top: 80px;
}

.main-blog-block::-webkit-scrollbar {
	display: none;
}

.main-blog-block {
	-ms-overflow-style: none; 
	scrollbar-width: none; 
}

.header2-content-block {
	padding:0;
}

.header2-text {
	top: 155px;
}

.header2-main-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 20px;
}

.container-content li {
	line-height: 120%;
}

.menu-item-105 a {
	color: #001b93;
}

.container-content p {
	margin-bottom: 20px;
}

.container-content ul {
	margin-bottom: 20px;
}

.container-content h2 {
	margin: 60px 0 40px;
}

.container-content ul li::before {
	content: '•';
	margin-right: 10px;
	font-size: max(20px, min(1.2vw, 24px));
}

.container-content h2 {
	font-size: max(40px, min(2vw, 60px));
}

button, .wpcf7-submit {
	cursor: pointer;
}

body .factoids__btn {
	transition: color 0.5s ease, background 0.5s ease;
}

body .factoids__btn:hover {	
	color: #fff;
	background: #001b93;
}

.footer-form .buttons_wrapper .btn-white {
	color: #001B93;
	border: 2px solid #001B93;
}


.footer-form .buttons_wrapper .btn-white:hover {
	border: 2px solid #ffffff;
	background: #FFFFFF;
}

.contact-messenger-items {
	align-items: center;
}

.blog__title {
	font-size: max(18px, min(2.248vw, 20px));
}

.blog__date {
	font-size: max(10px, min(1.128vw, 16px));
}

.service__description {
	position: relative;
	z-index: 10;
}

.social-devider {
	border: 1px solid #63BDD0;
}

.header-wrapper.dark .header-top-right a {
	color: #fff;
}

.case--fullscreen {
	background-position: center;
}

.case--fullscreen {
	background-size: cover; 
	background-position: center; 
	background-repeat: no-repeat;
}

.case-block {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 0.8vw; 
	gap: 20px;
	margin-bottom: 20px;
}

.case--white span {
	color: white;
}

div.case__item {
	min-height: 350px;
}

.case__item.white-text .case__description {
	padding: 28px;
	width: 100%;
}

.header-phone,.header-mail {
	white-space: nowrap;
}

.exclusive__item{
	display: flex;
	align-items: center;
}

.exclusive-content {
	border-radius: 0 50px 15px 15px;
}

.exclusive__item:nth-child(6) {
	font-size: max(17px, min(1.563vw, 30px));
}

.partners-slide {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	padding: 20px;
}

.partners-slide img {
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
}

.swiper-slide {
	max-width: 100vw;
}

.main-partners .swiper-slide {
	aspect-ratio: 1 / 1;
}


.partner-logo {
	max-width: 100%;
	max-height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: white;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	padding: 10px;
	box-sizing: border-box;
}

.menu-item-has-children .submenu-wrapper {
	left: 0;
}

.partners-slide > div {
	padding: 10px;
	max-height: 65%;
	min-height: 65%;
}

.subtitle br {
	display: none;
} 

.page-template-contact-template .address-block {
	padding-bottom: 10px;
}

.breadcrumbs {
	flex-wrap: wrap;
}

.breadcrumbs li {
	font-size: max(15px, min(.938vw, 18px));
}

.buttons_wrapper .btn  {
	max-width: 1000px;
	text-wrap: nowrap;
}

@media screen and (max-width: 500px) {
	.swiper {
		overflow: visible;
	}

	.swiper-arrows {
		top: -90px;
	}
}
@media screen and (max-width: 768px) {
	body .info_card {
		font-size: 16px;
		padding: 10px;
	}
	
	body .service_card  {
		font-size: 16px;
	}
	
	.till-day {
		display: none;
	}
	
	.body .services>.container>p {
		font-size: 18px;
	}
	
	body .info_cards_wrapper {
		border: 1px solid #EAF2FF80;
		gap: 20px;
		border-radius: 25px;
		padding: 15px 0;
		color: black;
	}	

	body .info_card p {
		color: black;
	}
	
	body .info_card img {
		height: auto;
	}
	
	.buttons_wrapper .btn {
        font-size: 18px;
    }
	
	body .info_top ul li {
        font-size: 20px;
		color: black;
    }
	
	main .info {
		margin-bottom: 0px;
	}

	body .form-checkbox p {
		font-size: 14px;
	}

	body .faq-quest.open .faq-answer {
		padding-top: 0;
		margin-top: 0;
	}
	body .footer-top-content p {
		font-size: 16px;
		padding-left: 80px;
	}

	body .form-field p {
		font-size: 22px;
	}


	body .goto_bot {
		font-size: 22px;
	}

	body .advantages__item-link {
		height: 320px;
	}

	.advantage__description {
		padding-bottom: 100px;
	}

	.applicant-photo {
		padding-top: 0px;
	}

	section {
		padding-top: 50px;
	}

	.page-template-contact-template .address-block .address__value.phone {
		padding: 0;
	}

	.close-menu {
		width: 40px;
	}

	.blog-grid .blog__item .blog__title, .blog-grid .blog__item:nth-child(1) .blog__title {
		line-height: 105%;
	}

	.service__item {
		min-height: 200px;
	}

	footer .footer-nav {
		padding: 12px 17px;
	}

	.blog__date {
		font-size: max(13px, min(1.128vw, 16px));
	}

	.single-blog .table-of-contents .toc-list li a {
		font-size: 15px;
		line-height: 1.4;
		color: white;
	}

	.single-blog .dark .header2-wrapper .header-text .title-h1, .single-blog .header2-wrapper .header-text .title-h1 {
		font-size: 25px;
	}

	.single-blog .container-content p {
		font-size: 15px;
		line-height: 1.6;
	}

	.wpcf7-submit {
		font-size: 18px;
	}

	.contact-messenger {
		gap: 20px;
	}

	.single-blog .container-content h2 {
		font-size: 25px;
	}

	.factoids__text {
		font-size: 16px;align-content
	}

	.service__description {
		font-size: 16px;
	}

	.header2 .header2-text .subtitle {
		font-size: 20px;
	}

	.header2-top-wrapper {
		padding-bottom: 5px;
	}

	.header2 .header2-text .title-h1 {
		padding-top: 50px;
	}

	.case-block {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 20px;
		padding-bottom: 10px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.header2-logo_wrapper .white_bg img {
		max-width: 160px;
	}

	.header2-main-text .title-h1 {
		line-height: 105%;
	}
	.header2-content-description{
		font-size: 20px;
	}

	.header-content-btn {
		font-size:18px;
	}

	.case__item {
		flex: 0 0 80%;
		min-width: 80%;
		scroll-snap-align: start;
		min-height: 600px;
		border-radius: 15px
	}

	body .case__item:hover {
		box-shadow: none;
	}

	.direction__tag {
		padding: 6px 15px;
		font-size: 13px;
	}

	.direction__description {
		font-size: 16px;
	}

	.scroll__text {
		font-size: 18px;
	}

	.title-h2 {
		font-size: 30px;
		line-height: 105%;
	}

	.mb-160 {
		margin-bottom: 80px; 
	}

	.header2-mainpage {
		margin-top: 5px;
	}
}




@media screen and (max-width: 1024px) {
	.header-nav li {
		width: 100%;
		text-align: left;
	}

	.form-field {
		gap: 10px;
	}

	.menu-item-has-children {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.stage:before {
		display: none;
	}

	.mobile-menu .header-top-right {
		align-items: flex-start;
	}
	.page-id-98 .service-block .service__item:nth-child(2) .service__description {
		max-width: 100%;
	}

	.page-template-about-template .header2 .header-figure.f-2 {
		bottom: 0;
	}

	.mobile-menu .header-top-right {
		gap: 0px;
	}

	.header-nav li a {
		font-size: 50px;
	}

	.menu-item-has-children .sub-menu li a {
		font-size: 23px;
	}

	.main-blog__description {
		font-size: 19px;
	}
	.header2-mainpage {
		margin-top: 15px;
	}

	.header2 .style_2 .header-figure.f-0 {
		left: 60vw;
	}

	body .exclusive-wrapper .title-h2 {
		padding: 30px 20px;
	}


	body .case__item:nth-child(3) {
		grid-column: 1 / 2;
		grid-row: 8 / 18;

	}
	.exclusive-wrapper .title-h2 {
		font-size: 30px;

	}
	.service-case__text {
		font-size: max(12px, min(1.563vw, 30px));
	}
	.service-case__item {
		height: 400px;
	}
	.service-block .service__img {
		z-index: 1;
		display: none;
	}

	.header2-top-wrapper .burger {
		width: 40px;
	}

	.close-menu {
		height: 60px;
		width: 60px;
		top: 30px;
		right: 30px;
		border-radius: 50%;
	}

	body.lock {
		position: fixed;
		width: 100%;
		overflow: hidden;
		height: 100vh;
	}
	.mobile-menu .header-nav li a {
		color: none;
	}

	.partner-arrows > div {
		width: 60px;
		height: 48px;
	}

	.partner-arrows {
		max-width: 100%;
	}

	.partner-arrows.mob {
		align-items: center;
		justify-content: space-between;
	}

	.scroll__item:nth-child(2) {
		margin-bottom: 50px;
		margin-top: 5px;
	}
}

@media screen and (max-width: 1240px) {
	.header-phone,.header-mail {
		font-size: 10px;
	}

	.kube {
		display: none;
	}

	.service-case__text {
		font-size: max(20px, min(1.563vw, 30px));
	}
}

@media screen and (max-width: 1350px) {
	.exclusive-content {
		border-radius: 0 0 15px 15px;
	}

	.about-review__item:nth-child(2) img {
		display: none;
	}

	.about-review__item:nth-child(1) img {
		display: none;
	}
}

@media (max-width: 1400px) {
	.info_top_title h2 {
		font-size: 40px;
		margin-right: 10px;
	}
}

@media screen and (max-width: 1500px) {
	.page-template-contact-template .social-block {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
}


@media screen and (max-width: 1560px) {
	.direction__description {
		max-width: 475px;
	}
}



@media screen and (min-width: 1560px) {

	.service__item {
		min-height: 240px;
	}
	.service__img {
		bottom: -10px;
		max-width: 60%;
	}
}
