.about-first {
    padding-bottom: 0 !important;
}

.about-grey-bouble {
    gap: 186px;
    overflow: hidden;
}

.about-grey-bouble .purple-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 51, 221, 0.2);
    z-index: -2;
    pointer-events: none;
}

.about-grey-bouble .image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -3;
    pointer-events: none;
}

.about-grey-bouble h1 {
    max-width: 85%;
}

.about-grey-bouble span {
    color: var(--purple);
}

.grey-boubles-row {
    gap: 24px;
    width: 100%;
}

.grey-boubles-row .grey-bouble {
    gap: 16px;
}

.grey-boubles-row .grey-bouble .flex-box-row {
    gap: 16px;
    align-items: center;
}

.grey-boubles-row .grey-bouble .flex-box-row img {
    max-width: 24px;
    height: auto;
}


@media(max-width: 768px) {
    .about-grey-bouble {
        gap: 48px;
    }

    .about-grey-bouble h1 {
        max-width: unset;
    }

    .grey-boubles-row {
        gap: 12px;
        flex-direction: column;
    }

    .grey-boubles-row .grey-bouble {
        gap: 8px;
    }

    .grey-boubles-row .grey-bouble .flex-box-row {
        gap: 12px;
    }

    .grey-boubles-row .grey-bouble .flex-box-row img {
        max-width: 21px;
    }

    .about-first {
        padding-bottom: 60px !important;
    }
}

.about-second .wrapper {
    position: relative;
}

.about-second h2 {
    margin-bottom: 40px;
}

.about-second .wrapper>span {
    margin-bottom: 632px;
    max-width: 600px;
}


.about-second-bg {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 792px;
    pointer-events: none;
}

.about-second-boubles-row {
    gap: 24px;
    flex-wrap: wrap;
}

.about-second-boubles-row .grey-bouble {
    gap: 12px;
    align-items: center;
    max-width: 288px;
}

.about-second-boubles-row .grey-bouble img {
    max-height: 46px;
    width: auto;
}

.about-second-boubles-row .grey-bouble span {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -.01em;
    font-weight: 700;
}

@media(max-width: 768px) {
    .about-second .wrapper {
        position: relative;
    }

    .about-second h2 {
        margin-bottom: 8px;
        padding: 0 16px;
    }

    .about-second .wrapper>span {
        padding: 0 16px;
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 24px;
        max-width: 300px;
    }

    .about-second-boubles-row {
        width: max-content;
        gap: 16px;
    }

    .about-second .wrapper {
        padding: 0;
    }

    .about-second-bg-mobile {
        padding: 0 16px;
        margin-bottom: 16px;
    }

    .about-second-boubles-container {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0px 16px;
    }

    .about-second-boubles-row .grey-bouble {
        gap: 12px;
        align-items: start;
        width: 217px;
    }

    .about-second-boubles-row .grey-bouble img {
        max-height: 26px;
        width: auto;
    }

    .about-second-boubles-row .grey-bouble span {
        font-size: 18px;
        line-height: 24px;
        letter-spacing: 0;
        font-weight: 600;
    }
}

.about-third .wrapper {
    gap: 40px;
}

.about-third-column {
    gap: 32px;
}

.about-third-item {
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    gap: 58px;
}

.about-third-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-third-item-column {
    gap: 16px;
    max-width: 944px;
}

.about-third-item-column p {
    max-width: 808px;
}

@media(max-width: 768px) {
    .about-third .wrapper {
        gap: 28px;
    }

    .about-third-column {
        gap: 16px;
    }

    .about-third-item {
        padding-bottom: 16px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        gap: 16px;
    }

    .about-third-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .about-third-item-column {
        gap: 8px;
        max-width: unset;
    }

    .about-third-item-column p {
        max-width: unset;
        font-size: 16px;
        line-height: 20px;
    }
}

.about-fourth .wrapper {
    gap: 40px;
}

@media(max-width: 768px) {
    .about-fourth .wrapper {
        gap: 28px;
    }
}

/* Навигационная панель */
.navigation-panel-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    background: #000;
    padding-top: 40px;
    padding-bottom: 40px;
    z-index: 100;
}

.navigation-panel {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link.active {
    color: #000 !important;
    background: #fff;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .navigation-panel {
        border-radius: 0;
        padding: 0;
        width: 100%;
    }

    .nav-links {
        width: max-content;
        gap: 12px;
        padding: 0 16px;
        justify-content: unset;
        flex-wrap: nowrap;
    }

    /* Навигационная панель */
    .navigation-panel-container {
        top: 60px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 20px 0;
    }

    .navigation-panel .nav-link.small-transparent-btn {
        padding: 0 0 8px 0 !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.4) !important;
        font-size: 16px !important;
        line-height: 20px !important;
        border-radius: 0px !important;
    }

    .navigation-panel .nav-link.small-transparent-btn:hover {
        color: rgba(255, 255, 255, 0.4) !important;
        background-color: transparent !important;
    }

    .navigation-panel .nav-link.small-transparent-btn.active {
        background-color: transparent !important;
        color: #fff !important;
        border-bottom: 1px solid #fff !important;
    }

    .navigation-panel .nav-link.small-transparent-btn::before,
    .navigation-panel .nav-link.small-transparent-btn::after {
        content: none;
    }

    .navigation-panel-container {
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

}


