/*
Theme Name: Aberto Theme
Text Domain: aberto_locale
*/

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


main {
    flex: 1;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 260px;
}

img {
    vertical-align: top;
}

.container {
    padding: 0 30px;
    margin-bottom: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: inherit;
    font-size: inherit;
}

.nav li,
.nav-bar-menu li,
.footer li,
.navbar-mobile__nav-bar-menu li,
.navbar-socials-mobile li {
    content: '';
    list-style: none;
}

b {
    font-weight: 700;
}

a,
a:visited {
    text-decoration: none;
    transition: 0.2s ease;
}

a {
    color: #e4e4e4;
}

a:hover {
    color: #ffa125;
}

.wrapper {
    /* background: #ffffff; */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    /* height: 90vh; */
    margin: 0 auto;
    overflow: hidden;
}

.video-background video {
    pointer-events: none;
    display: block;
    min-height: 740px;
    height: 90vh;
    object-fit: cover;
    width: 100%;
}
.video-background__mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.menu-item.current {
    font-weight: bold;
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Навигация */
.navbar-wrap {
    padding: 30px;
    padding-bottom: 45px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    transition: .2s ease;
    z-index: 999;
}

.navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    gap: 30px;
}

.navbar-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
}

.navbar.active a.item--link {
    color: #1f1f1f;
}

.navbar.active a.item--link:hover {
    color: #ffa125;
}

.navbar.active .menu {
    color: #1f1f1f;
}

.navbar.active .menu:hover {
    color: #ffa125;
}

.nav-text {
    word-break: keep-all;
}

.navbar-collapse {
    display: flex;
}

.navbar-nav {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    max-width: 600px;
}

.navbar-socials {
    gap: 15px;
}

.lang-item::first-letter {
    text-transform: uppercase;
    /* Применяем верхний регистр */
}

ul.nav-bar-menu {
    padding: 0;
    margin: 0;
}

ul.navbar-nav {
    padding: 0;
    margin: 0;
}

ul.lang-menu {
    padding: 0;
    margin: 0;
}

.navbar-collapse--gamb {
    display: block;
    width: 100%;
    margin: 0 auto;
    max-width: 200px;
    padding-top: 20px;
}

.lang-text {
    font-size: 20px;
    color: #0049a8;
    transition: .3s ease;
}

