/*
Theme Name: ИРСТА
Theme URI: https://irsta.ru/
Author: ИРСТА
Author URI: https://irsta.ru/
Description: Корпоративный сайт ООО «ИРСТА»
Version: 1.0.0
Text Domain: irsta
*/

:root {

    --color-bg: #0a0a0a;
    --color-surface: #111111;
    --color-surface-hover: #171717;

    --color-text: #f5f5f5;
    --color-text-muted: #a3a3a3;
    --color-text-subtle: #858585;

    --color-border: #262626;
    --color-border-hover: #3a3a3a;

    --color-accent: #22c55e;
    --color-accent-amber: #fdb022;

    --container-width: 1280px;
    --container-gutter: 40px;
    --section-space: 112px;

    --section-title-size: var(--title-section);
    --section-title-line: 1.05;
    --section-title-weight: 600;
    --section-title-spacing: -0.03em;

    --section-text-size: 16px;
    --body-line: 1.55;

    --text-xs: 12px;
    --text-sm: 14px;
    --text-md: 16px;
    --text-lg: 18px;

    --title-card: 24px;
    --title-section: 40px;
    --title-page: 64px;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--color-bg);
    color: var(--color-text);
    /* cursor: url("img/cursor.svg") 3 3, auto; */
}

/* Cursor glow */

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;

    width: 600px;
    height: 600px;

    pointer-events: none;
    z-index: 9999;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(253, 176, 34, 0.10) 0%,
            rgba(253, 176, 34, 0.06) 20%,
            rgba(253, 176, 34, 0.025) 45%,
            rgba(253, 176, 34, 0.008) 65%,
            transparent 75%);

    filter: blur(24px);

    opacity: 0;

    transform: translate3d(-1000px, -1000px, 0);

    mix-blend-mode: screen;

    transition: opacity 0.4s ease;

    will-change: transform;
}

.cursor-glow.is-visible {
    opacity: 1;
}

@media (hover: none),
(pointer: coarse) {
    .cursor-glow {
        display: none;
    }
}

/* Cursor glow end */

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img {
    max-width: 100%;
}

.container,
.life-container,
.feature-container,
.stats-container,
.geo-container,
.workflow-container,
.contact-container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-gutter);
}

.hero,
.life-section,
.feature-section,
.stats-section,
.geo-section,
.workflow-section,
.contact-section {
    width: 100%;
    padding-bottom: var(--section-space);
    background: var(--color-bg);
}

.feature-title,
.stats-title,
.geo-title,
.workflow-title,
.contact-title {
    margin: 0;

    font-size: var(--section-title-size);
    line-height: var(--section-title-line);
    font-weight: var(--section-title-weight);
    letter-spacing: var(--section-title-spacing);

    color: var(--color-text);
}

.feature-text,
.stats-description,
.workflow-description,
.contact-description {
    margin: 0;

    font-size: var(--section-text-size);
    line-height: var(--body-line);
    font-weight: 400;

    color: var(--color-text-muted);
}

.company-scale__badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 6px;
    padding: 4px 12px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);

    background: var(--color-surface-hover);
    color: var(--color-text);

    font-size: var(--text-xs);
    line-height: 1.55;
    font-weight: 500;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.company-scale__dot-wrap {
    position: relative;

    display: grid;
    place-items: center;

    width: 8px;
    height: 8px;
}

.company-scale__dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--color-accent-amber);
}

.company-scale__dot-ping {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background: rgba(253, 176, 34, 0.45);

    animation:
        company-scale-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes company-scale-ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.button {
    min-height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
    padding: 0 16px;

    border: 1px solid transparent;
    border-radius: var(--radius-pill);

    background: none;
    color: inherit;

    font-size: var(--text-sm);
    font-weight: 550;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

.button:active {
    transform: translateY(1px);
}

.button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.button-primary {
    background: var(--color-text);
    color: var(--color-bg);
}

.button-primary:hover {
    background: #dedede;
}

.button-outline {
    border-color: var(--color-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text);
}

.button-outline:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
}

.button-lg {
    min-height: 42px;
    padding-inline: 18px;
}

.hero {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    min-height: fit-content;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    opacity: 0.4;

    background-image:
        radial-gradient(rgba(255, 255, 255, 0.12) 0.5px,
            transparent 0.5px);

    background-size: 20px 20px;

    mask-image:
        radial-gradient(ellipse 60% 60% at 30% 50%,
            black,
            transparent 80%);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: var(--text-md);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--color-text);
    color: var(--color-bg);

    font-size: var(--text-sm);
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;

    gap: 28px;
}

.nav a {
    color: var(--color-text-muted);

    font-size: var(--text-sm);

    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--color-text);
}

.nav a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 5px;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);

    gap: 48px;
    align-items: center;

    padding-top: 80px;
}

.hero-copy {
    display: flex;
    flex-direction: column;

    gap: 24px;
}

.hero-title {
    max-width: 700px;

    font-size: var(--title-page);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 650;
}

.hero-text {
    max-width: 470px;

    color: var(--color-text-muted);

    font-size: var(--text-lg);
    line-height: var(--body-line);
}

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 12px;
}

.arrow {
    width: 17px;
    height: 17px;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.card {
    display: flex;
    flex-direction: column;

    gap: 14px;

    min-height: 180px;

    padding: 20px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    background: var(--color-surface);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.card-wide {
    grid-column: span 2;
}

.card-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
}

.card-icon svg {
    width: 17px;
    height: 17px;
}

.card-title {
    margin-top: 4px;

    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card-text {
    color: var(--color-text-muted);

    font-size: var(--text-xs);
    line-height: var(--body-line);
}

.menu-button {
    display: none;

    width: 36px;
    height: 36px;

    padding: 0;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: flex;
    flex-direction: column;

    background: var(--color-bg);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    border-bottom: 1px solid var(--color-border);
}

.life-section {
    overflow: hidden;
    color: var(--color-text);
}

.life-head {
    max-width: 720px;

    margin-bottom: 48px;
}

.life-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    font-weight: 500;
}

.life-head h2 {
    margin: 0 0 18px;

    font-size: var(--section-title-size);
    line-height: var(--section-title-line);
    letter-spacing: var(--section-title-spacing);
    font-weight: var(--section-title-weight);
}

.life-head p {
    max-width: 620px;

    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--section-text-size);
    line-height: var(--body-line);
}

.irtsa-swiper {
    overflow: visible;
}

.irtsa-swiper .swiper-slide {
    height: auto;
}

.life-card {
    position: relative;

    height: 500px;

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);

    background: var(--color-surface);
}

.life-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.life-card:hover img {
    transform: scale(1.025);
}

.life-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.05) 100%);

    pointer-events: none;
}

.life-card-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
    padding: 28px;
}

.life-card-overlay>span {
    color: rgba(255, 255, 255, 0.55);

    font-size: var(--text-sm);
}

