@import "normalize.css";
@import "fonts.css";

* {
    box-sizing: border-box;
    letter-spacing: 0.05em;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #1F1F1F;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Noto Sans', sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 170%;
    letter-spacing: 0.05em;
}

section {
    margin: 60px 0;
}

main {
    padding: 0 0 57px 0;
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.button {
    display: block;
    max-width: max-content;
    padding: 15px 28px;
    background-color: #CC5732;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    text-decoration: none;
    transition: all 0.3s;
}

.button:hover {
    background: #C84820;
}

h2.second-header {
    padding: 60px 0 80px;
    font-size: 35px;
    line-height: 147%;
    font-weight: 500;
    text-align: center;
    position: relative;
}

h2.second-header:before {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2025/02/services.svg');
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 1196px;
    width: 100%;
    height: 395px;
    top: 0;
    left: -10px;
    z-index: -1;
}

.single-work-back {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-decoration: none;
/*     position: absolute; */
/*     top: -10px; */
    left: 20px;
    z-index: 1;
}

/* Header */

.site-header {
    background: #E8E8E8;
    padding: 10px 0;
	position: fixed;
    width: 100%;
    z-index: 99999;
	top: 0;
}

.header-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: #000;
}

.header-top {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    flex: 1; /* Takes less space */
    display: flex;
    justify-content: flex-start;
}

.main-navigation {
    flex: 2; /* Makes the menu wider */
    display: flex;
    justify-content: center; /* Centers navigation items */
}

.main-navigation ul {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px; /* Adds space between menu items */
}

.header-contact {
    flex: 1; /* Takes less space */
    display: flex;
    justify-content: flex-end; /* Aligns contact info to the right */
}

.header-top .main-menu {
    display: flex;
    flex-direction: row;
    gap: 55px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-top .main-menu > li {
     position: relative;
}

.menu-items-title > a {
    margin-bottom: 8px;
    color: #777272;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Noto Sans Regular', sans-serif;
}

.menu-items-title:last-child > a {
    margin-top: 20px;
}

.menu-item-development > a {
    margin: 20px 0;
    color: #3D3D3D;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans Regular', sans-serif;
}

.header-top .main-menu > .menu-item > .sub-menu {
    display: none;
    flex-direction: column;
    margin: 0;
    list-style: none;
    transition: all 0.3s;
    background: #fff;
    border-radius: 5px;
    padding: 20px 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 210px;
}

.header-top .main-menu > .menu-item-has-children:hover > .sub-menu {
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.header-top .main-menu .menu-item > .sub-menu > .menu-item > .sub-menu {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #000;
    font-weight: 500;
}

.header-contact {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.header-contact svg {
    max-width: 25px;
    width: 100%;
    height: 25px;
}

.header-contact-social {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 12px 0;
}

.header-top a {
    display: flex;
}

.header-top .logo img {
    max-width: 56px;
    width: 100%;
    height: 50px;
    object-fit: contain;
}

.header-top .main-menu a {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans Regular', sans-serif;
    text-decoration: none;
}

.header-phone-items {
    position: relative;
    cursor: pointer;
    padding: 12px 0;
}

.header-phone-item {
    display: none;
    flex-direction: column;
    gap: 9px;
    background: #fff;
    max-width: 100%;
    width: 100%;
    min-width: 170px;
    padding: 15px;
    position: absolute;
    top: 65px;
    left: -100%;
    font-size: 14px;
    line-height: 147%;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    z-index: 1;
}

.header-phone-items:hover .header-phone-item {
    display: flex;
}

.header-phone-item:after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
    top: -9px;
    left: 20%;
}

.header-phone-item a {
    text-decoration: none;
}

.header-phone-call {
    margin-top: 13px;
    color: #626262;
    font-size: 14px;
    line-height: 147%;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: underline;
}

.language-switcher_inner {
    position: relative;
}

.language-switcher_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    padding-right: 15px;
    cursor: pointer;
}

.language-label {
    font-size: 14px;
    letter-spacing: 0.05em;
}

.language-switcher_item .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
    transition: all 0.3s;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 35%;
    right: 0;
}

