/**
 * Theme Name: Ненашев и Партнеры
 * Author: pnv3000
 * Version: 1.0
 * 
 * @package nenashevpartners
 */

/* Main */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:wght@100..900&family=Tenor+Sans&display=swap');

:root {
	--arrow: url('./assets/svg/arrow.svg'), center, 100%, no-repeat;
	--black: #333333;
	--opacity-hover: 0.85;
  --font-family: "Tenor Sans", sans-serif;
  --second-family: "Tenor Sans", sans-serif;
  --third-family: "Tenor Sans", sans-serif;
  /* --second-family: "Montserrat", sans-serif;
  --third-family: "Inter", sans-serif; */
  --azure: #35C0ED;
  --dark-blue: #29416A;
  --mobile-menu-title-height: 80px;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

* {
	font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: var(--black);
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
  width: 100%;
  background-color: #fff;
}

section {
	margin-bottom: 80px;
}

h1 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 52px;
  line-height: 95%;
}

h2 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 36px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

h2 span {
  color: var(--azure);
  line-height: 95%;
}

h3 {
  
}

h4 {

}

h5 {

}

h6 {

}

h1 > span,
h2 > span,
h3 > span,
h4 > span,
h5 > span,
h6 > span {
	font-size: inherit;
	color: var(--azure);
}

ul,
ol {
  padding-left: 15px;
}

ul > li::marker {
  color: var(--azure);
}

a {
	color: var(--azure);
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	color: var(--dark-blue);
}

button {
	cursor: pointer;
}

a,
button {
	transition: all .3s;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

table {
	width: 100%;
  border-collapse: collapse;
}

td {
  border: 1px solid var(--black);
  padding: 10px;
}

th td {
  font-weight: 700;
  font-size: 18px;
}

p {
  margin-bottom: 20px;
}

.wrapper {
	max-width: 1440px;
	width: 100%;
	padding: 0 70px;
	margin: 0 auto;
  /* display: grid; */
}

.wrapper:not(.partners-wrapper, .header-wrapper) {
  display: grid;
}

.wrapper.fluid {
  max-width: 100%;
}

.breadcrumbs,
.breadcrumbs * {
	font-size: 14px;
  color: #b9b9b9;;
}

.title-with-link {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

#upButton {
	display: block;
	position: fixed;
	background: var(--arrow);
	background-color: var(--azure);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	border-radius: 5px;
	width: 34px;
	height: 34px;
	left: 20px;
	bottom: 20px;
	rotate: 180deg;
	transition: none;
	z-index: 50;
}

/* Content */

.content,
.content *:not(h1, h2, h3, h4, h5, h6) {
	line-height: 160%;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	margin-bottom: 20px;
}

.content img {
	cursor: pointer;
	margin-bottom: 20px;
}

.content p:not(:last-child),
.content b:not(:last-child),
.content strong:not(:last-child),
.content table,
.content blockquote {
	margin-bottom: 20px;
}

.content ul,
.content ol {
	margin: 0 0 20px 20px;
}

.align-center {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.align-center .section-supertitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gallery / Columns */

.gallery {
	display: grid;
	gap: 20px;
}

.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	margin: 0
}

.columns-default {
  display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.columns-1,
.gallery-columns-1 {
  display: grid;
	grid-template-columns: repeat(1, 1fr);
}

.columns-2,
.gallery-columns-2 {
  display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.columns-3,
.gallery-columns-3 {
  display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.columns-4,
.gallery-columns-4 {
  display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.columns-5,
.gallery-columns-5 {
  display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.columns-6,
.gallery-columns-6 {
  display: grid;
	grid-template-columns: repeat(6, 1fr);
}

.columns-7,
.gallery-columns-7 {
  display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.columns-8,
.gallery-columns-8 {
  display: grid;
	grid-template-columns: repeat(8, 1fr);
}

.columns-9,
.gallery-columns-9 {
  display: grid;
	grid-template-columns: repeat(9, 1fr);
}

select {
font-family: var(--second-family);
border: 1px solid var(--dark-blue);
display: flex;
align-items: center;
color: var(--blue);
line-height: 160%;
outline: none;
cursor: pointer;
max-width: 200px;
}

select:hover {
background: none;
}

select::picker-icon {
content: '';
display: block;
background: var(--arrow);
filter: invert(1);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
width: 12px;
height: 8px;
transition: 0.3s rotate;
}

select:open::picker-icon {
rotate: 90deg;
}

select option {
display: flex;
font-size: 13px;
border: 1px solid #dddddd;
background: #eeeeee;
padding: 5px 10px;
transition: 0.3s;
}

select option:nth-of-type(odd) {
background: white;
}

select option:first-of-type { border-radius: 5px 5px 0 0;
}

select option:last-of-type {
border-radius: 0 0 5px 5px;
}

select option:not(option:last-of-type) {
border-bottom: none;
}

option::checkmark {
content: '';
}

option:checked {
font-weight: 700;
}

select,
::picker(select) {
appearance: base-select;
}

::picker(select) {
border: 0;
border-radius: 5px;
}


/* 404 */

.error404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.error404 h1 {
	font-size: 150px;
	line-height: normal;
	padding-bottom: 20px;
	border-bottom: 1px solid;
}

.error404 span {
	font-size: 24px;
}

/* Cookie */

.cookie-confirmation {
	display: none;
	position: fixed;
	background: #eeeeeede;
	border-top: 1px solid #eeeeeede;
	width: 100%;
	padding: 15px 0;
	left: 0;
	bottom: 0;
	z-index: 99;
}

.cookie-confirmation > div {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cookie-confirmation > div > p,
.cookie-confirmation > div > p a {
	font-size: 13px;
	color: #333;
}

.cookie-confirmation > div > p a {
	color: '';
}

.cookie-confirmation > div > button {
	color: #fff;
	background: '';
	border-radius: 10px;
	padding: 5px 10px;
	cursor: pointer;
	transition: all .3s;
  outline: none;
  border: none;
}

.cookie-confirmation > div > button:hover {
	opacity: '';
}

.bold {
  font-weight: 600px;
}

.btn {
  display: flex;
  padding: 10px;
  border-radius: 3px;
  width: fit-content;
  min-width: 200px;
  font-family: var(--second-family);
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  justify-content: center;
}

.btn:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.09);
  color: #fff;
  background-color: var(--dark-blue);
}

.btn_blue {
  background-color: var(--dark-blue);
  color: #fff;
}

.btn_azure {
  background-color: var(--azure);
  color: #fff;
}

.btn_transparent {
  background-color: transparent;
  color: var(--dark-blue);
  border: 1px solid var(--dark-blue);
}

.btn_offborder {
  border: none;
}

.btn_radial {
  border-radius: 50px;
}

/* Header & Menu */

.backButton {
  display: none;
  width: 11px;
  height: 18px;
  position: absolute;
  top: 25px;
  left: 20px;
  filter: invert(1);
  background: none;
  outline: none;
  border: none;
}


.backButton::before {
  content: '';
  display: block;
  position: absolute;
  background: var(--arrow);
  background-size: contain;
  background-position: center;
  width: 16px;
  height: 11px;
  rotate: 90deg;
  transition: all .3s;
  /* top: 28px;
  left: 20px; */
}

#mobileMenuButton {
  position: absolute;
  top: 25px;
  left: 5px;
  display: none;
  height: auto;
  width: 30px;
  z-index: 2;
}

header #mobileMenu {
  display: none;
}

header {
  padding: 20px 0 30px 0;
  margin-bottom: 40px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
}

.header-left,
.header-right {
  position: relative;
}

.header-left {
  padding-right: 45px;
  display: flex;
  align-items: center;
}

.header-left:after {
  right: 0;
  top: 0;
}

.header-center {
  padding: 10px 15px;
  flex-grow: 1;
  display: flex;
  gap: 10px;
  align-items: center;
}

.services-menu-btn {
  position: relative;
  font-family: var(--second-family);
  font-size: 14px;
  min-width: unset;
  padding: 5px 10px;
  padding-left: 25px;
  border: none;
  display: flex;
  border-radius: 3px;
  border: 1px solid var(--azure);
}

.services-menu-btn:hover {
  cursor: pointer;
  background-color: var(--azure);
}

.services-menu-btn::before {
  position: absolute;
  display: block;
  content: "";
  background: url(./assets/svg/burger.svg) no-repeat;
  background-size: contain;
  left: 5px;
  top: 8px;
  width: 15px;
  filter: grayscale(1);
  height: 15px;
}

.menu,
.menu ul
 {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding-left: 0;
}

.menu {
  gap: 5px;
}

.menu ul {
  gap: 15px;
}

.menu > .menu-item-has-children {
  position: relative;
  padding-right: 5px;
}

header .menu > .menu-item-has-children::after {
  position: absolute;
  display: block;
  content: "";
  background: var(--arrow);
  background-repeat: no-repeat;
  /* filter: invert(1); */
  background-size: contain;
  width: 10px;
  height: 6px;
  right: 0;
  top: 12px;
  /* z-index: inherit; */
}

.header .menu > .menu-item-has-children > .sub-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.09);
  width: max-content;
  padding: 10px 20px;
  /* background-color: #fff; */
}

.header .menu > .menu-item-has-children:hover > .sub-menu {
  display: flex;
}

.header-center .menu li a {
  color: var(--black);
  font-size: 14px;
}

.header-center .menu > li > a {
  padding: 10px;
}

/* .header-center .menu > li:first-child > a {
  position: relative;
  padding-left: 20px;
} */

/* .header-center .menu > li:first-child > a::before {
  position: absolute;
  display: block;
  content: "";
  background: url(./assets/svg/burger.svg) no-repeat;
  background-size: contain;
  left: 0;
  top: 11px;
  width: 15px;
  filter: grayscale(1);
  height: 15px;
} */

.header-right {
  padding-left: 45px;
}

.header-right:before {
  left: 0;
  top: 0;
}

.header-left::after,
.header-right::before {
  position: absolute;
  content: "";
  display: block;
  height: 44px;
  border: 1px solid #e7e7e7;
}

.header-right {
  display: flex;
  gap: 45px;
}

.header-contacts {
  display: flex;
  flex-direction: column;
}

.header-phone a {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 100%;
  color: var(--dark-blue);
}

.header-schedule {
  font-size: 13px;
  color: #8d8d8d;
  font-weight: 400;
}

.header-callback .callback,
.footer-callback .callback {
  font-size: 12px;
}

.header-callback-icon {
  display: none;
}

.admin {
  margin-top: 30px;
}

.services-menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  background-color: #fbfbfb;
  z-index: 1111;
}

.services-menu-modal.active {
  display: block;
}

.services-menu-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
}

