

.menu:not(.active),
.menu:not(.active) * {
    pointer-events: none !important;
}


@font-face {
    font-family: "Involve";
    src: url("../vers/fonts/Involve-Regular.woff2") format("woff2"),
         url("../vers/fonts/Involve-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Involve";
    src: url("../vers/fonts/Involve-Medium.woff2") format("woff2"),
         url("../vers/fonts/Involve-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Involve";
    src: url("../vers/fonts/Involve-Bold.woff2") format("woff2"),
         url("../vers/fonts/Involve-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.standard {color:#fff; padding:80px 0;}
/* The URLs below exist in the supplied original main.css. */
.form__btn::before {
    background-image: url("/assets/vers/images/btn-arrow2.c7e4121b.svg");
}
.header__btn::before {
    background-image: url("/assets/vers/images/btn-arrow.4c9340d3.svg");
}
.header__menu > li > ul > li > a::after {
    background-image: url("/assets/vers/images/menu-arrow.364ca4b0.svg");
}
/* Original main-bg image: replace the URL in the original selector without
   touching its size, position, or other styling. */
.main__circle {
    background-image: url("/assets/vers/images/main-bg.6eaef508.jpg");
}

/* 2. SendIt form validation / field status. */
.form [data-si-error]:not(:empty) {
    display: block;
    color: #a82020;
    font-size: 13px;
    line-height: 1.4;
    margin: 6px 0 12px;
}
.form__status {
    font-size: 14px;
    line-height: 1.45;
    margin-top: 12px;
}
.form__status:empty { display: none; }
.form__status.is-error { color: #a82020; }
.form__status.is-success { color: #1d1d1d; }
.form__input:has([data-si-error]:not(:empty)) input,
.form__input input[aria-invalid="true"] {
    border-color: #e44848;
}

/* 3. Required personal-data agreement. Works with custom.js .is-invalid. */
.form__checkbox {
    flex-wrap: wrap;
}
.form__checkbox .box {
    flex-shrink: 0;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.form__checkbox.is-invalid .box {
    border-color: #e44848 !important;
    background-color: rgba(228, 72, 72, .12);
    box-shadow: 0 0 0 3px rgba(228, 72, 72, .15);
}
.form__checkbox.is-invalid .text { color: #a82020; }
.form__checkbox-error {
    display: none;
    width: 100%;
    margin-top: 8px;
    padding-left: 32px;
    color: #a82020;
    font-size: 13px;
    line-height: 1.4;
}
.form__checkbox.is-invalid .form__checkbox-error { display: block; }
.form__checkbox input:checked + .box {
    border-color: #1d1d1d;
    background-color: transparent;
    box-shadow: none;
}

/* 4. Uploaded file name, uploader errors and progress. */
.form__file-name,
.form [data-fu-list] {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.45;
}
.form [data-fu-progress] {
    max-width: 100%;
}

/* 5. Overlay layering: the thank-you popup is above the request popup. */
.overlay-thx.overlay-active,
.overlay-legal.overlay-active {
    z-index: 30;
}

/* ==========================================================
   Native file input: original visual style, with filename below.
   No changes to main.css, no dependency on FileUploader.
   ========================================================== */
.js-native-file .form__file-control {
    position: relative;
    cursor: pointer;
}

.js-native-file .form__file-input,
.js-native-file .form__file-control > input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip-path: inset(50%);
}

.js-native-file .form__file-control:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.js-native-file .form__file-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    max-width: 100%;
    min-width: 0;
}

.js-native-file .form__file-selected[hidden],
.js-native-file .form__file-error[hidden] {
    display: none !important;
}

.js-native-file .form__file-name {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: 14px;
    line-height: 1.45;
}

.js-native-file .form__file-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.js-native-file .form__file-remove:hover,
.js-native-file .form__file-remove:focus-visible {
    opacity: .65;
}

.js-native-file .form__file-error {
    margin-top: 8px;
    color: #a82020;
    font-size: 13px;
    line-height: 1.45;
}


/* ==========================================================
   FIX: native file picker layout (original main.css uses a
   flex wrapper, but the new LABEL was not a flex container).
   Keep the paperclip at its intended 24px size and the text
   alongside it. The filename stays on the next line.
   ========================================================== */
.form__file.js-native-file {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
}

.form__file.js-native-file .form__file-control {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 8px;
    width: auto;
    max-width: 100%;
    min-height: 28px;
    cursor: pointer;
}

.form__file.js-native-file .form__file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    margin: 0;
}

.form__file.js-native-file .form__file-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    flex: none;
}

.form__file.js-native-file .form__file-text {
    display: inline-block;
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    line-height: 1.4;
}

.form__file.js-native-file .form__file-selected {
    align-self: flex-start;
    width: min(100%, 480px);
    max-width: 100%;
    margin-top: 10px;
}

.form__file.js-native-file .form__file-name {
    flex: 1 1 auto;
}

@media (max-width: 767px) {
    .standard {color:#fff; padding:30px 0;}
    .form__file.js-native-file .form__file-control {
        gap: 8px;
    }
    .form__file.js-native-file .form__file-icon,
    .form__file.js-native-file .form__file-icon svg {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
    }
    .form__file.js-native-file .form__file-icon {
        flex-basis: 22px;
    }
}

/* Selected native file: compact filename + small adjacent remove icon */
.form__file.js-native-file .form__file-selected:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    gap: 6px;
    margin-top: 8px;
}
.form__file.js-native-file .form__file-name {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.45;
}
.form__file.js-native-file .form__file-remove {
    display: inline-flex;
    flex: 0 0 17px;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
    margin: 0;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}



/* Скрываем только третий уровень меню */
.header__menu > li > ul > li > ul {
    display: none !important;
}


/* Mobile Services: the original main.css dot stays unchanged.
   No overlay button, no extra ring. The click zone is handled in custom.js. */
@media (max-width: 1024px) {
  .menu .header__menu > li.versality-services-parent > .versality-services-toggle {
    display: none !important;
  }
     /* Убираем точку у пункта «Портфолио» */
    .menu a[data-resource-id="13"]::before,
    .menu a[data-resource-id="13"]::after {
        display: none !important;
        content: none !important;
    }
}
