:root {
    --background: #0F0F0F;
    --primary: #FFFFFF;
    --secondary: #B0B7BE;
    --tertiary: #2B2B2B;
    --quaternary: #171717;
    --accent: #45CEA2;
    --acent-hover: #3db59b;
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--primary);
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

html.page-transition-boot body {
    opacity: 0;
    visibility: hidden;
}

body.page-transition-ready {
    transition: opacity 0.28s ease, filter 0.28s ease;
}

body.page-transition-leaving {
    opacity: 0;
    filter: blur(2px);
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-transition-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.page-transition-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid var(--tertiary);
    border-top-color: var(--accent);
    border-right-color: rgba(69, 206, 162, 0.72);
    animation: pageTransitionSpinnerSpin 1.1s linear infinite;
    filter: drop-shadow(0 0 14px rgba(69, 206, 162, 0.25));
}

@keyframes pageTransitionSpinnerSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.page-transition-ready {
        transition: none;
    }

    .page-transition-overlay {
        transition: none;
    }

    .page-transition-spinner {
        animation: none;
    }

    header .header__menu-toggle span,
    header .header__nav,
    header .header__cta,
    header .header__menu-backdrop {
        transition: none;
    }
}

h1 {
    font-size: 80px;
    line-height: 88px;
    font-weight: 500;
}

h2 {
    font-size: 56px;
    line-height: 64px;
    font-weight: 500;
}

h3 {
    font-size: 36px;
    line-height: 48px;
    font-weight: 500;
}

h4 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.container {
    max-width: 1408px;
    margin: 0 auto;
}

.section {
    margin: 240px 0;
}

.section[id] {
    scroll-margin-top: 120px;
}

.team-life .section__title {
    max-width: 100%;
    gap: 32px;

    p {
        text-align: left;
    }
}

.section__title {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 688px;
    margin: 0 auto 64px auto;

    span {
        color: var(--accent)
    }

    p {
        font-size: 20px;
        line-height: 32px;
        color: var(--secondary);
    }

    h2,
    p {
        text-wrap: balance;
        overflow-wrap: normal;
        word-break: normal;
    }

    .section__title-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-content {
    padding: 0 0 120px;
}

.page-content__article {
    width: 100%;
}

.page-content__title {
    margin-top: 160px;
    margin-bottom: 64px;
}

.page-content__body {
    max-width: 820px;
    margin: 0;
    color: var(--primary);
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
}

.page-content__body::after {
    content: "";
    display: block;
    clear: both;
}

.page-content__body>* {
    margin: 0 0 24px;
}

.page-content__body>*:last-child {
    margin-bottom: 0;
}

.page-content__body h1,
.page-content__body h2,
.page-content__body h3,
.page-content__body h4,
.page-content__body h5,
.page-content__body h6 {
    color: var(--primary);
    margin-top: 56px;
    margin-bottom: 20px;
    text-wrap: balance;
}

.page-content__body h1:first-child,
.page-content__body h2:first-child,
.page-content__body h3:first-child,
.page-content__body h4:first-child,
.page-content__body h5:first-child,
.page-content__body h6:first-child {
    margin-top: 0;
}

.page-content__body p,
.page-content__body ul,
.page-content__body ol,
.page-content__body blockquote,
.page-content__body pre,
.page-content__body table {
    color: var(--primary);
}

.page-content__body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: var(--transition);
}

.page-content__body a:hover {
    color: var(--primary);
}

.page-content__body strong,
.page-content__body b {
    color: var(--primary);
    font-weight: 600;
}

.page-content__body em,
.page-content__body i {
    font-style: italic;
}

.page-content__body ul,
.page-content__body ol {
    padding-left: 1.4em;
}

.page-content__body li {
    margin-bottom: 12px;
}

.page-content__body li:last-child {
    margin-bottom: 0;
}

.page-content__body li>ul,
.page-content__body li>ol {
    margin-top: 12px;
    margin-bottom: 0;
}

.page-content__body blockquote,
.page-content__body .wp-block-quote {
    margin: 40px 0;
    padding: 28px 32px;
    border-left: 4px solid var(--accent);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.98) 0%, rgba(17, 17, 17, 0.94) 100%);
    color: var(--primary);
}

.page-content__body blockquote p,
.page-content__body .wp-block-quote p {
    color: var(--primary);
}

.page-content__body blockquote cite,
.page-content__body .wp-block-quote cite {
    display: block;
    margin-top: 16px;
    color: var(--secondary);
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
}

.page-content__body hr,
.page-content__body .wp-block-separator {
    height: 1px;
    border: 0;
    background: rgba(176, 183, 190, 0.2);
    margin: 48px 0;
}

.page-content__body figure,
.page-content__body .wp-block-image {
    margin: 40px 0;
}

.page-content__body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

.page-content__body figcaption,
.page-content__body .wp-caption-text {
    margin-top: 14px;
    color: var(--secondary);
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.page-content__body pre,
.page-content__body code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.page-content__body pre {
    overflow-x: auto;
    padding: 24px;
    border: 1px solid rgba(176, 183, 190, 0.16);
    border-radius: 20px;
    background: rgba(23, 23, 23, 0.95);
}

.page-content__body code {
    padding: 0.15em 0.4em;
    border-radius: 8px;
    background: rgba(69, 206, 162, 0.12);
    color: var(--primary);
}

.page-content__body pre code {
    padding: 0;
    background: transparent;
}

.page-content__body table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid rgba(176, 183, 190, 0.16);
    border-radius: 20px;
    background: rgba(23, 23, 23, 0.95);
}

.page-content__body th,
.page-content__body td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(176, 183, 190, 0.12);
    text-align: left;
}

.page-content__body th {
    color: var(--primary);
    background: rgba(69, 206, 162, 0.08);
    font-weight: 600;
}

.page-content__body tr:last-child td {
    border-bottom: 0;
}

.page-content__body .wp-block-heading,
.page-content__body .wp-block-list,
.page-content__body .wp-block-paragraph {
    margin-bottom: 24px;
}

.page-content__body .alignleft {
    float: left;
    max-width: min(46%, 360px);
    margin: 8px 32px 24px 0;
}

.page-content__body .alignright {
    float: right;
    max-width: min(46%, 360px);
    margin: 8px 0 24px 32px;
}

.page-content__body .aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.page-content__body .alignwide {
    width: min(100vw - 48px, 960px);
    max-width: none;
    margin-right: calc(50% - min(100vw - 48px, 960px) / 2);
    margin-left: calc(50% - min(100vw - 48px, 960px) / 2);
}

.page-content__body .alignfull {
    width: min(100vw - 32px, 1200px);
    max-width: none;
    margin-right: calc(50% - min(100vw - 32px, 1200px) / 2);
    margin-left: calc(50% - min(100vw - 32px, 1200px) / 2);
}

.page-content__body .page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    color: var(--primary);
}

.page-content__body .page-links>a,
.page-content__body .page-links>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(176, 183, 190, 0.18);
    border-radius: 999px;
    background: rgba(23, 23, 23, 0.96);
    color: var(--primary);
    text-decoration: none;
}