.services-menu-close {
  position: relative;
  padding: 10px 10px 10px 35px;
  min-width: unset;
}

.services-menu-close::before {
  position: absolute;
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: url('./assets/svg/close.svg') no-repeat;
  background-size: contain;
  left: 10px;
  top: 12px;
  filter: invert(1);
}

.services-menu-modal .menu-wrapper {
  background-color: #fff;
  border-radius: 10px;
  height: 85vh;
  padding-top: 25px;
  padding-bottom: 25px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.14);
  display: flex;
}

.services-menu-content {
  position: relative;
  flex-grow: 1;
}

.services-menu-modal .services-menu-column {
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-menu-modal .services-menu-column .services-menu-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--black);
}

.services-menu-modal .services-menu-column ul {
  display: flex;
  flex-direction: column;
}

.services-menu-modal .services-menu-column ul.menu > li {
  border-radius: 3px;
  border: 1px solid var(--azure);
  gap: 20px;
  padding: 10px 15px;
}

.services-menu-modal .services-menu-column ul.menu > li:hover {
  background-color: var(--azure);
}

.services-menu-modal .services-menu-column ul.menu > li.menu-item-has-children {
  position: unset;
}

.services-menu-modal .services-menu-column ul.menu > li:hover > a {
  color: #fff;
}

.services-menu-modal .services-menu-column ul.menu > li a,
.services-menu-modal .services-menu-column ul.menu > li > a {
  color: var(--black);
}

.services-menu-modal .services-menu-column ul.menu > li > .sub-menu {
  display: none;
  position: absolute;
  width: calc(100% - 250px);
  right: 0;
  box-shadow: none;
  top: 0;
  grid-template-columns: repeat(3,1fr);
  height: 100%;
  padding: 0 20px;
  gap: 20px;
  overflow-y: scroll;
  background: #fff;
}

.services-menu-modal .services-menu-column ul.menu > li:hover > .sub-menu {
  display: grid;
}

.services-menu-modal .services-menu-column ul.menu > li:first-child > .sub-menu {
  display: grid;
}

.services-menu-modal .services-menu-column ul.menu > li:first-child {
  background-color: var(--azure);
  color: #fff;
}

.services-menu-modal .services-menu-column ul.menu > li a {
  color: inherit;
}

.services-menu-modal .services-menu-column ul.menu:hover  > li:first-child{
  background-color: unset;
  color: var(--black);
}

.services-menu-modal .services-menu-column ul.menu > li:first-child:hover {
  background-color: var(--azure);
}

.services-menu-modal .services-menu-column ul.menu > li > .sub-menu > li > a {
  font-weight: 700;
  font-size: 18px;
}

