/*
Theme Name: as_beauty
Author: Maria
Author URI: https://vk.com/club126099788

*/

* {
    box-sizing: border-box;
}
body {
    font-family: "Jost", sans-serif;
    background-color: #080808;
    color: #A6A6A6;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    padding: 0;
}
.container {
    margin: 0 auto;
    max-width: 1260px;
}
header {
    position: fixed;
    top: 10px;
    left: 0;
    z-index: 1000;
    width: 100%;
}
p {
    margin: 0;
}
a {
    text-decoration: none;
	transition: all 0.3s ease;
}
a:hover {
	opacity: 0.7;
}
li.widget  {
	list-style-type: none;
}
img {
    max-width: 100%;
    height: auto;
}
header .container {
    background-color: rgba(20, 20, 20, 1);
    border-radius: 12px;
    padding: 6px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    width: 58px;
}
.header__menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    
}
.header__menu ul li {
    font-weight: 500;
    list-style-type: none;
}
.header__menu ul li a {
    color: #F2F2F2;
}
.header__menu ul li a:hover {
	opacity: 0.7
}
.button {
    color: #000;
    border-radius: 8px;
    padding: 18px 27px;
    width: 100%;
    font-size: 14px;
    font-weight: 600px;
    background-image: url(img/button.jpg);
    background-size: 100% auto;
    background-position: center center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}
.button:hover {
    opacity: 0.7;
}
header .button {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 110px;
    width: auto;
    line-height: 19px;
}
.margin_top_main {
    margin-top: 230px;
}
.why {
    display: flex;
    justify-content: space-between;
    margin-top: 148px;
    position: relative;
}
.why__title {
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - 470px);
    background-color: #141414;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 39px;
    text-transform: uppercase;
    border: #1F1F1F 1px solid;
}
.why__title::after {
    content: url(img/why.svg);
}
.why__photo {
    position: relative;
    min-width: 450px;
    width: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 20px;
}
.why__photo_text {
    position: absolute;
    top: 32px;
    left: 45px;
    color: #fff;
    font-size: 26px;
    line-height: 1.5;
    z-index: 3;
}
.why_inst {
    position: absolute;
    top: 50px;
    right: 42px;
    z-index: 3;
}
.why_inst img {
    width: 20px;
}