.page-content__body .page-links>span {
    border-color: rgba(69, 206, 162, 0.32);
    background: rgba(69, 206, 162, 0.12);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    margin-top: 24px;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, margin-top 0.3s ease;

    &.header--hidden {
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
    }

    &.header--scrolled {
        margin-top: 0;
        background: rgba(15, 15, 15, 0.78);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .header__grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        align-items: center;
        min-height: 84px;
    }

    .header__logo {
        grid-column: 1 / 3;

        a {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        svg {
            display: block;
            width: clamp(118px, 14vw, 170px);
            height: auto;
        }
    }

    .header__nav {
        grid-column: 4 / 10;
        display: flex;
        gap: 32px;
        justify-content: center;

        a {
            font-size: 16px;
            line-height: 24px;
            color: var(--primary);
            font-weight: 500;
            transition: var(--transition);
        }

        .active {
            color: var(--accent);
        }
    }

    .header__cta {
        grid-column: 10 / 13;
        display: flex;
        justify-content: flex-end;

        a {
            font-size: 16px;
            line-height: 24px;
            padding: 12px 24px;
            background-color: var(--primary);
            color: var(--background);
            border-radius: 999px;
            transition: var(--transition);
            font-weight: 500;

            &:hover {
                background-color: var(--accent);
            }
        }
    }

    .header__menu-toggle,
    .header__menu-backdrop {
        display: none;
    }
}

body.header-menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .section[id] {
        scroll-margin-top: 100px;
    }

    header.header--scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    header.header--hidden {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    header .header__grid {
        grid-template-columns: 1fr auto;
        min-height: 82px;
    }

    header .header__logo {
        grid-column: 1 / 2;
        z-index: 1002;
    }

    header .header__logo a {
        gap: 12px;
    }

    header .header__logo svg {
        width: clamp(128px, 18vw, 176px);
    }

    header .header__menu-toggle {
        grid-column: 2 / 3;
        display: inline-flex;
        width: 50px;
        height: 50px;
        border: 1px solid var(--tertiary);
        border-radius: 999px;
        background: rgba(23, 23, 23, 0.96);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1002;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

    header .header__menu-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--primary);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    header .header__menu-toggle:hover {
        border-color: var(--primary);
    }

    header .header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    header .header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    header .header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    header .header__menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.64);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border: 0;
        padding: 0;
        margin: 0;
        z-index: 998;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    header .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 100vh;
        min-height: 100dvh;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
        padding: 96px 40px 154px;
        background: rgba(15, 15, 15, 0.98);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    header .header__nav a {
        font-size: 32px;
        line-height: 40px;
    }

    header .header__cta {
        position: fixed;
        left: 40px;
        right: 40px;
        bottom: 40px;
        z-index: 1001;
        display: flex;
        justify-content: flex-start;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(14px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    header .header__cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
    }

    header.header--menu-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
        margin-top: 0;
    }

    header.header--menu-open .header__nav,
    header.header--menu-open .header__cta {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    header.header--menu-open .header__menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .section[id] {
        scroll-margin-top: 88px;
    }

    header .header__grid {
        min-height: 74px;
    }

    header .header__logo svg {
        width: clamp(132px, 38vw, 166px);
    }

    header .header__menu-toggle {
        width: 48px;
        height: 48px;
    }

    header .header__nav {
        padding: 96px 24px 132px;
        gap: 14px;
    }

    header .header__nav a {
        font-size: 26px;
        line-height: 34px;
    }

    header .header__cta {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    header .header__cta a {
        font-size: 15px;
        line-height: 22px;
    }
}

.hero {
    height: 100vh;
    width: 100%;

    .container {
        height: 100%;
    }

    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), var(--background));
        width: 100%;
        height: 100%;
        content: '';
        position: absolute;
        left: 0;
        top: 0;
    }
}

.hero__grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 64px;

    .hero__main {
        display: flex;
        flex-direction: column;
        gap: 40px;

        .hero__title {
            display: flex;
            flex-direction: column;
            gap: 24px;

            span {
                color: var(--accent);
            }

            .hero__tag {
                font-size: 16px;
                line-height: 24px;
                font-weight: 500;
                padding: 8px 16px;
                background-color: rgba(0, 0, 0, 0.2);
                backdrop-filter: blur(8px);
                border-radius: 999px;
                display: inline-flex;
                width: fit-content;
            }
        }

        .hero__subtitle {
            font-size: 20px;
            line-height: 28px;
        }
    }

    .hero__cta {
        a {
            display: flex;
            gap: 12px;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            background-color: var(--accent);
            color: var(--background);
            padding: 12px 24px;
            display: inline-flex;
            border-radius: 999px;
            transition: var(--transition);

            &:hover {
                gap: 20px;
                background-color: var(--acent-hover);
            }
        }
    }
}

.numbers {
    margin-top: 120px;
}

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.numbers__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;

    .numbers__card-title {
        font-size: 36px;
        line-height: 44px;
        font-weight: 500;
        color: var(--primary);
    }

    p {
        font-size: 14px;
        line-height: 20px;
        color: var(--secondary);
    }
}

.areas__grid {
    max-width: 1472px;
    margin: 0 auto;
    background-color: var(--quaternary);
    padding: 12px;
    border: 1px solid var(--tertiary);
    border-radius: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    min-height: 560px;

    .areas__text {
        grid-column: 1 / 2;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 20px 0 20px 20px;

        .areas__text-card {
            display: flex;
            flex-direction: column;
            gap: 20px;
            cursor: pointer;
            transition: opacity 0.35s ease;
            opacity: 0.75;

            .areas__text-line {
                width: 50%;
                height: 2px;
                border-radius: 999px;
                background-color: var(--tertiary);
                position: relative;
                overflow: hidden;
            }

            .areas__text-line::after {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 0;
                height: 100%;
                border-radius: 999px;
                background: linear-gradient(90deg, #4BCDB1 0%, #6E4BCD 100%);
                animation: none;
            }

            &.is-progress .areas__text-line::after {
                width: 100%;
                animation: areas-line-progress 7s linear forwards;
            }

            .areas__text-content {
                display: flex;
                flex-direction: column;
                gap: 8px;

                .areas__text-title {
                    font-size: 24px;
                    line-height: 36px;
                    font-weight: 500;
                    color: var(--secondary);
                }

                p {
                    font-size: 16px;
                    line-height: 24px;
                    color: var(--secondary);
                    opacity: 0;
                    max-height: 0;
                    overflow: hidden;
                    visibility: hidden;
                    transition: opacity 0.35s ease, max-height 0.35s ease, visibility 0.35s ease;
                }
            }
        }

        .active {
            opacity: 1;

            .areas__text-content {
                .areas__text-title {
                    color: var(--primary);
                }

                p {
                    opacity: 1;
                    max-height: 120px;
                    visibility: visible;
                }
            }
        }
    }

    .areas__img {
        grid-column: 2 / 4;

        img {
            display: none;
            border-radius: 20px;
            height: 100%;
            object-fit: cover;
        }

        .active {
            display: flex;
            animation: areas-fade-in 0.45s ease;
        }
    }
}

.areas__grid.is-paused .areas__text-card.is-progress .areas__text-line::after {
    animation-play-state: paused;
}

@keyframes areas-line-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes areas-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team__card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.team__card-title {
    display: flex;
    flex-direction: column;
    gap: 4px;

    .team__card-name {
        font-size: 32px;
        line-height: 44px;
        font-weight: 500;
        color: var(--primary);
    }

    p {
        font-size: 16px;
        line-height: 24px;
        color: var(--secondary);
    }
}

.team__card-overlay {
    position: relative;
    height: 540px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
}


.team__card-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 24px;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;

    .team__card-wrapper2 {
        position: relative;
        display: block;
        max-width: 48px;
        background: rgba(0, 0, 0, 0.6);
        padding: 12px;
        border-radius: 16px;
        backdrop-filter: blur(64px);
        min-height: 48px;
        overflow: hidden;
        transition: max-width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            background-color 0.22s ease;

        p {
            display: block;
            width: 100%;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(6px);
            padding-right: 38px;
            padding-bottom: 10px;
            font-size: 16px;
            line-height: 28px;
            color: var(--secondary);
            transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
        }

        svg {
            position: absolute;
            right: 12px;
            bottom: 12px;
            transition: var(--transition);
        }

        &.is-open {
            max-width: 100%;
        }

        &.is-text-visible p {
            max-height: 180px;
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.team__card-plus {
    transition: var(--transition);
}

.team__card-plus.active {
    transform: rotate(45deg);
}

.join__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.collabaration__grid {
    width: 100%;
}

.collabaration__cards {
    display: flex;
    width: 100%;
    gap: 16px;
}

.collabaration__card {
    position: relative;
    flex: 1 1 0%;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--tertiary);
    background-size: cover;
    background-position: center;
    isolation: isolate;
    transition: flex 560ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease, filter 320ms ease;
    filter: brightness(0.72) saturate(0.9);
    will-change: flex, filter;
}

.collabaration__card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: inherit;
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.collabaration__card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.18) 0%, rgba(3, 3, 3, 0.72) 72%);
    transition: background-color 320ms ease, opacity 320ms ease;
}

.collabaration__card--moscow {
    background-image: url("../img/Moscow.jpg");
}

.collabaration__card--belgrade {
    background-image: url("../img/Belgrade.jpg");
}

.collabaration__card--global {
    background-image: url("../img/Dubai.jpg");
}

.collabaration__card-content {
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.collabaration__card h3 {
    font-size: 28px;
    line-height: 38px;
    font-weight: 500;
    color: var(--primary);
}

.collabaration__card p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    font-size: 16px;
    line-height: 26px;
    color: var(--secondary);
    transition: max-height 420ms ease 0ms, opacity 320ms ease 0ms, transform 320ms ease 0ms;
}

.collabaration__cards:hover .collabaration__card {
    flex: 1 1 0%;
}

.collabaration__cards:hover .collabaration__card:hover,
.collabaration__cards:has(.collabaration__card:focus-visible) .collabaration__card:focus-visible {
    flex: 2 1 0%;
    border-color: rgba(255, 255, 255, 0.28);
    filter: brightness(0.95) saturate(1);
}