.services-menu-modal .services-menu-column ul.menu > li > .sub-menu > li > .sub-menu {
  gap: 10px;
}

.services-menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;
  background-color: #fbfbfb;
}

.services-menu-links > a {
  color: var(--black);
}

.services-menu-modal .services-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-menu-modal .services-menu-contacts .btn {
  width: 100%;
}

.services-menu-modal .services-menu-contacts .services-menu-phone.btn_transparent {
  color: var(--black);
  border: 1px solid var(--azure);
}

.services-menu-modal .services-menu-contacts .services-menu-phone.btn_transparent:hover {
  color: #fff;
}

.services-menu-right-block {
  width: 250px;
  background-color: var(--azure);
  border-radius: 4px;
  padding: 20px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.services-menu-right-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.services-menu-right-text {
  color: #fff;
}

.services-menu-right-callback {
  background-color: #fff;
  color: var(--black)!important;
}

.services-menu-right-callback:hover {
  color: #fff!important;
}

.services-menu-socials {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
}

/* Front Page */

.banner-section .wrapper {
  gap: 40px;
}

.banner-left {
  display: flex;
  flex-direction: column;
}

.banner-heading,
.banner-content {
  margin-bottom: 25px;
}

.banner-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-title span {
  background: var(--azure);
  color: #fff;
  line-height: 95%;
}

.page-subtitle {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 24px;
  line-height: 120%;
  color: #1d3b6a;
}

.banner-btns {
  display: flex;
  gap: 20px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
}

.section-supertitle {
  width: fit-content;
  font-family: var(--second-family);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.2em;
  color: var(--dark-blue);
  margin-bottom: 5px;
}

.section-supertitle.decorated {
  padding-left: 15px;
  position: relative;
}

.section-supertitle.decorated::before {
  position: absolute;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  background: var(--azure);
  left: 0;
  top: 3px;
}

.section-supertitle.dashed {
  position: relative;
  padding-right: 45px;
}

.facts-title {
  text-align: center;
}

.facts-content {
  max-width: 585px;
  text-align: center;
}

.facts-items-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.facts-items-left,
.facts-items-right {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.facts-items-left .facts-item:nth-child(2) {
  grid-row: span 2;
}

.facts-items-right .facts-item:first-child {
  grid-column: 1 / span 2;
}

.facts-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border: 1px solid #eaeaea;
  background-color: #f9f9f9;
  padding: 30px;
}

.facts-item::after {
  display: block;
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 35px;
  right: 23px;
  background-color: var(--azure);
  border-radius: 50%;
}

.facts-item-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-grow: 1;
}

.facts-item-value {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 100px;
  line-height: 80%;
  color: var(--dark-blue);
}

.facts-item-text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  max-width: 270px;
}

.facts-actuality-wrapper {
  display: flex;
  justify-content: center;
}

.facts-actuality {
  position: relative;
  margin-top: 20px;
  font-family: var(--second-family);
  font-size: 14px;
  padding-left: 15px;
  width: fit-content;
}

.facts-actuality::before {
  position: absolute;
  display: block;
  content: "";
  height: 11px;
  width: 11px;
  background-color: var(--azure);
  left: 0;
  top: 5px;
}

.principles-wrapper {
  display: grid;
  grid-template-columns: 40% auto;
  gap: 40px;
}

.principles-left {
  overflow: visible;
  position: relative;
}

.principles-left img {
  position: absolute;
  height: 100%;
  width: auto;
  right: 0;
}

.principles-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.principles-supertitle {
  max-width: fit-content;
  position: relative;
  padding-right: 30px;
  margin-bottom: 10px;
  color: #b6b6b6;
}

.section-supertitle.dashed::after {
  position: absolute;
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  right: 0;
  top: calc(50% - 1px);
  background-color: #333;
  width: 40px;
  height: 1px;
}

.principles-supertitle.dashed::after {
  background-color: #b6b6b6;
  width: 20px;
}

.principles-items {
  border-bottom: 2px solid #eaeaea;
}

.principles-item {
  padding: 25px 0;
  border-top: 2px solid #eaeaea;
  display: flex;
  gap: 30px;
}

.principles-item-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 200px;
  width: 100%;
  flex-grow: 1;
}

.principles-item-left * {
  font-family: var(--second-family);
  text-transform: uppercase;
  line-height: 160%;
}

.principles-item-count {
  color: var(--azure);
}

.principles-item-title {
  font-size: 14px;
}

.principles-founder {
  display: flex;
  gap: 10px;
}

.principles-founder img {
  max-width: 96px;
  height: auto;
}

.principles-founder-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.principles-founder-position {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b9b9b9;
}

.principles-founder-name {
  font-size: 20px;
}

.services-section-heading {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 65px;
  margin-bottom: 50px;
}

.services-section-heading-left {
  display: flex;
  flex-direction: column;
}

.services-section-supertitle {
  max-width: fit-content;
  position: relative;
  margin-bottom: 10px;
  color: #333;
}

.services-section-title {
  font-size: 76px;
  line-height: 95%;
  text-transform: uppercase;
}

.services-section-heading-right {
  display: flex;
  align-items: center;
  max-width: 512px;
}


.services-section-tabs {
  display: flex;
  gap: 20px;
  background: #fdfdfd;
  box-shadow: inset 0 4px 12px -1px rgba(0, 0, 0, 0.09);
  width: fit-content;
  border-radius: 100px;
  padding: 7px;
  margin: 0 auto 30px auto;
}

.services-section-tab {
  padding: 5px 20px;
  border-radius: 100px;
  transition: all .3s;
}

.services-section-tab:hover {
  cursor: pointer;
}

.services-section-tab.active {
  color: #fff;
  background-color: var(--azure);
}

.services-section-items {
  display: none;
  gap: 20px;
  margin-bottom: 20px;
}

.services-section-items.active {
  display: grid;
}

.services-section-item {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #eaeaea;
  padding: 40px 30px 0px 35px;
}

.services-section-item::before,
.services-section-item::after {
  position: absolute;
  display: block;
  content: "";
  width: 15px;
  height: 15px;
}

.services-section-item::before {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  top: 10px;
  left: 10px;
}

.services-section-item::after {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  bottom: 10px;
  right: 10px;
}

/* .services-section-item:last-child {
  background-color: #f6f6f6;
  padding: 0;
}

.services-section-item:last-child .services-section-all-services {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-section-item:last-child .services-section-all-services:hover {
  text-decoration: underline;
} */

.services-section-item-img {
  max-width: 20px;
  margin-bottom: 10px;
}

.services-section-item-count {
  width: fit-content;
  position: relative;
  font-family: var(--second-family);
  line-height: 140%;
  text-transform: uppercase;
  color: #d7d7d7;
  margin-bottom: 10px;
  padding-right: 15px;
}