.why__we {
    padding-top: 80px;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;

}
.why__we_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 250px;
    background-color: #141414;
    border: #1F1F1F 1px solid;
    border-radius: 12px;
    padding: 50px 13px 26px 32px;

}
.why__we_item_title {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 24px;
}
.why__we_item_text {
    line-height: 24px;
    min-height: 220px;
}
.service {
    margin-top: 140px;
    display: flex;
    justify-content: space-between;
}
.service__column {
    width: 550px;
}
.with_element {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.with_element::after {
    content: url(img/button.svg);
}
.subtitle {
    color: #FFBA2F;
    text-transform: uppercase;
}
.title {
    font-size: 42px;
    line-height: 60px;
    margin: 26px 0 17px 0;
    padding: 0;
    font-weight: 400;
    color: #fff;
}
.service__column_text_block p {
    margin-bottom: 30px;
    line-height: 22px;
}
.service__column_text_block {
    margin-bottom: 64px;
}
.service__logo {
    margin-top: 75px;
}
.service__logo img {
    width: 465px;
}
.service__column_item {
    background-color: #141414;
    border: #1F1F1F 1px solid;
    padding: 40px;
    border-radius: 8px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
}
.service__column_item:hover {
	opacity: 1;
	border-color: #FFBA2F;
}
.service__column_item_title {
    font-size: 19px;
    color: #fff;
    text-transform: uppercase;
    
}
.service .button {
    margin-top: 34px;
}
.service__column_item_wrap {
    display: flex;
    gap: 30px;
}
.service_item_wrap_icon {
    
    display: flex;
    flex-direction: column;
    align-items: center;
	color: #A6A6A6;
}
.service_item_wrap_icon img {
    margin-bottom: 11px;
}
.team {
    margin-top: 80px;
}
.team__title {
    background-color: #141414;
    border: #1F1F1F 1px solid;
    text-align: center;
    position: relative;
    padding: 20px 0;
    margin-bottom: 114px;
}
.black_button {
    background-color: #000;
    border-radius: 6px;
    color: #A6A6A6;
    font-size: 15px;
    text-transform: uppercase;
    padding: 12px 14px;
    display: inline-block;
    
}
.team__title_text {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
    position: absolute;
    top: 24px;
    right: 50px;
    color: #fff;
}
.zapis {
    background-color: #141414;
  border: #1F1F1F 1px solid;
  border-radius: 12px;
  padding: 55px 50px 62px 50px;
  position: relative;
}
.zapis__text_title {
    font-size: 42px;
    line-height: 50px;
    color: #fff;
    margin-bottom: 8px;
}
.zapis__text_subtitle {
    margin-bottom: 65px;
}
.phone {
    font-size: 26px;
    line-height: 40px;
    color: #fff;
    margin-bottom: 23px;
    display: inline-block;
}
.networks {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zapis__image {
    position: absolute;
    top: -45px;
    right: 50px;
    border-radius: 12px;
    overflow: hidden;
}
.footer__block {
    margin-top: 200px;
    display: flex;
    justify-content: space-between;
}
.footer__block_contact {
    display: flex;
    gap: 70px;
}
.footer__block_title {
    font-size: 13px;
    margin-bottom: 24px;
    color: #FFBA2F;
    text-transform: uppercase;
}
.footer__block_menu ul {
    margin: 0;
    padding: 0;
}
.footer__block_menu ul  li {
    list-style-type: none;
    line-height: 24px;
    margin-bottom: 10px;
}
.footer__block_menu a {
    color: #A6A6A6;
}
.address {
    line-height: 24px;
    margin-bottom: 43px;
}
.copyright {
    margin-top: 90px;
    margin-bottom: 32px;
    background-color: #141414;
  border: #1F1F1F 1px solid;
  border-radius: 12px;
  font-size: 12px;
  padding: 23px 50px;
  display: flex;
  justify-content: space-between;
}
.copyright a {
    color: #A6A6A6;
}
.menu_mob {
    display: none;
}
.mob_menu_block {
    display: none;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    
}
.about__banner {
    background-image: url(img/0C3A6318.jpg);
    background-size: cover;
    background-position: center center;
    
    height: 400px;
    border-radius: 10px;
    position: relative;
    margin-top: 240px;
    overflow: hidden;
    color: #fff;
    margin-bottom: 60px;
}
.about__banner::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(357.71deg, rgba(0, 0, 0, 0) 19.73%, rgba(0, 0, 0, 0.7) 98.23%);
content: '';

}
.about__banner h1 {
    position: absolute;
    top: 24px;
    left: 40px;
    font-size: 28px;
    font-weight: 400;
    z-index: 2;
    line-height: 43px;
    margin: 0;
}
.about__banner_text {
    position: absolute;
    bottom: 13px;
    left: 46px;
    font-size: 26px;
    line-height: 40px;
    z-index: 2;
}
.text p {
    line-height: 1.1;
    margin-bottom: 12px;
}
.about {
    margin-top: 60px;
    margin-bottom: 50px;
}
.about__title {
  background-color: #141414;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 39px;
  text-transform: uppercase;
  border: #1F1F1F 1px solid;
  margin-bottom: 30px;

}
.about__title::after {
  content: url(img/why.svg);
}
.about__block {
    display: flex;
    justify-content: space-between;
}
.about__block .why__we_item {
    width: 32%;
    padding:  20px 28px 26px 28px;
    justify-content: flex-start;
}
.about__block .why__we_item_text {
    min-height: 0;
}
.about__block .why__we_item_title {
    margin-bottom: 29px;
}
.map {
    
    margin-bottom: 114px;
}
.margin_top_service {
    margin-top: 240px;
}
.service_title {
    
    display: flex;
    gap: 56px;
    align-items: center;
    padding: 68px 50px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #141414;
  border-top: #1F1F1F 1px solid;
  border-left: #1F1F1F 1px solid;
  border-right: #1F1F1F 1px solid;
}
.service_title h1 {
    font-size: 34px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}
.service_title_text {
    max-width: 483px;
   line-height: 22px;
}
.service__block {
    margin-bottom: 40px;
    background-color: #141414;
  border: #1F1F1F 1px solid;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 0 50px 80px 50px;
	
}
.to_service_banner {
	padding-top: 84px;
	margin-top: -84px;
}
.service__block.no_border_top {
    border-top: none;
}
.service__block_banner {
    background-color: #E2D2BC;
    padding: 12px 10px 40px 10px;
    border-radius: 12px;
}
.service__block_banner_img {
    
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    position: relative;
    height: 458px;
    overflow: hidden;
}
.service__block_banner_img::after {
    background-color: rgba(0, 0, 0, 0.2);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.service__banner_text {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 60px;
    width: 100%;
    padding: 0 46px 0 32px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.service__banner_text h2 {
    font-size: 57px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}
.service__banner_descr {
    max-width: 340px;
    font-weight: 700;
    line-height: 22px;
}
.service__block_banner_buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    margin-top: 40px;
}
.service__block_banner_buttons a {
    width: 240px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    padding: 0;
}
.service__block_banner_buttons a:hover {
	opacity: 0.5;
}
.service__block_banner_buttons .button {
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    border-radius: 4px;
}
.to_price {
    font-size: 11px;
    color: #000;
    font-weight: 800;
    border: #615E5C 1px solid;
    border-radius: 4px;
    text-transform: uppercase;
}
.margin_top_service .zapis {
    margin-top: 200px;
}
.contact_title {
    margin-top: 204px;
    font-size: 36px;
    color: #FFBA2F;
    font-weight: 400;
    margin-bottom: 74px;
    padding-left: 50px;
}
.margin_top_contact .map {
    
    margin-bottom: 0;
}
.tabs {
	margin-top: 40px;
	display: flex;
}
.tabs a {
	border: #fff 1px solid;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	color: #fff;
	margin-right: 2px;
	padding: 8px 40px;
	cursor: pointer;
}
.tabs a.active {
	background-color: #fff;
	color: #000;
	
}
.tabs a.active:hover {
	cursor: default;
	opacity: 1;
}

.margin_top_contact .tabs {
	margin-top: 125px;
}
.margin_top_contact .footer__block {
    margin-top: 90px;
}
.content {
    margin-top: 160px;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 90px;
}
.content h1 {
    font-size: 32px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 32px;
    color: #fff;
}
.content h2 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 8px;
}
.content p {
    margin-bottom: 20px;
}
.price_wrap {
	margin-top: 70px;
}
.price_wrap .wp-block-group__inner-container {
	display: flex;
	gap: 80px;
}
.price_wrap table, .price_wrap th, .price_wrap td, .price_wrap thead {
	border: none !important;
}
.price_wrap td {
	vertical-align: top;
	padding: 7px 0 !important;
}
.price_wrap th {
	font-size: 24px;
	letter-spacing: 5px;
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	padding: 24px 0 !important; 
}
.price_wrap table {
	font-size: 16px;
	line-height: 22px;
	width: 100%;
}
.price_wrap .wp-block-table {
	width: 50%;
}
.price_wrap table td strong {
	font-weight: 400;
	color: #fff;
}
.price_wrap table tr td:nth-child(2) {
	color: #FFBA2F;
	white-space: nowrap;
}
.slider .owl-stage-outer {
	border-radius: 12px;
	overflow: hidden;
	position: relative;
}
.slider .owl-stage-outer::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	z-index: 2;
	background-color: rgba(0,0,0,0.29);
}
.slider .owl-stage-outer::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 198px;
	content: '';
	z-index: 3;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.61) 0%, rgba(0, 0, 0, 0) 100%);

}
.slider__wrap {
	position: relative;
}
.slider__wrap h1 {
	position: absolute;
	top: 28px;
	left: 30px;
	color: #fff;
	font-size: 28px;
	font-weight: 400;
	margin: 0;
	line-height: 42px;
	z-index: 100;
}
.slider .owl-nav {
	position: absolute;
	bottom: -41px;
	left: 50%;
	transform: translateX(-50%);
}
.slider .owl-nav button {
	background-color: #141414 !important;
	font-size: 28px !important;
	color: #D9D9D9 !important;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	text-align: center;
	line-height: 30px !important;
	margin: 0 5px;
}
.slider .owl-nav button span {
	position: relative;
	top: -3px;
}
.team {
	margin-bottom: 170px;
}
.team__slider {
	padding-left: calc((100vw - 1260px) / 2);
	
}
.team_wrap .wp-block-image {
	margin: 0 !important;
	height: 400px;
	border-radius: 12px;
	overflow: hidden;
}
.team_wrap .wp-block-image img {
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	
}
.team_wrap .owl-nav button {
	width: 40px;
	height: 40px;
	text-align: center;
	background-color: #FFBA2F !important;
	line-height: 40px;
	border-radius: 8px;
	margin: 0 5px;
}
.team__slider .owl-nav {
	position: absolute;
	top: -173px;
	left: calc((100vw - 1210px) / 2);
}
.team__slider .owl-stage .owl-item:nth-child(2n) .widget {
	position: relative;
	top: 30px;
}
.team_title {
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 25px;
	color: #fff;
	margin-top: 25px;
	margin-bottom: 5px;
	padding: 0 23px;
}
.team_subtitle {
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	
	
	padding: 0 23px;
}
.team_wrap .wp-block-group {
	position: relative;
	cursor: pointer;
}
.team_wrap .wp-block-group::after {
	content: url(img/arrow-yellow.svg);
	position: absolute;
	bottom: 19px;
	right: 15px;
	transition: all 0.3s ease;
}
.team_wrap .wp-block-group:hover::after {
	transform: rotate(45deg);
}
.team_h1 {
	margin-top: 124px;
	padding-left: 50px;
	font-size: 34px;
	font-weight: 400;
	color: #fff;
	margin-bottom: 32px;
}
.team__block {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 140px;
	
}
.team__block .widget {
	width: 30%;
	margin-bottom: 40px;
	
}
.team__block .widget:nth-child(3n + 2) .wp-block-group {
	position: relative;
	top: 30px;
}
.team_wrap .wp-block-group {
	background-color: #141414;
	border: #1F1F1F 1px solid;
	border-radius: 12px;
	padding-bottom: 23px;
}
.team_wrap .widget {
	padding-bottom: 30px;
}
.gallery {
	margin-bottom: 60px;
}
.gallery .wp-block-image {
	height: 275px;
}
.gallery .wp-block-image a {
	height: 100%;
}
.gallery .wp-block-image img {
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	border-radius: 6px;
}
.service__block_price {
	padding-top: 84px;
	margin-top: -84px;
}