.life-card-overlay h3 {
    margin: 0 0 7px;

    font-size: var(--title-card);
    font-weight: 550;
    letter-spacing: -0.025em;
}

.life-card-overlay p {
    max-width: 290px;

    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: var(--text-sm);
    line-height: var(--body-line);
}

.real-photo-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 7px;
    padding: 7px 10px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);

    background: rgba(10, 10, 10, 0.55);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: var(--color-text);

    font-size: var(--text-xs);
    font-weight: 500;
}

.real-photo-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--color-accent);
}

.life-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 28px;
}

.life-controls .swiper-pagination {
    position: static;

    width: auto;

    display: flex;
    align-items: center;

    gap: 6px;
}

.life-controls .swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    margin: 0 !important;

    background: #555;
    opacity: 1;

    transition: width 0.25s ease;
}

.life-controls .swiper-pagination-bullet-active {
    width: 26px;

    border-radius: 20px;

    background: var(--color-text);
}

.life-arrows {
    display: flex;

    gap: 8px;
}

.life-arrow {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid var(--color-border);
    border-radius: 50%;

    background: var(--color-surface);
    color: var(--color-text);

    font-size: 20px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.life-arrow:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
}

.life-arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.feature-layout {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);

    gap: 96px;
    align-items: stretch;
}

.feature-content {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #e5e5e5;

    font-size: var(--text-sm);
    line-height: var(--body-line);
}

.feature-check {
    display: grid;
    place-items: center;

    flex: 0 0 16px;

    width: 16px;
    height: 16px;

    margin-top: 2px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

.feature-check svg {
    width: 10px;
    height: 10px;

    fill: none;

    stroke: var(--color-accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-image {
    position: relative;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--color-surface);
}

.feature-image img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.stats-section {
    color: var(--color-text);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;

    align-items: center;

    gap: 64px;
}

.stats-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 24px;
}

.stats-description {
    max-width: 448px;
}

.stats-list {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin: 0;
}

.stats-card {
    display: grid;
    grid-template-columns: 6px 1fr auto;

    align-items: center;

    gap: 16px;
    padding: 16px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: #0f0f0f;
}

.stats-bar {
    display: block;

    width: 4px;
    height: 48px;

    border-radius: var(--radius-pill);
}

.stats-bar--sky {
    background: #0ea5e9;
}

.stats-bar--emerald {
    background: var(--color-accent);
}

.stats-bar--amber {
    background: #f59e0b;
}

.stats-bar--rose {
    background: #f43f5e;
}

.stats-name {
    margin: 0;

    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: var(--body-line);
    font-weight: 500;
}

.stats-subtitle {
    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: var(--body-line);
    font-weight: 400;
}

.geo-section {
    overflow: hidden;

    color: var(--color-text);
}

.geo-heading {
    max-width: 620px;

    display: flex;
    flex-direction: column;

    gap: 24px;
}

.geo-map {
    position: relative;

    width: calc(100vw - 80px);

    margin-left: calc(50% - 50vw + 40px);

    overflow: visible;
}

.geo-map-image {
    display: block;

    width: 100%;
    height: auto;

    opacity: 0.72;

    filter:
        grayscale(1) brightness(1.15) contrast(0.95);
}

.geo-point {
    position: absolute;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 10px;
}

.geo-point--irkutsk {
    left: 59%;
    top: 86%;
}

.geo-point--dikson {
    left: 46%;
    top: 33%;
}

.geo-point--lodochnoe {
    left: 46%;
    top: 49%;
}

.geo-point--tagulskoe {
    left: 39%;
    top: 53%;
    flex-direction: row-reverse;
}

.geo-point--pescovoe {
    left: 34%;
    top: 46%;
    flex-direction: row-reverse;
}

.geo-point--volkovskoe {
    left: 21%;
    top: 59%;
    flex-direction: row-reverse;
}

.geo-point--tokinskoe {
    left: 68%;
    top: 70%;
}

.geo-point--suzunskoe {
    left: 47%;
    top: 42%;
}

.geo-point__marker {
    position: relative;

    display: block;

    width: 10px;
    height: 10px;

    flex: 0 0 10px;

    border-radius: 50%;

    background: var(--color-accent-amber);

    box-shadow:
        0 0 0 4px rgba(253, 176, 34, 0.14),
        0 0 18px rgba(253, 176, 34, 0.5);
}

.geo-point__pulse {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background: var(--color-accent-amber);

    animation: geo-point-pulse 2s ease-out infinite;
}

@keyframes geo-point-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70%,
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.geo-point__label {
    display: flex;
    flex-direction: column;

    gap: 2px;
    padding: 7px 10px;

    border: 1px solid var(--color-border);
    border-radius: 8px;

    background: rgba(10, 10, 10, 0.88);

    white-space: nowrap;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.geo-point__city {
    color: var(--color-text);

    font-size: var(--text-xs);
    line-height: var(--body-line);
    font-weight: 600;
}

.geo-point__field {
    color: var(--color-text-muted);

    font-size: var(--text-xs);
    line-height: var(--body-line);
    font-weight: 400;
}

.workflow-section {
    color: var(--color-text);
}

.workflow-layout {
    display: flex;

    gap: 64px;
}

.workflow-sidebar {
    width: 280px;

    flex-shrink: 0;
}

.workflow-sidebar__sticky {
    position: sticky;
    top: 96px;

    display: flex;
    flex-direction: column;

    gap: 24px;
}

.workflow-description {
    max-width: 280px;
}

.workflow-list {
    display: flex;
    flex: 1;
    flex-direction: column;

    min-width: 0;
}

.workflow-item {
    display: flex;

    gap: 24px;
    padding: 32px 0;

    border-top: 1px solid var(--color-border);
}

.workflow-item:first-child {
    border-top: none;
}

.workflow-number {
    width: 24px;

    flex-shrink: 0;

    padding-top: 2px;

    color: var(--color-text-muted);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: var(--text-xs);
    line-height: var(--body-line);
    font-variant-numeric: tabular-nums;
}

.workflow-content {
    min-width: 0;
}

.workflow-item__title {
    margin: 0;

    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: var(--body-line);
    font-weight: 600;
}

.workflow-item__description {
    margin: 8px 0 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: var(--body-line);
}

.contact-section {
    color: var(--color-text);
}

.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr) minmax(360px, 1fr);

    gap: 64px;
    align-items: start;

    padding: 64px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);

    background: var(--color-surface);
}

.contact-content {
    display: flex;
    flex-direction: column;

    gap: 24px;

    max-width: 500px;
}

.contact-description {
    max-width: 470px;
}

.contact-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.contact-label {
    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: var(--body-line);
}

.contact-input {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    outline: none;

    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text);

    font-family: inherit;
    font-size: var(--text-sm);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-input::placeholder {
    color: #666666;
}

.contact-input:hover {
    border-color: var(--color-border-hover);
}