.contacts-map-wrapper {
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#yandex-map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Базовые стили для карты */
.contacts-map-section {
    padding-bottom: 60px;
}

.contacts-map-section .container {
    position: relative;
    padding: 40px 0;
}

.contacts-map-section .container .wrapper {
    gap: 332px;
    z-index: 99;
    pointer-events: none;
}

.contacts-map-section .container .wrapper>* {
    pointer-events: auto;
}

.contacts-map-section .container h2 {
    width: fit-content;
}

.custom-balloon-inner>ymaps {
    display: flex;
    width: fit-content !important;
    min-width: 250px;
}

.custom-balloon h4 {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 8px 0;
}


.map-marker {
    position: relative;
    width: 43px;
    height: 54px;
    cursor: pointer;
    transform: translate(-50%, -100%);
}

.map-marker svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.marker-number {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 22px;
    line-height: 24px;
    font-weight: 700;
    pointer-events: none;
    transition: all 0.3s;
}

.marker-number.active {
    color: rgba(51, 42, 75, 1);
}

.marker-path {
    fill: transparent;
    transition: 0.3s ease;
    z-index: 9999;
}

.marker-path.active {
    fill: white;
}

.custom-balloon-wrapper {
    position: absolute;
    transform: translate(calc(-100% - 30px), -20px);
    z-index: 9999;
}

.custom-balloon-inner {
    max-width: 330px;
}

.custom-balloon-wrapper+.ymaps-2-1-79-balloon__tail {
    display: none;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 35, 94, 0.74);
    pointer-events: none;
    z-index: 999;
}

.map-filter {
    position: absolute;
    inset: 0;
    backdrop-filter: grayscale(1) contrast(1.1) brightness(0.9);
    -webkit-backdrop-filter: grayscale(1) contrast(1.1) brightness(0.9);
    pointer-events: none;
    z-index: 998;
}

.map-filter2 {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 25%);
    pointer-events: none;
    z-index: 999;
}

.ymaps-2-1-79-copyrights-pane {
    display: none !important;
}

.ymaps-2-1-79-map-copyrights-promo {
    display: none !important;
}

.ymaps-2-1-79-overlay-pane {
    z-index: 5 !important;
}

.ymaps-2-1-79-balloon-pane {
    z-index: 9999 !important;
}

.map-form .wpcf7 form .flex-box-column>p .wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) {
    margin-bottom: 0 !important;
}

.map-form .wpcf7 form .flex-box-row>p:has(.wpcf7-not-valid-tip) {
    margin-bottom: 0;
}

.map-form .wpcf7 form .wpcf7-not-valid-tip {
    top: 100% !important;
    font-size: 12px;
}

.map-form {
    gap: 32px;
}

.map-form .card-name-text span {
    color: rgba(255, 255, 255, 0.6) !important;
}

@media(max-width: 768px) {
    .custom-balloon-inner>ymaps {
        min-width: 239px;
    }

    .custom-balloon-wrapper {
        transform: translate(-50%, calc(-100% - 10px));
    }

    .contacts-map-section .container {
        padding: 16px 0;
    }
}

.under-contacts-block {
    gap: 20px;
    align-items: flex-start;
    margin-top: 60px;
}

.map-dots {
    gap: 20px;
}

.map-dot {
    margin-bottom: 4px;
    align-items: center;
    gap: 25px;
}

.map-dot .main-text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 290px;
}

.map-dot-icon {
    position: relative;
}

.map-dot-icon .main-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contacts-column {
    gap: 20px;
}

.phone-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
    column-gap: 40px;
}

.phone-numbers .main-text,
.contacts-column>a {
    color: rgba(255, 255, 255, 0.8);
}

.table-column {
    margin-top: auto;
    max-width: 290px;
}

@media(max-width: 1240px) {
    .under-contacts-block {
        gap: 10px;
    }

    .map-dot .main-text {
        max-width: 230px;
    }

    .phone-numbers {
        column-gap: 20px;
    }
}

@media(max-width: 1000px) {
    .table-column {
        margin-top: 20px;
        max-width: unset;
        padding-top: 16px;
        border-top: 2px solid rgba(255, 255, 255, 0.4);
        width: 100%;
    }
}

@media(max-width: 768px) {
    .under-contacts-block {
        flex-direction: column;
        gap: 0px;
        margin-top: 40px;
    }

    .map-dots {
        gap: 16px;
        margin-bottom: 40px;
    }

    .map-dot {
        margin-bottom: 8px;
        gap: 20px;
    }

    .map-dot .main-text {
        color: rgba(255, 255, 255, 0.8);
        max-width: 290px;
    }

    .contacts-column {
        gap: 16px;
        padding-bottom: 16px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.4);
        margin-bottom: 16px;
        width: 100%;
    }

    .phone-numbers {
        row-gap: 16px;
        column-gap: 30px;

    }

    .table-column {
        margin-top: 0;
        max-width: 290px;
        padding-top: 0;
        border-top: none;
    }
}