.collabaration__cards:hover .collabaration__card:hover::before,
.collabaration__cards:has(.collabaration__card:focus-visible) .collabaration__card:focus-visible::before {
    transform: scale(1.03);
}

.collabaration__cards:hover .collabaration__card:hover p,
.collabaration__cards:has(.collabaration__card:focus-visible) .collabaration__card:focus-visible p {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 80ms;
}

.collabaration__card:focus-visible {
    outline: none;
    flex: 2 1 0%;
    border-color: var(--accent);
    filter: brightness(0.95) saturate(1);
}

.collabaration__card:focus-visible::before {
    transform: scale(1.03);
}

.collabaration__card:focus-visible p {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 80ms;
}

@media (max-width: 1024px) {
    .collabaration__cards {
        gap: 12px;
    }

    .collabaration__card {
        min-height: 420px;
        padding: 22px;
    }

    .collabaration__card-content {
        max-width: 300px;
        gap: 10px;
    }

    .collabaration__card h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .collabaration__card p {
        font-size: 15px;
        line-height: 24px;
    }
}

@media (max-width: 768px) {
    .collabaration__cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .collabaration__card {
        min-height: 280px;
        padding: 20px;
        filter: brightness(0.85) saturate(0.95);
    }

    .collabaration__card::before {
        transform: none !important;
    }

    .collabaration__card p {
        max-height: 240px;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .collabaration__card,
    .collabaration__card::before,
    .collabaration__card::after,
    .collabaration__card p {
        transition: none;
    }
}

.join__card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    min-height: 400px;
    justify-content: space-between;
    border-radius: 16px;

    &:first-child {
        background: linear-gradient(180deg, var(--tertiary), #25495B);
    }

    &:last-child {
        background: linear-gradient(180deg, var(--tertiary), #1C6454);
    }

    .join__card-main {
        display: flex;
        flex-direction: column;
        gap: 16px;

        .join__card-title {
            font-size: 32px;
            line-height: 44px;
            font-weight: 500;
            color: var(--primary);
        }

        p {
            font-size: 16px;
            line-height: 28px;
            color: var(--secondary);
        }
    }

    a {
        display: inline-flex;
        gap: 12px;
        width: fit-content;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        padding: 12px 24px;
        border-radius: 999px;
        border: 1px solid var(--tertiary);
        color: var(--primary);
        background: rgba(0, 0, 0, 0.2);
        transition: var(--transition);

        &:hover {
            gap: 20px;
            background-color: var(--primary);
            color: var(--background);
        }
    }
}

.contacts__overlay {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 32px;
    overflow: hidden;
}

.contacts__main {
    padding: 64px 32px;
}

.contacts__grid {
    display: flex;
    gap: 64px;
    width: 100%;
    justify-content: center;
}

.contacts__card {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    font-size: 20px;
    line-height: 32px;
    color: var(--secondary);

    a {
        font-size: 16px;
        line-height: 24px;
        color: var(--primary);
        width: 100%;
        padding: 12px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid var(--tertiary);
        border-radius: 999px;
        text-align: center;
        transition: var(--transition);

        &:hover {
            background-color: var(--primary);
            color: var(--background);
        }
    }
}

.contacts img {
    width: 100%;
    height: auto;
    margin-top: 64px;
}

.footer {
    margin-top: 120px;
    overflow: hidden;
    overflow: clip;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    line-height: 20px;

    &:first-child {
        gap: 32px;
    }

    p {
        font-weight: 500;
    }

    ul {
        display: flex;
        flex-direction: column;
        gap: 16px;

        li a {
            color: var(--secondary);

            &:hover {
                color: var(--primary);
            }
        }
    }
}

.footer__logo svg {
    fill: var(--accent);
    max-width: 64px;
}

.footer__copy {
    color: var(--secondary);
}

.footer__social {
    display: flex;
    gap: 16px;

    a {
        width: 36px;
        height: 36px;
        background: var(--tertiary);
        border-radius: 999px;
        display: inline-flex;
        justify-content: center;

        svg {
            fill: var(--secondary);
        }

        &:hover {
            svg {
                fill: var(--primary);
            }
        }
    }
}

.footer__text {
    --footer-reveal-progress: 0;
    margin-top: 120px;
    width: 100%;
    height: auto;
    transform: translateY(calc((1 - var(--footer-reveal-progress)) * 120%));
    opacity: 1;
    transition: transform 0.08s linear;
    will-change: transform;

    svg {
        fill: var(--tertiary);
        width: 100%;
    }
}

.footer__text.is-near-end {
    --footer-reveal-progress: 1;
}

.heropage {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;

    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 333;
    }

    &::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), var(--background));
        width: 100%;
        height: 100%;
        content: '';
        position: absolute;
        left: 0;
        top: 0;
    }
}

.heropage.heropage-comp {
    background-image: url(../img/company.jpg);

    .page__title {
        margin-bottom: 80px;
    }
}

.heropage.heropage-int {
    background-image: url(../img/internship.jpg);

    a {
        margin-top: 64px;
        display: flex;
        gap: 12px;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        background-color: var(--accent);
        color: var(--background);
        padding: 12px 24px;
        display: inline-flex;
        border-radius: 999px;
        transition: var(--transition);

        &:hover {
            gap: 20px;
            background-color: var(--acent-hover);
        }
    }
}

.heropage.heropage-team {
    background-image: url(../img/team.jpg);
}

.page__title {
    p {
        font-size: 20px;
        line-height: 32px;
        color: var(--secondary);
        width: 50%;
        margin-top: 16px;
    }

    a {
        display: inline-flex;
        margin-top: 24px;
        font-size: 16px;
        line-height: 22px;
        padding: 12px 20px;
        border: 1px solid var(--tertiary);
        border-radius: 999px;
        color: var(--primary);
        transition: var(--transition);

        &:hover {
            border: 1px solid var(--primary);
        }
    }
}

.page-careers .page__title,
.page-contacts .page__title,
.page-vacation .page__title,
.page-thinking .page__title {
    margin-top: 160px;
    margin-bottom: 64px;
}

.page-vacation .page__title {
    display: flex;
    gap: 32px;

    .page__title-main {
        width: 100%;
    }

    .page__title-cash {
        font-size: 32px;
        line-height: 40px;
        color: var(--accent);
        font-weight: 500;

        span {
            display: flex;
            font-size: 20px;
            line-height: 28px;
            font-weight: 400;
            color: var(--secondary);
        }
    }
}

.page-404 {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
}

.page-404 .container {
    width: 100%;
}

.page-404__content {
    display: flex;
    justify-content: center;
    padding: 160px 0 96px;
}

.page-404__title {
    max-width: 640px;
    text-align: center;
    margin: 0;

    h2 {
        color: var(--accent);
    }

    p {
        width: 100%;
        margin-top: 20px;
    }

    a {
        margin-top: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 28px;
        border: 1px solid var(--accent);
        border-radius: 999px;
        background: var(--accent);
        color: var(--background);
        font-weight: 500;
        transition: var(--transition);

        &:hover {
            background: var(--acent-hover);
            border-color: var(--acent-hover);
        }
    }
}

.car__tabs {
    display: inline-flex;
    position: relative;
    padding: 4px;
    border: 1px solid var(--tertiary);
    border-radius: 999px;
    gap: 4px;

    .car__tabs-indicator {
        position: absolute;
        top: 4px;
        left: 0;
        height: calc(100% - 8px);
        border-radius: 999px;
        background-color: var(--tertiary);
        transition: transform 0.28s ease, width 0.28s ease;
        z-index: 0;
        pointer-events: none;
    }

    .car__tabs-item {
        position: relative;
        z-index: 1;
        padding: 12px 24px;
        cursor: pointer;
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        color: var(--secondary);
        border-radius: 999px;
        transition: color 0.2s ease;

        &:hover {
            color: var(--primary);
        }
    }

    .active {
        color: var(--primary);
    }
}