.language-switcher_options {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px 6px;
    background: #fff;
    border: 1px solid #C9C9C9;
    border-radius: 5px;
    position: absolute;
    top: 30px;
    left: 65%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.language-option {
    color: #000;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.language-option:hover {
    color: #CC5732;
}

.language-switcher_item:hover .arrow {
    transform: rotate(0);
}

.language-switcher_item:hover .language-switcher_options {
    opacity: 1;
    visibility: visible;
}


/* Footer */
.footer {
    background-color: #3D3D3D;
}

.footer_top {
    max-width: 100%;
    width: 100%;
    padding: 120px 0;
    background-repeat: no-repeat;
    background-size: cover;
    color: #000;
}

.footer_top h2 {
    font-size: 35px;
    font-weight: 600;
    line-height: 147%;
    text-align: center;
}

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

.footer_contact-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer_contact_inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 781px;
    width: 100%;
    margin-top: 92px;
    margin-left: 0;
}

.footer_contact-info {
    max-width: 100%;
    width: 100%;
}

.footer_contact-info_heading {
    margin-bottom: 35px;
}

.footer_contact-form {
    max-width: 358px;
    width: 100%;
}

.footer_contact-form form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 25px;
}

.footer_contact-info_heading {
    font-size: 22px;
    line-height: 147%;
    font-weight: 600;
}

.footer_contact-info_phone {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.footer_contact-info_phone a {
    font-family: 'Noto Sans Regular', sans-serif;
    font-size: 16px;
    line-height: 147%;
    font-weight: 400;
    text-decoration: none;
}

.footer_contact-info_email a {
    font-family: 'Noto Sans Regular', sans-serif;
    font-size: 16px;
    line-height: 147%;
    font-weight: 500;
    text-decoration: underline;
}

.footer_contact-form form input {
    max-width: 358px;
    width: 100%;
    padding: 13px 30px;
    background: #EDEDED;
    border-radius: 5px;
    border: 1px solid #CBCBCB;
    outline: none;
    font-family: 'Noto Sans Regular', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #747474;
}

.footer_contact-form form button {
    margin: 0 auto;
}

.footer_bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 20px;
    color: #fff;
}

.footer_logo img {
    max-width: 76px;
    width: 100%;
    height: 68px;
    object-fit: contain;
}

.footer_copyright {
    font-family: 'Noto Sans Regular', sans-serif;
    font-size: 14px;
    line-height: 147%;
    font-weight: 400;
	text-align: center;
}

.footer_social {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 28px;
}

.footer_social a {
    text-decoration: none;
}