.contact-input:focus {
    border-color: #525252;
    background: rgba(255, 255, 255, 0.04);
}

.contact-input:focus-visible {
    border-color: #666666;

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.06);
}

.contact-submit {
    width: 100%;
    min-height: 48px;

    margin-top: 4px;
}

.contact-submit__arrow {
    width: 17px;
    height: 17px;
}

.contact-policy {
    margin: -4px 0 0;

    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: var(--body-line);
}

@media (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: 1fr;

        gap: 48px;
    }
}

@media (max-width: 900px) {

    :root {
        --section-space: 80px;
    }

    .nav {
        display: none;
    }

    .desktop-action {
        display: none;
    }

    .menu-button {
        display: inline-flex;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 48px;

        padding-top: 64px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .bento {
        max-width: 700px;
    }

    .life-card {
        height: 440px;
    }

    .feature-layout {
        grid-template-columns: 45% minmax(0, 1fr);

        gap: 56px;
    }

    .workflow-layout {
        gap: 48px;
    }

    .workflow-sidebar {
        width: 240px;
    }

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 48px;
    }

    .contact-content {
        max-width: 620px;
    }

    .contact-description {
        max-width: 560px;
    }
}

@media (max-width: 640px) {

    :root {
        --container-gutter: 20px;
        --section-space: 64px;

        --section-title-size: 30px;
        --title-page: 48px;
    }

    .header {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .hero-content {
        padding-top: 48px;
    }

    .hero-title {
        font-size: var(--title-page);
    }

    .hero-text {
        font-size: var(--text-md);
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .card,
    .card-wide {
        grid-column: auto;
    }



    .life-head {
        margin-bottom: 32px;
    }

    .life-card {
        height: 420px;

        border-radius: 22px;
    }

    .life-card-overlay {
        padding: 22px;
    }

    .life-card-overlay h3 {
        font-size: 20px;
    }

    .feature-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .feature-image {
        width: 100%;

        aspect-ratio: 4 / 3;

        border-radius: 20px;
    }

    .stats-subtitle {
        text-align: right;
    }

    .geo-map {
        width: calc(100vw - 40px);

        margin-top: 32px;
        margin-left: calc(50% - 50vw + 20px);
    }

    .geo-map-image {
        opacity: 0.68;
    }

    .geo-point {
        gap: 5px;
    }

    .geo-point__marker {
        width: 7px;
        height: 7px;

        flex: 0 0 7px;
    }

    .geo-point__label {
        gap: 1px;
        padding: 4px 6px;

        border-radius: 6px;
    }

    .geo-point__city,
    .geo-point__field {
        font-size: 9px;
        line-height: 1.25;
    }

    .workflow-layout {
        flex-direction: column;

        gap: 32px;
    }

    .workflow-sidebar {
        width: 100%;
    }

    .workflow-sidebar__sticky {
        position: static;
    }

    .workflow-title,
    .workflow-description {
        max-width: 420px;
    }

    .contact-layout {
        gap: 40px;

        padding: 28px 20px;

        border-radius: 22px;
    }
}

@media (max-width: 520px) {
    .feature-image {
        aspect-ratio: 1 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--color-border);
    border-radius: 50%;

    background: var(--color-surface);
    color: var(--color-text);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
}

.scroll-top:active {
    transform: translateY(1px);
}

.scroll-top:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.scroll-top svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {

    .scroll-top {
        right: 16px;
        bottom: 16px;

        width: 44px;
        height: 44px;
    }

}

/* Hero entrance animation */

@media (prefers-reduced-motion: no-preference) {

    .hero .header {
        animation: hero-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero .hero-copy {
        animation: hero-enter 0.7s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero .bento {
        animation: hero-enter 0.7s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes hero-enter {
        from {
            opacity: 0.01;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Hero entrance animation end */

.mobile-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-height: 0;

    padding: 20px;

    overflow-y: auto;
}

.mobile-nav>a {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 56px;

    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    color: var(--color-text);
    text-decoration: none;

    font-size: 28px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.035em;

    transition:
        background 0.22s ease;
}

.mobile-nav>a:last-child {
    border-bottom: 0;
}

.mobile-nav>a::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 3px;
    height: 0;

    border-radius: 2px;

    background: var(--color-accent-amber);

    opacity: 0;

    transform: translateY(-50%);

    transition:
        height 0.22s ease,
        opacity 0.22s ease;
}

.mobile-nav>a:focus-visible {
    outline: none;

    background: linear-gradient(90deg,
            rgba(253, 176, 34, 0.045),
            transparent 55%);
}

.mobile-nav>a:focus-visible::before {
    height: 24px;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {

    .mobile-nav>a:hover {
        background: linear-gradient(90deg,
                rgba(253, 176, 34, 0.045),
                transparent 55%);
    }

    .mobile-nav>a:hover::before {
        height: 24px;
        opacity: 1;
    }

}

.mobile-recruiter {
    position: relative;

    display: block;

    flex: 0 0 auto;

    width: 100%;

    padding: 20px;

    border-top: 1px solid var(--color-border);
}

.mobile-recruiter::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 20px;

    width: 50px;
    height: 2px;

    background: var(--color-accent-amber);
}

.mobile-recruiter__person {
    display: flex;
    align-items: baseline;
    gap: 8px;

    margin-bottom: 7px;
}

.mobile-recruiter__name {
    color: var(--color-text);

    font-size: var(--text-xs);
    line-height: 1.3;
    font-weight: 600;
}

.mobile-recruiter__role {
    color: var(--color-accent-amber);

    font-size: var(--text-xs);
    line-height: 1.3;
    font-weight: 500;
}

.mobile-recruiter__phone {
    display: block;

    width: fit-content;

    color: var(--color-text);
    text-decoration: none;

    font-size: var(--title-card);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mobile-recruiter__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-top: 9px;

    font-size: var(--text-xs);
    line-height: 1.4;
}

.mobile-recruiter__meta a {
    flex: 0 0 auto;

    color: var(--color-text-muted);
    text-decoration: none;
}

.mobile-recruiter__meta span {
    min-width: 0;

    color: var(--color-text-subtle);

    text-align: right;
}

.mobile-actions {
    display: flex;

    flex: 0 0 auto;

    width: 100%;

    padding: 20px;

    border-top: 1px solid var(--color-border);

    background: var(--color-bg);
}

.mobile-actions .button {
    width: 100%;
}

.contact-error {
    display: none;

    margin-top: 2px;

    color: #ef4444;

    font-size: var(--text-xs);
    line-height: 1.4;
}

.contact-field.has-error .contact-error {
    display: block;
}

.contact-field.has-error .contact-input {
    border-color: #ef4444;
}

.contact-field.has-error .contact-input:focus {
    border-color: #ef4444;

    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.12);
}

.contact-consent {
    margin-top: 4px;
}

.contact-checkbox {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    width: fit-content;

    cursor: pointer;
    user-select: none;
}

.contact-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.contact-checkbox__box {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    margin-top: 1px;

    border: 1px solid var(--color-border);
    border-radius: 4px;

    background: transparent;

    color: var(--color-bg);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-checkbox__box svg {
    width: 10px;
    height: 8px;

    opacity: 0;
    transform: scale(0.7);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}

.contact-checkbox input:checked+.contact-checkbox__box {
    border-color: var(--color-accent-amber);
    background: var(--color-accent-amber);
}

.contact-checkbox input:checked+.contact-checkbox__box svg {
    opacity: 1;
    transform: scale(1);
}

.contact-checkbox input:focus-visible+.contact-checkbox__box {
    border-color: var(--color-accent-amber);

    box-shadow:
        0 0 0 3px rgba(253, 176, 34, 0.12);
}

.contact-checkbox__text {
    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.5;
}

.contact-checkbox__text a {
    color: var(--color-text);

    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.contact-checkbox__text a:hover {
    color: var(--color-accent-amber);
    text-decoration-color: var(--color-accent-amber);
}

.contact-consent.has-error .contact-checkbox__box {
    border-color: #ef4444;
}

.contact-consent__error {
    margin-top: 8px;
    margin-left: 28px;
}

.contact-consent.has-error .contact-consent__error {
    display: block;
}

@media (max-width: 640px) {
    .contact-checkbox__text {
        font-size: var(--text-xs);
        line-height: 1.5;
    }
}

/* contact */

/* contact HERO */

.contact-hero {
    width: 100%;

    padding: 80px 0;

    background: var(--color-bg);
    color: var(--color-text);
}

.contact-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    max-width: 760px;

    gap: 24px;
}

.contact-hero__title {
    max-width: 760px;

    margin: 0;

    color: var(--color-text);

    font-size: var(--title-page);
    line-height: 0.96;
    font-weight: 650;
    letter-spacing: -0.055em;
}

.contact-hero__description {
    max-width: 520px;

    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--text-lg);
    line-height: var(--body-line);
}



/* contact PEOPLE */

.contact-people-section {
    width: 100%;

    padding-bottom: var(--section-space);

    background: var(--color-bg);
    color: var(--color-text);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}



/* PERSON CARD */

.person-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);

    min-width: 0;
    min-height: 300px;

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);

    background: var(--color-surface);

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

    .person-card:hover {
        border-color: var(--color-border-hover);

        background: var(--color-surface-hover);

        transform: translateY(-2px);
    }

}

.person-card__photo {
    position: relative;

    min-width: 0;
    min-height: 100%;

    overflow: hidden;

    background: #161616;
}

.person-card__photo::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.22),
            transparent 45%);
}