.navbar-nav li a {
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav li a.active {
    color: #004E98;
}

.navbar-lang:hover .lang-text {
    color: #2684ff;
}

.lang-menu {
    display: flex;
    gap: 15px;
}

.current-lang a {
    color: #004E98;
}

.lang-menu--gamb .lang-item {
    /* background-color: #CCCCCC; */
    transition: .3s ease;
}

.lang-menu--gamb .lang-item {
    flex: 0;
}

.lang-menu--gamb .lang-item:not(.current-lang) {
    opacity: 1;
    visibility: visible;
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lang-menu--gamb .lang-item:not(.current-lang):hover {
    /* background-color: #999999; */
}

.lang-menu--gamb a {
    color: #ffffff;
}

.lang-menu--gamb .current-lang {
    /* background-color: #004E98; */
}

.lang-menu--gamb .current-lang a {
    color: #ffffff;
    background: #ffa125;
    border: none;
}

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

#searchwp-form-1 input[type=submit] {
    display: none;
}

/* ВТОРОЕ МЕНЮ навигации с гамбургером*/
.navbar-socials-mobile {
    display: flex;
    gap: 15px;
}

.nav-gamburger-wrap {
    display: none;
    overflow: visible;
    background-color: #ffffff;
    transition: 0.4s;
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    padding: 16px 0;
    box-shadow: 0px 10px 9px 0px rgba(0, 0, 0, 0.18);
}

.navbar-mobile {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 15px;

}


.lang-item {
    flex: 1;
}

.lang-item a {
    /* color: #ffffff; */
    text-align: center;
    display: block;
    width: 100%;
    padding: 5px 0 5px 0;
    flex: 1;
}


.navbar-lang--gamb li a {
    font-weight: 400;
}

.navbar-mobile__nav-bar-menu {
    max-width: 100%;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 30px 15px;
    display: flex;
}

.navbar-mobile__nav-bar-menu li {
    width: 100%;
}

.navbar-mobile__col--left {
    display: flex;
    align-items: center;
    flex: 1;
}

.navbar-mobile__col--right {
    justify-content: flex-end;
    align-items: center;
}

.logo-wrap img {
    max-width: 200px;
    /* height: 84px; */
}

.logo-wrap .logo-white {
    display: block;
}

.logo-wrap .logo-black {
    display: none;
    /* margin-left: -4px; */
}

.logo-wrap.active .logo-white {
    display: none;
}

.logo-wrap.active .logo-black {
    display: block;
}

.logo img {

    width: 220px;
    height: auto;
}

.logo-mobile--wrapper {
    flex: 1;
    align-self: center;
}

.logo-mobile img {
    width: 10rem;
    height: auto;
}

/* Nav menu */
.nav-burg {
    width: 0;
    height: 100%;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    top: 0;
    background-color: #ffffff;
    overflow: hidden;
    z-index: 200;
    /* height: 0; */
    max-width: 100%;
    transition: .2s ease-out;
    max-height: 100%;
    padding-top: 17px;
}

.nav-burg::before {
    content: '';
    position: absolute;
    top: 0;
    border-radius: 30px;
    display: block;
    height: 7px;
    width: 100%;
    max-width: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: #4171B0; */
}

.menu {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #e4e4e4;
    font-style: normal;
    font-size: clamp(14px, 4vw, 22px);
    font-weight: 400;
    text-align: center;
}

.menu::before {
    display: block;
    content: '';
    background-image: url('/wp-content/themes/aberto-theme/img/static/qubes-white.svg');
    width: 20px;
    height: 20px;
}

.navbar.active .menu::before {
    background-image: url('/wp-content/themes/aberto-theme/img/static/qubes-black.svg');

}

.menu a {
    cursor: pointer;
    display: block;
    padding: 10px 30px;
    color: #d3d3d3;
    transition: .2s ease;
}

.menu a:hover {
    color: #ffa125;
}

.navbar-mobile__item--link span {
    position: relative;
    z-index: 10;
}

.navbar-mobile__item--link {
    font-size: 16px;
    color: #353535;
    display: block;
    width: fit-content;
    font-weight: 400;
    width: 100%;
    padding: 10px 0;
    text-align: center;
}

a.navbar-mobile__item--link:hover {
    color: #ffa125;
}

.navbar-mobile__item--link a {
    position: relative;
    display: block;
    padding: 10px 15px;
    transition: 0.3s ease-out, color 0.3s ease;

}

.navbar-mobile__item--link a:hover {
    color: #000000;
    background-color: #4171b03f;

}

.top-gamb-wrap {
    display: flex;
    padding: 0 26px;
}

.top-gamb-wrap .logo-mobile {
    flex: 1;
}

.top-gamb-wrap .logo-mobile a img {
    margin-left: 3px;
    margin-top: -2px;
}

/* Hide checkbox */

/* Menu Icon */
.hamb {
    cursor: pointer;
    /* float: right; */
    transition: 0.3s ease-out;
    /* position: relative; */
    display: flex;
    align-items: center;
    justify-content: flex-end;

}

.hamb.icon {
    padding: 5px;
    height: 28px;
    margin-top: 8px;
}

.hamb.hidden {
    margin-left: -69px;
    pointer-events: none;
}

.hamb.profile-burg {
    transition: 0.3s ease-out;
}

.hamb:hover {
    background-color: #dddddd23;
    border-radius: 10px;
}


.hamb.hidden:hover {
    background-color: #00000000;
}

.hamb.profile-burg img {
    width: 28px;
}

/* Style label tag */
.icon {
    position: relative;
    /* width: 32px; */
    cursor: pointer;
}

.side-menu__icon {
    margin-right: 5px;
}

.hamb-line {
    background: #353535;
    display: block;
    height: 2px;
    position: relative;
    width: 18px;
    border-radius: 15px;
}

/* Style span tag */
.hamb-line::before,
.hamb-line::after {
    background: #353535;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
    border-radius: 15px;
}

.hamb-line::before {
    top: 5px;
}

.hamb-line::after {
    top: -5px;
}

.side-menu {
    display: none;

}

/* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked~.nav-burg,
.nav-burg.active {
    height: 100%;
    width: 250px;
    overflow: auto;
    box-shadow: 0px 10px 10px 5px rgba(0, 0, 0, 0.18);
    background-color: #ffffff;
    z-index: 999;
}

.nav-burg.active .hamb {
    margin-right: 10px;
}

.nav-burg.active .hamb .hamb-line {
    background: transparent;
}

.nav-burg.active .hamb .hamb-line::before {
    background: #353535;
    transform: rotate(-45deg);
    top: 0;
}

.nav-burg.active .hamb .hamb-line::after {
    background: #353535;
    transform: rotate(45deg);
    top: 0;
}

.nav-burg.active .hamb-line {
    background: transparent;
}

.nav-burg.active .hamb-line::before {
    background: #353535;
    transform: rotate(-45deg);
    top: 0;
}

.nav-burg.active .hamb-line::after {
    background: #353535;
    transform: rotate(45deg);
    top: 0;
}

/* sidebar */
.search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Убираем иконку очистки */
.search-field::-ms-clear {
    display: none;
}

/* Для Firefox */
.search-field::-moz-search-clear {
    display: none;
}

/* Для Chrome, Safari, Edge */
.search-field::-webkit-search-cancel-button {
    display: none;
}

.navbar.active .search-field {
    color: #222222;
}

.search-field {
    width: 100%;
    padding: 10px 30px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    background: none;
    color: #ebebeb;
}

.navbar.active .search-field::placeholder {
    color: #575757;
}

.search-field::placeholder {
    color: #d3d3d3;
}

.search-submit {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.search-form {
    width: 100%;
}

.search-black {
    display: none;
    transition: .3s ease;
}

.navbar.active .search-submit .search-white {
    display: none;
}

.navbar.active .search-submit .search-black {
    display: block;
}

.search-submit .fa-search {
    font-size: 20px;
}

.navbar-collapse {
    position: relative;
}

/* языки */
/* Основные стили для меню */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.lang-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    gap: 10px;
    /* Расстояние между элементами */
}

ul.lang-menu--gamb {
    margin-bottom: 10px;

}

.lang-menu--gamb {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lang-item {
    position: relative;
}

.lang-item a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

/* Скрываем второй язык по умолчанию */
/* Основные стили для меню */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.lang-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.lang-item {
    position: relative;
}

.lang-item a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    padding: 0;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.lang-item.current-lang {
    margin-bottom: 3px;
}

.lang-item:not(.current-lang) a {
    background-color: #ccc;
    border-color: #ccc;
    color: #000000;
}

/* Скрываем второй язык по умолчанию */
.lang-item:not(.current-lang) {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* При наведении на текущий язык показываем второй */
.lang-menu:hover .lang-item:not(.current-lang) {
    opacity: 1;
    visibility: visible;
}

/* Эффект при наведении */
.lang-item a:hover {
    background-color: orange;
    border-color: orange;
    color: #fff;
}

/* Стили для текущего языка */
.current-lang a {
    background-color: #ccc;
    border-color: #ccc;
    color: #000000;
}

/* First screen */

/* Основные стили для вертикальной полоски */
.strip-wrap {
    width: 100%;
    /* margin: 0 auto; */
    display: flex;
    justify-content: end;
    /* max-width: 1320px; */
    height: 750px;
    position: absolute;
    left: 2.5px;
    /* padding-right: 30px; */
    bottom: 0px;
    margin-bottom: -120px;
    z-index: 1;
}


.social-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    gap: 10px;
}

/* Контейнер для иконок */
.socials-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */
}

/* Стили для иконок */
.social-strip a {
    margin: 10px 0;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: 0.3s ease;
    background-color: rgba(255, 255, 255, 0.49);
    padding: 5px;
    border-radius: 50%;
    z-index: 1;
    width: 45px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-strip a:hover {
    filter: invert(1);
}

.social-strip a span {
    transition: color 0.3s ease;
    /* Фон вокруг иконок */
    border-radius: 50%;
    z-index: 1;
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strip {
    content: '';
    /* position: absolute; */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.50);
    z-index: 1;
    height: 100%;
    height: 50px;
}

.strip-1 {
    height: 170px;
}

.strip-2 {
    height: 20px;
}

.strip-3 {
    height: 20px;
}

.strip-4 {
    height: 20px;
}

.strip-5 {
    height: 80px;
}

.topic {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.container--background {
    position: relative;
    display: flex;
    align-items: center;
    /* background-image: url('/wp-content/uploads/2025/02/background.png'); */
    min-height: 740px;
    background-size: cover;
    background-position: center center;
    height: 90vh;
    margin: 0 auto;
    overflow: hidden;
    /* width: 100%; */
}

.screen--background {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    /* max-width: 1320px; */
    max-width: 1380px;
    margin-top: 170px;
}

.h1-text {
    color: #ffffff;
    font-size: clamp(22px, 4vw, 40px);
    max-width: 580px;
}

.h1-text--header {
    margin-bottom: 40px;
}

.h3-text {
    color: #dddddd;
    font-size: clamp(18px, 4vw, 22px);
    max-width: 700px;
    line-height: 1.5em;
    font-weight: 300;
}

.h3-text--header {
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.screen__content--background {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.screen__content--about {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    gap: 50px;
    margin-bottom: 50px;
}
.scroll-down {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: -60px;
    margin-bottom: -10px;
}
.scroll-down__button {
    display: inline-block;
    /* background: linear-gradient(to bottom, #fff1b9, #f2c616 50%); */
    border-radius: 50px;
    padding: 5px 17px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    border: 1px solid #ffffff;
    transition: .3s ease;
    background: #222222;
    border: none;
    position: relative;
    z-index: 20;
}
.scroll-down__icon {
    /* margin-left: 10px; */
}
.button {
    display: inline-block;
    /* background: linear-gradient(to bottom, #fff1b9, #f2c616 50%); */
    border-radius: 50px;
    padding: 25px 33px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    border: 1px solid #ffffff;
    transition: .3s ease;
}

.button--item {
    padding: 10px 0;
}

.button--lookall {
    background: #222222;
    border: none;
}

a.button--lookall:hover {
    color: #ffa125;
}

.button--service {
    color: #1f1f1f;
    background: none;
    border: 1px solid rgb(0, 0, 0, 0.5);
    transition: .3s ease;
}

.button--service:hover {
    border: 1px solid rgba(255, 134, 20, 0.5);
}

.button--price {
    background: #222222;
    border: none;

}

.button-wrap--top {
    margin-bottom: 30px;
}

.button.button--appeal {
    padding: 10px 6px;
    max-width: 170px;
}

.button-text {
    font-size: clamp(14px, 4vw, 16px);
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}


.button-text.button-text--appeal {
    font-weight: 300;
    letter-spacing: 1px;
}

.button-wrap {
    position: relative;
    width: 100%;
    max-width: 250px;
}

.button-wrap--service {
    max-width: 150px;
}

.button-wrap--service a:hover {
    color: #d38722;
}

.button:hover {
    filter: brightness(1.1);
    color: #ffffff;
}

.img-wrap img {
    width: 100%;
}

.company-about__text {
    font-size: clamp(16px, 4vw, 24px);
    line-height: 32px;
    /* max-width: 600px; */
    margin-bottom: 30px;
}

.button-wrap--service--more {
    width: auto;
    max-width: 100%;
}

.button--more {
    color: #222222;
    border: 1px solid #0000007c;
    padding: 10px 33px;
    transition: .3s ease;
}

.button--more:hover {
    border: 1px solid #d38722;
}

.button--modal:hover {
    background: #ffa125;
    border: 1px solid #ffa125;
    color: #ffffff;
}

.company-about-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.company-about-numbers__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-about-numbers__item>span:first-child {
    font-weight: 600;
    font-size: clamp(40px, 6vw, 100px);
    color: #292D32;
}

.company-about-numbers__item>span:nth-child(2) {
    /* font-weight: 600; */
    font-size: clamp(14px, 4vw, 16px);
    /* line-height: 137px;    */
    color: #292D32;
}

.vertical-text {
    font-size: clamp(22px, 6vw, 68px);
    color: #337FC6;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-weight: 700;
    letter-spacing: 0.2em;
}

.screen__content--service {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    gap: 50px;
    margin-bottom: 50px;
}

.h2-text {
    font-weight: 500;
    font-size: clamp(22px, 4vw, 32px);
    color: #353535;
    color: #000000;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.h2-text--large {
    font-size: clamp(22px, 4vw, 40px);
}

.h2-text--small {
    font-size: clamp(18px, 4vw, 25px);
}

.h2-text--nomargin {
    margin-bottom: 0;
}

.h2-text.lab-text {
    display: flex;
    justify-content: center;
    font-style: normal;
    font-weight: 200;
    font-size: clamp(12px, 3.5vw, 70px);
    letter-spacing: -0.02em;
    /* letter-spacing: 0.10em; */
    color: #9CA5AC;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    gap: 40px;
    margin-bottom: 40px;
}

.service-grid__left {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 140px;
}

.service-grid__left::after {
    content: '';
    position: absolute;
    right: 0;
    margin-right: -20px;
    width: 1px;
    height: 100%;
    background: #00000021;
    display: block;
}

.service-grid__right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-grid__left--after-used,
.service-grid__right--after-used {
    gap: 140px;
}

.service.service--right:not(:last-child)::after {
    content: '';
    position: absolute;
    margin-bottom: -30px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: #00000021;
    display: block;
}


.service {
    position: relative;
    width: 100%;
    transition: .3s ease-out;
}

.service:not(:last-child)::after {
    content: '';
    position: absolute;
    margin-bottom: -70px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: #00000021;
    display: block;
}

.service .service__top img {
    transition: .3s ease;
}

/* .service:hover .service__top img{
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
} */
.service:hover {
    filter: brightness(1.1);
}

.service__buttons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 8px;
    margin-bottom: 15px;
}

.service-icon {
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

.service-icon {
    transition: .3s ease;
}
.service-icon img{
    transition: .3s ease;
}

.service-icon:hover img{
    transform: scale(1.1);
}

.service__top img {
    width: 100%;
    background-size: cover;
    object-fit: cover;
    background-position: center center;
    border-radius: 15px 15px 0 0;
    /* height: 315px; */
}
.service__top.service__top--oborudovanie img {
    height: 315px;
}
.service__top {
    margin-bottom: 40px;
    position: relative;
}

.service-grid.oborudovanie {
    display: flex;
    gap: 40px;
}

.service--left.oborudovanie-item {
    flex: 1;
}

.service.after-used .service__top::after {
    align-items: center;
    background: #222222;
    border-radius: 30px;
    color: #fff;
    content: "Б/У";
    display: flex;
    font-size: 12px;
    font-weight: 500;
    height: 30px;
    justify-content: center;
    margin-right: 5px;
    margin-top: 5px;
    padding: 3px;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
}

.service.service.after-used:not(:last-child)::after,
.service.service--right.after-used:not(:last-child)::after {
    content: '';
    position: absolute;
    margin-bottom: -70px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: #00000021;
    display: block;
}

.service--right .service__top {
    /* margin-bottom: 20px; */
}

.service.after-used .service__top {
    margin-bottom: 20px;
}

.service.after-used .service__top img {
    height: 315px;
}

.service__text {
    font-size: clamp(14px, 4vw, 18px);
    color: #353535;
    /* text-align: center; */
}

/* certificates screen  */
.container--certificates {
    padding: 0;
}

.screen--certificates {
    /* max-width: 1380px; */
    margin: 0 auto;
}

.topic--certificates {
    padding-left: 30px;
    padding-right: 30px;
}

.topic-wrap--certificates {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.certificate a {
    outline: none;
}
.certificates-slider-wrapper {
    position: relative;
    margin-bottom: 100px;
    overflow: hidden;
    height: 500px;
    /* width: calc(100vw + 30px);  */
    /* margin-left: -30px;  */
}

.carousel {
    /* padding-left: 30px;  */
    width: 100%;
    overflow: hidden;
    padding-top: 150px;
    /* padding-bottom: 150px; */
}

.flickity-viewport {
    overflow: visible !important;
}

.custom-dots-wrapper {
    position: absolute;
    /* bottom: -50px; */
    margin-top: 10px;
    margin-bottom: 50px;
    left: 0;
    width: 100%;
    height: 40px;
}

/* .custom-dots-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin: 14px 0;
    top: -7px;
    z-index: -1;
} */
.line-carousel {
    position: relative;
}

.line-carousel::after {
    content: '';
    position: absolute;
    width: 550%;
    left: 50%;
    height: 2px;
    background-color: #ccc;
    margin: 14px 0;
    top: -7px;
    z-index: -1;
}

.dot-container {
    position: absolute;
    text-align: left;
    transform: translateX(-50%);
    transition: left 0.06s ease-out;
    margin-left: -80px;
    width: 100%;
    max-width: 145px;
}

.dot-container.is-selected {
    width: 100%;
    max-width: 250px;
}

.dot {
    width: 15px;
    height: 15px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin: 0 auto;
    margin-bottom: 35px;
}

.dot.is-selected {
    background: #ECB001;
    transform: scale(2);
}

.dot.is-selected::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(236, 177, 1, 0.56);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
    z-index: -1;
}

.title-carousel {
    /* margin-top: 25px; */
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #9CA5AC;
    transition: .3s;
}

.title-carousel.is-selected {
    font-size: 18px;
    color: #09101D;
}

.line {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin: 14px 0;
    margin-top: 54px;
    margin-bottom: 50px;
    z-index: -1;
}

.carousel-item img {
    max-width: 160px;
    margin-right: 160px;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s, margin-top 0.3s;
    padding: 10px;
}

.carousel-item.is-selected img {
    opacity: 1;
    transform: scale(1.3);
    margin-top: -100px;
}

.flickity-button {
    display: none;
}

/* letters screen  */
.container--letters {
    position: relative;
    margin-bottom: 20px;
}

.container--letters {
    /* position: absolute; */
    /* left: 0;
    right: 0;
    top: 160px;
    bottom: 0;
    width: 100%; */
    background-image: url('/wp-content/uploads/2025/03/pexels-tara-winstead-7722796-1.png');
    min-height: 589px;
    background-size: cover;
    background-position: center center;
    height: 59vh;
    /* overflow: hidden; */
    /* z-index: -1; */
}

.topic--letters {
    padding: 0 30px;
    margin-bottom: 80px;

}

.topic-wrap {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.screen--letters {
    /* max-width: 1380px; */
    margin: 0 auto;
    min-height: 750px;
    position: relative;
}

.screen__content--letters {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
}

.container--letters {
    padding: 0;
}

.screen--letters {
    /* max-width: 1380px; */
    margin: 0 auto;
}

.letters-slider-wrapper {
    position: relative;
    margin-bottom: 100px;
    overflow: hidden;
    height: 600px;
}

.carousel--letters {
    padding-left: 30px;
    /* Оставляем отступ слева */
    width: 100%;
    /* Растягиваем на всю ширину */
    overflow: hidden;
}

.carousel-item--letter img {
    margin-right: 10px;
    /* opacity: 0.5; */
    transition: opacity 0.3s, transform 0.3s;
    padding: 10px;
    max-width: 300px;
}

.carousel-item--letter.is-selected img {
    opacity: 1;
    transform: scale(1.05);
}

.carousel-letters-nav {
    display: flex;
    position: absolute;
    right: calc(30% - 90px);
    bottom: 120px;
}

.letters-prev,
.letters-next {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.letters-prev:hover,
.letters-next:hover {
    background-color: #ECB001;
    color: #fff;
    transform: scale(1.1);

}

.letters-prev:active,
.letters-next:active {
    transform: scale(1.2);
}

.letters-prev {
    margin-right: 20px;
}

.letters-prev,
.letters-next {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* videos screen  */
.screen--videos {
    max-width: 1380px;
    margin: 0 auto;
}

.videos-slider-wrapper {
    position: relative;
    max-width: 100%;
    /* overflow: hidden; */
    padding: 100px 0;
}

.video img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;

}

.video:hover img {
    transform: scale(1.1);
    /* Увеличение изображения при наведении */
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    /* Полупрозрачный черный фон */
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
    /* Белый треугольник (иконка play) */
    margin-left: 5px;
    /* Смещение для центрирования */
}

.video:hover .play-button {
    background-color: rgba(0, 0, 0, 0.9);
    /* Затемнение фона при наведении */
}

.videos-slider {
    overflow: hidden;
}

.carousel-item--video {
    position: relative;
    cursor: pointer;
    margin-right: 100px;
}

.carousel-item--video img {
    max-width: 470px;
    height: 250px;
    /* height: 350px; */
    object-fit: contain;
}

.carousel-videos-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -25px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* Чтобы клики проходили только по кнопкам */
}

.videos-prev,
.videos-next {
    width: 50px;
    height: 50px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #bebebe;
    color: rgb(85, 85, 85);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    /* Включаем клики */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.videos-prev:hover,
.videos-next:hover {
    background-color: #ECB001;
    border: 1px solid #ECB001;
    color: #ffffff;
    transform: scale(1.1);
}

.videos-prev:active,
.videos-next:active {
    transform: scale(0.9);
}

.videos-prev {
    position: absolute;
    left: 370px;
}

.videos-next {
    position: absolute;
    right: 370px;
}

.video-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: -15px;
    background-color: rgba(0, 0, 0, 0.7);
    /* border-radius: 50%; */
    padding: 3px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-direction: column;
    gap: 5px;
}

.video-text__title {
    font-size: clamp(16px, 4vw, 16px);
    font-weight: 600;
    color: #ffffff;
}

.video-text__content {
    font-size: clamp(12px, 4vw, 14px);
    font-weight: 400;
    color: #ffffff;
}

/* partners  */
.screen--partners {
    max-width: 1380px;
    margin: 0 auto;
}

.partners-slider-wrapper {
    position: relative;
    max-width: 100%;
    /* overflow: hidden; */
    padding: 100px 0;
}

.partners-slider {
    overflow: hidden;
}

.carousel-item--partner {
    margin-right: 100px;
}

.carousel-partner-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -25px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* Чтобы клики проходили только по кнопкам */
}

.partner-prev,
.partner-next {
    width: 50px;
    height: 50px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #bebebe;
    color: rgb(85, 85, 85);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    /* Включаем клики */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.partner-prev:hover,
.partner-next:hover {
    transform: scale(1.1);
}

.partner-prev:active,
.partner-next:active {
    transform: scale(0.9);
}

.partner-prev {
    position: absolute;
    left: -60px;
}

.partner-next {
    position: absolute;
    right: -60px;
}

/* news  */
.screen--news {
    max-width: 1380px;
    margin: 0 auto;
}

.news {
    display: flex;
    justify-content: space-between;
    gap: 45px;
}

.news__left {
    /* flex: 1; */
    max-width: 500px;
}

.news__right {
    /* flex: 1; */
    width: 100%;
}

.news__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news__top img {
    width: 100%;
    /* max-width: 600px; */
    background-size: cover;
    object-fit: cover;
    background-position: center center;
    /* border-radius: 15px 15px 0 0; */
    height: 315px;
}

.news__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news__text--page {
    flex: 1;
}

.news__title {
    font-weight: 600;
    font-size: clamp(18px, 4vw, 25px);
    color: #000000;
}

.news__date {
    color: #9CA5AC;
}

.news__description {
    color: #9CA5AC;
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 400;
}

.news__description p {
    margin: 0;
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 400;
}

.news__item--second {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 50px;
}

.button-wrap--news {
    border: 1px solid #0000007c;
    border-radius: 30px;
    color: #0000007c;
    transition: .3s ease;
}

.button-wrap--news:hover {
    border: 1px solid #ffa125;
}

.button--news .button-text {
    color: #0000007c;
    transition: .3s ease;

}

.button--news:hover .button-text {
    color: #ffa125;
}

.news__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.news__item--third {
    margin-bottom: 30px;
}

/* questions */
.screen--questions {
    max-width: 1380px;
    margin: 0 auto;
}

.questions__item {
    margin-bottom: 20px;
}

.questions__title {
    cursor: pointer;
    font-weight: bold;
    font-size: clamp(18px, 4vw, 25px);
    margin-bottom: 10px;
    transition: .3s ease;
    position: relative;
    padding-right: 50px;
    /* Добавляем место для иконки */
}


/* Средний круг (30x30) */
.questions__title::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* Внутренний маленький круг (20x20) */
.questions__title .icon-circle {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* Внешний круг */
.questions__title::before {
    display: flex;
    align-items: center;
    justify-content: center;
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 50%;
    transition: .2s ease;
}

/* Горизонтальная линия (основа для + и -) */
.questions__title::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 2px;
    border-radius: 30px;
    background: #000;
    transform: translateY(-50%);
    transition: .2s ease;
}

/* Вертикальная линия (только для +) */
.questions__title .icon-plus {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 2px;
    height: 10px;
    background: #000;
    border-radius: 30px;
    transform: translateY(-50%);
    transition: .3s ease;
}

.questions__title:hover {
    color: #363636;
}

/* Анимация при открытии */
.questions__title.active::before {
    border-color: rgba(0, 0, 0, 0.5);
}

.questions__title.active .icon-plus {
    /* opacity: 0; */
    height: 0;
    /* transform: translateY(-50%) rotate(90deg); */
}

.questions__content {
    color: #9CA5AC;
    font-size: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.questions {
    flex: 1;
}

.topic--questions {
    gap: 60px;
}

/* Контакты мобилки */
.screen--contacts {
    max-width: 1380px;
    margin: 0 auto;
}
.contacts-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    /* max-width: 480px; */
    /* display: none; */
    margin-bottom: 16px;
    /* padding: 0 16px; */
}
.footer-contacts.contacts-page {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 30px;
}
.contacts-h1.contacts-h1--main {
    font-size: 22px;
}

.section--contacts-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    transition: .3s ease;
}

.pagination__item:hover {
    background-color: rgb(252, 215, 185);
}

.pagination__item--current {
    color: #ffffff;
    background-color: #000000;
}

.pagination__item.pagination__item--current:hover {
    background-color: #000000;
}

.pagination__item.pagination__item--dots:hover {
    background-color: #f0f0f0;
}

.pagination__item a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.pagination__item .current {
    /* background-color: #0073aa; */
    /* color: rgb(255, 72, 0); */
}

/* Футер */
.footer {
    background: #ffffff;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1380px;
    margin: 0 auto;
    padding: 20px 30px;
    gap: 30px;
}

/* .footer-container > :nth-child(3) {
    margin-left: auto;
    margin-right: auto;
} */

.footer-logo img {
    width: 100%;
    max-width: 200px;
}

.footer-links__wrap {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-links__wrap ul {
    text-align: left;
    /* flex: 1; */
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links__wrap ul li {
    margin-bottom: 15px;
}


.footer-links__wrap ul li a {
    text-decoration: none;
    color: #333;
    transition: .3s ease;

}

.footer-links__wrap ul li a:hover {
    color: #ffa125;
}

.footer-contacts p {
    color: #333;
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.footer-contacts a {
    display: flex;
    align-items: center;
    color: #333;
    transition: .3s ease;
}

.footer-contacts a img {
    transition: .3s ease;
}

.footer-contacts a:hover {
    color: #ffa125;
}

.footer-contacts a:hover img {
    animation: swingAnimation 1s ease-in-out infinite;
}

@keyframes swingAnimation {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.footer-contacts img {
    /* width: 16px; */
    margin-right: 10px;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

.footer-social a {
    padding: 10px;
}
.footer-social img {
    display: flex;
    align-items: center;
    /* width: 24px; */
    transition: .3s ease;
    max-width: 45px;
}

.footer-social a:hover img{
    transform: scale(1.1);
}

.development-by {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    max-width: 1380px;
    margin: 0 auto;
    padding: 20px 30px;
}

.development-by-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.development-by::before {
    /* position: absolute; */
    content: '';
    width: 100%;
    height: 1px;
    background: #0000004d;
    top: 0;
    margin-top: -10px;
    margin-left: 30px;
    margin-right: 30px;

}

.development-by img {
    max-width: 137px;
}

.development-by span {
    font-size: 13px;
    font-weight: 400;
}

.footer-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-img img {
    text-align: center;
    width: 100%;
    max-width: 1678px;
}

@media (max-width: 880px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links__wrap {
        margin-bottom: 15px;
        flex-direction: column;
        gap: 0;
    }

    .footer-links__list li {
        text-align: center;
    }

    /* .footer-links__wrap {
        display: none;
    } */
}

/* О нас */
.company-about__text--about-us {
    max-width: 800px;
}

@media screen and (max-width: 480px) {
    ul.dropdown.open {
        border: 1px solid #e1e1e1;
        border-radius: 5px;
    }

}

@media screen and (min-width: 480px) {
    #toogle-link {
        display: none;
    }
}


/* breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #353535;
}

.breadcrumbs a:hover {
    color: #ffa125;
}

.breadcrumbs-title {
    color: #353535;
}

/* About page */
.page-h1 {
    font-weight: 600;
    font-size: clamp(18px, 4vw, 25px);
    text-transform: uppercase;
    color: #000000;
}

.about-img {
    text-align: center;
    margin-bottom: 50px;
}

.about-img img {
    width: 100%;
    max-width: 986px;
}

.container--about {
    padding-top: 40px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.padding-for-sidebar {
    padding-top: 200px;
}

.screen--about {
    max-width: 1380px;
    margin: 0 auto;
}

.section h2 {
    font-weight: 500;
    color: #337FC6;
    margin-bottom: 20px;
}

.section.exp {
    display: flex;
    gap: 50px;
    padding-left: 20px;
}

.about-text {
    flex: 1;
    margin-bottom: 50px;
}

.about-text p {
    margin-top: 0;
    margin-bottom: 20px;
}

.section.image-text {
    margin-bottom: 20px;
}

.image-text {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.our-employee {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    justify-content: space-between;
}

@media screen and (max-width: 1110px) {
    .our-employee {
        grid-template-columns: repeat(2, 1fr);
    }

}

.our-employee__item {
    width: 100%;
}

.our-employee__item img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}

.our-employee__name {
    font-weight: 700;
    font-size: 16px;
    color: #000000;
}

.our-employee__position {
    font-weight: 400;
    font-size: 14px;
    color: #000000;
}

/* Certificates page */
.container--certificates-page {
    width: 100%;
}

.screen--certificates-page {
    max-width: 1380px;
    margin: 0 auto;
}

.certificates-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 130px;
    column-gap: 30px;
    position: relative;
}

.certificate__item {
    width: 100%;
    justify-self: center;
    position: relative;
}

.certificate__item img {
    width: 100%;
    /* height: 460px; */
    object-fit: cover;
    transition: .3s ease;
}

.certificate__item img:hover {
    transform: scale(1.06);
}

/* Добавляем бордер слева для всех элементов, кроме первого в строке */
.certificate__item:not(:nth-child(3n + 1)) {
    border-left: 1px solid #ccc;
    padding-left: 30px;
}

.certificate__item:nth-child(3n + 1) {
    padding-left: 30px;
}

.certificates-wrap {
    padding-right: 30px;
}

.certificates-wrap::after {
    content: '';
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(92% - 30px);
    height: 1px;
    background-color: #ccc;
}

/* Каталог */

.catalog-filter {
    margin-bottom: 70px;

}

.screen--catalog {
    max-width: 1380px;
    margin: 0 auto;
}

.catalog-posts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    row-gap: 80px;
}

.catalog-posts::after {
    content: '';
    position: absolute;
    right: 50%;
    width: 1px;
    height: 100%;
    background: #00000021;
    display: block;
}

.service--catalog:not(:nth-last-child(-n+2))::before {
    content: '';
    position: absolute;
    margin-bottom: -40px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: #00000021;
    display: block;
}

.service.service--catalog.after-used:not(:last-child)::after,
.service.service--catalog:not(:last-child)::after,
.service.service--catalog:not(:last-child)::after {
    content: none;
}

.service.service--catalog .service__top img {
    height: 315px;
}

.catalog-filter {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.catalog-filter-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.catalog-filter-buttons .button {
    padding: 10px 20px;
    background: #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.catalog-filter-buttons .button.active {
    background: #333;
    color: #fff;
}

/* Страница Поиска */
.screen--search {
    max-width: 1380px;
    margin: 0 auto;
}

/* Модалка */
.hidden {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    transition: .3s ease-out;
}

.modal {
    background-color: #000000;
    max-width: 560px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 0 15px;
}

.top-modal {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
}

.top-modal--background {
    min-height: 186px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    /* background-image: url('/wp-content/uploads/2024/11/background.png'); */
    background-size: cover;
    background-position: center center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px 15px 0 0
}

.modal-background {
    height: 10px;
    background: #ccc;
}

.close-btn-wrap {
    position: relative;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    /* background-color: #ffffff; */
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease;
}

.close-btn-wrap:hover .close-modal {
    color: #ff7a2c;
    /* background-color: #313131; */
}

.close-btn-wrap:hover .close-modal {
    /* color: #ffffff; */
}

.close-modal {
    margin-top: 3px;
    color: #ffffff;
    transition: .3s ease;
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
}

.button-text.button-text--modal {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-modal {
    padding: 20px;
}

.modal-content h2 {
    /* text-align: center; */
    margin: 0 0 10px;
    font-weight: 500;
    font-size: clamp(16px, 4vw, 32px);
    color: #e2e2e2;
}

.modal-content p {
    /* text-align: center; */
    margin: 10px 0;
    font-weight: 400;
    font-size: clamp(14px, 3vw, 18px);
    line-height: 24px;
    color: rgba(209, 209, 209, 0.5);
    max-width: 420px;
    /* margin: 0 auto; */
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    margin-bottom: 10px;
    padding: 16px 20px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 16px;
}

.button-wrap.button-wrap--modal {
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

.modal-content button {
    width: 100%;
    padding: 15px 10px;
    background: #ffffff25;
    color: #fff;
    border: 1px solid #ffffff;
    cursor: pointer;
    transition: .3s ease;
}

.consent-text {
    max-width: 450px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

/* иконка загрузки */
#btn-loader {
    /* display: none; */
    opacity: 0;
    width: 0;
    height: 0;
    transition: .3s ease;
}

#btn-loader.active {
    width: 20px;
    height: 20px;
    opacity: 1;
    display: inline;
}
.lds-dual-ring,
.lds-dual-ring:after {
    transition: .3s ease;

    box-sizing: border-box;
}

.lds-dual-ring {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;

    width: 24px;
    height: 24px;
    margin-left: -10px;
    margin-top: -3px;
    left: 0;
    border-radius: 50%;
    border: 6.4px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* страница новостей */
.news-page {
    display: flex;
    flex-direction: column;
}

.news-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news__top.news__top--page img {
    height: 315px;
    max-width: 100%;
}

/* Продукт сингл single  */
.container--product {

    margin-bottom: 50px;
}

.screen--single-item {
    max-width: 1380px;
    margin: 0 auto;
}

.buttons--single-item {
    display: flex;
    gap: 15px;
}

.product-top {
    display: flex;
    gap: 30px;
}

.product-h1 {
    font-style: normal;
    font-weight: 500;
    font-size: clamp(22px, 4vw, 32px);
    color: #353535;
}

.product-h1--hidden {
    display: none;
}

.product-top__title {
    flex: 1;
}

.product-thumbnail {
    flex: 1;
    max-width: 360px;
}

.product-thumbnail img {
    border-radius: 5px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-product.mobile {
    display: none;
}

.product-content__h3 {
    color: #337FC6;
    font-size: 16px;
    margin: 0;
    margin-bottom: 8px;
}

.product-meta__item {
    overflow-x: auto;
}

.product-meta__item td {
    padding: 10px 15px;
}

.description {
    margin-bottom: 30px;
}

/* Основные стили для кнопки */

.button--dropDown {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 10px 20px; */
    /* background-color: #4CAF50; */
    color: white;
    text-decoration: none;
    /* border-radius: 5px; */
    transition: background-color 0.3s;
    position: relative;
    /* padding-left: 40px;  */
}

.button--dropDown:hover {
    /* background-color: #45a049; */
}

.button--dropDown::before {
    display: block;
    content: "📄";
    /* position: absolute; */
    left: 10px;
    padding-left: 10px;
    font-size: 16px;
}

.button--dropDown::after {
    content: "▼";
    transition: transform 0.3s;
}

.button--dropDown:hover::after {
    transform: rotate(180deg);
}

.dropdown-content a {
    display: block;
}

/* Выпадающее меню */
.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 10px;
    border-radius: 5px;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); */
    transition: opacity 0.3s, visibility 0.3s;
}

/* Показываем выпадающее меню при наведении на кнопку */
.button-wrap:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.button-wrap:hover .button--dropDown::after {
    transform: rotate(180deg);
}

.dropdown-link {
    background-color: #f8f8f8;
    display: inline-block;
    border-radius: 50px;
    /* padding: 25px 33px; */
    text-align: center;
    width: 100%;
    border: 1px solid #dfdfdf;
    color: #535353;
    padding: 12px 16px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    padding-left: 40px;
    /* Отступ для иконки слева */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

}

.dropdown-link:hover {
    /* background-color: #f1f1f1; */
}

.dropdown-link::before {
    content: "📑";
    /* Иконка для первой ссылки */
    position: absolute;
    left: 10px;
    font-size: 16px;
}
.dropdown-link.empty-files::before {
    content: none;
}
.dropdown-link.empty-files {
    padding-left: 16px;
}

.dropdown-link:nth-child(2)::before {
    content: "📑";
    /* Иконка для второй ссылки */
}

/* Стили табов */
.tabs {
    margin-top: 20px;
}

.tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    position: relative;
    /* padding: 10px 20px; */
    cursor: pointer;
    color: #333;
    background: transparent;
    border: none;
    font-size: clamp(14px, 4vw, 20px);
    padding-left: 0;
    text-align: center;
    transition: color 0.3s ease;
}

.tab-button.active {
    /* color: #ffa125; */
}

.tab-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    /* background-color: #ffa125; */
    border-radius: 15px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.tab-button.active::after {
    width: 100%;
    /* Растягиваем линию до полной ширины кнопки */
}

.tabs-content {
    border-radius: 5px;
    background: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}


/* single new */
.screen--single-new {
    max-width: 1380px;
    margin: 0 auto;
}

.new-thumbnail img {
    /*width: 100%;*/
    max-width: 100%;
    /*height: 410px;*/
    object-fit: cover;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
}

.new-thumbnail {
    margin-bottom: 30px;
}

.new-description {
    width: 100%;
    max-width: 730px;
    margin-bottom: 15px;
}

.new-navigation {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.nav-previous,
.nav-next {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid #636363;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, border 0.1s ease;
    cursor: pointer;
}

.nav-previous:not(:has(*)),
.nav-next:not(:has(*)) {
    display: none;
}

.nav-previous a,
.nav-next a {
    color: #616161;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.nav-previous:hover,
.nav-next:hover {
    border: 1px solid #ffa125;
    transform: scale(1.05);
}

.nav-previous:hover a,
.nav-next:hover a {
    color: #ffa125;
}

.nav-previous:active,
.nav-next:active {
    transform: scale(0.95);
}

/* услуги и оборудование */
.screen--services {
    max-width: 1380px;
    margin: 0 auto;
}

.services-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.services-posts .service-grid__left {
    width: max-content;
}

.service__top--services {
    margin-bottom: 20px;
}

.service__text--services {
    color: #09101D;
    font-size: clamp(16px, 4vw, 25px);
    font-weight: 600;
}

.service--services:not(:last-child)::after {
    content: '';
    position: absolute;
    margin-bottom: -30px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: #00000021;
    display: block;
}

/* single Услуги и оборудование  */
.screen--single-service_maintenance {
    max-width: 1380px;
    margin: 0 auto;
}

.service_maintenance-thumbnail {
    margin-bottom: 80px;
}

.service_maintenance-thumbnail img {
    width: 100%;
    /* height: 460px; */
    object-fit: cover;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
}

.service_maintenance-thumbnail-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service_maintenance-thumbnail {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.service_maintenance-description p {
    margin: 0;
}

.service_maintenance-second-description {
    max-width: 840px;
}

.recommended-services {
    padding: 50px 0;
}

.recommended-services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service.recomend:after {
    content: none;
}

.recommended-service-thumbnail img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    background-position: center center;
    background-size: cover;
    height: 462px;
    border-radius: 5px;
}

.recommended-service-title {
    font-size: 16px;
    font-weight: 600;
    color: #353535;
    margin-bottom: 10px;
}

@media screen and (max-width: 1550px) {
    .carousel-partner-nav {
        display: none;
    }

    .services-posts .service-grid__left {
        width: 100%;
    }
    .scroll-down {
        display: none;
        margin-right: 0;
    }
}

@media screen and (max-width: 1380px) {
    .videos-next {
        right: 10%;
    }

    .videos-prev {
        left: 10%;
    }
}

@media screen and (max-width: 1280px) {

    .news {
        flex-direction: column;
    }

    .news__item--second {
        flex-direction: column;
    }

    .news__right {
        max-width: 500px;
    }

    .news-posts {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media screen and (max-width: 1200px) {

    .container--about .section:nth-child(7),
    .container--about .section:nth-child(8) {
        display: none;
    }

    .service_maintenance-thumbnail {
        flex-direction: column;
    }

    .service_maintenance-thumbnail img {
        height: 410px;
    }
}

/* Адаптив главная */
@media screen and (max-width: 1110px) {

    .screen__content--about {
        flex-direction: column;
        align-items: normal;
        /* gap: 8px; */
    }

    .vertical-text {
        margin-bottom: 0px;
        text-align: center;
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-weight: 700;
        letter-spacing: 0.2em;
    }

    .img-wrap {
        align-self: center;
    }

    .company-about {
        align-self: center;
        display: flex;
        flex-direction: column;
    }

    .button {
        padding: 10px 0px;
        /* max-width: 150px; */
    }

    .button--more {
        padding: 10px 33px;
    }

    .button-wrap--about {
        align-self: center;
    }

    .navbar-footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .company-about-numbers {
        grid-template-columns: repeat(2, 1fr);
    }

    .topic--questions {
        flex-direction: column;
        gap: 0;
    }

    .certificates-wrap {
        row-gap: 60px;
    }
}

@media screen and (max-width: 1000px) {
    .image-text {
        flex-direction: column;
    }

    .carousel-item img {
        margin-right: 50px;
    }

    .dot-container {
        margin-left: -30px;
    }

    .about-text {}

    .container--about .section:nth-child(6),
    .container--about .section:nth-child(7),
    .container--about .section:nth-child(8) {
        display: none;
    }

    .nav-gamburger-wrap {
        display: block;
    }

    .navbar-wrap {
        display: none;
    }

    .padding-for-sidebar {
        padding-top: 50px;
    }

    .wrapper {
        padding-top: 78px;
    }

    .screen--background {
        margin-top: 0;
    }

    .container--background {
        min-height: 600px;
        height: 70vh;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .video-background video {
        height: 78vh;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .strip-wrap {
        display: none;
    }
    .footer-contacts.contacts-page {
        flex-direction: column;

    }
}

@media screen and (max-width: 767px) {
    .certificates-wrap {
        grid-template-columns: repeat(2, 1fr);
        padding-right: 0;
    }

    .certificates-wrap::after {
        display: none;
    }

    .certificate__item:not(:nth-child(3n + 1)) {
        border-left: none;
        padding-left: 0;
    }

    .certificate__item:nth-child(3n + 1) {
        padding-left: 0;
    }

    .catalog-posts {
        grid-template-columns: repeat(1, 1fr);
    }

    .service--catalog:not(:last-child)::before {
        content: '';
        position: absolute;
        margin-bottom: -40px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 1px;
        background: #00000021;
        display: block;
    }

    .catalog-posts::after {
        display: none;
    }

    .catalog-filter {
        flex-direction: column;
    }

    .service-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-grid.oborudovanie {
        flex-direction: column;
    }

    .service {
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        padding: 7px;
    }

    .service__top img {
        height: 200px;
        border-radius: 5px 5px 0 0;
    }

    .service__text {
        padding-bottom: 10px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .services-posts {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-grid__left {
        gap: 40px;
    }

    .service-grid__left::after {
        display: none;
    }

    .service--services:not(:last-child)::after {
        display: none;
    }

    .ya-map {
        height: 400px;
    }

    .news-posts {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 690px) {
    .recommended-services-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}

@media screen and (max-width: 670px) {

    .navbar-footer__contacts,
    .rights-footer {
        display: none;
    }
}

@media screen and (max-width: 585px) {
    .section.exp {
        display: flex;
        flex-flow: column;
        gap: 0;
        padding-left: 0;
    }
}

@media screen and (max-width: 480px) {

    .videos-prev,
    .videos-next {
        font-size: 18px;
        width: 25px;
        height: 25px;
    }

    .videos-next {
        right: 5%;
    }

    .videos-prev {
        left: 5%;

    }

    .carousel-videos-nav {
        margin-top: -10px;
    }

    .video-background video {
        height: 75.5vh;
    }
    .scroll-down {
        display: none;
    }
    .container {
        padding: 0 16px;
    }

    .padding-for-sidebar {
        padding-top: 30px;
    }

    .container--letters {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 0px;
    }

    .topic--letters {
        margin-bottom: 120px;
    }

    .service-grid__left::after {
        display: none;
    }

    .container--about {
        padding-top: 16px;
    }

    .topic.topic--certificates {
        padding: 0 16px;
    }

    .container--background {
        min-height: 600px;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .container--background {
        min-height: 650px;
        height: auto;

    }

    .container--catalog,
    .container--about,
    .container--contacts,
    .container--product,
    .container--gallery {
        padding-top: 30px;
    }

    .h1-text--header {
        margin-bottom: 12px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        /* max-width: 250px; */
    }

    .company-about {
        display: block;
    }

    .button {
        padding: 7px 10px;
        /* width: auto; */
        /* max-width: 150px; */
    }

    .button-wrap--news {
        max-width: 100%;
    }

    .button--news {
        width: 100%;
    }

    .button-text {
        /* text-transform: lowercase; */
        /* color: #353535; */
        font-weight: 400;

    }
    .service__buttons {
        gap: 5px;
        padding: 0;
    }
    .screen__content--about {
        flex-direction: column;
        align-items: normal;
        gap: 16px;
        margin-bottom: 10px;
    }

    .screen__content--about :nth-child(2) {
        order: 3;
    }

    .img-wrap {
        align-self: auto;
    }

    .img-wrap img {
        width: 100%;
    }

    .button--deep .button-text {
        color: #ffffff;
    }

    .company-about__text {
        margin-bottom: 16px;
        line-height: 20px;
    }

    .vertical-text {
        margin-bottom: 0px;
        text-align: center;
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-weight: 700;
        letter-spacing: 0.2em;
    }

    .service-grid {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 16px;
        gap: 16px;
    }

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

    .service {
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
    }

    .service__top img {
        height: 166px;
        border-radius: 5px 5px 0 0;
    }

    .service__text {
        padding-bottom: 10px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .button-wrap--service {
        text-align: center;
    }

    .container--service {
        margin-bottom: 16px;
    }

    .contacts-main {
        display: flex;
    }

    .navbar-footer {
        justify-content: center;
        align-items: center;
        padding: 12px 0;
        margin-bottom: 0;
    }

    .navbar-footer__logo img {
        max-width: 105px;
    }

    /* адаптив контакты */
    .section.contacts .contacts-h1 {
        /* align-self: center; */
        text-align: left;
    }

    .contacts-wrap {
        flex-direction: column;
        gap: 16px;
    }

    .section.contacts {
        gap: 16px;
        margin-bottom: 20px;
        align-items: flex-start;
    }


    /* адаптив продукт сингл */

    .button.button--appeal {
        padding: 10px 16px;
        max-width: 170px;
    }

    .product-top {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }

    .product-thumbnail {
        max-width: 100%;
    }

    .product-h1 {
        display: none;

    }

    .product-h1--hidden {
        margin-bottom: 0;
        display: block;
    }

    .button-wrap.button-wrap--product {
        max-width: 100%;
        text-align: center;
    }

    .content-product.mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .tabs {
        display: none;
    }

    /* о нас */
    .purpose {
        flex-direction: column;
        gap: 10px;
    }

    .section.image-text {
        margin-bottom: 0
    }

    ul.column {
        margin: 5px 0;
    }

    .ya-map {
        height: 300px;
    }

}
@media screen and (max-width: 420px) {
    .topic {
        flex-direction: column;
    }
    .topic-wrap--certificates {
        flex-direction: column;
    }
}
.no-download-popup {
    display: block;
    position: absolute; 
    top: -60px; 
    left: 120px; 
    transform: translateX(-50%); 
    background-color: rgba(255, 0, 0, 0.8); 
    color: #fff; 
    padding: 10px 15px; 
    border-radius: 5px; 
    font-size: clamp(11px, 3vw, 14px); 
    z-index: 998;
    transition: .3s ease-out;
    opacity: 0;
    visibility: hidden;
}

#notifications-container {
    z-index: 9999;
}