@media (max-width: 1260px) {
    .container {
        padding: 0 44px;
    }
    .why__photo {
        width: 33%;
        min-width: 33%;
    }
    .why__we_item {
        width: 30%;
    }
    .why__title {
        width: 65%;
    }
    .header__menu ul li {
        font-size: 16px;
        gap: 20px;
    }
    .why__we_item_title {
        font-size: 16px;
    }
    .why__we_item_text {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .service__column_text_block {
        padding-right: 20px;
    }
    .service__logo img {
        width: 350px;
    }
    .zapis__image {
        width: 37%;
        height: 500px;
        
    }
    .zapis__image img {
        object-fit: cover;
        object-position: center center;
        height: 100%;
        width: auto;
    }
    .zapis__text {
        width: 55%;
    }
	.team__slider .owl-nav {
  
  left: 20px;
		
}
	.team__slider {
  padding-left: 50px;
}
    
}
@media (max-width: 1024px) { 
    .menu_mob {
        display: block;
    }
    .mob_menu_block {
        display: block;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        padding: 40px 20px;
        height: 100%;
        z-index: 20000;
        background-color: #080808;
    }
    .close__menu {
        position: absolute;
        top: 16px;
        right: 16px;

   }
   .mob_menu_block_menu {
    margin-top: 20px;
   }
   .mob_menu_block_menu ul {
    margin: 0;
    padding: 0;

   }
   .mob_menu_block_menu ul li {
    list-style-type: none;
   }
   .mob_menu_block_menu ul li a {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    display: block;
   }
   .mob_menu_block_wrap {
    position: absolute;
    bottom: 40px;
    left: 20px;
   }
    .button__block {
        display: flex;
        align-items: center;
        gap: 29px;
    }
    .header__menu {
        display: none;
    }
    .logo {
        width: 114px;
        height: 80px;
        position: relative;
    }
    .logo img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    .header .container {
        border-radius: 0;
    }
    .margin_top_main {
        margin-top: 160px;
    }
    .why {
        margin-top: 30px;
        flex-direction: column;
    }
    .why__title {
        position: relative;
        width: 100%;
        margin-bottom: 25px;
    }
    .why__photo_text {
        position: relative;
        top: 23px;
        left: 29px;
    } 
    .why__photo {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    .why_inst {
        display: none;
    }
    .why__photo img {
        width: 44%;
    }
    .why__we {
        padding-top: 0;
        margin-top: 23px;
        flex-direction: column;
        gap: 9px;
    }
    .why__we_item {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 10px 23px 20px 35px;
    }
    .why__we_item_text {
        width: 44%;
        min-width: 44%;
        font-size: 14px;
        line-height: 24px;
        min-height: 0;
    }
    .why__we_item_title {
        font-size: 18px;
        padding-right: 30px;
    }
    .service {
        flex-direction: column;
        margin-top: 40px;
    }
    .service__column {
        width: 100%;
    }
    .service__column_text {
        display: flex;
    }
    .service__column_text_block p {
        min-height: 110px;
    }
     .service__column_text .service__column_text_block {
        padding-right: 0;
     }
     .service__column_text .service__column_text_block:nth-child(1) {
        padding-right: 30px;
     }
     .service__logo {
        display: none;
     }
     .team__title .black_button {
        position: absolute;
        top: 15px;
        right: 21px;
   }
   .team__title_text {
    position: static;
   }
   .zapis {
    padding: 45px 40px 56px 40px;
   }
   .zapis__text_title {
    font-size: 25px;
    line-height: 30px;
   }
   .zapis__text_subtitle {
    font-size: 16px;
    margin-bottom: 18px;
   }
   .zapis__image {
    height: 340px;
    top: -20px;
    right: 40px;
   }
   .footer__block {
    flex-direction: column;
    position: relative;
   }
   .footer__block_logo {
    margin-bottom: 50px;
   }
   .footer__block_contact {
    justify-content: space-between;
   }
   .footer__block_menu {
    display: flex;
    gap: 25px;
   }
   .footer__block_menu a {
    font-size: 16px;
   }
   .address {
    font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}
.footer__contact_wrap {
    position: absolute;
    top: 50px;
    right: 0;
}
.copyright {
    flex-direction: column;
    align-items: center;
    gap: 13px;
    padding: 34px 20px;
}
.about__banner {
    margin-top: 120px;
    height: 340px;
}
.about__banner_text {
    font-size: 20px;
    line-height: 31px;
}
.about__block .why__we_item {
    flex-direction: column;
    padding: 20px 20px 32px 20px;
}
.about__block .why__we_item_title {
    padding-right: 0;
    font-size: 16px;
    min-height: 48px;
}
.about__block .why__we_item_text {
    width: 100%;
}
.map {
    margin-bottom: 60px;
}
.margin_top_service {
  margin-top: 180px;
}
.service_title {
    padding: 50px 40px 80px 40px;
}
.service__block {
    padding: 0 40px 50px 40px;
}
.service__block_banner_img {
    height: 350px;
}
.service__block_banner {
    padding: 20px;
}
.service__banner_text {
    bottom: 27px;
    padding: 0 23px;
}
.service__banner_text h2 {
    font-size: 38px;
}
.service__banner_descr {
    font-size: 16px;
}
.service__block_banner_buttons {
    margin-top: 20px;
    padding: 0;
}
.service__block_banner_buttons a {
    width: 200px;
}
.contact_title {
    padding-left: 40px;
    margin-bottom: 45px;
    font-size: 40px;
}
.margin_top_contact .tabs {
    margin-top: 90px;
}
	.tabs {
		margin-left: -20px;
		margin-right: -20px;
	}
	.team__title {
		margin-bottom: 60px;
	}
	.team__slider .owl-nav {
		top: -116px;
	}
	.price_wrap .wp-block-group__inner-container {
		flex-direction: column;
		gap: 70px;
	}
	.price_wrap .wp-block-table {
		max-width: 500px;
		width: 100%;
	}
	.gallery .wp-block-image {
	height: 200px;
}
}
@media (max-width: 991px) {
    .service__banner_text {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .service__banner_descr {
        max-width: none;
        margin-bottom: 12px;
    }
	.team__block .widget {
	width: 48%;
	margin-bottom: 24px;
	
}
	.team__block .widget:nth-child(3n+2) .wp-block-group {
  top: 0;
  
}
	.team__block .widget:nth-child(2n) .wp-block-group {
  position: relative;
		top: 30px;
  
}
}
@media (max-width: 600px) { 
    header .container {
        gap: 29px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .container {
        padding: 0 20px;
    }
	.team__slider {
  padding-left: 20px;
}
    .button__block {
        flex-grow: 1;
    }
    header .button {
        flex-grow: 1;
        padding: 10px 0;
        text-align: center;
    }
    .zapis {
        display: flex;
        flex-direction: column;
    }
    .zapis__image {
        position: static;
        width: 100%;
        order: 1;
        height: 220px;
        margin-bottom: 32px;
    }
        .zapis__image img {
            width: 100%;
        }
    
    .zapis__text {
        order: 2;
    }
    .zapis .phone {
        order: 3;
    }
    .zapis .networks {
        order: 4;
    }
     .zapis__text {
    width: 100%;
  } 
  .about__block {
    flex-direction: column;
    gap: 12px;
  }
  .about__block .why__we_item {
    width: 100%;
    align-items: flex-start;
  }
   .about__block .why__we_item_title {
    min-height: 0;
   }
   
   .service_title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
   }
   .service__block,  .service_title {
    margin-left: -20px;
    margin-right: -20px;
   }
    .service__block_banner_buttons a {
        width: 150px;
        height: 40px;
        line-height: 40px;
    }
    .map {
        margin-left: -20px;
        margin-right: -20px;
    }
	.team {
		overflow-x: hidden;
	}
	.team__slider {
		width: 765px !important;
	}
	
}
@media (max-width: 480px) {  
     .logo {
        width: 90px;
     }
     body {
        font-size: 16px;
     }
     .why__photo_text {
        font-size: 20px;
        top: 16px;
    left: 16px;
     }
     .why__we_item {
        padding: 20px 16px;
     }
     .why__we_item_title {
    font-size: 12px;
    padding-right: 24px;
    width: 45%;
    
  }
  .why__we_item_text {
    width: 55%;
    min-width: 55%;
    line-height: 1.2;
  }
  .service__column_text_block p {
    min-height: 150px;
  } 
  .service_item_wrap_icon {
    text-align: center;
  }
  .service__column_item_wrap {
    align-items: flex-start;
  }
  .team__title .black_button {
    display: none;
  }
  .footer__block {
    margin-top: 80px;
  }
  .footer__contact_wrap {
    position: static;
    margin-top: 20px;
  }
  .footer__block_contact {
    flex-direction: column;
    gap: 40px;
  }
  .about__banner h1 {
    top: 20px;
    left: 20px;
}
.about__banner_text {
    left: 20px;
    font-size: 18px;
    
    line-height: 1.5;
}
.service__block {
    padding-left: 16px;
    padding-right: 16px;
}
	.slider .wp-block-cover {
		min-height: 273px !important;
	}
	.slider__wrap h1 {
		font-size: 22px;
		line-height: 1.3;
		top: 15px;
	}
	.slider .owl-nav {
		bottom: 20px;
	}
	.team__title_text {
		text-align: left;
	}
	.team__slider .owl-nav {
    left: calc(100vw - 120px);
		
  } 
	.team__slider {
		width: 600px !important;
	}
	.price_wrap table {
		font-size: 14px;
	}
	.price_wrap table tr td:nth-child(2) {
		white-space: nowrap;
		font-size: 12px;
	}
	.price_wrap {
  margin-top: 40px;
}
	.price_wrap .wp-block-group__inner-container {
		gap: 40px;
	}
	.gallery .wp-block-image {
	height: 150px;
}
	.service__banner_text h2 {
    font-size: 31px;
  }
}
@media (max-width: 410px) {  
    .service__column_text {
        display: block;
    }
    .service__column_text_block p {
    min-height: 0;
  } 
   .service__column_text .service__column_text_block:nth-child(1) {
    padding-right: 0;
  }
  .service__column_text_block {
  margin-bottom: 32px;
} 
.zapis {
    padding: 45px 20px 56px 20px;
  }
  .service__block_banner_buttons a {
        width: 100%;
        
    }
    .service__block_banner_buttons {
        gap: 12px;
    }
	.team__block .widget {
	width: 100%;
	
	
}
	.team__block .widget:nth-child(2n) .wp-block-group {
  top: 0;
  
}

}
@media (max-width: 380px) { 
    .why__we {
        margin-left: -20px;
        margin-right: -20px;
    }
    .service__column_text_block p {
        line-height: 1.2;
    }
	.service__column_item {
		padding: 20px;
	}
	.slider .wp-block-cover {
		min-height: 220px !important;
	}
	.slider__wrap h1 {
		font-size: 12px;
		left: 16px;
	}
}
@media (max-width: 360px) { 
    .why__title {
        padding: 19px 20px;
    } 
	.team__slider {
		width: 550px !important;
	}
	.price_wrap table {
		font-size: 12px;
	}
    .slider .wp-block-cover {
		min-height: 205px !important;
	}
	
    
}