.person-card__photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        saturate(0.88) contrast(1.02);

    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {

    .person-card:hover .person-card__photo img {
        transform: scale(1.025);

        filter:
            saturate(1) contrast(1.02);
    }

}

.person-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;

    gap: 28px;

    padding: 28px;
}

.person-card__role {
    display: block;

    margin-bottom: 10px;

    color: var(--color-accent-amber);

    font-size: var(--text-xs);
    line-height: 1.4;
    font-weight: 550;
    letter-spacing: 0.02em;
}

.person-card__name {
    margin: 0;

    color: var(--color-text);

    font-size: var(--title-card);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.person-card__description {
    max-width: 330px;

    margin: 12px 0 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.55;
}

.person-card__links {
    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--color-border);
}

.person-card__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-width: 0;

    gap: 16px;

    padding: 12px 0;

    border-bottom: 1px solid var(--color-border);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.person-card__links a:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.person-card__links span {
    flex: 0 0 auto;

    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
}

.person-card__links strong {
    min-width: 0;

    overflow: hidden;

    color: var(--color-text);

    font-size: var(--text-xs);
    line-height: 1.4;
    font-weight: 500;

    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;

    transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {

    .person-card__links a:hover strong {
        color: var(--color-accent-amber);
    }

}

.person-card__links a:focus-visible {
    outline: 2px solid rgba(253, 176, 34, 0.55);
    outline-offset: 4px;

    border-radius: 2px;
}


/* Requisites */

.contact-details-section {
    width: 100%;

    padding-bottom: var(--section-space);

    background: var(--color-bg);
    color: var(--color-text);
}


/* Requisites layout */

.requisites-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}


/* Requisites intro */

.requisites-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
}


/* Requisites intro title */

.requisites-intro__title {
    max-width: 320px;

    margin: 0;

    color: var(--color-text);

    font-size: var(--title-section);
    line-height: var(--section-title-line);
    font-weight: var(--section-title-weight);
    letter-spacing: var(--section-title-spacing);
}


/* Requisites intro description */

.requisites-intro__description {
    max-width: 300px;

    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: var(--body-line);
}


/* Requisites card */

.requisites {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 32px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: transparent;

    transition:
        border-color 0.2s ease,
        box-shadow 0.25s ease;
}


/* Requisites card hover */

@media (hover: hover) and (pointer: fine) {

    .requisites:hover {
        border-color: var(--color-border-hover);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.22);
    }

}


/* Requisites top */

.requisites__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 28px;
}


/* Requisites company */

.requisites__company {
    display: flex;
    flex-direction: column;

    gap: 5px;

    min-width: 0;
}


/* Requisites company label */

.requisites__company-label {
    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
    font-weight: 400;
}


/* Requisites company name */

.requisites__company-name {
    margin: 0;

    color: var(--color-text);

    font-size: var(--title-card);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
}


/* Requisites copy */

.requisites-copy {
    flex: 0 0 auto;

    height: 36px;

    padding-inline: 12px;

    font-size: var(--text-xs);
}


/* Requisites copy icon */

.requisites-copy svg {
    flex: 0 0 auto;

    width: 15px;
    height: 15px;
}


/* Requisites copied */

.requisites-copy.is-copied {
    border-color: rgba(253, 176, 34, 0.35);

    background: rgba(253, 176, 34, 0.06);

    color: var(--color-accent-amber);
}


/* Requisites content */

.requisites__content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 0 24px;

    width: 100%;

    margin: 0;
    padding: 0;
}


/* Requisites item */

.requisites__item {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;

    padding: 12px 0;

    border-top: 1px solid var(--color-border);
}


/* Requisites full item */

.requisites__item--full {
    grid-column: 1 / -1;
}


/* Requisites item label */

.requisites__item dt {
    margin: 0;

    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
    font-weight: 400;
}


/* Requisites item value */

.requisites__item dd {
    min-width: 0;

    margin: 0;

    overflow-wrap: anywhere;

    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: 1.5;
    font-weight: 500;

    font-variant-numeric: tabular-nums;
}


/* Requisites link */

.requisites__item a {
    color: inherit;

    text-decoration: none;

    transition: color 0.2s ease;
}


@media (hover: hover) and (pointer: fine) {

    .requisites__item a:hover {
        color: var(--color-accent-amber);
    }

}


