@font-face {
    font-family: 'Onest';
    src: url('/fonts/Onest-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --secondary-color: #ccdae8;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Onest', sans-serif;
}

.input-field.error {
    background-color: #de7676 !important;
}

.form-group {
    position: relative;
    width: 100%;
}

/* Base */
body {
    margin-inline: 100px;
    background-color: #eaf0f6;
    color: #001730;
    line-height: 1.6;
    font-size: 85%;
}

main {
    margin-inline: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 98%;
}

/* Typography */
h1 {
    color: #fff;
    font-size: 70px;
    margin-bottom: 30px;
    line-height: 1;
}

h2 {
    color: #184677;
    line-height: 1.1;
    font-size: 48px;
    margin-bottom: 20px;
}

h3 {
    color: #001730;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
}

p {
    color: #001730;
    line-height: 1.2;
    font-size: 20px;
    max-width: 900px;
}

UL LI {
    font-size: 20px;
}

ADDRESS {
    font-size: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}


.p-white {
    color: #fff;
    margin-top: 20px;
}

/* Buttons */
.button,
button {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: initial;
}

.button:hover,
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.button-container {
    max-width: 270px;
    margin-bottom: 20px;
}

.button-container-inline {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
    flex-wrap: wrap;
}

/* Container & layout */
.container {
    max-width: 1400px;
    padding-block: 0;
    border-radius: 40px;
}

.section {
    margin-bottom: 40px;
}

/* Menu */
.menu {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* Arrow button */
.arrow-button {
    justify-content: space-between;
    padding: 12px 24px;
}

.arrow-button__text_ {
    text-align: left;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.arrow-button__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 12px;
    transition: transform 0.3s ease;
    position: relative;
}

.arrow-button__icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    z-index: 1;
}

.arrow-button__icon-wrapper::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: currentColor;
    -webkit-mask-image: url('../assets/arrow.svg');
    mask-image: url('../assets/arrow.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 16px;
    mask-size: 20px;
    z-index: 2;
}

.arrow-button:hover .arrow-button__icon-wrapper {
    transform: translateX(4px);
}

.yellowButton {
    background: #fad103;
    color: #184677;
}

.yellowButton:hover {
    background-color: #184677;
    color: #fff;
}

.yellow_icon-wrapper::before {
    background: #184677;
}

.yellow_icon-wrapper::after {
    color: #fad103;
}

.yellowButton:hover .yellow_icon-wrapper::before {
    background: #ffffff;
}

.yellowButton:hover .yellow_icon-wrapper::after {
    color: #184677;
}

.darkButton {
    background: #184677;
    color: #ffffff;
}

.dark_icon-wrapper::before {
    background: #ffffff;
}

.dark_icon-wrapper::after {
    color: #184677;
}

.darkButton:hover {
    background: #fad103;
    color: #184677;
}

.dark_icon-wrapper:hover::before {
    background: #184677;
}

.dark_icon-wrapper:hover::after {
    color: #fad103;
}

.blueButton {
    background: #ccdae8;
    color: #184677;
}

.blue_icon-wrapper::before {
    background: #184677;
}

.blue_icon-wrapper::after {
    color: #ccdae8;
}

.grayButton {
    background: #ccdae8;
    color: #184677;
}

.gray_icon-wrapper::before {
    background: #eaf0f6;
}

.gray_icon-wrapper::after {
    color: #184677;
}

.gray_icon-wrapper:hover::before {
    background: #184677;
}

.gray_icon-wrapper:hover::after {
    color: #eaf0f6;
}

.arrow-ball {
    margin: 0;
}

.arrow-ball-back {
    transform: rotate(180deg);
    margin: 0;
}

.thinButton {
    justify-content: center;
    outline: none;
    position: relative;
    padding: 10px 20px;
    overflow: hidden;
    gap: 10px;
    min-width: 140px;
}

.thinLightButton {
    background-color: var(--secondary-color);
    color: #184677;
}

.thinLightButton:hover {
    background: #184677;
    color: #fff;
}

.thinDarkButton {
    background-color: #184677;
    color: #ffffff;
}

.thinDarkButton:hover {
    background: #fad103;
    color: #184677;
}

.thinWhiteButton {
    background-color: #fff;
    color: #184677;
    border: 1px solid #184677;
}

.thinWhiteButton:hover {
    background: #fad103;
    color: #184677;
}

/* Slider */

.slider-container {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.slider-container-short {
    width: 80%;
    max-width: 500px;
}

.slider {
    background-color: white;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.slider-short {
    border-radius: 40px;
    padding: 20px;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.slides-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.slides-viewport-short {
    max-height: 200px;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    height: 400px;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px !important;
}

.slider-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    gap: 20px;
}

.slide-caption-h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

.navigation-controls {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.blueButton {
    cursor: pointer;
    border: none;
    padding: 0;
}

/* Lists */
.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1;
    opacity: 0.9;
}

.list {
    color: #001730;
    line-height: 1.6;
    font-size: 20px;
    margin: 0 0 30px 0;
    padding-left: 25px;
}

.list li {
    position: relative;
    margin-bottom: 15px;
    list-style-type: none;
}

.list li::before {
    content: '•';
    color: #184677;
    font-size: 40px;
    position: absolute;
    left: -20px;
    top: 0.35em;
    line-height: 0;
    transform: translateY(0);
}

/* Hero */
.hero-block {
    position: relative;
    min-height: calc(100vh - 40px);
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: white;
    padding-inline: 40px;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.hero-text {
    width: 75%;
    padding-right: 10px;
}

.hero-button {
    width: 25%;
    text-align: right;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 40px;
    width: 100%;
    color: #fff;
    position: relative;
    z-index: 10;
}

.header-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.header-link:hover {
    opacity: 0.8;
}

.hero-container-full {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 60px;
    flex-grow: 1;
}

.hero-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-bottom: 60px;
    width: 100%;
}

.content-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.content-right {
    display: flex;
    justify-content: flex-end;
    width: 50%;
}

.header-left,
.header-right {
    display: flex;
    gap: 30px;
    flex: 1;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-icon {
    width: 200px;
}

/* Overlap block (details section) */
.overlap-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
}

.hero-block.overlap-version {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.overlap-card {
    position: absolute;
    right: -10%;
    top: 40%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 350px;
    background: #fad103;
    border-radius: 20px;
    padding-inline: 30px;
    padding-block: 20px 0;
    z-index: 100;
}

.hero-dummy {
    min-height: 100vh;
    background-image: url('../assets/hero.svg');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
}

/* Long cards */
.long-cards-card {
    background: white;
    border-radius: 20px;
    padding-inline: 20px;
    padding-block: 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.long-card-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.long-card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.long-card-text {
    flex: 1;
    color: #001730;
    font-size: 20px;
    line-height: 1.1;
    min-height: 24px;
    display: flex;
    align-items: center;
}

.long-card-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.long-card-item[data-type='phone'] .long-card-icon {
    background-image: url('../assets/icons/phone.svg');
}

.long-card-item[data-type='email'] .long-card-icon {
    background-image: url('../assets/icons/email.svg');
}

.long-card-item[data-type='location'] .long-card-icon {
    background-image: url('../assets/icons/location.svg');
}

.long-card-item[data-type='persons'] .long-card-icon {
    background-image: url('../assets/icons/persons.svg');
}

.long-card-item[data-type='car'] .long-card-icon {
    background-image: url('../assets/icons/car.svg');
}

/* Admin: cards list & equipment cards */
.page-wrapper {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    gap: 40px;
    flex: 1;
    flex-wrap: wrap;
}

.cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.p_2 {
    font-weight: 700;
    font-size: 16px;
}

.long-card-img {
    width: 60px;
    flex-shrink: 0;
    border: 1px solid rgba(234, 240, 246, 1);
    border-radius: 10px;
    cursor: pointer;
}

.long-cards-card-equipment {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    flex-wrap: wrap;
}

.long-cards-card-equipment .long-card-item,
.long-cards-card-equipment .long-card-item-equipment {
    display: flex;
    align-items: center;
    width: auto;
    flex: 1 1 auto;
}

/* Equipment management: 3 cols (name, model, buttons) */
.long-cards-card-equipment .long-card-item-equipment:nth-of-type(1) {
    flex: 1;
    justify-content: flex-start;
}

.long-cards-card-equipment .long-card-item-equipment:nth-of-type(2) {
    flex: 0 0 100px;
    justify-content: flex-start;
}

.long-cards-card-equipment .long-card-item-equipment:last-child {
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Document management: 4 cols (title, model, date, buttons) */
.long-cards-card-equipment .long-card-item:nth-of-type(1) {
    flex: 2;
    justify-content: flex-start;
    padding-left: 20px;
}

.long-cards-card-equipment .long-card-item:nth-of-type(2) {
    flex: 1;
    justify-content: center;
}

.long-cards-card-equipment .long-card-item:nth-of-type(3) {
    flex: 1;
    justify-content: center;
}

.long-cards-card-equipment .long-card-item:nth-of-type(4) {
    flex: 2;
    justify-content: flex-end;
    gap: 10px;
}

.company-name {
    font-size: 36px;
    color: #001730;
    margin: 10px 0 20px 0;
}

.list-title {
    font-weight: 600;
    color: #184677;
    margin-bottom: 25px;
    font-size: 20px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
    margin-bottom: 50px;
    max-width: 1100px;
}

.button-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-action {
    min-width: 160px;
}

/* Forms */
.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.input-field {
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    background-color: rgba(0, 23, 48, 0.12);
    font-size: 16px;
    color: #001730;
    outline: none;
    margin-top: 5px;
    transition: background 0.3s;
    display: block;
    resize: none;
    overflow: hidden;
    min-height: 54px;
    line-height: 1.4;
}

.input-field::placeholder {
    color: #001730;
    font-weight: 500;
}

.input-field:focus {
    background-color: rgba(0, 23, 48, 0.2);
}

.textarea-field {
    border-radius: 25px;
    width: 100%;
    padding: 16px 24px;
    border: none;
    background-color: rgba(0, 23, 48, 0.12);
    box-sizing: border-box;
    display: block;
}

.divider {
    height: 2px;
    background-color: #184677;
    margin: 30px 0;
    width: 100%;
}

.question-form {
    width: 100%;
    min-width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.custom-textarea {
    width: 100%;
    background-color: rgba(0, 23, 48, 0.12);
    border: none;
    border-radius: 30px;
    padding: 16px 24px;
    font-size: 16px;
    color: #001730;
    outline: none;
    transition: background 0.3s;
    min-height: 180px;
    resize: none;
}

.custom-textarea::placeholder {
    color: #001730;
    opacity: 1;
    font-weight: 500;
}

.custom-textarea:focus {
    background-color: rgba(0, 23, 48, 0.2);
}

.form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.title_form {
    color: #184677;
    line-height: 1.1;
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-save-btn {
    margin-top: 10px;
    width: fit-content;
}


.input-label-hint {
    color: #9eb1c2;
    font-size: 14px;
    font-weight: 500;
    margin-left: 15px;
    white-space: nowrap;
    pointer-events: none;
}

.input-group .input-field {
    background-color: transparent;
    flex: 1;
    width: auto;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #184677;
    font-size: 14px;
    margin: 10px 0;
    font-weight: 500;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #184677;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.close-btn svg {
    width: 20px;
    height: 20px;
}

.close-btn:hover {
    background-color: #f0f0f0;
    transform: rotate(90deg);
}

.delete-text {
    color: #001730;
    margin-bottom: 25px;
    font-size: 18px;
}

.delete-model-name {
    color: #184677;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.photo-view {
    max-width: 100%;
    min-width: 200px;
    border-radius: 40px;
}

/* Dropdown */
.custom-dropdown {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 15px;
}

.arrow-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.custom-dropdown.open .arrow-icon {
    transform: rotate(180deg);
}

.dropdown-body {
    background-color: rgba(206, 214, 222, 1);
    border-radius: 30px;
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 5px;
    margin-bottom: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: none;
}

.custom-dropdown.open .dropdown-body {
    display: block;
    max-height: 250px;
    overflow-y: auto;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    color: #001730;
    user-select: none;
    line-height: 1.2;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 2px solid #001730;
    border-radius: 4px;
    transition: all 0.2s;
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #184677;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #dce4eb;
    padding: 12px 25px;
    border-radius: 30px;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.input-container.error {
    border-color: #de7676;
    background-color: rgba(222, 118, 118, 0.05);
}

.input-container input,
.input-container select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #333;
    flex: 1;
    padding: 5px 0;
}

.input-container input[type='date'] {
    font-family: 'Onest', sans-serif;
    text-transform: uppercase;
}

.input-label {
    color: #000;
    opacity: 0.4;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.input-container.error .input-label {
    color: #de7676;
    opacity: 1;
}

.error-message {
    color: #de7676;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    margin-left: 15px;
    display: none;
}

.error-message.show {
    display: block;
}

.error-message-input {
    color: #de7676;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 10px;
    text-align: left;
    display: none;
}

.error-message-input.show {
    display: block;
}

.form-save-btn {
    margin-top: 20px;
    width: fit-content;
    opacity: 1;
    transition: all 0.3s ease;
}

.form-save-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Стили для дропдауна */
.custom-dropdown {
    width: 100%;
    margin-bottom: 15px;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: #dce4eb;
    border-radius: 30px;
    padding: 12px 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-header.error {
    border-color: #de7676;
    background-color: rgba(222, 118, 118, 0.05);
}

.selected-text {
    flex: 1;
    color: #333;
    font-size: 16px;
}

.dropdown-body {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-dropdown.open .dropdown-body {
    display: block;
    max-height: 300px;
    overflow-y: auto;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    color: #001730;
    user-select: none;
    line-height: 1.2;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 2px solid #001730;
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-container input:checked ~ .checkmark:after {
    content: '';
    position: absolute;
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #184677;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Upload label стили */
.upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #184677;
    font-size: 14px;
    margin: 10px 0;
    font-weight: 500;
    padding: 12px 25px;
    background-color: #dce4eb;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.upload-label:hover {
    background-color: #184677;
    color: white;
}

.file-name-text {
    font-size: 12px;
    color: #184677;
    margin-bottom: 10px;
    margin-left: 15px;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container input[type='radio'] ~ .checkmark {
    border-radius: 4px;
}

.checkbox-container input[type='radio']:checked ~ .checkmark:after {
    display: block;
}

.dropdown-body::-webkit-scrollbar {
    width: 6px;
}

.dropdown-body::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
}

.dropdown-body::-webkit-scrollbar-thumb {
    background: #b0bcc9;
    border-radius: 10px;
    border-right: 2px solid #dde3ea;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(24, 70, 119, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease,
    visibility 0.3s ease;
    padding-top: 60px;
}

.modals-buttons {
    display: flex;
    gap: 10px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Sidebar */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 20px;
}

.sidebar-button {
    width: 100%;
    padding: 18px 24px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.sidebar-button.active {
    background-color: #184677;
    color: #fff;
    box-shadow: 0 4px 12px rgba(24, 70, 119, 0.3);
}

.sidebar-button.white-btn {
    background-color: #fff;
    color: #001730;
}

.sidebar-button.white-btn:hover {
    background-color: #dcebfb;
    color: #184674;
}

/* Cards grid */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-photo {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.card-subtitle {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.card-footer {
    margin-top: auto;
}

.doc-link {
    color: #184677;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
    border-bottom: 1px solid #184677;
}

.doc-link:hover {
    color: #0d2c4a;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #a0aec0;
    flex-wrap: wrap;
}

.pagination span.active {
    color: #001730;
}

.pagination span:hover {
    color: #00173052;
    opacity: 0.4;
    cursor: pointer;
}

/* Appeal card */
.appeal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 30px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appeal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.appeal-user-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.user-name {
    color: rgba(0, 23, 48, 0.8);
    font-weight: 500;
}

.appeal-date {
    color: rgba(0, 23, 48, 0.8);
    font-weight: 500;
}

.badge-new {
    background: #de7676;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.appeal-text {
    font-size: 22px;
    font-weight: 400;
    color: #184677;
    line-height: 1.3;
    margin: 5px 100px 15px 0;
}

.appeal-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Footer text & link */
.footer-text {
    color: #001730;
    font-size: 14px;
    line-height: 1.5;
}

.footer-link {
    display: block;
    color: #001730;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
    margin-top: 4px;
    cursor: pointer;
}

.footer-link:hover {
    color: #1c436d;
}

/* Profile form */
.profile-form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #dce4eb;
    padding: 12px 25px;
    border-radius: 30px;
}

.input-container input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.input-label {
    color: #000;
    opacity: 0.4;
    font-size: 14px;
    white-space: nowrap;
}

.save-button {
    background-color: #184677;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 20px;
    width: fit-content;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
}

.save-button:hover {
    background-color: #143a5f;
}

/* Header (navada) */
.navada-header {
    background-color: #184677;
    border-radius: 30px;
    padding: 25px 60px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 24px;
}

.header-container {
    max-width: 80vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: center;
}

.hero-header *,
.header-container * {
    white-space: nowrap;
}

.contacts-header {
    display: flex;
    gap: 40px;
    color: #fff;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-section-header img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Footer (navada) */
.navada-footer {
    background-color: #fff;
    border-radius: 30px;
    padding: 40px 30px;
    font-size: 1.2vw;
    line-height: 1.6;
    margin-top: 40px;
    margin-bottom: 24px;
    min-width: 100%;
}

.footer-container {
    max-width: 80vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.footer-section {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo-section {
    padding: 0 150px 0 15px;
}

.logo-section .company-name {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1a3a5f;
    margin-bottom: 5px;
    line-height: 1.2;
}

.logo-section .company-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: normal;
    margin-bottom: 25px;
    padding-left: 2px;
}

.privacy-link {
    display: inline-block;
    color: #767676;
    text-decoration: none;
    margin-top: auto;
    padding-top: 20px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding-left: 2px;
    white-space: nowrap;
}

.contacts-section {
    display: flex;
    flex-direction: column;
}

.contacts-section .address {
    margin-bottom: 20px;
    line-height: 1;
}

.contacts-section .contacts {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 20px;
}

.contact-link {
    color: #001730;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #001730;
    text-decoration: underline;
}

.requisites-section {
    display: flex;
    flex-direction: column;
}

.requisites-section .company-legal {
    margin-bottom: 20px;
    color: #001730;
}

.requisites-section .requisites-list {
    display: grid;
    margin-top: auto;
    padding-top: 20px;
}

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

.requisite-label {
    color: #001730;
}

.requisite-value {
    text-align: right;
    flex-shrink: 0;
    min-width: 15px;
}

.logo-section img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#dropdownBody {
    max-height: 200px;
    overflow-y: auto;

    border-radius: 12px;
    scrollbar-gutter: stable;
}

#dropdownBody::-webkit-scrollbar {
    width: 7px;
}

#dropdownBody::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 12px;
}

#dropdownBody::-webkit-scrollbar-thumb {
    background-color: #184677;
    background-clip: padding-box;
    border-radius: 10px;
}

#dropdownBody::-webkit-scrollbar-thumb:hover {
    background-color: #001730;
}

.mobile-header {
    display: none;
}

body.modal-open {
    overflow: hidden;
}

#mobileSidebar.open .arrow-down,
.sidebar.open .arrow-down {
    transform: rotate(180deg);
}

.arrow-down {
    transition: transform 0.3s ease;
}

.pagination-item-hidden {
    display: none !important;
}

.cards-container .card.pagination-item-hidden {
    display: none !important;
}

.cards-list .long-cards-card.pagination-item-hidden,
.cards-list .appeal-card.pagination-item-hidden {
    display: none !important;
}

.file-name-visible {
    display: block !important;
}

.slides-wrapper.slide-0 {
    transform: translateX(0);
}

.slides-wrapper.slide-1 {
    transform: translateX(-100%);
}

.slides-wrapper.slide-2 {
    transform: translateX(-200%);
}

.slides-wrapper.slide-3 {
    transform: translateX(-300%);
}

.slides-wrapper {
    transition: transform 0.3s ease;
}

.textarea-auto-height {
    height: var(--textarea-height, 54px);
    min-height: 54px;
}

.hero-bg-hero {
    background-image: url('../assets/hero.svg');
}

.hero-bg-card {
    background-image: url('../assets/card.svg');
}

.hero-bg-details {
    background-image: url('../assets/details.svg');
}

.hero-bg-photon {
    background-image: url('../assets/photoFon.svg');
}

.hero-block.details-hero-block {
    align-items: center;
    min-height: 100%;
}

.container-padding-left-0 {
    padding-left: 0;
}

.hero-content-narrow {
    position: relative;
    align-items: center;
    max-width: 50vw;
}

.h2-white {
    color: #fff;
    margin-top: 0;
}

.btn-margin-top {
    margin-top: 20px;
}

.list-no-margin li {
    margin-bottom: 0;
}

.list-no-margin li:first-child {
    margin-top: 10px;
}

.long-cards-card-wide {
    gap: 100px;
    margin-top: 30px;
}

.text-center {
    text-align: center;
}

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

.title-form-mb {
    margin-bottom: 15px;
}

.button-max-w-350 {
    max-width: 350px;
}

.max-w-100 {
    width: 100%;
    max-width: 100%;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-20-center {
    margin-top: 20px;
    text-align: center;
}

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

.margin-bottom-15 {
    margin-bottom: 15px;
}

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

.margin-top-auto {
    margin-top: auto;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.padding-top-60 {
    padding-top: 60px;
}

.max-w-250 {
    max-width: 250px;
}

.block-display {
    display: block;
}

.flex-display {
    display: flex;
}

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

.sidebar-button.active {
    background-color: #184677;
    color: #fff;
}

.modal-photo-title {
    margin-bottom: 15px;
}

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

.max-width-20 {
    max-width: 20%;
}

.max-width-80vw {
    max-width: 80vw;
}

.text-accent {
    color: #184677;
    font-weight: 700;
    margin: 15px 0;
}

.input-field.error,
.input-container.error .input-field,
.dropdown-header.error,
.custom-textarea.error {
    border-color: #de7676;
}

.form-group {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

/* user-manual */
body.user-manual-page {
    background-color: #eaf0f6;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-bottom: 30px;
    max-width: 90%;
}

.book-page {
    background: white;
    width: 300px;
    height: 380px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.header-title {
    margin-bottom: 20px;
}

/* addressing: equipment-contact-* */
.equipment-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.equipment-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 23, 48, 0.1);
}

.equipment-contact-icon {
    width: 50px;
    height: 50px;
    background-color: #184677;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.equipment-contact-details {
    flex: 1;
}

.equipment-contact-name {
    font-weight: 700;
    color: #184677;
    margin-bottom: 5px;
    font-size: 18px;
}

.equipment-contact-value {
    font-size: 16px;
    color: #001730;
}

.error-message.show {
    display: block;
}

.file-name-text {
    font-size: 12px;
    color: #184677;
    margin-bottom: 10px;
    margin-left: 0;
    font-style: italic;
    display: none;
}

.file-name-text.file-name-visible {
    display: block !important;
}

.upload-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #184677;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
    margin: 10px 0;
    padding: 0;
    background: none;
    border: none;
}

.upload-link:hover {
    color: #0d2c4a;
    text-decoration: underline;
}

.input-file-hidden {
    display: none;
}

.current-photo-block {
    display: block;
    margin-bottom: 15px;
}

.current-photo-label {
    font-size: 14px;
    color: #184677;
    margin-bottom: 8px;
    font-weight: 500;
}

.current-photo-img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 8px;
}

.team-container {
    width: 100%;
    padding: 60px 20px;
}

.team-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-header h2 {
    margin-bottom: 20px;
}

.team-block {
    position: relative;
    min-height: 500px;
    width: 100%;
    border-radius: 60px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px;
}

.team-block-section {
    background-image: url('../assets/section.svg');
}

.team-block-text {
    background: white;
    color: #001730;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    padding: 30px 40px;
    border-radius: 20px;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    margin-left: 20px;
}

.equipment-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.card-cta {
    text-align: center;
}

.team-block-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.equipment-container-custom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 80px;
}

.photoTeam {
    max-width: 30vw;
}

/* ========== Адаптивность ========== */
@media (max-width: 1024px) {
    body {
        margin-inline: 30px;
    }

    main {
        margin-inline: 20px;
    }

    .hero-container-full {
        padding: 0 30px;
    }

    .content-left {
        width: 55%;
    }

    .content-right {
        width: 45%;
    }

    .overlap-card {
        width: 55%;
        right: -5%;
    }

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

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

    .form-section {
        padding: 40px 30px;
    }

    .navada-header,
    .navada-footer {
        padding: 40px 30px;
    }

    .footer-container {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    body {
        margin-inline: 16px;
    }

    main {
        margin-inline: 12px;
    }

    h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    p {
        font-size: 16px;
    }

    .arrow-button {
        max-width: 100%;
        font-size: 1rem;
        padding: 10px 20px;
    }

    .arrow-button__icon-wrapper {
        width: 32px;
        height: 32px;
    }

    .arrow-button__icon-wrapper::after {
        -webkit-mask-size: 14px;
        mask-size: 14px;
    }

    .hero-block {
        min-height: auto;
        padding-bottom: 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 16px 30px;
        gap: 24px;
    }

    .hero-text {
        width: 100%;
        padding-right: 0;
    }

    .hero-button {
        width: 100%;
        text-align: left;
    }

    .hero-header {
        flex-wrap: wrap;
        padding: 10px 16px 24px;
        gap: 12px;
    }

    .header-left,
    .header-right {
        gap: 12px;
    }

    .logo-icon {
        width: 160px;
    }

    .hero-container-full {
        padding: 0 20px;
    }

    .hero-content-flex {
        padding-bottom: 40px;
        flex-direction: column;
    }

    .content-left,
    .content-right {
        width: 100%;
    }

    .overlap-wrapper {
        max-width: 100%;
    }

    .overlap-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    .long-cards-card {
        flex-direction: column;
        gap: 12px;
        padding-inline: 16px;
        padding-block: 16px;
    }

    .long-card-text {
        font-size: 16px;
        /* text-align: center; */
    }

    .long-card-mobile {
        flex-direction: column;
    }

    .mobile-header {
        display: flex;
    }

    .page-wrapper {
        flex-direction: column;
        padding: 16px 0;
        gap: 24px;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-content {
        position: static;
    }

    .long-cards-card-equipment {
        padding: 12px;
    }

    .long-cards-card-equipment .long-card-item-equipment:nth-of-type(2),
    .long-cards-card-equipment .long-card-item:nth-of-type(2) {
        flex: 1 1 100%;
    }

    .long-cards-card-equipment .long-card-item-equipment:last-child {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        margin-left: 0;
        gap: 10px;
    }

    .long-card-img {
        width: 60px;
        min-width: 60px;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .company-name {
        font-size: 28px;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }

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

    .form-section {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .title_form {
        font-size: 26px;
    }

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

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

    .modal-content {
        max-width: 100%;
        margin: 0 16px;
    }

    .modals-buttons {
        flex-direction: column;
        min-width: 100%;
        align-items: stretch;
        margin-left: 0;
        gap: 10px;
    }

    .navada-header .header-container {
        display: none !important;
    }

    .navada-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px;
        height: 80px;
        position: relative;
    }

    .header-container {
        max-width: 100%;
    }

    .contacts-header {
        gap: 16px;
    }

    .navada-footer {
        border-radius: 24px;
        padding: 40px 24px;
        margin-inline: 0;
    }

    .footer-container {
        max-width: 100%;
        gap: 30px;
    }

    .footer-section {
        padding: 0;
    }

    .requisites-section .requisites-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .requisite-item {
        flex-wrap: wrap;
    }

    .requisite-label {
        min-width: 50px;
        font-weight: normal;
    }

    .privacy-link,
    .contacts-section .contacts,
    .requisites-section .requisites-list {
        margin-top: 0;
        padding-top: 0;
    }

    .appeal-text {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    body {
        margin-inline: 12px;
    }

    main {
        margin-inline: 8px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    .thinButton {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-width: 100%;
    }

    .team-block-text {
        font-size: 12px;
        padding: 15px 20px;
        max-width: 200px;
        margin-bottom: 10px;
        margin-left: 10px;
    }

    .team-block {
        min-height: 100%;
        border-radius: 30px;
        padding: 20px;
    }

    .equipment-container-custom {
        flex-direction: column;
    }

    .photoTeam {
        max-width: 70vw;
    }

    .button-container-inline {
        flex-direction: column;
    }

    .navada-footer {
        padding: 30px 16px;
    }

    .logo-section .company-name {
        font-size: 24px;
    }

    .footer-section {
        gap: 15px;
    }

    .close-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
}

.form-section {
    position: relative;
    background-color: #eaf0f6;
    border-radius: 24px;
    margin-inline: 10px;
    width: 100%;
    max-width: 660px;
    padding: 64px;
    border-radius: 40px;
}

.long-card-img {
    align-self: flex-start;
    margin-left: 0;
}

/* --- БУРГЕР --- */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 23, 48, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: #184677;
    z-index: 1001;
    padding: 80px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;

    padding: 30px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-sidebar a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 15px;
}

.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-open .mobile-menu-sidebar {
    left: 0;
}

.mobile-logo {
    display: none;
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .hero-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 20px !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 50;
    }

    .header-left,
    .header-center,
    .header-right {
        display: none !important;
    }

    .burger-btn {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 40px !important;
        gap: 30px;
        position: relative;
    }

    .hero-text {
        width: 100%;
        padding-right: 0;
    }

    .hero-button {
        width: 100%;
        text-align: left;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .features-list li {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.menu-logo {
    width: 180px;
    height: auto;
}

.menu-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-top: 30px;
    flex-shrink: 0;
}

.menu-contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.menu-contact-link:hover {
    opacity: 1;
}

.menu-close-btn {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.menu-close-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.menu-close-btn span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-close-btn span:nth-child(2) {
    transform: rotate(-45deg);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.menu-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 1px 0;
    transition: opacity 0.2s;
}

.sidebar-mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
    }

    .sidebar-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #184677;
        color: white;
        padding: 10px 15px;
        border-radius: 16px;
        cursor: pointer;
        max-width: 100%;
    }

    .sidebar {
        display: none;
        width: 100% !important;
        /* margin-bottom: 20px; */
    }

    .sidebar.open {
        display: block !important;
    }

    .sidebar-content {
        background: #fff;
        padding: 10px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sidebar-button {
        width: 100%;
        text-align: left;
        border: none;
        padding: 12px 15px;
    }

    .sidebar-button.active {
        background-color: #184677 !important;
        color: #fff !important;
    }

    .centered-card .long-card-item {
        justify-content: center !important;
    }

    .centered-card .long-card-text {
        text-align: center;
        width: 100%;
        justify-content: center;
    }
}

.form-error {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: red;
    display: none;
}

.hide {
    display: none;
}

TEXTAREA.error,
INPUT.error {
    background-color: #de7676 !important;
}

.custom-p {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 20px 0;
}

.card-text {
    max-width: 10vw;
}

@media (max-width: 480px) {
    .card-text {
        max-width: 40vw;
    }
}

.document-view-popup {
    padding: 10px;
}

.document-view-popup .form-section {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    margin: 0;
    max-width: initial;
}

.document-view-popup OBJECT {
    margin: 0 auto 30px auto;
}

.white-text {
    color: white;
}

.full-width {
    width: 100%;
    max-width: initial;
}

/* Контент */
/* Минималистичные стили для политики конфиденциальности */
.content-page article {
    margin: 2rem auto;
    padding: 0 1rem;
    line-height: 1.6;
    color: #111;
}

.content-page h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
}

.content-page h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem;
}

.content-page p, .content-page ul, .content-page ol {
    margin: 0 0 1rem;
}

.content-page ul, .content-page ol {
    padding-left: 1.5rem;
}

.content-page li {
    margin: 0.25rem 0;
}

.content-page a {
    color: #0066cc;
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

.content-page address {
    font-style: normal;
    background: #f5f5f5;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 3px solid #0066cc;
}

.content-page footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #666;
    text-align: center;
}

.content-page time {
    color: #666;
}

@media (max-width: 640px) {
    .content-page article {
        margin: 1rem auto;
    }

    .content-page h1 {
        font-size: 1.75rem;
    }

    .content-page h2 {
        font-size: 1.35rem;
    }
}

/* Контент */

.hero-content-flex H1 {
    white-space: nowrap;
    font-size: 4vw;
}

.custom-dropdown {
    width: 100%;
    max-width: initial;
}

.alert-popup .alert-message,
.alert-popup .footer-link {
    font-size: 24px;
}

.doc-date {
    white-space: nowrap;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 23, 48, 0.12) inset !important;
    -webkit-text-fill-color: #000 !important;
    caret-color: #000;
}

.underlined {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .hero-content-flex .content-left .title-wrap H1 {
        font-size: 8vw;
        margin-top: 10vw;
    }

    .login-card {

    }
}

@media (min-width: 1024px) {
    .navada-footer {
        font-size: 18px;
    }
}

@media (max-width: 1023px) {
    .navada-footer {
        font-size: 18px;
    }
}