.car__vacations {
    display: none;
    margin-top: 40px;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;

    &.active {
        display: grid;
    }

    .car__vacations-card {
        display: flex;
        flex-direction: column;
        gap: 16px;
        border: 1px solid var(--tertiary);
        padding: 16px;
        border-radius: 16px;
        justify-content: space-between;

        .car__vacation-high{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .car__vacations-money {
            font-size: 20px;
            line-height: 28px;
            font-weight: 500;
            color: var(--accent);
        }

        .car__vacations-type {
            font-size: 16px;
            line-height: 24px;
            color: var(--secondary);
        }

        .car__vacations-mid {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        p {
            font-size: 16px;
            line-height: 28px;
        }

        a {
            font-size: 16px;
            line-height: 24px;
            margin-top: 16px;
            color: var(--primary);
            width: 100%;
            padding: 12px;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--tertiary);
            border-radius: 999px;
            text-align: center;
            transition: var(--transition);

            &:hover {
                background-color: var(--primary);
                color: var(--background);
            }
        }
    }
}

.process__grid {
    --process-line-progress: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;

    .process__line {
        position: absolute;
        left: calc(100% / 6);
        right: calc(100% / 6);
        top: 32px;
        height: 2px;
        background: var(--tertiary);
        border-radius: 999px;
        z-index: 0;
        pointer-events: none;

        .process__line-fill {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: inherit;
            background: var(--accent);
            transform-origin: left center;
            transform: scaleX(var(--process-line-progress));
            transition: transform 0.08s linear;
        }
    }

    .process__card {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 1;

        .process__card-stage {
            width: 64px;
            height: 64px;
            font-size: 20px;
            line-height: 32px;
            border: 1px solid var(--tertiary);
            background: var(--background);
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            color: var(--secondary);
            transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }

        .process__card-stage.is-complete {
            color: var(--primary);
            background: var(--accent);
            border-color: var(--accent);
        }

        .process__card-name {
            font-size: 20px;
            line-height: 32px;
            font-weight: 500;
            color: var(--secondary);
            transition: color 0.2s ease;
        }

        p {
            font-size: 16px;
            line-height: 24px;
            color: var(--secondary);
            margin-top: 4px;
            transition: color 0.2s ease;
        }

        &.is-complete {
            .process__card-name {
                color: var(--primary);
            }
        }
    }
}

.feedback-form {
    width: 100%;
    max-width: none;
    margin: 0;

    .section__title {
        margin-bottom: 40px;
    }
}

.feedback-form__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.feedback-form__field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.feedback-form__field--full {
    grid-column: 1 / -1;
}

.feedback-form__label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--secondary);
}

.feedback-form__field input,
.feedback-form__field textarea {
    width: 100%;
    border: 1px solid var(--tertiary);
    border-radius: 14px;
    background: rgba(23, 23, 23, 0.6);
    color: var(--primary);
    font-size: 16px;
    line-height: 24px;
    padding: 14px 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feedback-form__field textarea {
    min-height: 190px;
    resize: vertical;
}

.feedback-form__counter {
    margin-top: 4px;
    font-size: 12px;
    line-height: 20px;
    color: var(--secondary);
    text-align: left;
}

.feedback-form__field input::placeholder,
.feedback-form__field textarea::placeholder {
    color: var(--secondary);
}

.feedback-form__field input:focus,
.feedback-form__field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(23, 23, 23, 0.85);
}

.feedback-form__field input:hover,
.feedback-form__field textarea:hover {
    border-color: var(--primary);
    background: rgba(23, 23, 23, 0.78);
}

.feedback-form__field input.is-invalid,
.feedback-form__field textarea.is-invalid,
.feedback-form__field.is-invalid input,
.feedback-form__field.is-invalid textarea {
    border-color: rgba(255, 124, 124, 0.92);
    background: rgba(68, 22, 30, 0.32);
}

.feedback-form__field input.is-invalid:hover,
.feedback-form__field input.is-invalid:focus,
.feedback-form__field textarea.is-invalid:hover,
.feedback-form__field textarea.is-invalid:focus,
.feedback-form__field.is-invalid input:hover,
.feedback-form__field.is-invalid input:focus,
.feedback-form__field.is-invalid textarea:hover,
.feedback-form__field.is-invalid textarea:focus {
    border-color: rgba(255, 124, 124, 0.92);
    background: rgba(68, 22, 30, 0.4);
}

.feedback-form__dropzone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border: 1px dashed var(--tertiary);
    border-radius: 14px;
    background: rgba(23, 23, 23, 0.45);
    padding: 28px 18px;
    min-height: 190px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feedback-form__dropzone:hover,
.feedback-form__dropzone:focus-within {
    border-color: var(--primary);
}

.feedback-form__dropzone.is-dragover {
    border-color: var(--accent);
    background: rgba(75, 205, 177, 0.08);
}

.feedback-form__dropzone.has-file {
    border-style: solid;
}

.feedback-form__dropzone.is-invalid,
.feedback-form__field.is-invalid .feedback-form__dropzone {
    border-color: rgba(255, 124, 124, 0.92);
    background: rgba(68, 22, 30, 0.24);
}

.feedback-form__file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.feedback-form__drop-main {
    font-size: 18px;
    line-height: 28px;
    color: var(--primary);
}

.feedback-form__drop-sub {
    margin-top: 6px;
    font-size: 14px;
    line-height: 22px;
    color: var(--secondary);
}

.feedback-form__file-name {
    margin-top: 14px;
    font-size: 14px;
    line-height: 22px;
    color: var(--accent);
    word-break: break-word;
}

.feedback-form__hint {
    margin-top: 4px;
    font-size: 12px;
    line-height: 20px;
    color: var(--secondary);
}

.feedback-form__actions {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.feedback-form__consent {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 22px;
    color: var(--secondary);
    cursor: pointer;
    margin-bottom: 16px;
}

.feedback-form__consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 1px;
    border: 1px solid var(--tertiary);
    border-radius: 5px;
    background: var(--quaternary);
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feedback-form__consent input[type="checkbox"]::after {
    content: "";
    width: 10px;
    height: 6px;
    border: 2px solid var(--primary);
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feedback-form__consent input[type="checkbox"]:hover {
    border-color: var(--primary);
}

.feedback-form__consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.feedback-form__consent input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.feedback-form__consent input[type="checkbox"]:checked::after {
    opacity: 1;
}

.feedback-form__consent.is-invalid input[type="checkbox"] {
    border-color: rgba(255, 124, 124, 0.92);
    background: rgba(68, 22, 30, 0.4);
}

.feedback-form__consent a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feedback-form__consent a:hover {
    color: var(--accent);
}

.feedback-form__submit {
    border: 1px solid var(--tertiary);
    border-radius: 999px;
    background: rgba(23, 23, 23, 0.8);
    color: var(--primary);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding: 12px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.feedback-form__submit:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--background);
}

.feedback-form__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.site-toast-stack {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 96px);
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 32px), 560px);
    z-index: 1200;
    pointer-events: none;
}

.site-toast {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 20px;
    border: 1px solid rgba(133, 182, 255, 0.22);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(89, 141, 255, 0.14) 0%, rgba(24, 38, 68, 0.18) 100%),
        rgba(7, 14, 30, 0.42);
    color: var(--primary);
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, background 0.28s ease;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-toast.is-leaving {
    opacity: 0;
    transform: translateY(-14px);
}

.site-toast--success {
    border-color: rgba(105, 224, 188, 0.28);
    background:
        linear-gradient(180deg, rgba(69, 206, 162, 0.12) 0%, rgba(26, 54, 54, 0.18) 100%),
        rgba(7, 14, 30, 0.42);
}

.site-toast--success::before,
.site-toast--error::before,
.site-toast--info::before {
    content: "";
    width: 10px;
    min-width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 12px;
}

.site-toast--success::before {
    background: var(--accent);
}

.site-toast--error {
    border-color: rgba(255, 145, 145, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 124, 124, 0.1) 0%, rgba(64, 28, 43, 0.18) 100%),
        rgba(7, 14, 30, 0.42);
}

.site-toast--error::before {
    background: #ff7c7c;
}

.site-toast--info {
    border-color: rgba(133, 182, 255, 0.24);
}

.site-toast--info::before {
    background: #8bb9ff;
}