.vacancies-section .wrapper>.main-text {
    margin-top: 40px;
}

.vacancies-text {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-top: 16px;
}

.grey-hars-category {
    gap: 20px;
    margin-top: 40px;
}

.grey-hars {
    flex-wrap: wrap;
    gap: 12px;
}

.grey-har {
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 12px 14px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.vacancies-section .test-block {
    margin-top: 40px;
}


@media(max-width: 1240px) {
    .vacancies-text {
        font-size: 22px;
        line-height: 29px;
    }
}

@media(max-width: 1000px) {
    .vacancies-text {
        font-size: 20px;
        line-height: 26px;
        margin-top: 14px;
    }
}

@media(max-width: 768px) {
    .vacancies-text {
        font-size: 18px;
        line-height: 24px;
        margin-top: 12px;
    }

    .vacancies-section .wrapper>.main-text {
        margin-top: 28px;
    }

    .grey-hars-category {
        gap: 12px;
        margin-top: 40px;
    }

    .grey-hars {
        flex-wrap: wrap;
        gap: 12px;
    }

    .grey-har {
        gap: 8px;
    }

    .vacancies-section .show-more-btn,
    .vacancies-section .hide-btn {
        margin-top: 0;
    }
}

@media(max-width: 450px) {
    .grey-hars {
        flex-direction: column;

    }

    .grey-har {
        width: 100%;
        white-space: unset;
    }

    .vacancies-section .show-more-btn,
    .vacancies-section .hide-btn {
        width: 100%;
    }
}





.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
}

.tabs-header {
    gap: 16px;
    align-items: center;
    margin-top: 40px;
}

.tabs-header>div {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.tab-btn {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: 0.3s;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.tab-btn.active {
    color: rgba(255, 255, 255, 1);
}

.tab-content {
    gap: 24px;
    margin-top: 32px;
}

.documents-table {
    margin-top: 24px;
    border-collapse: collapse;
    width: 100%;
}

.documents-table th {
    color: rgba(100, 51, 221, 0.8);
    text-align: left;
}

.documents-table td {
    color: rgba(255, 255, 255, 0.8);
    padding-top: 16px;
    text-align: left;
}

.documents-table tbody tr:not(:last-child) td {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.2);
}

.documents-table tbody tr td:not(:last-child) {
    padding-right: 24px;
}

.documents-table tbody tr td:first-child {
    width: 24%;
}

@media(max-width: 768px) {
    .tab-content {
        margin-top: 16px;
    }

    .document-group {
        gap: 24px;
    }

    .document-items {
        gap: 16px;
    }

    .document-item {
        text-align: left;
        align-items: start;
    }

    .document-item span {
        color: rgba(255, 255, 255, 0.8);
    }

    .doc-description {
        margin-top: 8px;
    }

    .doc-expiry {
        margin-top: 12px;
        color: rgba(100, 51, 221, 0.8) !important;
    }

    .tabs-header {
        gap: 13px;
        margin-top: 24px;
    }

    .tabs-header>div {
        width: 3px;
        height: 3px;
    }

    .tab-btn {
        font-size: 18px;
        line-height: 24px;
    }
}

.details .wrapper {
    gap: 40px;
}

.details .details-top {
    flex-wrap: wrap;
    gap: 28px;
}

.details-list {
    gap: 16px;
}

.details-item {
    gap: 24px;
}

.details-item:not(:last-child) {
    border-bottom: 1px solid rgba(217, 217, 217, 0.2);
    padding-bottom: 16px;
}

.details-item .main-text-bigger:nth-child(1) {
    width: 24%;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.certificates .show-more-btn,
.certificates .hide-btn {
    margin-top: 0;
    width: 100%;
}

.details .show-more-btn,
.details .hide-btn {
    margin-top: 16px;
}

@media(max-width: 768px) {
    .details .wrapper {
        gap: 24px;
    }

    .details .details-top {
        flex-direction: column;
    }

    .details .details-top .transparent-btn {
        width: 100%;
    }

    .details-list {
        gap: 0;
    }

    .details-item {
        flex-direction: column;
        gap: 8px;
    }

    .details-item:not(:first-child) {
        border-top: 1px solid rgba(217, 217, 217, 0.2);
        padding-top: 16px;
    }

    .details-item:not(:last-child) {
        border-bottom: none;
        padding-bottom: 16px;
    }

    .details-item .main-text-bigger:nth-child(1) {
        width: 100%;
    }
}

.navigation-panel .small-transparent-btn {
    padding: 16px 24px !important;
}

@media(max-width: 1240px) {
    .navigation-panel .small-transparent-btn {
        padding: 15px 22px !important;
    }
}

@media(max-width: 1000px) {
    .navigation-panel .small-transparent-btn {
        padding: 14px 20px !important;
    }
}