.services-section-item-count::after {
  position: absolute;
  display: block;
  content: "";
  width: 10px;
  height: 1px;
  background-color: #e6e6e6;
  right: 0;
  top: 50%;
}

.services-section-item-title {
  font-size: 36px;
  line-height: 85%;
  color: #333;
  margin-bottom: 35px;
}

/* .services-section-item:last-child .services-section-item-title {
  color: var(--dark-blue);
} */

.services-section-item-excerpt {
  padding-bottom: 38px;
  border-bottom: 1px solid #eaeaea;
  flex-grow: 1;
}

.services-section-item-link {
  position: relative;
  padding: 25px 25px 25px 0;
  width: fit-content;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #333;
}

.services-section-item-link::after {
  position: absolute;
  display: block;
  content: "";
  background: url(./assets/svg/more.svg) no-repeat;
  background-size: contain;
  width: 12px;
  height: 12px;
  right: 0;
  top: 26px;
}

.services-section-bottom {
  display: flex;
  justify-content: flex-end;
}

.services-section-bottom {
  position: relative;
  text-align: right;
  margin-bottom: 20px;  
}

.services-section-bottom a {
  line-height: 120%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-right: 15px;
  font-size: 12px;
}

.services-section-bottom a::after {
  position: absolute;
  display: block;
  content: url(./assets/svg/more-blue.svg);
  right: 0;
  top: 1px;
}

.team-heading {
  display: grid;
  gap: 45px;
  grid-template-columns: 60% auto;
  margin-bottom: 5px;
}

.team-section-supertitle {
  margin-bottom: 5px;
}

.team-section-title {
  font-size: 50px;
  line-height: 100%;
  text-transform: uppercase;
}

.team-heading-right {
  padding-top: 25px;
}

.team-more {
  position: relative;
  text-align: right;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-right: 15px;
}

.team-more::after {
  position: absolute;
  display: block;
  content: url(./assets/svg/more-blue.svg);
  right: 0;
  top: 1px;
}

.team-items {
  display: grid;
  gap: 20px;
}

.team-item:nth-child(2) {
  padding-top: 60px;
}

.team-item:nth-child(3) {
  padding-top: 20px;
}

.team-item:nth-child(4) {
  padding-top: 70px;
}

.team-item-img {
  margin-bottom: 10px;
}

.team-item-title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 160%;
}

.team-item-position {
  font-size: 12px;
  line-height: 160%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b9b9b9;
}

.team-item-quote {
  position: relative;
  padding-top: 10px;
  padding-left: 8px;
}

.team-item-quote::before {
  position: absolute;
  content: url(./assets/svg/quote.svg);
  left: 0;
  top: 0;
  display: block;
}

.partners-title {
  margin-bottom: 30px;
}

.partners-items {
  /* display: grid; */
  padding: 0 30px!important;
  gap: 20px;
}

.partners-items .swiper-button-prev,
.partners-items .swiper-button-next {
  width: 15px!important;
}

/* .partners-items .swiper-wrapper {
  gap: 20px;
} */

.partners-item {
  display: flex;
  align-items: center;
  /* padding: 20px; */
  /* border: 1px solid rgba(41, 65, 106, 0.35); */
  border-radius: 2px;
  overflow: hidden;
}

.partners-item img {
  max-height: 100px;
  width: auto;
  margin: auto;
}

.how-we-work-title {
  margin-bottom: 5px;
}

.how-we-work-content {
  max-width: 700px;
  margin: auto;
  margin-bottom: 60px;
}

.how-we-work-steps {
  display:flex;
  flex-direction:column;
  gap: 80px;
  position: relative;
}

.how-we-work-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #333;
  transform: translateX(-50%);
}

.how-we-work-step {
  position: relative;
  display: flex;
  width: 50%;
  height: 100%;
  justify-content: center;
  flex-direction: column;
}

.how-we-work-step:nth-child(odd) {
  /* margin-top: -225px; */
  align-items: flex-end;
  padding-right: 170px; 
  text-align: right; 
}

.how-we-work-step:nth-child(even) {
  text-align: left;
  align-items: flex-start;
  padding-left: 170px;
  height: 1px;
  margin-left: auto;
}

.step-number {
  position: absolute;
  display: flex;
  width: 66px;
  height: 66px;
  background: var(--azure);
  align-items: center;
  justify-content: center;
}

.how-we-work-step:nth-child(odd) .step-number {
  right: -33px;
  /* top: calc(50% - 255px); */
}

.how-we-work-step:nth-child(even) .step-number {
  left: -33px;
  /* top: calc(50% - 30px); */
}

.step-number span {
  color: #fff;
  font-family: var(--second-family);
  font-size: 32px;
  line-height: 140%;
  letter-spacing: 0.2em;
}

.step-heading {
  margin-bottom: 5px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.step-title {
  margin-bottom: 15px;
  font-size: 36px;
  line-height: 85%;
  
  color: #333;
}

.how-we-work-step:nth-child(odd) .step-title {
  text-align: right;
}

.how-we-work-step:nth-child(even) .step-title {
  text-align: left;
}

.step-content {
  margin-bottom: 15px;
}

.wrapper.reviews-content-wrapper {
  background-color: #FBFBFB;
  padding: 50px 0;
}

.reviews-heading {
  position: absolute;
}

.swiper.rewiews-slider {
  position: relative;
  padding-top: 120px;
  width: 100%;
}

.reviews-slide-content {
  position: relative;
  max-width: 1200px;
  padding: 20px 25px 45px 60px;
  margin: auto;
  margin-bottom: 45px;
}

.reviews-slide-content::before,
.reviews-slide-content::after {
  position: absolute;
  display: block;
  content: url(./assets/svg/quote.svg);
}

.reviews-slide-content::before {
  top: 0;
  left: 0;
}

.reviews-slide-content::after {
  right: 0;
  bottom: 0;
}

.reviews-slide-bottom {
  display: flex;
  justify-content: space-between;
  padding-left: 60px;
}

.reviews-slide-info {
  display: flex;
  flex-direction: column;
}

.reviews-slide-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 160%;
}

.reviews-slide-tag {
  border: 1px solid #29416a;
  border-radius: 30px;
  padding: 10px 25px;
  height: fit-content;
  align-self: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #29416a;
}

.wrapper.reviews-link-wrapper {
  display: flex;
  padding-top: 25px;
  justify-content: flex-end;
}

.reviews-link {
  position: relative;
  padding-right: 25px;
  width: fit-content;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  text-transform: uppercase;
  color: #08376b;
}

.reviews-link::after {
  position: absolute;
  display: block;
  content: url(./assets/svg/more.svg);
  right: 10px;
  top: 0px;
}