.callbackFooterForm {
    flex-direction: column;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.blog-pagination .page-numbers {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #E9E9E9;
    border-radius: 4px;
    margin: 0 5px;
    text-decoration: none;
    color: #313131;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.blog-pagination .page-numbers.current {
    background: #C84820;
    border: 1px solid #C84820;
    color: #fff;
    font-weight: 600;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    color: #fff;
    font-weight: 400;
    position: relative;
}

.blog-pagination .page-numbers.prev:before {
    content: '<';
    margin-right: 5px;
    font-size: 10px;
}

.blog-pagination .page-numbers.next:after {
    content: '>';
    margin-left: 5px;
    font-size: 10px;
}

.blog-pagination .page-numbers.prev:hover,
.blog-pagination .page-numbers.next:hover {
    color: #C84820;
}

.mobile-main-navigation {
    display: none;
}

.menu-toggle {
    display: none;
}

.success-modal-bg {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 7777;
}

.success-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 461px;
    width: 80%;
    padding: 30px 50px 32px;
    background: #fff;
    border-radius: 10px;
    color: #484848;
    font-size: 18px;
    line-height: 153%;
    letter-spacing: 0.05em;
    font-weight: 600;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.success-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.success-modal .close svg {
    max-width: 17px;
    width: 100%;
    height: 17px;
    object-fit: contain;
}

.success-modal p {
    text-align: center;
}

.success-modal img {
    max-width: 191px;
    width: 100%;
    height: 191px;
    object-fit: contain;
}

.success-modal-bg.active {
    display: flex;
}

@media screen and (max-width: 1024px) {
    .header-top .main-menu > li {
        position: unset;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        width: 27px;
        height: 21px;
        position: relative;
        cursor: pointer;
    }
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #C84820;
        border-radius: 50px;
        margin-bottom: 6px;
        transition: all 0.4s ease;
    }
    .menu-toggle span:last-child {
        margin-bottom: 0;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 6px;
        position: absolute;
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 6px;
        position: absolute;
    }
    .main-navigation {
        display: none;
    }
    .mobile-main-navigation {
        flex-direction: column;
        gap: 20px;
        padding: 30px 17px 17px 28px;
        background: #fff;
        border-radius: 2px;
        position: absolute;
        z-index: 777;
        top: 100px;
        right: 10px;
        &:before {
            content: '';
            position: absolute;
            display: inline-block;
            width: 0;
            height: 0;
            border-left: 9px solid transparent;
            border-right: 9px solid transparent;
            border-bottom: 9px solid #fff;
            top: -9px;
            right: 10px;
        }
        .main-navigation {
            display: flex;
            ul {
                flex-direction: column;
                align-items: flex-end;
                gap: 9px;
            }
        }
        .header-contact-social {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            gap: 10px;
            padding: 0;
        }
    }
    .mobile-main-navigation.active {
        display: flex;
    }
    .header-phone-items {
        display: flex;
        align-items: center;
    }
    .header-contact {
        flex: 1 1 auto;
        justify-content: center;
    }
    .header-contact-social {
        .image-block {
            display: flex;
            align-items: center;
			max-width: 25px;
        }
    }
    .language-switcher {
        margin-right: 20px;
    }
    .header-phone-item {
        top: 58px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .header-top .logo img {
        max-width: 44px;
        width: 100%;
        height: 40px;
        object-fit: contain;
    }
    .header-contact svg {
        max-width: 20px;
        width: 100%;
        height: 20px;
    }
    .language-switcher_item img {
        max-width: 20px;
        width: 100%;
        height: 20px;
    }
    h1.single-work-title {
        font-size: 22px;
        line-height: 123%;
    }
    h2.second-header {
        padding: 10px 0 20px;
        font-size: 22px;
        line-height: 123%;
        letter-spacing: 0.05em;
    }
    h2.second-header:before {
        left: 0;
    }
    .footer_top {
        padding: 70px 0;
        background-position: top right;
    }
    .footer_top h2 {
        font-size: 22px;
        line-height: 123%;
        color: #fff;
    }
    .footer_contact_inner {
        flex-direction: column-reverse;
        gap: 35px;
        margin-top: 35px;
    }
    .footer_contact-container {
        max-width: 1240px;
        width: 100%;
        margin: 0 auto;
        padding: 0 34px;
    }
    .footer_contact-form {
        max-width: 100%;
        width: 100%;
    }
    .footer_contact-form form {
        align-items: center;
    }
    .footer_contact-info {
        text-align: center;
    }
    .footer_contact-info_heading {
        font-size: 20px;
        color: #fff;
    }
    .footer_contact-info_phone {
        gap: 10px;
        color: #fff;
    }
    .footer_contact-info_email {
        color: #fff;
    }
    .footer_bottom {
        padding: 15px 10px;
    }
    .footer_copyright {
        font-size: 11px;
    }
    .footer_social {
        gap: 10px;
    }
    .footer_social svg {
        width: 19px;
        height: 19px;
    }
    .footer_logo img {
        max-width: 56px;
        height: 52px;
    }
    .swiper-pagination-bullet:after {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .header-phone-item {
        top: 54px;
    }
    .mobile-main-navigation {
        top: 70px;
    }
}

@media (max-width: 768px) {
    .main-navigation ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-navigation {
        font-family: Arial, sans-serif;
        text-align: center;
    }

    .main-menu-mobile > li {
        display: flex;
        border-bottom: 1px solid #444;
        justify-content: space-between;
        position: relative;
        align-items: center;
		width: 100%;
    }

    .main-menu-mobile li a {
        display: block;
        padding: 10px;
        color: #3D3D3D;
        text-decoration: none;
        transition: background 0.3s ease;
    }

    .main-menu-mobile li ul {
        display: none;
        position: absolute;
        top: 100%;
        left: -50%;
        min-width: 180px;
        z-index: 1000;
        background: #ffffff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Добавляем тень */
    }

    .main-menu-mobile li ul li {
        display: block;
    }

    .main-menu-mobile li ul li a {
        padding: 10px 15px;
    }

    /* Новый стиль для переключателя плюс/минус */
    .submenu-toggle {
        position: relative;
        display: inline-block;
        width: 20px;
        height: 20px;
        cursor: pointer;
        vertical-align: middle;
        margin-left: 10px;
    }

    /* Псевдоэлементы для создания линий плюса */
    .submenu-toggle::before,
    .submenu-toggle::after {
        content: "";
        position: absolute;
        background-color: #3D3D3D;
        transition: transform 0.3s ease;
    }

    /* Горизонтальная линия */
    .submenu-toggle::before {
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        transform: translateY(-50%);
    }

    /* Вертикальная линия */
    .submenu-toggle::after {
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        transform: translateX(-50%);
    }

    /* При открытом состоянии скрываем вертикальную линию */
    .submenu-toggle.open::after {
        transform: translateX(-50%) scaleY(0);
    }

    #menu-mobile-menu {
        width: 250px;
    }
}

textarea {
    width: 100%;
    padding: 10px;
    border-top: none;
    border-bottom: 1px solid #C2C2C2;
    border-left: none;
    border-right: 0;
    outline: none;
    font-size: 12px;
    font-family: 'Noto Sans Regular', sans-serif;
    line-height: 147%;
    letter-spacing: 0.05em;
    
}

.block-works {
    margin: 58px 0 25px;
}

.block-works_slider {
    position: relative;
}

.block-works_inner {
    padding-bottom: 35px;
}

.block-works_slider .swiper-pagination {
    bottom: 0!important;
}

.block-works_slider .swiper-button-next:after,
.block-works_slider .swiper-button-prev:after {
    content: '';
}

.block-works_slider .swiper-button-next,
.block-works_slider .swiper-button-prev {
    width: 47px;
    height: 47px;
    background: #E2E2E2;
    border: 1px solid #A5A5A5;
    border-radius: 50%;
    top: calc(50% - 10px);
}

.block-works_slider .swiper-button-next {
    right: -10px;
}

.block-works_slider .swiper-button-prev {
    left: -10px;
}

.block-works_slider .swiper-button-next svg,
.block-works_slider .swiper-button-prev svg {
    width: 11px;
    height: 22px;
}

.swiper-pagination-bullet {
    background: transparent;
    font-size: 16px;
    line-height: 147%;
    color: #fff;
    opacity: 1;
    position: relative;
    width: 5px;
    height: 5px;
}

.swiper-pagination-bullet:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #999999;
    left: 0;
    bottom: 0;
}

.swiper-pagination-bullet-active {
    background: transparent;
    color: #CC5732;
}
 
.swiper-pagination-bullet-active:after {
    content: '';
    width: 0;
    height: 0;
}

.block-works_item {
    max-width: 100%;
    width: 100%;
    height: 403px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transform: translateY(0);
    transition: all 0.3s;
}

.block-works_item_category {
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background: linear-gradient(180deg, #00000000, #000000), #8f8f8f6e;
    backdrop-filter: blur(3px);
    position: absolute;
    width: 100%;
    bottom: 0;
}

.block-works_item:hover {
    transform: translateY(-10px);
    filter: brightness(0.8);
}


@media screen and (max-width: 768px) {
    .block-works {
        margin: 58px 0 60px;
    }
    .block-works_inner {
        padding-bottom: 55px;
    }
}