/* Requisites responsive */

@media (max-width: 900px) {

    .requisites-layout {
        grid-template-columns: 260px minmax(0, 1fr);

        gap: 48px;
    }


    .requisites {
        padding: 24px;
    }


    .requisites__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .requisites-layout {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .requisites-intro {
        gap: 14px;
    }


    .requisites-intro__description {
        max-width: 420px;
    }

}


@media (max-width: 480px) {

    .requisites {
        padding: 20px;
    }


    .requisites__top {
        align-items: flex-start;

        margin-bottom: 20px;
    }


    .requisites__company-name {
        font-size: 20px;
    }


    .requisites-copy {
        width: 36px;

        padding: 0;
    }


    .requisites-copy__text {
        display: none;
    }


    .requisites__content {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .requisites__item,
    .requisites__item--full {
        grid-column: 1;
    }

}

/* Requisites end */



/* CONTACT FORM POSITION */

.contact-details-section+.contact-section {
    padding-top: 0;
}



/* contact TABLET 1100 */

@media (max-width: 1100px) {

    .person-card {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .person-card__content {
        padding: 24px;
    }
}



/* contact TABLET 900 */

@media (max-width: 900px) {

    .contact-hero {
        padding-top: 72px;
        padding-bottom: 64px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .person-card {
        grid-template-columns: 210px minmax(0, 1fr);

        min-height: 300px;
    }


    .requisites-header {
        margin-bottom: 32px;
    }

    .requisites-header .company-scale__badge {
        margin-bottom: 28px;
    }

    .requisites-title {
        font-size: 36px;
    }

    .requisites-code__row {
        grid-template-columns: 190px minmax(0, 1fr);

        gap: 24px;
    }

}



/* contact MOBILE 640 */

@media (max-width: 640px) {

    .contact-hero {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .contact-hero__content {
        gap: 20px;
    }

    .contact-hero__description {
        max-width: 420px;

        font-size: var(--text-md);
    }


    .contact-people-section {
        padding-bottom: 64px;
    }

    .contact-grid {
        gap: 12px;
    }


    .person-card {
        display: flex;
        flex-direction: column;

        min-height: 0;

        border-radius: 20px;
    }

    .person-card__photo {
        width: 100%;

        min-height: 0;

        aspect-ratio: 16 / 10;
    }

    .person-card__photo img {
        object-position: center 30%;
    }

    .person-card__content {
        gap: 24px;

        padding: 22px 20px 20px;
    }

    .person-card__role {
        margin-bottom: 8px;

        font-size: var(--text-xs);
    }

    .person-card__name {
        font-size: var(--title-card);
    }

    .person-card__description {
        max-width: 100%;

        margin-top: 10px;

        font-size: var(--text-sm);
    }

    .person-card__links a {
        padding: 12px 0;
    }


    .contact-details-section {
        padding-bottom: 64px;
    }

    .requisites-header {
        margin-bottom: 28px;
    }

    .requisites-header .company-scale__badge {
        margin-bottom: 24px;
    }

    .requisites-title {
        font-size: 32px;
        line-height: 1.02;
    }

    .requisites-description {
        margin-top: 10px;

        font-size: var(--text-sm);
        line-height: 1.55;
    }


    .requisites-code {
        border-radius: 18px;
    }

    .requisites-code__header {
        min-height: 54px;

        gap: 12px;

        padding: 0 16px;
    }

    .requisites-code__file {
        gap: 8px;

        font-size: var(--text-xs);
    }

    .requisites-code__file-dot {
        width: 6px;
        height: 6px;
    }

    .requisites-code__content {
        padding: 10px 16px 14px;
    }

    .requisites-code__row {
        grid-template-columns: 1fr;

        gap: 4px;

        padding: 10px 0;
    }

    .requisites-code__row dt {
        font-size: var(--text-xs);
        line-height: 1.4;

        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .requisites-code__row dd {
        font-size: var(--text-xs);
        line-height: 1.5;
    }

    .requisites-code__row dd::before {
        display: none;
    }


    .requisites-copy {
        min-height: 32px;

        gap: 7px;

        padding: 0 10px;

        font-size: var(--text-xs);
    }

    .requisites-copy svg {
        width: 15px;
        height: 15px;
    }

}



/* contact SMALL MOBILE 420 */

@media (max-width: 420px) {
    .person-card__photo {
        aspect-ratio: 4 / 3;
    }

    .person-card__links a {
        flex-direction: column;
        align-items: flex-start;

        gap: 4px;
    }

    .person-card__links strong {
        width: 100%;

        text-align: left;
    }


    .requisites-title {
        font-size: 30px;
    }

    .requisites-code__header {
        padding: 0 14px;
    }

    .requisites-code__content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .requisites-copy__text {
        font-size: 0;
    }

    .requisites-copy__text::after {
        content: "Копировать";

        font-size: var(--text-xs);
    }

}



/* contact REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .person-card,
    .person-card__photo img,
    .requisites-copy {
        transition: none;
    }

}


/* SCROLL REVEAL */

.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);

    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* Breadcrumbs */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 32px;

    color: var(--color-text-subtle);
    font-size: var(--text-sm);
    line-height: 1.4;
}

.breadcrumbs a {
    color: var(--color-text-muted);
    text-decoration: none;

    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--color-text);
}

.breadcrumbs a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 4px;
    border-radius: 2px;
}

.breadcrumbs span[aria-current="page"] {
    color: var(--color-text-subtle);
}


/* Header back */

.header-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 36px;
    padding: 0 14px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);

    background: var(--color-surface);

    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1;
    font-weight: 500;
    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.header-back svg {
    flex: 0 0 auto;
}

.header-back:hover {
    color: var(--color-text);
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
}

.header-back:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

/* Privacy */

.privacy-page {
    width: 100%;

    padding-top: 80px;
    padding-bottom: var(--section-space);

    background: var(--color-bg);
    color: var(--color-text);
}


/* Privacy heading */

.privacy-heading {
    width: 100%;
    max-width: 760px;
    margin-bottom: 80px;
}

.privacy-heading .company-scale__badge {
    margin-bottom: 24px;
}

.privacy-title {
    margin: 0;

    color: var(--color-text);

    font-size: var(--title-section);
    line-height: var(--section-title-line);
    font-weight: var(--section-title-weight);
    letter-spacing: var(--section-title-spacing);
}

.privacy-description {
    width: 100%;
    max-width: 560px;

    margin: 24px 0 0;

    color: var(--color-text-muted);

    font-size: var(--text-lg);
    line-height: var(--body-line);
}


/* Privacy layout */

.privacy-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 720px);
    gap: 96px;
    align-items: start;

    width: 100%;

    border-top: 1px solid var(--color-border);
}


/* Privacy sidebar */

.privacy-sidebar {
    position: relative;

    align-self: stretch;

    min-width: 0;
}