@media (max-width: 768px) {
    .site-toast-stack {
        top: calc(env(safe-area-inset-top, 0px) + 84px);
        width: min(calc(100vw - 24px), 520px);
    }

    .site-toast {
        min-height: 52px;
        padding: 14px 16px;
        border-radius: 18px;
        font-size: 13px;
        line-height: 20px;
    }

    .feedback-form__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.cont-contacts {
    .cont-contacts__list {
        display: grid;
        gap: 32px;
        grid-template-columns: repeat(2, 1fr);

        .cont-contacts__card {
            display: flex;
            flex-direction: column;
            padding: 32px;
            border: 1px solid var(--tertiary);
            border-radius: 16px;
            background-position: 100%;

            &:first-child {
                background-image: url(../img/cont-telegram.png);
            }

            &:last-child {
                background-image: url(../img/cont-mail.png);
            }

            .cont-contacts__title {
                font-size: 24px;
                line-height: 36px;
                font-weight: 500;
            }

            p {
                font-size: 16px;
                line-height: 28px;
                color: var(--secondary);
            }

            a {
                font-size: 16px;
                line-height: 24px;
                color: var(--primary);
                width: fit-content;
                padding: 12px 24px;
                background: rgba(0, 0, 0, 0.2);
                border: 1px solid var(--tertiary);
                border-radius: 999px;
                text-align: center;
                transition: var(--transition);
                margin-top: 32px;

                &:hover {
                    background-color: var(--primary);
                    color: var(--background);
                }
            }
        }
    }

    .note {
        font-size: 24px;
        line-height: 36px;
        width: 100%;
        text-align: center;
        background: var(--quaternary);
        color: var(--secondary);
        margin-top: 32px;
        padding: 32px;
        border-radius: 16px;
    }
}

.cont-offices {
    margin-top: 120px;
}

.faq {
    h3 {
        margin-bottom: 32px;
    }

    .faq__list {
        display: flex;
        flex-direction: column;
        gap: 16px;

        .faq__card {
            padding: 24px;
            background-color: var(--quaternary);
            border: 1px solid var(--quaternary);
            border-radius: 16px;
            cursor: pointer;
            transition: var(--transition);

            .faq__main {
                display: flex;
                width: 100%;
                justify-content: space-between;
                align-items: center;

                .faq__title {
                    font-size: 24px;
                    line-height: 36px;
                    font-weight: 500;
                }

                svg {
                    fill: var(--secondary);
                    transition: var(--transition);
                }
            }

            p {
                display: none;
                font-size: 20px;
                line-height: 32px;
                padding-top: 12px;
                color: var(--secondary);
            }

            &:hover {
                border: 1px solid var(--tertiary);

                .faq__main {
                    svg {
                        fill: var(--accent);
                    }
                }
            }

            &.active {
                .faq__main {
                    svg {
                        transform: rotate(45deg);
                    }
                }
            }
        }
    }
}

.comp-focus__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;

    .comp-focus__card {
        .comp-focus__count {
            font-size: 40px;
            line-height: 40px;
            font-weight: 500;
            color: var(--tertiary);
            margin-bottom: 16px;
        }

        .comp-focus__title {
            font-size: 24px;
            line-height: 36px;
            font-weight: 500;
            margin-bottom: 4px;
        }

        p {
            font-size: 16px;
            line-height: 28px;
            color: var(--secondary);
        }
    }
}

.company-techmap {
    margin-top: 120px;
    margin-bottom: 120px;
}

.company-techmap .section__title {
    margin-bottom: 40px;
}

.company-techmap__canvas {
    position: relative;
    min-height: 470px;
    overflow: visible;
    padding: 40px 0;
}