.reviews-slide-stars {
  display: flex;
  gap: 5px;
}

.reviews-slide-stars img {
  width: 17px;
  height: auto;
}

.reviews-counter,
.reviews-pagination,
.reviews-prev,
.reviews-next {
  position: absolute!important;
  top: 0 !important;
  margin-top: -7px;
}

.swiper-pagination.reviews-pagination {
  padding-right: 120px;
  text-align: right;
}

.reviews-pagination .swiper-pagination-bullet {
  border-radius: 1px;
  width: 10px;
  height: 5px;
  background: #d1d1d1;
  opacity: 1;
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 2px)!important;
}

.reviews-pagination .swiper-pagination-bullet-active {
  background: var(--azure);
  border-radius: 1px;
  width: 18px;
  height: 5px;
}

.reviews-counter {
  right: 75px;
  padding-top: 2px;
}

.swiper-button-next.reviews-next,
.swiper-button-prev.reviews-prev {
  position: relative;
  margin-top: 0!important;
}

.swiper-button-next.reviews-next svg,
.swiper-button-prev.reviews-prev svg  {
  display: none;
}

.swiper-button-prev.reviews-prev {
  left: auto!important;
  right: 30px!important;
}

.swiper-button-next.reviews-next:after {
  position: absolute;
  display: block;
  content: url(./assets/svg/next.svg);
  top: 0;
}

.swiper-button-prev.reviews-prev:after {
  position: absolute;
  display: block;
  content: url(./assets/svg/prev.svg);
  top: 0;
}

.cases-title {
  margin-bottom: 20px;
}

.cases-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cases-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #eaeaea;
  background: #f9f9f9;
}

.cases-item * {
  font-family: var(--second-family);
}

.cases-item-inner {
  padding: 20px 15px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cases-item-title {
  font-weight: 700;
}

.cases-item-result {
  font-size: 14px;
}

.cases-item-categories {
  display: flex;
  gap: 10px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eaeaea;
}

.cases-item-category {
  border: 1px solid #29416a;
  border-radius: 50px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 140%;
}

.cases-item-link {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 20px 15px;
  font-size: 14px;
  text-transform: uppercase;
  color: #333;
}

.cases-item-link::after {
  display: block;
  content: url(./assets/svg/more.svg);
}

.callback-section {
  background-color: #151515;
  padding: 40px 0;
  /* margin-bottom: 0; */
}

.callback-section .wrapper > div {
  display: flex;
  justify-content: center;
  text-align: center;
}

.callback-section-supertitle {
  color: var(--azure);
  margin: 0 auto;
  margin-bottom: 5px;
  text-transform: none;
}

.callback-section-title {
  max-width: 410px;
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.callback-section-text {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  color: #fff;
  max-width: 700px;
}

.callback-section-buttons {
  display: flex;
  gap: 15px;
}

.callback-section-buttons .btn_transparent span {
  position: relative;
  padding-left: 30px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--azure);
}

.callback-section-buttons .btn_transparent span::before {
  position: absolute;
  display: block;
  content: url(./assets/svg/chat.svg);
  left: 0;
  width: 12px;
}

/* About Page */

.why-title {
  margin-bottom: 20px;
}

.why-items {
  display: grid;
  gap: 20px;
}

.why-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #d7d7d7;
  padding: 20px;
  text-align: left;
}

.why-item-title {
  text-transform: uppercase;
  margin-bottom: 10px;
}

.why-item-title span {
  color: var(--azure);
  text-align: center;
  margin-bottom: 0;
}