.privacy-sidebar__inner {
    position: sticky;
    top: 32px;

    padding-top: 40px;
}

.privacy-sidebar__label {
    display: block;

    margin-bottom: 20px;

    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1;
    font-weight: 550;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Privacy nav */

.privacy-nav {
    display: flex;
    flex-direction: column;

    width: 100%;
}

.privacy-nav__link {
    position: relative;

    display: block;

    padding: 8px 0 8px 16px;

    color: var(--color-text-subtle);

    font-size: var(--text-sm);
    line-height: 1.4;
    font-weight: 450;
    text-decoration: none;

    transition:
        color 0.2s ease;
}

.privacy-nav__link::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 0;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--color-border-hover);

    transform: translateY(-50%);

    transition:
        width 0.2s ease,
        height 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.privacy-nav__link:hover {
    color: var(--color-text);
}

.privacy-nav__link:hover::before {
    background: var(--color-text-subtle);
}


/* Privacy nav active */

.privacy-nav__link.is-active {
    color: var(--color-text);
}

.privacy-nav__link.is-active::before {
    width: 6px;
    height: 6px;

    background: var(--color-accent-amber);

    box-shadow:
        0 0 0 4px rgba(253, 176, 34, 0.06),
        0 0 12px rgba(253, 176, 34, 0.28);
}


/* Privacy document */

.privacy-document {
    width: 100%;
    min-width: 0;
}


/* Privacy intro */

.privacy-intro {
    padding: 40px 0 48px;
}

.privacy-intro p {
    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--text-md);
    line-height: 1.65;
}

.privacy-intro p+p {
    margin-top: 16px;
}


/* Privacy block */

.privacy-block {
    width: 100%;

    padding: 48px 0;

    border-top: 1px solid var(--color-border);

    scroll-margin-top: 40px;
}

.privacy-block--last {
    border-bottom: 1px solid var(--color-border);
}

.privacy-block h2 {
    margin: 0 0 24px;

    color: var(--color-text);

    font-size: var(--title-card);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.privacy-block p {
    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--text-md);
    line-height: 1.7;
}

.privacy-block p+p {
    margin-top: 16px;
}


/* Privacy list */

.privacy-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin: 20px 0;
    padding: 0;

    list-style: none;
}

.privacy-block li {
    position: relative;

    padding-left: 20px;

    color: var(--color-text-muted);

    font-size: var(--text-md);
    line-height: 1.6;
}

.privacy-block li::before {
    content: "";

    position: absolute;
    top: 0.72em;
    left: 0;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--color-accent-amber);
}


/* Privacy contact */

.privacy-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 24px;
    padding: 10px 14px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);

    background: var(--color-surface);

    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: 1;
    font-weight: 550;
    text-decoration: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.privacy-contact-link svg {
    flex: 0 0 auto;

    transition: transform 0.2s ease;
}

.privacy-contact-link:hover {
    border-color: var(--color-border-hover);

    background: var(--color-surface-hover);
}

.privacy-contact-link:hover svg {
    transform: translateX(3px);
}


/* Privacy responsive */

@media (max-width: 1000px) {

    .privacy-layout {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 64px;
    }

}


@media (max-width: 800px) {

    .privacy-heading {
        margin-top: 64px;
        margin-bottom: 64px;
    }

    .privacy-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .privacy-sidebar {
        display: none;
    }

    .privacy-document {
        width: 100%;
        max-width: 720px;
    }

}


@media (max-width: 640px) {

    .privacy-page {
        padding-top: 16px;
    }


    /* Privacy heading */

    .privacy-heading {
        margin-top: 48px;
        margin-bottom: 48px;
    }

    .privacy-heading .company-scale__badge {
        margin-bottom: 24px;
    }

    .privacy-description {
        margin-top: 20px;

        font-size: var(--text-md);
    }


    /* Privacy intro */

    .privacy-intro {
        padding: 32px 0 40px;
    }

    .privacy-intro p {
        font-size: var(--text-sm);
    }


    /* Privacy block */

    .privacy-block {
        padding: 40px 0;

        scroll-margin-top: 24px;
    }

    .privacy-block h2 {
        margin-bottom: 20px;
    }

    .privacy-block p,
    .privacy-block li {
        font-size: var(--text-sm);
    }

}


@media (max-width: 420px) {

    .privacy-heading {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .privacy-block {
        padding: 32px 0;
    }

}

/* Privacy end */

/* Reviews */

.reviews-section {
    width: 100%;

    padding-bottom: var(--section-space);

    background: var(--color-bg);
    color: var(--color-text);
}


/* Reviews title */

.reviews-title {
    margin: 0 0 32px;

    color: var(--color-text);

    font-size: var(--title-section);
    line-height: var(--section-title-line);
    font-weight: var(--section-title-weight);
    letter-spacing: var(--section-title-spacing);
}


/* Reviews layout */

.reviews-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);

    gap: 48px;
    align-items: start;
}


/* Reviews summary */

.reviews-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 24px;
}


/* Reviews summary rating */

.reviews-summary__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Reviews summary score */

.reviews-summary__score {
    color: var(--color-text);

    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
}


/* Reviews summary stars */

.reviews-summary__stars {
    display: flex;
    align-items: center;

    gap: 4px;

    margin-top: 8px;

    color: var(--color-accent-amber);
}


/* Reviews summary star */

.reviews-summary__stars svg {
    display: block;

    width: 20px;
    height: 20px;

    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
}


/* Reviews summary muted star */

.reviews-summary__stars .reviews-summary__star-muted {
    opacity: 0.15;
}


/* Reviews summary count */

.reviews-summary__count {
    margin: 4px 0 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.5;
}


/* Reviews summary button */

.reviews-summary__button {
    width: fit-content;
}


/* Reviews summary button icon */

.reviews-summary__button svg {
    flex: 0 0 auto;
}


/* Reviews list */

.reviews-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* Review card */

.review-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 20px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: var(--color-surface);

    transition:
        border-color 0.2s ease,
        box-shadow 0.25s ease;
}


/* Review card hover */

@media (hover: hover) and (pointer: fine) {

    .review-card:hover {
        border-color: var(--color-border-hover);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.22);
    }

}


/* Review card header */

.review-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;
}


/* Review card author */

.review-card__author {
    display: flex;
    flex-direction: column;

    gap: 3px;

    min-width: 0;
}


/* Review card position */

.review-card__position {
    margin: 0;

    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: 1.4;
    font-weight: 500;
}


/* Review card experience */

.review-card__experience {
    color: var(--color-text-muted);

    font-size: var(--text-xs);
    line-height: 1.4;
}


/* Review card meta */

.review-card__meta {
    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
}


/* Review card stars */

.review-card__stars {
    display: flex;
    align-items: center;

    gap: 2px;

    flex: 0 0 auto;

    color: var(--color-accent-amber);

    font-size: 14px;
    line-height: 1;
}


/* Review card content */