.company-techmap__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.company-techmap__lines .rail {
    fill: none;
    stroke: var(--tertiary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-techmap__lines .flow {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 18 100;
    stroke-dashoffset: 16;
    opacity: 0;
}

.company-techmap__route.is-active .flow {
    opacity: 0.96;
    animation: techmapRailFlow 5s linear 1 forwards;
    filter: drop-shadow(0 0 7px rgba(76, 205, 177, 0.45));
}

.company-techmap__route--m .flow--m {
    animation: techmapRailFlow 4.8s linear infinite;
    opacity: 0.96;
    filter: drop-shadow(0 0 7px rgba(76, 205, 177, 0.45));
}

@keyframes techmapRailFlow {
    from {
        stroke-dashoffset: 16;
        opacity: 0.96;
    }

    to {
        stroke-dashoffset: -100;
        opacity: 0.96;
    }
}

.company-techmap__lines--mobile {
    display: none;
}

.company-techmap__col {
    position: absolute;
    top: 32px;
    bottom: 32px;
    width: 41%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.company-techmap__col--left {
    left: 0;
}

.company-techmap__col--right {
    right: 0;
}

.company-techmap__node {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-techmap__node--left {
    justify-content: flex-start;
}

.company-techmap__node--right {
    justify-content: flex-end;
}

.company-techmap__icon {
    width: 100px;
    height: 100px;
    border: 1px solid var(--tertiary);
    border-radius: 999px;
    background: var(--quaternary);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.company-techmap__icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.company-techmap__copy {
    max-width: 200px;
    width: 200px;
    min-height: 100px;
    position: relative;
}

.company-techmap__copy h4 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(calc(-100% - 12px));
}

.company-techmap__copy p {
    color: var(--secondary);
    font-size: 14px;
    line-height: 22px;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(12px);
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

.company-techmap__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: var(--quaternary);
    border: 1px solid var(--tertiary);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-techmap__hub img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .company-techmap {
        margin-top: 96px;
        margin-bottom: 96px;
    }

    .company-techmap__canvas {
        min-height: 430px;
    }

    .company-techmap__col {
        width: 43%;
    }

    .company-techmap__icon {
        width: 84px;
        height: 84px;
    }

    .company-techmap__icon img {
        width: 40px;
        height: 40px;
    }

    .company-techmap__copy {
        max-width: 200px;
        min-height: 84px;
    }

    .company-techmap__copy h4 {
        font-size: 14px;
        line-height: 22px;
    }

    .company-techmap__copy p {
        font-size: 14px;
        line-height: 22px;
    }

    .company-techmap__hub {
        width: 112px;
        height: 112px;
    }

    .company-techmap__hub img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .company-techmap {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .company-techmap .section__title {
        margin-bottom: 28px;
    }

    .company-techmap__canvas {
        min-height: 980px;
        padding: 32px 0;
    }

    .company-techmap__lines--desktop {
        display: none;
    }

    .company-techmap__lines--mobile {
        display: block;
    }

    .company-techmap__lines--mobile .rail {
        stroke: var(--tertiary);
    }

    .company-techmap__col {
        position: static;
        width: 100%;
        height: auto;
        padding: 0 14px;
        gap: 26px;
    }

    .company-techmap__node {
        justify-content: flex-start;
    }

    .company-techmap__node--right {
        justify-content: flex-start;
    }

    .company-techmap__node--right .company-techmap__icon {
        order: 0;
    }

    .company-techmap__node--right .company-techmap__copy {
        order: 1;
    }

    .company-techmap__copy {
        min-height: 0;
        position: static;
    }

    .company-techmap__copy h4,
    .company-techmap__copy p {
        position: static;
    }

    .company-techmap__copy h4 {
        margin: 0 0 8px;
    }

    .company-techmap__hub {
        position: static;
        transform: none;
        margin: 28px auto;
    }

}

.comp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;

    .comp-features__card {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        background: rgba(15, 15, 15, 0.5);
        backdrop-filter: blur(8px);
        padding: 24px;
        border-radius: 16px;

        .comp-features__title {
            font-size: 24px;
            line-height: 36px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        p {
            color: var(--secondary);
            line-height: 28px;
        }

        svg {
            fill: var(--tertiary);
            margin-bottom: 32px;
        }
    }
}

.thk-task {
    display: flex;
    flex-direction: column;
    background-color: var(--quaternary);
    padding: 32px;
    border-radius: 16px;
    gap: 32px;

    .thk-task__block {
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 16px;
        line-height: 24px;
    }

    .thk-task__note {
        border: 1px solid var(--tertiary);
        padding: 16px;
        border-radius: 16px;

        span {
            margin-bottom: 8px;
            display: flex;
            color: var(--accent);
        }
    }
}

.intern-steps__flow {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.intern-steps__row {
    --intern-step-line-progress: 0;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 28px;
    padding: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.intern-steps__row.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.intern-steps__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.intern-steps__dot {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid var(--tertiary);
    background: var(--quaternary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.08em;
    color: var(--secondary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.intern-steps__row.is-complete .intern-steps__dot {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.intern-steps__rail {
    position: relative;
    width: 2px;
    flex: 1 1 auto;
    min-height: 118px;
    border-radius: 999px;
    background: var(--tertiary);
    overflow: hidden;
}

.intern-steps__rail-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(var(--intern-step-line-progress) * 100%);
    border-radius: inherit;
    background: var(--accent);
    transition: height 0.14s linear;
}

.intern-steps__body {
    padding: 6px 0 12px;
}

.intern-steps__add {
    .intern-steps__add-tabs {
        position: relative;
        display: inline-flex;
        gap: 16px;
        margin-top: 8px;
        font-size: 18px;
        line-height: 24px;
        border-bottom: 1px solid var(--tertiary);
        color: var(--secondary);
        margin-bottom: 4px;

        .intern-steps__add-indicator {
            position: absolute;
            left: 0;
            bottom: -1px;
            height: 2px;
            border-radius: 999px;
            background: var(--accent);
            transition: transform 220ms ease, width 220ms ease;
            pointer-events: none;
        }

        .intern-steps__add-tab {
            padding: 8px 0;
            transition: color 200ms ease;
            cursor: pointer;
            color: var(--secondary);

            &:hover {
                color: var(--primary);
            }

            &.active {
                color: var(--primary);
            }
        }
    }

    .intern-steps__add-content {
        overflow: hidden;
        transition: min-height 220ms ease;
    }

    .intern-steps__add-item {
        display: none;
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
        transition: opacity 200ms ease, transform 200ms ease;
    }

    .intern-steps__add-item.active,
    .intern-steps__add-item.is-leaving,
    .intern-steps__add-item.is-entering {
        display: block;
    }

    .intern-steps__add-item.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .intern-steps__add-item.is-leaving {
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
    }

    .intern-steps__add-item.is-entering {
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
    }
}

.intern-steps__body ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;

    li {
        list-style-type: disc;
        color: var(--secondary);
    }
}

.intern-steps__body h3 {
    font-size: 42px;
    line-height: 48px;
    font-weight: 500;
    color: var(--primary);
}

.intern-steps__body p {
    margin-top: 4px;
    font-size: 16px;
    line-height: 28px;
    color: var(--secondary);
}

.intern-steps__cta {
    display: inline-flex;
    margin-top: 20px;
    padding: 8px 16px;
    border: 1px solid var(--tertiary);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    transition: var(--transition);
}

.intern-steps__cta:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--background);
}

@media (max-width: 1024px) {
    .intern-steps__row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .intern-steps__dot {
        width: 48px;
        height: 48px;
        font-size: 14px;
        line-height: 22px;
    }

    .intern-steps__rail {
        min-height: 108px;
    }

    .intern-steps__body h3 {
        font-size: 34px;
        line-height: 42px;
    }

    .intern-steps__body p {
        font-size: 26px;
        line-height: 38px;
    }
}

@media (max-width: 768px) {
    .intern-steps__flow {
        gap: 16px;
    }

    .intern-steps__row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
    }

    .intern-steps__dot {
        width: 40px;
        height: 40px;
        font-size: 12px;
        line-height: 18px;
    }

    .intern-steps__rail {
        min-height: 88px;
    }

    .intern-steps__body {
        padding: 0 0 4px;
    }

    .intern-steps__body h3 {
        font-size: 28px;
        line-height: 36px;
    }

    .intern-steps__body p {
        font-size: 20px;
        line-height: 32px;
    }
}

.intern-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.intern-values__card {
    background: var(--quaternary);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;

    img {
        height: 240px;
        object-fit: cover;
        border-radius: 16px;
        margin-bottom: 24px;
    }
}

.intern-values__card h3 {
    margin-top: 24px;
    font-size: 34px;
    line-height: 42px;
    font-weight: 500;
    color: var(--primary);
}

.intern-values__card p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 28px;
    color: var(--secondary);
}

@media (max-width: 1024px) {
    .intern-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intern-values__card {
        min-height: 390px;
    }

    .intern-values__card h3 {
        font-size: 30px;
        line-height: 38px;
    }

    .intern-values__card p {
        font-size: 22px;
        line-height: 34px;
    }
}

@media (max-width: 768px) {
    .intern-values__grid {
        grid-template-columns: 1fr;
    }

    .intern-values__card {
        min-height: 0;
    }

    .intern-values__card h3 {
        font-size: 28px;
        line-height: 36px;
    }

    .intern-values__card p {
        font-size: 20px;
        line-height: 32px;
    }
}

.team-quotes__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;

    .team-quotes__preview {
        display: flex;
        flex-direction: column;
        gap: 16px;

        img {
            --team-quote-progress: 0deg;
            --team-quote-alpha: 1;
            --team-quote-track: var(--tertiary);
            border-radius: 999px;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            object-position: top;
            padding: 4px;
            border: 2px solid transparent;
            cursor: pointer;
            transition: var(--transition);
            background:
                linear-gradient(var(--background), var(--background)) padding-box,
                conic-gradient(rgba(75, 205, 177, var(--team-quote-alpha)) var(--team-quote-progress), var(--team-quote-track) 0deg) border-box;
        }

        img:hover {
            padding: 2px;
            --team-quote-track: var(--secondary);
        }

        img.active {
            border-color: transparent;
        }
    }

    .team-quotes__photo {
        grid-column: 2 / 6;

        img {
            width: 100%;
            height: auto;
            border-radius: 16px;
            opacity: 1;
            transition: opacity 200ms ease;
        }

        img.is-fading {
            opacity: 0;
        }
    }

    .team-quotes__text {
        grid-column: 6 / 13;

        .team-quotes__mark {
            font-size: 64px;
            line-height: 64px;
            font-weight: 500;
            color: var(--tertiary);
            display: flex;
            width: 100%;
            height: 32px;
            font-style: italic;
        }

        p {
            font-size: 24px;
            line-height: 36px;
            padding-top: 16px;
            opacity: 1;
            transition: opacity 200ms ease;
        }

        p.is-fading {
            opacity: 0;
        }

        .team-quotes__name {
            margin-top: 32px;
            font-size: 24px;
            line-height: 36px;
            font-weight: 500;
            opacity: 1;
            transition: opacity 200ms ease;
        }

        .team-quotes__name.is-fading {
            opacity: 0;
        }

        .team-quotes__position {
            font-size: 20px;
            line-height: 32px;
            color: var(--secondary);
            opacity: 1;
            transition: opacity 200ms ease;
        }

        .team-quotes__position.is-fading {
            opacity: 0;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer__text {
        transition: none;
        --footer-reveal-progress: 1;
    }
}

.team-life__note {
    font-size: 20px;
    line-height: 32px;
    margin-top: 64px;
    width: 100%;

    p {
        text-align: center;
        width: 50%;
        margin: 0 auto;
    }
}

.team-life__slider {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    overflow: hidden;

    &::before {
        width: 3%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        content: '';
        background: linear-gradient(90deg, rgba(0, 0, 0, 0), var(--background));
        z-index: 3;
    }

    &::after {
        width: 3%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        content: '';
        background: linear-gradient(-90deg, rgba(0, 0, 0, 0), var(--background));
        z-index: 3;
    }

    .team-life__slider-list {
        display: flex;
        gap: 32px;
        width: max-content;
        will-change: transform;
        animation: teamLifeMarquee 52s linear infinite;

        &:nth-child(2) {
            animation-direction: reverse;
        }

        img {
            width: 600px;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            border-radius: 16px;
        }
    }

}

@keyframes teamLifeMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 16px));
    }
}

.offices__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;

    .offices__card {
        display: flex;
        flex-direction: column;
        padding: 24px;
        border: 1px solid var(--tertiary);
        border-radius: 16px;

        .offices__main {
            display: flex;
            gap: 16px;
            justify-content: space-between;

            .offices__title {
                display: flex;
                flex-direction: column;
                gap: 12px;

                h4 {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }

                svg {
                    width: 24px;
                    height: 24px;
                }

                p {
                    font-size: 16px;
                    line-height: 24px;
                    color: var(--secondary);
                }
            }

            .offices__adress {
                display: flex;
                flex-direction: column;
                gap: 12px;
                align-items: flex-end;
            }

            p {
                font-size: 16px;
                line-height: 24px;
            }
        }

        a {
            font-size: 14px;
            line-height: 24px;
            border: 1px solid var(--tertiary);
            border-radius: 999px;
            padding: 8px 16px;
            color: var(--primary);
            font-weight: 500;
            width: fit-content;
            transition: var(--transition);
        }

        a:hover {
            background-color: var(--primary);
            color: var(--background);
        }

        img {
            border-radius: 16px;
            height: 300px;
            object-fit: cover;
        }
    }
}

.vac__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);

    .vac__card {
        padding: 24px;
        border-radius: 16px;
        background-color: var(--quaternary);
        display: flex;
        flex-direction: column;
        gap: 12px;

        h4 {
            margin-bottom: 4px;
        }

        li,
        p {
            font-size: 16px;
            line-height: 24px;
        }

        ul {
            display: flex;
            flex-direction: column;
            gap: 8px;

            li {
                list-style-type: disc;
                margin-left: 16px;
            }
        }
    }
}