.why-item:last-child {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.why-item:last-child .why-item-title {
  margin-bottom: 0;
}

.why-item-text {
  font-size: 14px;
}

/* Team Page */

.specialists-items {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.specialists-item-top {
  /* display: flex; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 5px;
}

.specialists-item-img {
  width: 100%;
  overflow: hidden;
}

.specialists-item-person {
  margin-bottom: 20px;
}

.specialists-item-img img {
  height: auto;
  width: auto;
  max-width: 100%;
}

.specialists-item-info {
  display: flex;
  flex-direction: column;
}

.specialists-item-description {
  margin-bottom: 20px;
}

.specialists-item-specialities {
  margin-bottom: 50px;
}

.specialities-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 650px;
  column-gap: 20px;
}

.specialists-item-description-title,
.specialists-item-specialities-title {
  font-weight: 600;
}

.specialists-item-info-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.specialist-item-callback {
  height: fit-content;
}

.speciialists-item-features {
  display: flex;
  gap: 20px;
}

.specialist-item-feature {
  border: 1px solid rgba(41, 65, 106, 0.35);
  border-radius: 2px;
  padding: 15px;
  width: fit-content;
}

.specialist-item-feature-value {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  text-align: center;
  color: var(--dark-blue);
}

.specialist-item-feature-text {
  text-align: center;
}

.specialists-item-name {
  font-weight: 600;
  font-size: 20px;
  font-family: var(--second-family);
}

.specialists-item-position {
  font-family: var(--third-family);
  text-transform: uppercase;
  font-size: 14px;
  color: #b9b9b9;
  line-height: 160%;
  letter-spacing: 0.2em;
}

/* Service Page */

.service-page .banner-content {
  margin-bottom: 15px;
}

.banner-price {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 120%;
  color: var(--azure);
  margin-bottom: 15px;
}

.contains-heading,
.reasons-heading {
  text-align: center;
  margin-bottom: 20px;
}

.contains-supertitle,
.reasons-supertitle {
  margin-left: auto;
  margin-right: auto;
}

.contains-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contains-item {
  border: 1px solid #d7d7d7;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contains-item-title {
  text-transform: uppercase;
  color: var(--dark-blue);
}

.reasons-section {
  padding: 20px 0;
  background-color: #fbfbfb;
}

.reasons-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.reasons-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reasons-item-number {
  font-size: 96px;
  color: rgba(53, 192, 237, 0.2);
}

.reasons-item-text {
  max-width: 200px;
}

/* FAQ */

.faq-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-right {
  border-radius: 3px;
  flex: 0 0 390px;
  padding: 30px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 7px 1px rgba(0, 0, 0, 0.05);
  background: #fbfbfb
}

.faq-left {
    flex: 0 0 calc(100% - 390px);
}

.faq-right .faq-right-title {
    font-weight: 700;
    font-size: 20px;
    line-height: unset;
    color: #000;
    margin-bottom: 15px;
}

.faq-right .faq-right-desc {
    margin-bottom: 13px;
}

.faq-right .faq-right-Button {
    padding: 10px;
    border: unset;
    cursor: pointer;
    background: linear-gradient(270deg, #F29302 0%, #F0DD00 100%);
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #FFFFFF;
    transition: box-shadow 0.3s ease-in-out;
    width: 100%;
    max-width: 181px;
    text-align: center;
}

.faq-right .faq-rightButton:hover {
    box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.30);
}

.faq-left .faq-item {
    background: #FFFFFF;
    /* box-shadow: 0px 4px 7px 1px rgba(0, 0, 0, 0.05); */
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 30px;
}

.faq-left .faq-item:last-child {
    margin-bottom: 0px;
}

.faq-left .faq-item .faq-item-title {
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding-right: 36px;
}

.faq-left .faq-item .faq-item-title::after {
    content: '';
    background-image: url('/wp-content/themes/nenashevpartners/assets/svg/arrow_faq.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 28px;
    height: 16px;
    margin-left: auto;
    position: absolute;
    right: 4px;
    top: 8px;
    transition: transform 0.25s ease-in-out;
}

.faq-left .faq-item.active .faq-item-title::after {
  background-image: url('/wp-content/themes/nenashevpartners/assets/svg/arrow_faq_azure.svg');
  /* transform: rotate(-180deg); */
}

.faq-left .faq-item .faq-item-text {
    display: none;
}

.faq-item .faq-item-text .faq-item-border {
    background: var(--azure);
    height: 2px;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0px;
    transition: margin-top 0.25s linear;
}

.faq-left .faq-item.active .faq-item-text .faq-item-border {
    margin-top: 34px;
}

.faq-right .button-alt {
  display: flex;
  gap: 10px;
  min-width: auto;
}

.faq-right .button-alt img {
  width: 24px;

}

/* Services Page */

.services-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #eaeaea;
  padding: 40px 30px 50px;
}

.services-item::before,
.services-item::after {
  position: absolute;
  display: block;
  content: "";
  background: url(./assets/svg/angle.svg) no-repeat;
  background-size: contain;
  width: 14px;
  height: 14px;
}

.services-item::before {
  top: 15px;
  left: 15px;
  rotate: 180deg;
}

.services-item::after {
  bottom: 15px;
  right: 15px;
}

.services-item-title {
  font-size: 36px;
  line-height: 85%;
  color: var(--black);
}

.services-item-title:hover {
  text-decoration: underline;
  text-decoration-color: var(--azure);
}

.services-item-childs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.services-item-child {
  width: fit-content;
  border-bottom: 1px solid var(--azure);
}

.services-item-child a {
  color: var(--black);
}

.services-item-child a:hover {
  color: var(--azure);
}

/* Case Page */

.case-page .section {
  margin-bottom: 30px;
}

.top-content {
  margin-bottom: 20px;
}

.case-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.case-info-title,
.case-result-title {
  font-family: var(--second-family);
  color: var(--azure);
  font-size: 24px;
  font-weight: 600;
}

.case-done ul {
  list-style: none;
  padding-left: 0;
}

.case-result {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.case-disclaimer {
  position: relative;
  margin-left: 25px;
  padding-left: 15px;
}

.case-disclaimer::before {
  position: absolute;
  display: block;
  content: "";
  background: var(--azure);
  width: 10px;
  height: 100%;
  left: 0;
  bottom: 0;
}

/* Contacts Page */

.contacts-page .contacts-section > .wrapper.fluid{
  position: relative;
}

.breadcrumb-section {
  margin-bottom: 25px;
}

.contacts-page .contacts-section {
  margin-bottom: 0;
}

.contacts-wrapper {
  padding-top: 65px;
  padding-bottom: 65px;
}

.contacts-content {
  max-width: 550px;
  width: 100%;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 9px 2px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  z-index: 1;
}

.contacts-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
}

.contacts-title span {
  font-weight: 700;
}

.contacts-item * {
  font-family: var(--second-family);
  color: var(--black);
}

.contacts-item span {
  font-weight: 700;
}

.contacts-socials {
  display: flex;
  gap: 15px;
}

.contacts-social-items {
  display: flex;
  gap: 10px;
}

.contact-social-item img {
  width: 25px;
  height: auto;
}

.contacts-btn {
  border: 1px solid #29416a;
  padding: 15px 60px;
}

.contacts-map {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Cases Page */

.cases-page .content-heading {
  margin-bottom: 20px;
}

.cases-filter {
  margin-bottom: 20px;
}

#cases-filter {
  padding: 5px 15px;
}

/* Footer */

footer {
  background-color: #242424;
  padding-top: 60px;
  padding-bottom: 20px;
}

.footer * {
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 35px;
  border-bottom: 1px solid #fff;
}

.footer-info {
  display: flex;
  gap: 50px;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-address {
  position: relative;
  max-width: 270px;
  padding-left: 25px;
  display: flex;
  align-items: center;
  font-size: 13px;
}

.footer-address::before {
  position: absolute;
  display: block;
  content: url(./assets/svg/location.svg);
  left: 0;
}

.footer-phone-schedule {
  display: flex;
  flex-direction: column;
}

.footer-phone a {
  font-size: 17px;
  font-weight: 500;
  font-family: var(--second-family);
}

.footer-schedule {
  font-size: 13px;
}

.footer .btn_transparent {
  color: #fff;
  border-color: #fff;
  font-family: var(--second-family);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 20px;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  padding-top: 55px;
  padding-bottom: 15px;
}

.footer-menu-wrapper {
  margin-bottom: 35px;
}

.footer .menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 80px;
}

.footer .menu * {
  font-family: var(--second-family);
}

.footer .footer-menu-wrapper .menu > li > a {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
  /* color: #fff; */
  color: var(--azure);
  cursor: default;
}

.footer .sub-menu {
  flex-direction: column;
  padding-left: 0;
  gap: 0;
}

.footer-good-place {
  display: flex;
  justify-content: end;
}

.footer-good-place img {
  max-width: 135px;
}

.footer-copyright {
  text-align: center;
}

@media (max-width: 1350px) {
  /* Header & Menu */

  .header-right {
    gap: 15px;
    padding-left: 20px;
  }

  .header-callback {
    display: flex;
  }

  .header-callback .btn {
    display: none;
  }

  .header-callback-icon {
    display: flex;
    max-width: 35px;
    align-self: center;
  }

  .header-left {
    padding-right: 20px;
  }

  /* Front Page */

  .facts-item-value {
    font-size: 60px;
  }
}

@media (max-width: 1110px) {
  /* Header & Menu */

  .header-contacts {
    justify-content: center;
  }

  .header-schedule {
    display: none;
  }

  .header-phone a {
    font-size: 13px;
    font-weight: 600;
  }

  .header-callback-icon {
    max-width: 30px;
  }
  
  .wrapper {
    padding: 0 40px;
  }

  /* Front Page */

  .services-section-item-title {
    font-size: 30px;
  }
}


@media (max-width: 1024px) {
  /* Header & Menu */

  .header-center {
    display: none;
  }

  .header-left::after, 
  .header-right::before {
    display: none;
  }

	/* Header mobile menu */

  header {
    position: relative;
  }

  #mobileMenuButton {
    display: flex;
  }

	header #mobileMenu {
		display: flex;
		flex-direction: column;
		gap: 20px;
		background: #fff;
		position: fixed;
		transform: translateX(-300%);
		transition: all .5s;
		visibility: hidden;
		opacity: 0;
		overflow-y: auto;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 20;
	}
	
	header #mobileMenu.active {
		transform: translateX(0);
		visibility: visible;
		opacity: 1;
	}

	header #mobileMenu > .mobile-menu-wrapper {
		padding: 0;
	}

  header #mobileMenu .services-menu-btns {
    position: relative;
  }

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul,
  .services-menu-btns.menu {
		display: flex;
		flex-direction: column;
		gap: 0;
		background: #fff;
	}

  header #mobileMenu .mobile-menu-content .menu-fizicheskim-liczam,
  header #mobileMenu .mobile-menu-content .menu-yuridicheskim-liczam {
    padding-top: 0;
  }

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul > li:not(:last-child),
  .services-menu-btns.menu > li:not(:last-child) {
		margin: 0;
	}

  .services-menu-btns.menu>li {
    width: 100%;
    padding: 20px;
    color: var(--azure);
    border-bottom: 1px solid #eee;
  }

  .services-menu-btns.menu .menu {
    flex-direction: column;
    /* position: absolute; */
    /* box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.09); */
    width: 100%;
    /* width: max-content; */
    padding: 10px 20px;
    background-color: #fff;
  }

  .services-menu-btns.menu .menu .sub-menu {
    display: none;
  }

	header #mobileMenu .mobile-menu-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid #eee;
		padding: 20px;
    padding-left: 45px;
    height: var(--mobile-menu-title-height);
    z-index: 30;
    background-color: #fff;
	}

  header #mobileMenu a {
    color: var(--dark-blue);
  }

	header #mobileMenu .mobile-menu-title > span {
		font-size: 24px;
		font-weight: 700;
	}
	
	header #mobileMenu .mobile-menu-title img {
		width: 24px;
		height: 24px;
	}

	header #mobileMenu ul {
		list-style: none;
	}

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul > li {
		border-bottom: 1px solid #eee;
	}

  header #mobileMenu .services-menu-btns>.menu-item-has-children.active {
    position: relative;
  }

  header #mobileMenu .services-menu-btns>.menu-item-has-children.active>ul,
  .header .menu>.menu-item-has-children>.sub-menu {
    padding: 10px 0;
  }

  header #mobileMenu .menu > .menu-item-has-children::after {
    right: 20px;
  }

  header #mobileMenu .services-menu-btns li.menu-item,
  header #mobileMenu .services-menu-btns li.menu-item-has-children {
    background: #fff;
  }

  header #mobileMenu .services-menu-btns>.menu-item-has-children.active>ul>li,
  .header .menu .menu-item-has-children>.sub-menu>li {
    padding: 10px 25px 15px 10px;
    /* padding-bottom: 15px; */
    border-bottom: 1px solid #eee;
  }

  .header .menu .menu-item-has-children>.sub-menu>li:not(:first-child) {
    padding-top: 15px;
  }

  /* header #mobileMenu .services-menu-btns>.menu-item-has-children.active>div,
  .header .menu .menu-item-has-children>.sub-menu {
    position: absolute;
    top: 0;
    left: 0;
    height: 90vh;
    background: #fff;
    z-index: 20;
    width: 100%;
    box-shadow: none;
  } */

  header #mobileMenu .services-menu-btns>.menu-item-has-children.active>div,
  header #mobileMenu .services-menu-btns>.menu-item-has-children.active>ul,
  .header .menu .menu-item-has-children>.sub-menu {
    position: fixed;
    top: var(--mobile-menu-title-height); 
    left: 0;
    width: 100%;
    height: calc(100vh - var(--mobile-menu-title-height));
    background: #fff;
    z-index: 20;
    box-shadow: none;
    overflow-y: auto;
  }

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul li.menu-item-has-children {
		position: relative;
	}

  .header .menu>.menu-item-has-children:hover>.sub-menu {
    display: none;
  }

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul li.menu-item-has-children::after,
  .services-menu-btns.menu li.menu-item-has-children::after {
		content: '';
		display: block;
		position: absolute;
		background: var(--arrow);
		background-size: contain;
    background-position: center;
    filter: invert(1);
		width: 12px;
		height: 8px;
		/* rotate: 90deg; */
		transition: all .3s;
		top: 28px;
		right: 20px;
    /* z-index: 25; */
  }

  .services-menu-btns.menu .menu-item-has-children {
    position: relative;
  }

  .services-menu-btns.menu>li.menu-item-has-children .menu-item-has-children::after {
    top: 12px;
  }

  .services-menu-btns.menu>li.menu-item-has-children>div>ul>li::after {
    z-index: 23;
  }

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul li.menu-item-has-children.active::after, 
  .services-menu-btns.menu>li.menu-item-has-children.active::after,
  .services-menu-btns.menu>li.menu-item-has-children .menu-item-has-children.active::after {
		rotate: 180deg;
	}

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul li.menu-item-has-children.active > a {
		font-weight: 700;
	}

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul > li .sub-menu {
		display: none;
	}

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul > li > a {
		display: block;
		width: fit-content;
		padding: 20px;
	}
	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul > li > ul a {
		display: block;
		width: fit-content;
		padding: 0 20px 20px;
	}

	header #mobileMenu .mobile-menu-content .menu-glavnoe-menyu-container > ul > li > ul > li > a {
		padding: 20px;
	}

	header #mobileMenu .mobile-menu-contacts {
		display: flex;
		flex-direction: column;
		gap: 15px;
		padding: 20px;
	}

	header #mobileMenu .mobile-menu-contacts img {
		width: 24px;
		height: 24px;
	}

	header #mobileMenu .mobile-menu-contacts > div address {
		font-style: normal;
	}

	header #mobileMenu .mobile-menu-contacts > div,
	header #mobileMenu .mobile-menu-contacts > a {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	header #mobileMenu .mobile-menu-contacts > div.mobile-phone {
		align-items: unset;
	}

	header #mobileMenu .mobile-menu-contacts > div.mobile-phone div {
		display: flex;
		flex-direction: column;
	}

  .services-menu-btns.menu>li>div>ul {
    display: none;
  }

  .services-menu-btns.menu>li.active>div>ul {
    display: flex;
  }

  /* Front Page */

  .banner-section {
    position: relative;
    background: #000;
    overflow: hidden;
    padding: 20px 0;
  }

  .banner-section > .wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .banner-section * {
    color: #fff;
  }

  .banner-left {
    z-index: 2;
  }

  .banner-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 30%;
  }

  .banner-section .btn_transparent {
    border-color: #fff;
  }

  .facts-items-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .services-section-heading {
    grid-template-columns: repeat(1, 1fr);
  }

  .services-section-heading-right {
    max-width: 100%;
  }

  .services-section-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-we-work-step:nth-child(odd) {
    padding-right: 80px;
  }

  .how-we-work-step:nth-child(even) {
    padding-left: 80px;
  }

  /* Services Page */

  .services-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-item-title {
    font-size: 26px;
  }

  .cases-items {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team Page */

  .specialists-item-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .specialities-items {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Page Contacts */

  .contacts-wrapper {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .contacts-content {
    max-width: 400px;
  }

  /* Footer */
  .footer-address {
    display: none;
  }
}

@media (max-width: 900px) {
  .team-items {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About Page */ 
  .why-items {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Service Page */

  .reasons-items {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 800px) {
  /* Front Page */
  .principles-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  .principles-left {
    display: none;
  }

  .principles-item-title {
    width: 150px;
  }

  .team-heading {
    grid-template-columns: repeat(1, 1fr);
  }

  .how-we-work-step:nth-child(odd) {
    padding-right: 80px;
  }

  .how-we-work-step:nth-child(even) {
    padding-left: 80px;
  }

  .step-number {
    width: 46px;
    height: 46px;
  }

  .how-we-work-step:nth-child(odd) .step-number {
    right: -23px;
  }

  .how-we-work-step:nth-child(even) .step-number {
    left: -23px;
  }

  .step-number span {
    font-size: 24px;
  }

  .step-title {
    font-size: 30px;
  }

  /* Team Page */
  .specialists-item {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .specialists-item-top {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Service Page */
  .contains-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-block {
        display: block;
        gap: 15px;
    }

  .faq-right {
      padding: 30px 20px;
  }

  .faq-left .faq-item {
      padding: 20px 25px 20px 20px;
      margin-bottom: 15px;
  }

  .faq-left .faq-item .faq-item-title {
      font-size: 17px;
      line-height: 22px;
      padding-right: 25px;
  }

  .faq-left .faq-item .faq-item-title::after {
      width: 15px;
      height: 8px;
      right: 5px;
      top: 7px;
      background-size: 100%;
  }

  .faq-left .faq-item .faq-item-text {
      font-size: 14px;
      line-height: 22px;
  }

  .faq-left .faq-item.active .faq-item-text .faq-item-border {
      margin-top: 20px;
  }

  .faq h2 {
      margin-bottom: 15px;
  }
}

@media (max-width: 700px) {
  section {
    margin-bottom: 40px;
  }

  /* Front Page */
  .services-section-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .how-we-work-steps {
    padding-top: 50px;
  }

  .how-we-work-step {
    width: 100%;
    background: #fff;
  }

  .how-we-work-step:nth-child(odd) {
    padding-right: 0;
  }

  .how-we-work-step:nth-child(even) {
    height: unset;
    padding-left: 0;
  }

  .step-number {
    top: -62px;
  }

  .how-we-work-step:nth-child(odd) .step-number {
    right: calc(50% - 23px);
  }

  .how-we-work-step:nth-child(even) .step-number {
    left: calc(50% - 23px);
  }

  /* Contacts Page */

  .contacts-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .contacts-wrapper {
    padding: 0;
  }

  .contacts-content {
    max-width: 100%;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .contacts-map {
    position: relative;
    height: 400px;
    padding-bottom: 30px;
  }

  /* Service Page */

  .reasons-items {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-callback {
    display: none;
  }

  .footer .menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wrapper {
    padding: 0 20px;
  }

  .section-title {
    font-size: 30px;
  }

  .header-logo {
    padding-left: 40px;
  }

  /* Front Page */

  .banner-section .wrapper {
    padding: 0 20px;
  }

  .banner-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .banner-btns .btn {
    min-width: 80%;
  }

  .banner-img {
    height: 100%;
    object-fit: cover;
  }

  .facts-items-left,
  .facts-items-right {
    grid-template-columns: repeat(1, 1fr);
  }

  .facts-items-right .facts-item:first-child {
    grid-column: 1;
  }

  /* .services-section-item:last-child {
    aspect-ratio: 1 / 1;
  } */

  .swiper-button-prev.reviews-prev,
  .swiper-button-next.reviews-next {
    display: none;
  }

  .reviews-pagination {
    display: none;
  }

  .reviews-counter {
    right: 0;
    top: 100px!important;
  }

  .callback-section-buttons {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .services-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .cases-items {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Footer */
  .footer .menu {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
  }

  
}

@media (max-width: 500px) {
  .page-title {
    font-size: 35px;
  }

  .section-title,
  h2 {
    font-size: 24px;
  }

  .services-section-tabs {
    gap: 10px;
  }

  .services-section-tab {
    padding: 5px 5px;
    font-size: 13px;
  }

  .partners-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .reviews-slide-bottom {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
  }

  .reviews-slide-info {
    align-items: center;
  }

  /* About Page */

  .why-items {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Team Page */

  .specialist-item-feature-value {
    font-size: 22px;
  }

  .specialist-item-feature-text {
    font-size: 12px;
  }

  /* Service Page */
  .contains-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .reasons-items {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .reasons-item {
    margin: auto;
    max-width: 100%;
  }

  .reasons-item-text {
    max-width: 100%;
  }

  .faq {
    padding: 35px 0px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

}

@media (max-width: 460px) {
  header .wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .header-logo img,
  .footer-logo img {
    height: 50px;
  }

  .header-phone a {
    font-size: 17px;
  }

  .header-schedule {
    display: flex;
    font-size: 14px;
  }

  /* Front Page */

  .principles-item-title {
    width: 130px;
  }

  .principles-founder-position {
    font-size: 12px;
  }

  .principles-founder-name {
    font-size: 16px;
  }

  .team-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .team-item:not(:first-child) {
    padding-top: 40px !important;
  }
}

#maintenancePopup {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
  align-items: center;
  justify-content: center;
  position: fixed;
  background: rgb(65 65 65 / 35%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

#maintenancePopup.active {
  display: flex;
}

.maintenance-popup {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: #fff;
  padding: 40px;
  margin: 0 5px;
  border-radius: 10px;
  width: 425px;
}

.maintenance-popup-close {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.maintenance-popup-text {
  text-align: center;
  font-size: 20px;
  color: red;
  font-weight: 700;
  font-family: var(--second-family);
}