.review-card__content {
    margin-top: 20px;
}


/* Review card label */

.review-card__label {
    margin: 0;

    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: 1.4;
    font-weight: 500;
}


/* Review card text */

.review-card__text {
    margin: 6px 0 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.6;
    font-weight: 400;
}


/* Review card benefits */

.review-card__benefits {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 18px;
}


/* Reviews responsive */

@media (max-width: 900px) {

    .reviews-layout {
        grid-template-columns: 220px minmax(0, 1fr);

        gap: 40px;
    }


    .reviews-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .reviews-title {
        margin-bottom: 28px;
    }


    .reviews-layout {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .reviews-summary {
        gap: 20px;
    }


    .reviews-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 560px) {

    .reviews-list {
        grid-template-columns: 1fr;
    }


    .review-card {
        padding: 20px;
    }

}


@media (max-width: 480px) {

    .reviews-summary__score {
        font-size: 48px;
    }


    .review-card__header {
        flex-direction: column;

        gap: 12px;
    }

}

/* Reviews end */

/* Vacancy */

/* Vacancy hero */

.vacancy-hero {
    padding: 80px 0 48px;
}


/* Vacancy breadcrumbs */

.vacancy-hero .breadcrumbs {
    flex-wrap: wrap;
    margin-bottom: 20px;
}


/* Vacancy hero card */

.vacancy-hero__card {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);

    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    background: var(--color-surface);
}


/* Vacancy hero main */

.vacancy-hero__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 28px 32px;
}


/* Vacancy hero title */

.vacancy-hero__title {
    margin: 24px 0 0;

    color: var(--color-text);

    font-size: 48px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.04em;
}


/* Vacancy hero about */

.vacancy-hero__about {
    max-width: 620px;

    margin: 18px 0 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.55;
}


/* Vacancy hero button */

.vacancy-hero__button {
    margin-top: 24px;
}


/* Vacancy hero aside */

.vacancy-hero__aside {
    display: grid;
    grid-template-rows: auto 1fr;

    border-left: 1px solid var(--color-border);

    background: var(--color-bg);
}


/* Vacancy hero salary */

.vacancy-hero__salary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 12px;

    padding: 24px;

    border-bottom: 1px solid var(--color-border);
}


/* Vacancy hero salary label */

.vacancy-hero__salary-label {
    grid-column: 1 / -1;

    margin-bottom: 8px;

    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
    font-weight: 500;
}


/* Vacancy hero salary value */

.vacancy-hero__salary strong {
    color: var(--color-text);

    font-size: 25px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.03em;
}


/* Vacancy hero salary note */

.vacancy-hero__salary-note {
    padding-bottom: 2px;

    color: var(--color-text-muted);

    font-size: var(--text-xs);
    line-height: 1.4;
}


/* Vacancy hero facts */

.vacancy-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* Vacancy hero fact */

.vacancy-hero__fact {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 18px;

    padding: 18px;

    border-right: 1px solid var(--color-border);
}


.vacancy-hero__fact:last-child {
    border-right: 0;
}


/* Vacancy hero fact icon */

.vacancy-hero__fact-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-border);
    border-radius: 8px;

    background: var(--color-surface);

    color: var(--color-text-muted);
}


/* Vacancy hero fact content */

.vacancy-hero__fact-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


/* Vacancy hero fact label */

.vacancy-hero__fact-content span {
    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
}


/* Vacancy hero fact value */

.vacancy-hero__fact-content strong {
    color: var(--color-text);

    font-size: var(--text-sm);
    line-height: 1.35;
    font-weight: 550;
}


/* Vacancy section */

.vacancy-section {
    padding: 24px 0 64px;
}


/* Vacancy layout */

.vacancy-layout {
    width: 100%;
}


/* Vacancy block */

.vacancy-block {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);

    gap: 64px;

    padding: 48px 0;

    border-bottom: 1px solid var(--color-border);
}


.vacancy-block:first-child {
    padding-top: 0;
}


/* Vacancy block heading */

.vacancy-block__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Vacancy block title */

.vacancy-block__title {
    max-width: 280px;

    margin: 14px 0 0;

    color: var(--color-text);

    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
}


/* Vacancy list */

.vacancy-list {
    width: 100%;

    display: flex;
    flex-direction: column;
}


/* Vacancy list item */

.vacancy-list__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);

    gap: 14px;

    padding: 13px 0;

    border-bottom: 1px solid var(--color-border);
}


.vacancy-list__item:first-child {
    padding-top: 2px;
}


.vacancy-list__item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


/* Vacancy list number */

.vacancy-list__item>span {
    padding-top: 2px;

    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.5;
    font-weight: 500;
}


/* Vacancy list text */

.vacancy-list__item p {
    max-width: 720px;

    margin: 0;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.55;
}


/* Vacancy salary */

.vacancy-block--salary {
    align-items: start;
}


/* Vacancy stats */

.vacancy-stats {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;
}


/* Vacancy stat */

.vacancy-stat {
    min-width: 0;
    min-height: 112px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 16px;

    padding: 18px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: var(--color-surface);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.vacancy-stat:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
}


/* Vacancy stat value */

.vacancy-stat strong {
    color: var(--color-text);

    font-size: 20px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.025em;
}


/* Vacancy stat description */

.vacancy-stat span {
    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.4;
}


/* Vacancy conditions */

.vacancy-block--conditions {
    align-items: start;
}


/* Vacancy benefits */

.vacancy-benefits {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
}


/* Vacancy benefit */

.vacancy-benefit {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 20px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);

    background: var(--color-surface);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.vacancy-benefit:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
    transform: translateY(-2px);
}


/* Vacancy benefit top */

.vacancy-benefit__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;
}


/* Vacancy benefit icon */

.vacancy-benefit__icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-border);
    border-radius: 10px;

    background: var(--color-bg);

    color: var(--color-text);
}


.vacancy-benefit__icon svg {
    display: block;
}


/* Vacancy benefit number */

.vacancy-benefit__number {
    color: var(--color-text-subtle);

    font-size: var(--text-xs);
    line-height: 1.4;
    font-weight: 500;
}


/* Vacancy benefit title */

.vacancy-benefit__title {
    margin: 28px 0 0;

    color: var(--color-text);

    font-size: var(--text-md);
    line-height: 1.35;
    font-weight: 550;
}


/* Vacancy benefit divider */

.vacancy-benefit__divider {
    width: 100%;
    height: 1px;

    margin-top: 16px;

    background: var(--color-border);
}


/* Vacancy benefit list */

.vacancy-benefit__list {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}


/* Vacancy benefit list item */

.vacancy-benefit__list li {
    position: relative;

    padding-left: 14px;

    color: var(--color-text-muted);

    font-size: var(--text-sm);
    line-height: 1.45;
}


/* Vacancy benefit bullet */

.vacancy-benefit__list li::before {
    content: "";

    position: absolute;
    top: 0.65em;
    left: 0;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--color-text-subtle);
}