@media (max-width: 1024px) {
    .footer {
        margin-top: 96px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .footer__item {
        gap: 16px;
    }

    .footer__item:first-child {
        gap: 24px;
    }

    .footer__text {
        margin-top: 96px;
    }

    .footer__text svg {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .footer {
        margin-top: 72px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__item {
        gap: 14px;
    }

    .footer__item:first-child {
        gap: 20px;
    }

    .footer__text {
        margin-top: 72px;
    }

    .footer__text svg {
        width: 100%;
        height: auto;
    }
}

/* ===== Full-site responsive adaptation ===== */
html,
body {
    overflow-x: clip;
}

.container {
    width: 100%;
    box-sizing: border-box;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 1200px) {
    h1 {
        font-size: 64px;
        line-height: 72px;
    }

    h2 {
        font-size: 48px;
        line-height: 56px;
    }

    h3 {
        font-size: 32px;
        line-height: 42px;
    }

    h4 {
        font-size: 22px;
        line-height: 30px;
    }

    .section {
        margin: 160px 0;
    }

    .section__title {
        margin-bottom: 56px;
    }

    .section__title p {
        font-size: 18px;
        line-height: 30px;
    }

    .page__title p {
        width: 70%;
    }

    .heropage.heropage-comp {
        min-height: 100vh;
        height: auto;
    }

    .heropage.heropage-comp .container {
        min-height: 100vh;
        height: auto;
        padding-top: 152px;
        padding-bottom: 72px;
    }

    .heropage.heropage-comp .page__title {
        margin-bottom: 56px;
    }

    .heropage.heropage-comp .page__title p {
        width: 100%;
    }

    .comp-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .comp-features .comp-features__card {
        padding: 22px;
    }

    .comp-features .comp-features__card .comp-features__title {
        font-size: 22px;
        line-height: 32px;
    }

    .comp-features .comp-features__card p {
        font-size: 15px;
        line-height: 24px;
    }

    .comp-features .comp-features__card svg {
        margin-bottom: 24px;
    }

    .company-techmap__canvas {
        min-height: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 24px;
    }

    .company-techmap__lines--desktop,
    .company-techmap__lines--mobile,
    .company-techmap__hub {
        display: none;
    }

    .company-techmap__col {
        position: static;
        top: auto;
        bottom: auto;
        width: auto;
        height: auto;
        padding: 0;
        gap: 24px;
    }

    .company-techmap__node,
    .company-techmap__node--right {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .company-techmap__node--right .company-techmap__icon {
        order: 0;
    }

    .company-techmap__node--right .company-techmap__copy {
        order: 1;
    }

    .company-techmap__icon {
        width: 72px;
        height: 72px;
    }

    .company-techmap__icon img {
        width: 36px;
        height: 36px;
    }

    .company-techmap__copy {
        max-width: none;
        width: auto;
        min-height: 0;
        position: static;
    }

    .company-techmap__copy h4,
    .company-techmap__copy p {
        position: static;
        transform: none;
    }

    .company-techmap__copy h4 {
        margin: 0 0 8px;
    }

    .company-techmap__copy p {
        margin: 0;
    }

    .numbers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .areas__grid {
        max-width: 100%;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
        padding: 16px;
    }

    .areas__grid .areas__text {
        grid-column: 1 / 2;
        padding: 8px 0 8px 8px;
        gap: 24px;
    }

    .areas__grid .areas__img {
        grid-column: 2 / 3;
    }

    .areas__grid .areas__img img {
        width: 100%;
        min-height: 420px;
    }

    .team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .team__card-overlay {
        height: 460px;
    }

    .team__card-title .team__card-name {
        font-size: 28px;
        line-height: 38px;
    }

    .contacts__grid {
        gap: 32px;
    }

    .contacts__card {
        width: 100%;
    }

    .comp-focus__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .team-life__slider .team-life__slider-list img {
        width: clamp(360px, 42vw, 520px);
    }

    .offices__grid {
        grid-template-columns: 1fr;
    }

    .offices__grid .offices__card .offices__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 24px;
    }

    .offices__grid .offices__card .offices__main .offices__adress {
        align-items: flex-start;
    }

    .car__vacations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .page-vacation .page__title {
        flex-direction: column;
        gap: 20px;
    }

    .page-vacation .page__title .page__title-cash {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (max-width: 1024px) {
    .page-404 {
        min-height: calc(100vh - 140px);
    }

    .page-404__content {
        padding: 132px 0 80px;
    }

    .page-404__title p {
        width: 100%;
    }

    .page-content__title {
        margin-top: 132px;
        margin-bottom: 48px;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    h1 {
        font-size: 56px;
        line-height: 64px;
    }

    h2 {
        font-size: 44px;
        line-height: 52px;
    }

    h3 {
        font-size: 30px;
        line-height: 40px;
    }

    h4 {
        font-size: 21px;
        line-height: 30px;
    }

    .section {
        margin: 120px 0;
    }

    .section__title {
        margin-bottom: 48px;
        gap: 12px;
    }

    .section__title p {
        font-size: 17px;
        line-height: 28px;
    }

    .page__title p {
        width: 100%;
        font-size: 18px;
        line-height: 30px;
    }

    .heropage.heropage-comp .container {
        padding-top: 140px;
        padding-bottom: 64px;
    }

    .heropage.heropage-comp .page__title {
        margin-bottom: 48px;
    }

    .page-careers .page__title,
    .page-contacts .page__title,
    .page-vacation .page__title {
        margin-top: 132px;
        margin-bottom: 48px;
    }

    .hero__grid {
        gap: 44px;
    }

    .hero__grid .hero__main {
        gap: 28px;
    }

    .hero__grid .hero__main .hero__title {
        gap: 16px;
    }

    .hero__grid .hero__main .hero__subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    .numbers {
        margin-top: 96px;
    }

    .numbers__grid {
        gap: 20px;
    }

    .areas__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 24px;
        padding: 24px 14px;
        min-height: 0;
    }

    .areas__grid .areas__text {
        grid-column: auto;
        padding: 0;
        gap: 20px;
    }

    .areas__grid .areas__text .areas__text-card {
        gap: 14px;
        cursor: default;
        opacity: 1;
    }

    .areas__grid .areas__text .areas__text-card .areas__text-line {
        display: none;
    }

    .areas__grid .areas__text .areas__text-card .areas__text-content .areas__text-title {
        font-size: 22px;
        line-height: 32px;
        color: var(--primary);
    }

    .areas__grid .areas__text .areas__text-card .areas__text-content p {
        font-size: 15px;
        line-height: 24px;
        max-height: none;
        opacity: 1;
        overflow: visible;
        visibility: visible;
    }

    .areas__grid .areas__img {
        display: none;
    }

    .team__card-overlay {
        height: 420px;
        border-radius: 24px;
    }

    .join__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .join__card {
        min-height: 0;
    }

    .contacts__main {
        padding: 48px 24px;
    }

    .contacts__grid {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .contacts__card {
        width: 100%;
        font-size: 18px;
        line-height: 28px;
    }

    .comp-focus__grid .comp-focus__card .comp-focus__count {
        font-size: 34px;
        line-height: 38px;
    }

    .comp-focus__grid .comp-focus__card .comp-focus__title {
        font-size: 22px;
        line-height: 32px;
    }

    .team-quotes__grid {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 24px;
    }

    .team-quotes__grid .team-quotes__preview {
        grid-column: 1 / 2;
    }

    .team-quotes__grid .team-quotes__photo {
        grid-column: 2 / 3;
    }

    .team-quotes__grid .team-quotes__text {
        grid-column: 1 / 3;
    }

    .team-quotes__grid .team-quotes__text p {
        font-size: 20px;
        line-height: 32px;
    }

    .team-life__note p {
        width: 80%;
    }

    .team-life__slider .team-life__slider-list {
        gap: 24px;
    }

    .team-life__slider .team-life__slider-list img {
        width: clamp(320px, 62vw, 480px);
    }

    .feedback-form .section__title {
        margin-bottom: 32px;
    }

    .feedback-form__actions {
        margin-top: 24px;
    }

    .intern-steps__body p {
        font-size: 18px;
        line-height: 30px;
    }

    .intern-values__card p {
        font-size: 16px;
        line-height: 26px;
    }

    .car__tabs,
    .intern-steps__add .intern-steps__add-tabs {
        display: flex;
        width: max-content;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .car__tabs::-webkit-scrollbar,
    .intern-steps__add .intern-steps__add-tabs::-webkit-scrollbar {
        display: none;
    }

    .car__tabs .car__tabs-item,
    .intern-steps__add .intern-steps__add-tabs .intern-steps__add-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .vac__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 40px;
        line-height: 48px;
    }

    h2 {
        font-size: 34px;
        line-height: 42px;
    }

    h3 {
        font-size: 26px;
        line-height: 34px;
    }

    h4 {
        font-size: 20px;
        line-height: 28px;
    }

    .section {
        margin: 88px 0;
    }

    .section__title {
        margin-bottom: 32px;
    }

    .section__title p {
        font-size: 16px;
        line-height: 26px;
    }

    .hero,
    .heropage {
        min-height: 100svh;
        height: 100svh;
    }

    .heropage.heropage-comp {
        min-height: 100vh;
        height: auto;
    }

    .heropage.heropage-comp .container {
        min-height: 100vh;
        height: auto;
        padding-top: 128px;
        padding-bottom: 56px;
    }

    .heropage.heropage-comp .page__title {
        margin-bottom: 36px;
    }

    .comp-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comp-features .comp-features__card {
        padding: 20px;
    }

    .comp-features .comp-features__card .comp-features__title {
        font-size: 20px;
        line-height: 30px;
    }

    .comp-features .comp-features__card p {
        font-size: 15px;
        line-height: 24px;
    }

    .comp-features .comp-features__card svg {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }

    .team-life .section__title .section__title-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cont-contacts .cont-contacts__list {
        grid-template-columns: 1fr;
    }

    .company-techmap__canvas {
        grid-template-columns: 1fr;
    }

    .company-techmap__col {
        width: 100%;
    }

    .hero__grid {
        gap: 32px;
    }

    .hero__grid .hero__main .hero__title .hero__tag {
        font-size: 14px;
        line-height: 20px;
        padding: 6px 12px;
    }

    .numbers {
        margin-top: 72px;
    }

    .numbers__grid {
        grid-template-columns: 1fr;
    }

    .numbers__card .numbers__card-title {
        font-size: 32px;
        line-height: 40px;
    }

    .areas__grid {
        border-radius: 20px;
        padding: 12px;
    }

    .areas__grid .areas__text .areas__text-card .areas__text-content .areas__text-title {
        font-size: 20px;
        line-height: 30px;
    }

    .areas__grid .areas__text .areas__text-card .areas__text-content p {
        font-size: 15px;
        line-height: 24px;
    }

    .team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team__card-overlay {
        height: 360px;
    }

    .team__card-wrapper {
        padding: 16px;
    }

    .team__card-wrapper .team__card-wrapper2 {
        border-radius: 14px;
        padding: 10px;
    }

    .team__card-wrapper .team__card-wrapper2 p {
        font-size: 14px;
        line-height: 22px;
        padding-right: 30px;
        padding-bottom: 8px;
    }

    .join__card {
        padding: 24px 20px;
    }

    .join__card .join__card-main .join__card-title {
        font-size: 28px;
        line-height: 36px;
    }

    .contacts__overlay {
        border-radius: 20px;
    }

    .contacts__main {
        padding: 32px 16px;
    }

    .contacts__card {
        align-items: flex-start;
        text-align: left;
        font-size: 16px;
        line-height: 24px;
    }

    .comp-focus__grid {
        grid-template-columns: 1fr;
    }

    .car__tabs {
        width: max-content;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .car__tabs::-webkit-scrollbar {
        display: none;
    }

    .car__tabs .car__tabs-item {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 14px;
        line-height: 22px;
    }

    .car__vacations {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .process__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .process__grid .process__line {
        left: 27px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 2px;
        height: auto;
    }

    .process__grid .process__line .process__line-fill {
        transform-origin: top center;
        transform: scaleY(var(--process-line-progress));
    }

    .process__grid .process__card {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 14px;
        align-items: flex-start;
        text-align: left;
    }

    .process__grid .process__card .process__card-stage {
        width: 56px;
        height: 56px;
        margin-bottom: 0;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        font-size: 16px;
        line-height: 24px;
    }

    .process__grid .process__card .process__card-name {
        grid-column: 2 / 3;
        margin-top: 4px;
        font-size: 18px;
        line-height: 28px;
    }

    .process__grid .process__card p {
        grid-column: 2 / 3;
        margin-top: 4px;
        font-size: 14px;
        line-height: 22px;
    }

    .feedback-form__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feedback-form__field input,
    .feedback-form__field textarea {
        font-size: 15px;
        line-height: 22px;
        padding: 12px 14px;
    }

    .feedback-form__field textarea,
    .feedback-form__dropzone {
        min-height: 170px;
    }

    .feedback-form__drop-main {
        font-size: 16px;
        line-height: 24px;
    }

    .feedback-form__actions {
        align-items: stretch;
        gap: 12px;
    }

    .feedback-form__submit {
        width: 100%;
    }

    .feedback-form__consent {
        font-size: 13px;
        line-height: 20px;
    }

    .team-quotes__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-quotes__grid .team-quotes__preview {
        order: 1;
        grid-column: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .team-quotes__grid .team-quotes__preview img {
        width: 100%;
        max-width: 84px;
        justify-self: center;
    }

    .team-quotes__grid .team-quotes__photo {
        order: 2;
        grid-column: auto;
    }

    .team-quotes__grid .team-quotes__text {
        order: 3;
        grid-column: auto;
    }

    .team-quotes__grid .team-quotes__text .team-quotes__mark {
        font-size: 52px;
        line-height: 52px;
        height: 26px;
    }

    .team-quotes__grid .team-quotes__text p {
        font-size: 18px;
        line-height: 30px;
        padding-top: 10px;
    }

    .team-quotes__grid .team-quotes__text .team-quotes__name {
        margin-top: 24px;
        font-size: 20px;
        line-height: 28px;
    }

    .team-quotes__grid .team-quotes__text .team-quotes__position {
        font-size: 16px;
        line-height: 24px;
    }

    .team-life__note p {
        width: 100%;
    }

    .team-life__slider .team-life__slider-list {
        gap: 16px;
    }

    .team-life__slider .team-life__slider-list img {
        width: clamp(260px, 78vw, 360px);
        border-radius: 12px;
    }

    .offices__grid .offices__card {
        padding: 18px;
    }

    .offices__grid .offices__card .offices__main {
        margin-bottom: 20px;
    }

    .offices__grid .offices__card .offices__main .offices__title p,
    .offices__grid .offices__card .offices__main p {
        font-size: 14px;
        line-height: 22px;
    }

    .offices__grid .offices__card a {
        width: 100%;
        text-align: center;
    }

    .offices__grid .offices__card img {
        height: 220px;
    }

    .intern-steps__body p {
        font-size: 16px;
        line-height: 26px;
    }

    .intern-values__card h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .intern-values__card p {
        font-size: 16px;
        line-height: 26px;
    }

    .faq .faq__list .faq__card {
        padding: 20px;
    }

    .faq .faq__list .faq__card .faq__main .faq__title {
        font-size: 20px;
        line-height: 30px;
    }

    .faq .faq__list .faq__card p {
        font-size: 16px;
        line-height: 26px;
    }

    .page-vacation .page__title .page__title-cash {
        font-size: 24px;
        line-height: 32px;
    }

    .vac__grid .vac__card li,
    .vac__grid .vac__card p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 480px) {
    .page-404 {
        min-height: calc(100vh - 104px);
    }

    .page-404__content {
        padding: 132px 0 64px;
    }

    .page-404__title a {
        width: 100%;
        margin-top: 32px;
        padding: 14px 20px;
    }

    .page-content {
        padding: 0 0 72px;
    }

    .page-content__title {
        margin-top: 132px;
        margin-bottom: 40px;
    }

    .page-content__body {
        font-size: 17px;
        line-height: 28px;
    }

    .page-content__body h1,
    .page-content__body h2,
    .page-content__body h3,
    .page-content__body h4,
    .page-content__body h5,
    .page-content__body h6 {
        margin-top: 40px;
        margin-bottom: 16px;
    }

    .page-content__body blockquote,
    .page-content__body .wp-block-quote,
    .page-content__body pre {
        padding: 20px;
    }

    .page-content__body .alignleft,
    .page-content__body .alignright,
    .page-content__body .alignwide,
    .page-content__body .alignfull {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    h1 {
        font-size: 34px;
        line-height: 40px;
    }

    h2 {
        font-size: 28px;
        line-height: 36px;
    }

    h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .section {
        margin: 72px 0;
    }

    .hero__grid .hero__main .hero__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .team__card-overlay {
        height: 320px;
    }

    .process__grid .process__line {
        left: 24px;
    }

    .process__grid .process__card {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .process__grid .process__card .process__card-stage {
        width: 50px;
        height: 50px;
        font-size: 14px;
        line-height: 22px;
    }

    .feedback-form__field textarea,
    .feedback-form__dropzone {
        min-height: 150px;
    }

    .team-quotes__grid .team-quotes__preview img {
        max-width: 72px;
    }
}
