/*
Theme Name: Seostars
Author: Seostars
Requires PHP: 7
Description: Requires Plugins - Advanced Custom Fields, Polylang, Contact Form 7
*/

@font-face {
    font-family: 'ZapusSans';
    src: url(fonts/zapus/ZapusSans-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bounded';
    src: url('fonts/bounded/Bounded-Variable.ttf') format("truetype");
    font-weight: 200 900;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'ZapusSans', sans-serif;
    background-color: white;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    box-sizing: border-box;
    scroll-behavior: smooth;
    line-height: 1.5;
}

body {padding: 20px;}

:root {
    --black: #000000;
    --first-color: #6943F3;
    --second-color: #A58EF8;
    --lavander: #F0ECFE;
    --lightgray: #E9E9EA;
}


/* Header */

.header {
    background: #0F0F0F;
    background-image: url(img/header-bg.png);
    background-size: cover;
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    border-radius: 50px;
    margin-bottom: 80px;
}

.page-template-page-homepage .header::after {
    content: url(img/spider1.png);
    position: absolute;
    right: 0;
    top: 350px;
    z-index: 5;
}


.page-template-page-casepage .header {
    background-image: url(img/phones.jpg);
    background-position: right bottom;
    background-repeat: no-repeat;
}

nav {
    margin: 0 auto;
    width: 100%;
    height: 136px;
    max-width: 1320px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.top-menu, .footer-menu {
    display: flex;
    align-items: center;
    row-gap: 0;
    column-gap: 40px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;   
    list-style: none;
}

.top-menu {
    margin-left: 40px;
    flex-grow: 1;
}

.top-menu a, .footer-menu a {
    text-decoration: none;
    font-weight: 500;
    transition: border-bottom 0.2s ease;
    border-bottom: 1px solid transparent;
    font-size: 20px;
}

.top-menu a {
    color: white;
}
.footer-menu a {
    color: #262232;
    font-weight: bold;
}

.top-menu a:hover, .footer-menu a:hover {
    color: var(--second-color);
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a::after {
    content: '';
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-left: 2px solid white; 
    border-top: 2px solid white;
    transform: rotate(225deg);
    left: 10px;
    top: -3px;    
    transition: transform 0.2s ease;
}

.sub-menu {
    display: none;
    list-style: none; 
}

.sub-menu li:first-child a {
    padding: 0;
    display: inline-block;    
}

.sub-menu li:not(:first-child) a {
    padding: 20px 0 0 0;
    display: inline-block;    
}

.languages__switcher {
    color: white;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 40px;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 20px;   
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s; 
}

.languages__switcher:hover {
   background: white;
   color: #0F0F0F;
}

.tg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-color: #6943F3;
    background-image: url(img/tg-icon.png);
    background-position: 9px center;
    transition: 0.2s;
}
.tg:hover {
    background-color: #A58EF8;
}

.button {
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 42px;
    padding-left: 40px;
    padding-right: 40px;
    height: 72px;
    margin: 2px;
    line-height: 72px;
    text-align: center;
    transition: 0.2s;
    display: block;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Bounded', sans-serif;
    font-weight: 600;
}

.button:hover {
    color: var(--second-color);
    border: 2px solid var(--second-color);
}

.button-fill {
    background-color: var(--first-color);
    border: 2px solid var(--first-color);
}

.button-fill:hover {
    background-color: var(--second-color);
    border: 2px solid var(--second-color);
    color: #ffffff;
}

/*
@media (min-width: 600px) {
    
    .menu-item-has-children:hover .sub-menu {
        display: block;
        position: absolute;   
        top: 20px;
        left: -30px;
        padding: 30px;
        z-index: 10; 
        border-radius: 3px;  
        min-width: 200px;
    } 
    
    .home .menu-item-has-children:hover .sub-menu {
        background: #0F0F0F;        
    }
    
    .bg-black .menu-item-has-children:hover .sub-menu {
        background: white;  
    }
    
    .bg-black .menu-item-has-children:hover .sub-menu a {
        background: linear-gradient(90deg, #8717DE 3%, #DF1EB5 135%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
    }
    
    .bg-white .menu-item-has-children:hover .sub-menu {
        background: #0f0f0f;  
    }
    
    .bg-white .menu-item-has-children:hover .sub-menu a {
        color: white;
    }

    .menu-item-has-children > a:hover::after, .menu-item-has-children:hover > a::after {
       transform: rotate(45deg);
       top: 1px; 
    }
    
}
*/

.mobmenu-button, .mobmenu-button-close {
    display: none;
}




.subheader {
    margin: 0 auto 0 50px;
    padding: 80px 0;
    width: 80%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.page-template-page-casepage .subheader {
    flex-direction: column;
    gap: 70px;
}

.subheader__title {
    color: white;
    font-weight: 600;
    font-size: 100px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: Bounded;
    letter-spacing: 1px;
}

.subheader__title span {
	font-size: 40px;
	display: block;
}

.subheader__content {
    color: white;
    display: flex;
    flex-direction: column; 
    gap: 20px; 
}

.subheader__content-text {
    padding-top: 20px;
}

.subheader__content-text::after {
    content: url(img/h1line.png);
    display: block;
    margin-top: 36px;
}

.subheader__content-buttons {
    display: flex;
    gap: 20px;
}



.page-template-page-aboutpage .subheader__content-arrow {
    background-image: url(img/big-pink-arrow.png);
    margin-bottom: 0;
}

.page-template-page-aboutpage .subheader__img {
    width: 400px;
    height: 500px;
    background-image: url(img/case3.jpg);
    background-size: cover;
    max-width: 100%;
}


.page-template-page-aboutpage .subheader {
    justify-content: flex-start;
}




/* Services */

.services {
    margin: 0 auto;
    width: 100%;
    max-width: 1420px;  
    box-sizing: border-box;
}

.services .h2 {
    position: relative;
}

.services .h2::after {
    position: absolute;
    content: url(img/vector2.png);
    top: 0;
    right: 0;
}

.services .h2::before {
    position: absolute;
    content: '';
    display: block;
    background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(168, 167, 173, 1) 15%, rgba(176, 175, 180, 1) 85%, rgba(255, 255, 255, 0) 100%);
    width: 50%;
    height: 2px;
    top: 37px;
    right: 100px;    
}

.servicesitems {
    margin-top: 20px;
    margin-bottom: 80px;
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.servicesitem {
    min-height: 450px;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}
.servicesitem::before {
    position: absolute;
    right: 20px;
    top: 30px;
}
.servicesitem__text {
    font-size: 14px;
}
.servicesitem-team {
    background-color: var(--black);
    color: white;
}
.servicesitem-team::before {
    content: url(img/icon-arrow.png);
}
.servicesitem-experience {
    background-color: var(--lightgray);
}
.servicesitem-experience::before {
    content: url(img/icon-arrow2.png);
}
.servicesitem-capital {
    background-color: var(--lavander);
}
.servicesitem-capital::before {
    content: url(img/icon-arrow2.png);
}
.servicesitem-values {
    background-color: var(--lightgray);
}
.servicesitem-values::before {
    content: url(img/icon-sparkles.png);
}

.servicesitem__header {
    font-size: 26px;
    font-family: Bounded;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.servicesitem__image {
    height: 250px;
    width: 100%;
    background-repeat: no-repeat;
    position: relative;
    left: -20px;
}

.servicesitem-team .servicesitem__image {
    background-image: url(img/img-team.png);
}

.servicesitem-experience .servicesitem__image {
    background-image: url(img/img-experience.png);
}

.servicesitem-capital .servicesitem__image {
    background-image: url(img/img-capital.png);
}

.servicesitem-values .servicesitem__image {
    background-image: url(img/img-values.png);
}

.uslugi {
    margin-top: 70px;
}

.uslugi__item {
    background: linear-gradient(179deg, #DB56E0 6%, #EF47E0 27%, #D733E9 40%, #B82FF6 50%, transparent 80%);
    border-radius: 38px 38px 0 0;
    padding: 2px;
}

.uslugi__item_open {
    background: linear-gradient(95deg, #DB56E0 6%, #EF47E0 27%, #D733E9 40%, #B82FF6 66%, #BA29FD 89%);
}

.uslugi__item:not(:first-child) {
    margin-top: -40px;
}

.uslugi__item > div {
    padding: 40px 60px 80px 60px;    
    background: white;
    border-radius: 36px 36px 0 0;
    transition: 0.1s;
}

.uslugi__item:last-child > div {
    padding-bottom: 50px;
    border-radius: 34px !important;
}

.uslugi__item:last-child, .uslugi__item:last-child > div {
    border-radius: 36px;
}

.uslugi__item_open > div {
    background: transparent;
}

.uslugi__item_open > div {
    display: flex;
    flex-direction: row-reverse;
	justify-content: space-between;
    gap: 40px;
}

.uslugi__item-header {
    display: flex;
    align-items: center;
    gap: 60px;
    cursor: pointer;
}

.uslugi__item-header span:nth-of-type(1) {
    font-size: 40px;
}

.uslugi__item_open .uslugi__item-header span:nth-of-type(1) {
    display: none;
}

.uslugi__item-header span:nth-of-type(2) {
    font-family: sans-serif;
    color: white;
    -webkit-text-stroke: 1px #0F0F0F; 
    font-weight: 500;
    font-size: 110px;
}

.uslugi__item_open .uslugi__item-header span:nth-of-type(2) {
    -webkit-text-stroke: 0 #0F0F0F; 
    font-size: 76px;
    line-height: 76px;
}

.uslugi__item_open .uslugi__item-header {
    flex-direction: column;
    justify-content: space-between;
    gap: unset;
}

.uslugi__item-morebutton {
    display: none;
    position: relative;
    width: max-content;
    height: 64px;
    line-height: 64px;
    text-decoration: none;
    font-family: sans-serif;
    color: white;   
    font-size: 32px;    
    padding-left: 100px;
    padding-right: 135px;
    border: 2px solid white;
    border-radius: 42px;
    transition: 0.2s;
}

.uslugi__item-morebutton:hover {
    background: white;
    color: #8717DE;
}

.uslugi__item-morebutton::after {
    position: absolute;
    content: '';
    width: 27px;
    height: 28px;
    display: block;
    background-image: url(img/morebutton-arrow.png);
    right: 65px;
    top: 18px;    
}

.uslugi__item-morebutton:hover::after {
    background-image: url(img/morebutton-arrow-hover.png);
}

.uslugi__item_open .uslugi__item-morebutton {
    display: block;
}

.uslugi__item-text {
    display: none;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: white;
}

.uslugi__item_open .uslugi__item-text {
    display: block;
}


/* Reviews */

.reviews {
    margin-bottom: 80px;
}

.container {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
}

.h2 {
    font-family: Bounded;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 70px;
    line-height: 1.1;
}

.after-header {
    display: grid;
    width: 100%;
    height: 65px;
    grid-template-columns: auto 60px auto;
    margin-bottom: 30px;
    align-items: center;
    gap: 40px;
}

.after-header-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(168, 167, 173, 1) 15%, rgba(176, 175, 180, 1) 85%, rgba(255, 255, 255, 0) 100%);
}
.after-header-vector {
    width: 60px;
    height: 65px;
    background-image: url(img/vector.png);
}


.reviews__items {
    column-count: 2;
    gap: 20px;
}

.reviews__item {
    background-color: var(--lightgray);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    break-inside: avoid;
}

.reviews__item:nth-of-type(2n) {
    background-color: var(--lavander);
}

.reviews__item-name {
    font-family: Bounded;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3;
}

.reviews__item-text {
    margin-bottom: 10px;
}

.reviews__item-profession {
    font-family: Bounded;
    font-size: 16px;
    line-height: 1.3;
    position: relative;
}

.reviews__item-profession::after {
    position: absolute;
    right: 0;
    bottom: 0;
    content: url(img/icon-team.png);
}

.last-review {
    background-color: #000000 !important;
    color: white;
    display: grid;
    grid-template-columns: auto 150px;
    gap: 10px;
}

.last-review .last-review-about {
    width: 150px;
    height: 150px;
    background-image: url(img/about.png);
    background-size: cover;
}

/* Cases */

.cases {
    margin-bottom: 80px;
}

.blog .cases {
    padding-top: 100px;
}

.cases__header {
    font-family: sans-serif;
    font-size: 80px;
    font-weight: 500;
}

.cases__items {
    margin-top: 70px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cases__item {
    width: 420px;
    background-color: var(--black);
    color: white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cases__item-img {
    display: block;
    width: 420px;
    height: 420px; 
    background-size: cover;
    margin-bottom: 30px;
    border-radius: 30px 30px 0 0;
}

.cases__item-header {
    font-family: 'Bounded', sans-serif;
    font-size: 40px;   
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.1;
    padding: 0 20px;
}

.cases__item-text {
    font-size: 16px;
    line-height: 1.3;
    padding: 0 20px;
}

.cases__item-date {
    color: #969AA5;
    font-size: 13px;
    margin-top: 20px;
    padding: 0 20px;
}

.cases__item .button {
    width: calc(100% - 40px);
    box-sizing: border-box;
    margin: 20px auto;
}

.cases__item-readmorebutton {
    position: relative; 
    
    display: block;
    text-decoration: none;
    
    margin-top: 30px;
    padding: 0 80px 0 40px;
    box-sizing: border-box;    
    height: 64px;
    width: max-content;
    
    font-family: sans-serif;
    font-size: 32px;
    line-height: 64px;  
    text-align: center;
    
    border: 2px solid #8717DE;
    border-radius: 42px;

    background: linear-gradient(94.17deg, #9618D7 -19.11%, #DF1EB5 112.19%), #DF1EB5;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cases__item-readmorebutton:hover {
    border: none;
    background: linear-gradient(94.84deg, #DB56E0 6.28%, #EF47E0 26.99%, #D733E9 40.45%, #B82FF6 65.91%, #BA29FD 89.14%);
    -webkit-text-fill-color: white;
    line-height: 64px;    
}

.cases__item-readmorebutton::after {
    position: absolute;
    content: '';
    width: 27px;
    height: 27px;
    background-image: url(img/morebutton-arrow-2.png);
    top: 18px;
    right: 30px;  
    background-size: cover;
}

.cases__item-readmorebutton:hover::after {
    background-image: url(img/morebutton-arrow.png);
}



/* Clients */

.clients {
    margin-bottom: 80px;
}

.clients__items {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 30px;
    justify-content: center;
}

.clients__items a, .clients__items div {
	display: block;
	width: 240px;
	height: 94px;
    background-position: center;
    background-repeat: no-repeat;
	background-size: cover;
}




/* Clients Slider */

.itc-slider__item {
    flex: 0 0 33.3333333333% !important;
    max-width: 33.3333333333% !important;              
    height: 120px !important;
    background-size: 300px 120px !important;
    background-repeat: no-repeat;
    background-position: center;
}

.itc-slider__btn {
    background: transparent !important;
    width: 70px !important;
    height: 70px !important;    
    padding: 0;
}

.itc-slider__btn_prev::before, 
.itc-slider__btn_next::before {
    background-image: url(img/round-arrow.png) !important;
    width: 70px !important;
    height: 70px !important;    
}

.itc-slider__btn_prev:hover::before, 
.itc-slider__btn_next:hover::before {
    background-image: url(img/round-arrow-hover.png) !important;
}

.itc-slider__btn_prev {
    left: -90px !important;
}

.itc-slider__btn_next {
    right: -90px !important; 
}

.itc-slider__btn_next::before {
    transform: rotate(180deg);
}

.itc-slider {
    width: calc(100% - 180px);
    margin: 0 auto;
}



/* Footer */

.footer {
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--lavander);
    position: absolute;
    left: 0;
    top: 0;    
}

.footer__nav {
    height: auto;
    padding: 50px 0 60px 0;
    display: grid;
    grid-template-columns: 160px auto;
    grid-template-areas: "footer_logo footer_menu"
                         "footer_logo footer_copyright";
    gap: 20px;
}

.footer__nav .site-logo {
    grid-area: footer_logo;
}

.footer-menu {
    grid-area: footer_menu;
    width: 100%;  
    margin-top: 10px;
}

.copyright {
    grid-area: footer_copyright;
    width: 100%; 
    color: #A8A7AD;
    font-size: 14px;
    font-weight: 500;
}

    
/* Contact Form */

.contacts {
    background: #0F0F0F;
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    border-radius: 50px;
    margin-bottom: 80px;
    background-image: url(img/header-bg.png);
    background-size: cover;
    background-position: center bottom;
}

.contacts__form {
    margin: 0 auto;
    padding: 100px 10px;
    width: 100%;
    max-width: 1320px;   
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-areas: "formtext form" "request form";
    font-family: 'Bounded', sans-serif;
    gap: 20px;
}

.contacts__form > div:nth-of-type(1) {
    color: white;
    font-weight: 500;
    font-size: 80px;
    line-height: 1;
    text-transform: uppercase;
    grid-area: formtext;
    text-align: left;
}
.contacts__form > div:nth-of-type(3) {
    grid-area: form;
}

.contacts__form > div:nth-of-type(1) span {
    color: var(--second-color);
}

.wpcf7-form {
    width: 100%;
}

.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-form textarea {
    font-family: 'Bounded', sans-serif;
    font-size: 20px;
    color: #595E6A;
    background: transparent;
    border: 2px solid white;
    border-radius: 50px;
    padding: 28px;
    width: 95%;
    max-width: 640px;
    box-sizing: border-box;
    text-transform: uppercase;
    font-weight: 500;
}

.wpcf7-submit {
    width: 95%;
    margin-top: 10px;
    font-size: 32px;
    text-transform: uppercase;
    background: white;
    border-radius: 42px;
    padding: 23px 88px;
    font-family: 'Bounded', sans-serif;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    background-color: var(--first-color);
    border: 2px solid var(--first-color);
    color: white;
    font-weight: 500;
    transition: 0.2s;
}

.wpcf7-submit:hover {
    background-color: var(--second-color);
    border: 2px solid var(--second-color);
    color: #ffffff;
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
    font-size: 20px;    
}

.wpcf7-response-output {
    font-size: 20px;
	color: whitesmoke;
}

.wpcf7-form div {
    margin-bottom: 30px;
}

.request {
    width: 99%;
    height: auto;
    aspect-ratio: 710 / 520;
    background-image: url(img/request.png);
    background-size: cover;
    grid-area: request;
}

/* Article */

article {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
    clear: both;
}

@media (min-width: 1366px) {
    .wp-singular article, .wp-singular .breadcrumbs {
        width: 60% !important;
    }
}


article h1 {
    font-family: 'Bounded', 'Arial', sans-serif;
    font-size: 60px;
    margin-bottom: 40px;    
    margin-top: 0;
    text-transform: uppercase;
    line-height: 1;
}

article h2 {
    font-family: 'Bounded', 'Arial', sans-serif;
    font-size: 80px;
    margin-bottom: 30px;     
    margin-top: 30px;     
}

article h3 {
    font-family: 'Bounded', 'Arial', sans-serif;
    font-size: 60px;
    margin-bottom: 20px;     
    margin-top: 20px;     
}

article h4 {
    font-family: 'Bounded', 'Arial', sans-serif;
    font-size: 40px;
    margin-bottom: 20px;     
    margin-top: 20px;     
}

article a {
    color: #DF1EB5;
}

article a:hover {
    text-decoration: none;
}

article blockquote {
    position: relative;
    font-style: italic;
    padding-left: 30px;
}

article blockquote::before {
    position: absolute;
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background-image: url(img/pink-arrow.png);
    left: -30px;
    top: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.wp-caption-text {
    font-size: 12px;
    font-style: italic;    
}

article img {
    max-width: 100%;
}

.single-anons {
    font-weight: 500;
    font-size: 30px;
    line-height: 1.3;    
    margin-bottom: 60px;
}

.post-author {
    display: flex;
    row-gap: 20px;
    column-gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.author__fio {
    font-family: 'Bounded', 'Arial', sans-serif;
    font-size: 40px; 
}

.author__date {
    color: #969AA5;
    font-size: 14px;
    padding-top: 8px;
}

.blog__items {
    display: flex;
    row-gap: 60px;
    column-gap: 20px;
    flex-wrap: wrap;
}



.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    width: 70px;
    height: 70px;
    line-height: 66px;
    font-size: 28px;
    text-align: center;
    border: 2px solid #0F0F0F;
    border-radius: 35px;
    text-decoration: none;
    color: #0F0F0F;
    box-sizing: border-box;
}

.nav-links .page-numbers:hover,
.nav-links .current {
    background: #0F0F0F;
    color: white;
}

.nav-links .prev, .nav-links .next {
    background-repeat: no-repeat !important;
    border: 2px solid transparent;
    background-size: cover !important;
    border-radius: 0;    
    opacity: 0.7;
}

.nav-links .prev {
    background: url(img/black-arrow.png);
}

.nav-links .prev:hover {
    background: url(img/black-arrow.png);
    opacity: 1;
}

.nav-links .next {
    background: url(img/black-arrow.png);
    transform: rotate(180deg);
}

.nav-links .next:hover {
    background: url(img/black-arrow.png);
    opacity: 1;
}




.case-gallery {
    margin: 100px auto 200px auto;
    width: 100%;
    max-width: 1320px;
    position: relative;
    clear: both;
}

.case-gallery__header {
    position: absolute;
    font-family: 'Bounded', 'Arial', sans-serif;
    font-size: 150px;
    font-weight: 500;
    color: white;
    -webkit-text-stroke: 1px #0F0F0F; 
    transform: rotate(90deg);
    left: -120px;
    top: 30%;  
}

.page-template-page-casepage .itc-slider__btn {
    top: calc(100% + 90px);
}

.page-template-page-casepage .itc-slider__btn_next {
    left: -50px;
}

.page-template-page-casepage .itc-slider__btn_prev::before, 
.page-template-page-casepage .itc-slider__btn_next::before {
    background-image: url(img/black-arrow.png) !important;
}

.page-template-page-casepage .itc-slider {
    margin-right: 0;
}

.page-template-page-casepage .itc-slider__btn_prev {
    left: -150px !important;
}

.page-template-page-casepage  article {
    padding-bottom: 0;
}



/* Breadcrumbs */

.breadcrumbs {
    max-width: 1420px;
    width: 100%;
    box-sizing: border-box;
    margin: 30px auto 0 auto;
}

.breadcrumbs span {
    color: var(--first-color);
    font-weight: 500;
    font-size: 18px;
}

.page-template-page-uslugapage .breadcrumbs span {
    color: white;
}

.breadcrumbs > span {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--black);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs__current {
    color: #DF1EB5;
    font-weight: 500;
    font-size: 18px;
}

.bg-white .white-svg-arrow {
    display: none;
}

.bg-black .black-svg-arrow {
    display: none;
}

.bg-white .breadcrumbs a {
    color: #0f0f0f;
}


.page-template-page-portfoliopage .breadcrumbs__current,
.page-template-page-uslugapage .breadcrumbs__current {
    color: white;
}

.page-template-page-portfoliopage .header,
.page-template-page-uslugapage .header {
    background-image: url(img/portfolio-bg.jpg);
    background-size: cover;
}

.page-template-page-uslugapage .header {
    background-position: right bottom;
}

.page-template-page-portfoliopage .subheader__title span {
    color: transparent;
}

.page-template-page-portfoliopage .subheader__content-arrow {
    margin-bottom: 0;
}

.page-template-page-portfoliopage .cases:not(:nth-of-type(1)) {
    padding-top: 50px;
}


.page-template-page-portfoliopage .itc-slider {
    width: 100%;
}

.page-template-page-portfoliopage .itc-slider__item {
    height: auto !important;
}

.page-template-page-portfoliopage .itc-slider__btn_prev::before, 
.page-template-page-portfoliopage .itc-slider__btn_next::before {
    background-image: url(img/black-arrow.png) !important;
}

.page-template-page-portfoliopage .itc-slider__btn_prev {
    left: 0 !important;
}

.page-template-page-portfoliopage .itc-slider__btn_next {
    left: 100px;
}

.page-template-page-portfoliopage .itc-slider__btn {
    top: calc(100% + 70px);
}

.page-template-page-uslugapage .article__wrapper {
    background: #0f0f0f;
    color: white;
}

.usluga-description {
    display: flex;
    justify-content: space-between;  
    align-items: center;
    gap: 150px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 130px 0;
    box-sizing: border-box;
}

.usluga-description__header {
    font-family: 'Bounded', 'Arial', sans-serif;    
    color: white;
    -webkit-text-stroke: 1px #0F0F0F;    
    font-weight: 500;
    font-size: 100px;  
}



/* 1366px */

@media (max-width: 1366px) {
    nav {
        max-width: 1100px;
        gap: 20px
    }   
    
    .contacts__form,
    .subheader {
        max-width: 1100px;
    }
    
    .subheader {
        padding: 50px 20px 100px 20px;
    }
    .subheader__title {
        line-height: 1.2;
        font-size: 80px;
    }
    .subheader__content-buttons {
        flex-wrap: wrap;
    }
    .subheader__title span {
        font-size: 35px;
    }

    .uslugi__item_open .uslugi__item-header span:nth-of-type(2) {
        font-size: 60px;
    }
    
    .uslugi__item-morebutton {
        height: 64px;
        line-height: 64px;
        font-size: 32px;
        padding-left: 60px;
        padding-right: 95px;
    }
    
    .uslugi__item-morebutton::after {
        right: 50px;
    }
    
    .uslugi__item-text {
        font-weight: 400;
        font-size: 18px;        
    }
    
    .uslugi__item-header span:nth-of-type(2) {
        font-size: 80px;
    }     

    .cases__items {
		margin-top: 30px;
        column-gap: 10px;
    }
    
    .cases__item {
        width: 320px;
    }

    .cases__item-img {
        width: 320px;
        height: 320px;
    }
    
    .page-template-page-casepage .header {
        background-size: 50%;
    }
    
    article {
        max-width: 1100px;
        padding: 50px;
    } 
    
    .breadcrumbs {
        max-width: 1100px;
        padding: 0 50px;
    }
    
    .usluga-description {
        max-width: 1100px;
    }
    
    .servicesitems {
        width: 90%;
    }
    
    .cases__item-header {
        font-size: 30px;
    }

}




/* 1100px */

@media (max-width: 1100px) {
    
    .header, .footer {
        height: auto;
    }
    
    nav {
        max-width: 1000px;
        height: auto;
        gap: 20px;
        flex-wrap: wrap;
        box-sizing: border-box;
        justify-content: flex-start;
        padding: 40px 24px;
    } 
    
    .top-menu {
        display: none;
        order: 1;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--first-color);
        z-index: 2;
        padding: 40px 20px;
        margin: 0;
        border-radius: 50px;
        background-image: url(img/menu-bg.png);
        background-size: cover;
    }
    
    .top-menu li {
        margin-bottom: 30px;
    }
    
    .mobmenu-button {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        border: 2px solid white;
        border-radius: 40px;
        padding: 16px 25px;
        order: 4;
    }
    
    .mobmenu-button div {
        width: 21px;
        height: 2px;
        background: white;
    }
    
    .mobmenu-button-close {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        position: absolute;
        top: 45px;
        right: 38px;
        z-index: 5;
        rotate: 45deg;
    }
    
    .mobmenu-button-close div {
        width: 28px;
        height: 3px;
        background-color: white;
        position: relative;
        top: 23px;
        left: 11px;
    }
    
    .mobmenu-button-close div:nth-of-type(2) {
        rotate: 90deg;
        top: 20px;
    }
    
    .site-logo {
        order: 1;
        flex-grow: 1;
    }

    .languages {
        order: 3;
    }
    
    .tg {
        order: 2;
    }
    
    .footer__nav {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 10px;
    }
    
    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }
    
    .contacts__form {
        padding: 50px 30px 150px 30px;
        grid-template-columns: 1fr;
        grid-template-areas: "formtext" "form" "request";
        justify-items: center;
        align-items: center;
        gap: 40px;
        width: auto;
        position: relative;
        text-align: center;
    }
    
    .request {
        width: 80%;
        position: absolute;
        top: -100px;
        z-index: 3;
    }
    
    .subheader {
        padding: 0 20px 50px 20px;
        margin: 0;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
        width: auto;        
    }

    .subheader__title span {
        font-size: 30px;
    }

    .subheader > div {
        max-width: max-content;
    }
    
    .subheader__title {
        align-self: flex-start;
    }
    
    .page-template-page-casepage .subheader__content {
        align-self: flex-start;
    }
    
    .subheader__title {
        font-size: 100px;
        display: contents;
    }  

    .subheader__content {
        flex-direction: row;  
        flex-wrap: wrap;
        justify-content: space-between;
    }   
    
    .subheader__content-text {
        padding-top: 0;
        order: 2;
        width: 70%;
    }    
    .subheader__content-text::after {
        margin-top: 16px;
    }
    .subheader__content-buttons {
        order: 3;
        width: 100%;
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .header {
        position: relative;
        margin-bottom: 60px;
    }
    .page-template-page-homepage .header::after {
        content: url(img/spider2.png);
        zoom: 1;
        bottom: 20px;
        top: auto;
        right: -10px;
    }
    
    .uslugi__item > div {
        padding: 40px 20px 80px 20px;
    }
    
    .uslugi__item-header {
        gap: 20px;
    }
    
    .uslugi__item-header span:nth-of-type(2) {
        font-size: 60px;
    } 
    
    .uslugi__item_open .uslugi__item-header span:nth-of-type(2) {
        font-size: 50px;
    }
    
    .uslugi__item-morebutton {
        height: 64px;
        line-height: 64px;
        font-size: 26px;
        padding-left: 40px;
        padding-right: 75px;
    }
    
    .uslugi__item-morebutton::after {
        right: 30px;
    }

    .itc-slider__item {
        height: 300px !important;
    }
    
    article {
        padding: 40px 60px;
    }    
    
    .usluga-description {
        padding: 80px 60px;
    }    
    
    .usluga-description__header {
        font-size: 80px;
    }
    
    .case-gallery__header {
        font-size: 100px;
        left: -40px;
    }
    
    .page-template-page-casepage .itc-slider__btn {
        top: calc(100% + 50px);
    }    
    
    .page-template-page-casepage .itc-slider__btn_next {
        left: -60px;
    }  
    
    .page-template-page-casepage .itc-slider__btn_prev {
        left: -120px !important;
    }    
    
    .page-template-page-casepage .itc-slider__btn_next {
        left: -30px;
    }    
    
    .breadcrumbs {
        padding: 0 60px;
    }
    
    .page-template-page-portfoliopage .itc-slider__item{
        flex: 0 0 50% !important;
        max-width: 50% !important;        
    }    
    
    
    
    article h1 {
        font-size: 40px;
    }
    
    article h2 {
        font-size: 30px;
    }
    
    article h3 {
        font-size: 25px;
    }
    
    article h4 {
        font-size: 20px;
    }
    
    .page-template-page-aboutpage .subheader__content {
        flex-direction: column;
    }
    
    .reviews, .clients, .cases {
        margin-bottom: 60px;
    }
    
    .contacts {
        margin-bottom: 200px;
    }
    
    .services .h2::before {
        width: 30%;
        right: 80px;
    }
    
    .servicesitems {
        margin-bottom: 60px;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .servicesitem {
        padding: 15px;
        min-height: auto;
    }
    
    .servicesitem__image {
        height: 250px;
        width: 100%;
        background-repeat: no-repeat;
        position: relative;
        left: unset;
    }
    
    .servicesitem-team .servicesitem__image {
        background-image: url(img/img-team2.png);
    }

    .servicesitem-experience .servicesitem__image {
        background-image: url(img/img-experience2.png);
    }
    
    .servicesitem-capital .servicesitem__image {
        background-image: url(img/img-capital2.png);
    }
    
    .servicesitem-values .servicesitem__image {
        background-image: url(img/img-values2.png);
    }
    
    .servicesitem__image {
        zoom: 0.8;
    }
    
    .servicesitem-team .servicesitem__image {
        position: relative;
        top: 35px;
    }
    
    .cases__item-header {
        font-size: 20px;
    }
    
}

@media (max-width: 600px) {
    body {padding: 10px;}
    .header {
        border-radius: 20px;
        margin-bottom: 40px;
    }
    .subheader__title {
        font-size: 42px;
    }
    .subheader__title span {
        font-size: 22px;
    }
    .subheader__content-text {
        width: 100%;
        font-size: 14px;
    }
    .subheader__content-buttons {
        gap: 14px;
    }
    .button {
        height: 46px;
        line-height: 46px;
        font-size: 12px;
        padding-left: 20px;
        padding-right: 20px;
    }
    nav {
        gap: 16px;
        padding: 20px 16px;
    }
    .site-logo img {
        display: block;
        zoom: 0.6;
    }
    .tg, .languages, .mobmenu-button {
        zoom: 0.8;
    }
    .top-menu {
        border-radius: 20px;
        padding: 24px;
    }
    .top-menu a, .footer-menu a {
        font-size: 14px;
    }
    .top-menu li {
        margin-bottom: 16px;
    }
    .mobmenu-button-close {
        width: 32px;
        height: 32px;
        top: 23px;
        right: 22px;
    }
    .mobmenu-button-close div {
        width: 20px;
        top: 14px;
        left: 6px;
    }
    .mobmenu-button-close div:nth-of-type(2) {
        top: 11px;
    }
    .h2 {
        font-size: 32px;
    }
    .after-header {
        gap: 10px;
        grid-template-columns: auto 38px auto;
        margin-bottom: 0;
    }
    .after-header-line {
        height: 1px;
    }
    .after-header-vector {
        width: 32px;
        height: 34px;
        background-size: contain;
    }
    .reviews, .clients, .cases {
        margin-bottom: 40px;
    }
    .reviews__items {
        column-count: 1;
    }
    .reviews__item {
        margin-bottom: 10px;
        padding: 16px 10px;
    }
    .clients__items a, .clients__items div {
        zoom: 0.6;
    }
    .contacts {
        border-radius: 20px;
        margin-bottom: 100px;
    }
    .contacts__form {
        padding: 30px 15px 100px 15px;
    }
    .contacts__form > div:nth-of-type(1) {
        font-size: 24px;
    }
    .wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-form textarea, .wpcf7-submit {
        padding: 18px 20px;
        font-size: 14px;
        border-radius: 25px;
    }
    .wpcf7-form div {
        margin-bottom: 10px;
    }
    .wpcf7-submit {
        
    }
    .request {
        top: -45px;
    }
    .services .h2::after {
        zoom: 0.5;
    }
    .services .h2::before {
        height: 1px;
        top: 19px;
    }
    .servicesitems {
        margin-bottom: 40px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .servicesitem-team .servicesitem__image {
        height: 180px;
        top: 0;
    }
    .cases__items {
        justify-content: center;
		margin-top: 20px;
    }
    .breadcrumbs {
        padding: 0;
    }
    .breadcrumbs > span {
        gap: 10px;
    }
    article {
        padding: 0;
    }
}


