/* Vacancy adaptation */

.vacancy-adaptation {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    margin-top: 48px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    background: var(--color-surface);
}


/* Vacancy adaptation image */

.vacancy-adaptation__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* Vacancy adaptation overlay */

.vacancy-adaptation__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(10, 10, 10, 0.88) 0%,
            rgba(10, 10, 10, 0.55) 42%,
            rgba(10, 10, 10, 0.12) 72%,
            rgba(10, 10, 10, 0.08) 100%),
        linear-gradient(0deg,
            rgba(10, 10, 10, 0.72) 0%,
            transparent 55%);

    pointer-events: none;
}


/* Vacancy adaptation content */

.vacancy-adaptation__content {
    position: relative;
    z-index: 1;

    min-height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

    padding: 28px;
}


/* Vacancy adaptation bottom */

.vacancy-adaptation__bottom {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;

    gap: 48px;
    align-items: end;
}


/* Vacancy adaptation title */

.vacancy-adaptation__title {
    margin: 0;

    color: var(--color-text);

    font-size: 40px;
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.035em;
}


/* Vacancy adaptation description */

.vacancy-adaptation__description {
    max-width: 420px;

    margin: 0;

    color: rgba(245, 245, 245, 0.78);

    font-size: var(--text-sm);
    line-height: 1.6;
}


/* Vacancy responsive */

@media (max-width: 1100px) {

    .vacancy-hero__card {
        grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    }


    .vacancy-block {
        grid-template-columns: 240px minmax(0, 1fr);

        gap: 44px;
    }


    .vacancy-block__title {
        max-width: 240px;
    }


    .vacancy-adaptation__bottom {
        grid-template-columns: minmax(0, 1fr) 360px;

        gap: 32px;
    }

}


/* Vacancy tablet */

@media (max-width: 900px) {

    .vacancy-hero__card {
        grid-template-columns: 1fr;
    }


    .vacancy-hero__aside {
        border-top: 1px solid var(--color-border);
        border-left: 0;
    }


    .vacancy-hero__salary {
        padding: 22px 28px;
    }


    .vacancy-hero__facts {
        border-top: 1px solid var(--color-border);
    }


    .vacancy-block {
        grid-template-columns: 220px minmax(0, 1fr);

        gap: 36px;

        padding: 44px 0;
    }


    .vacancy-block__title {
        max-width: 220px;

        font-size: 24px;
    }


    .vacancy-benefits {
        grid-template-columns: 1fr;
    }


    .vacancy-benefit {
        padding: 20px;
    }

}


/* Vacancy small tablet */

@media (max-width: 700px) {

    .vacancy-block {
        grid-template-columns: 1fr;

        gap: 26px;
    }


    .vacancy-block__title {
        max-width: 520px;
    }


    .vacancy-stats {
        grid-template-columns: 1fr;
    }


    .vacancy-stat {
        min-height: 92px;
    }


    .vacancy-adaptation {
        min-height: 400px;

        margin-top: 40px;
    }


    .vacancy-adaptation__content {
        min-height: 400px;

        padding: 24px;
    }


    .vacancy-adaptation__bottom {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .vacancy-adaptation__title {
        font-size: 34px;
    }


    .vacancy-adaptation__description {
        max-width: 520px;
    }

}


/* Vacancy mobile */

@media (max-width: 640px) {

    .vacancy-hero {
        padding: 20px 0 40px;
    }


    .vacancy-hero .breadcrumbs {


        margin-bottom: 18px;


    }


    .vacancy-hero__main {
        padding: 22px;
    }


    .vacancy-hero__title {
        margin-top: 26px;

        font-size: 40px;
    }


    .vacancy-hero__about {
        margin-top: 18px;
    }


    .vacancy-hero__button {
        margin-top: 22px;
    }


    .vacancy-hero__salary {
        padding: 22px;
    }


    .vacancy-hero__salary strong {
        font-size: 24px;
    }


    .vacancy-hero__facts {
        grid-template-columns: 1fr;
    }


    .vacancy-hero__fact {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;

        gap: 14px;

        padding: 16px 22px;

        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }


    .vacancy-hero__fact:last-child {
        border-bottom: 0;
    }


    .vacancy-section {
        padding: 16px 0 48px;
    }


    .vacancy-block {
        gap: 22px;

        padding: 38px 0;
    }


    .vacancy-block__title {
        margin-top: 12px;

        font-size: 24px;
    }


    .vacancy-list__item {
        grid-template-columns: 28px minmax(0, 1fr);

        gap: 10px;

        padding: 12px 0;
    }


    .vacancy-stat {
        padding: 16px;
    }

}


/* Vacancy small mobile */

@media (max-width: 480px) {

    .vacancy-hero__main {
        padding: 20px;
    }


    .vacancy-hero__salary {
        grid-template-columns: 1fr;

        padding: 20px;
    }


    .vacancy-hero__salary-note {
        margin-top: 5px;
        padding-bottom: 0;
    }


    .vacancy-hero__fact {
        padding-inline: 20px;
    }


    .vacancy-benefit {
        padding: 18px;
    }


    .vacancy-benefit__title {
        margin-top: 24px;
    }


    .vacancy-adaptation {
        min-height: 380px;

        margin-top: 36px;

        border-radius: var(--radius-sm);
    }


    .vacancy-adaptation__content {
        min-height: 380px;

        padding: 20px;
    }


    .vacancy-adaptation__overlay {
        background:
            linear-gradient(0deg,
                rgba(10, 10, 10, 0.92) 0%,
                rgba(10, 10, 10, 0.55) 55%,
                rgba(10, 10, 10, 0.15) 100%);
    }


    .vacancy-adaptation__title {
        font-size: 30px;
    }

}

/* 404 */

.error-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.error-page__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--container-gutter) 80px;
}

.error-page__content {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.error-page__code {
    margin: 0 0 24px;
    color: var(--color-text-subtle);
    font-size: var(--text-sm);
    line-height: 1;
    font-weight: 500;
}

.error-page__title {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.error-page__text {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--color-text-muted);
    font-size: var(--text-md);
    line-height: var(--body-line);
}

.error-page__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 800px) {
    .error-page__main {
        padding:
            100px 20px 56px;
    }

    .error-page__code {
        margin-bottom: 20px;
    }

    .error-page__title {
        font-size: clamp(38px, 12vw, 56px);
    }

    .error-page__text {
        margin-top: 20px;
        font-size: var(--text-sm);
    }

    .error-page__actions {
        width: 100%;
        margin-top: 28px;
    }
}

/* 404 end */

.text-link {
    color: var(--color-text);
    text-underline-offset: 3px;
    text-decoration: underline rgba(255, 255, 255, 0.3);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.text-link:hover {
    color: var(--color-accent-amber);
    text-decoration-color: var(--color-accent-amber);
}

.contact-field:has(#max) {
    display: none;
}