.landing-jp__section-title {
    font-family: 'Toxy', sans-serif;
    font-weight: 600;
    font-size: 30px;
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.landing-jp__text_accent {
    font-weight: 900;
    color: #b2d235;
}

.landing-jp__hero {
    margin-top: 45px;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(102,45,145,0.04);
    background: #b2d235;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.landing-jp__hero-content {
    flex: 1 1 0;
    text-align: left;
}

.landing-jp__hero-title {
    margin-bottom: 18px;
    font-family: 'Toxy', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 55px;
    line-height: 1.2;
    color: #662d91;
}

.landing-jp__hero-desc {
    color: #662d91;
    font-size: 20px;
    margin: 30px 0;
}

.landing-jp__hero .landing-jp__hero-btn {
    display: inline-block;
    border: none;
    background: #662d91;
    color: #fff;
    padding: 0.5em 1.5em;
    border-radius: 8px;
    font-family: "Toxy", sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(46,139,87,0.08);
    transition: background 0.2s;
}

.landing-jp__hero-btn:hover {
    background: #8f48c6;
}

.landing-jp__hero-image {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

.landing-jp__hero-img {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin-bottom: -40px;
}

.landing-jp__advantages {
    margin: 60px 0;
}

.landing-jp__advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
    gap: 32px;
}

.landing-jp__advantage-item {
    background: #fff;
    border-radius: 14px;
    padding: 32px 20px 28px 20px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.landing-jp__advantage-item:hover {
    box-shadow: 0 6px 24px rgba(102,45,145,0.13);
}

.landing-jp__advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #662d91;
}

.landing-jp__advantage-img,
.landing-jp__advantage-icon svg {
    width: 80px;
    height: 80px;
}

.landing-jp__advantage-title {
    font-family: 'muller', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.landing-jp__advantage-desc {
    color: #444;
    font-size: 1rem;
}

.landing-jp__process {
    border-radius: 16px;
    margin: 60px 0;
}

.landing-jp__process-text-block {
    background: #662d91;
    border-radius: 16px;
    padding: 36px 30px 28px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: #fff;
}

.landing-jp__process-list {
    margin: 18px 0 18px 18px;
    padding-left: 18px;
}

.landing-jp__process-list-item {
    margin-bottom: 10px;
    list-style: disc inside;
}

.landing-jp__form {
    background: #fff;
    margin: 60px 0;
}

.form-juridical-person {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #b2d235;
    border-radius: 12px;
    padding: 32px 32px 24px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
    align-items: start;
}

.landing-jp__form-input {
    margin-bottom: 6px;
    padding: 12px 14px;
    border: 4px solid #fff;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
    transition: border-color .3s linear;
}

.landing-jp__form-input:hover {
    border-color: #8f48c6;
}

.landing-jp__form-input:focus {
    border-color: #662d91;
    outline: none;
    background: #f7f7f7;
}

.landing-jp__form-input::placeholder {
    color: #777f8c;
    opacity: 1;
}

#input__inn::-webkit-inner-spin-button,
#input__inn::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#input__inn {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Стили для поля комментария */
.landing-jp__form-comment {
    grid-column: 1 / -1;
}

.landing-jp__form-textarea {
    margin-bottom: 6px;
    padding: 12px 14px;
    border: 4px solid #fff;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border-color .3s linear;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.landing-jp__form-textarea:hover {
    border-color: #8f48c6;
}

.landing-jp__form-textarea:focus {
    border-color: #662d91;
    outline: none;
    background: #f7f7f7;
}

.landing-jp__form-textarea::placeholder {
    color: #777f8c;
    opacity: 1;
}

/* Стили для загрузки файлов */
.landing-jp__form-file {
    grid-column: 1 / -1;
}

.file-upload-area {
    position: relative;
    border: 4px solid #fff;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    background: #fff;
    transition: border-color .3s linear;
    cursor: pointer;
    margin-bottom: 6px;
}

.file-upload-area:hover {
    border-color: #8f48c6;
}

.file-upload-area.dragover {
    border-color: #662d91;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    margin-bottom: 15px;
    color: #777f8c;
}

.file-upload-text {
    color: #777f8c;
    font-size: 16px;
    margin-bottom: 8px;
}

.file-upload-link {
    text-decoration: underline;
    color: #662d91;
    font-weight: 600;
}

.file-upload-hint {
    color: #777f8c;
    font-size: 14px;
    margin: 0;
}

.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.file-item {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border: 2px solid #fff;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: #222;
    max-width: 200px;
    transition: border-color .3s linear;
}

.file-item:hover {
    border-color: #8f48c6;
}

.file-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 8px;
}

.file-item-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.file-item-remove:hover {
    background: rgba(255, 68, 68, 0.1);
}

.landing-jp__form-btn {
    background: #662d91;
    color: #fff;
    padding: 14px 0;
    border: none;
    border-radius: 6px;
    font-size: 1.08rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    margin-top: 8px;
    text-transform: uppercase;
    font-family: "Toxy", sans-serif;
}

.landing-jp__form-btn:hover {
    background: #8f48c6;
}

.landing-jp__form-btn.btn-inactive:hover {
    background: #662d91;
    cursor: default;
}

.landing-jp__img {
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

/* ============modal-message================= */
.modal-message {
    position: fixed;
    /* display: none; */
    display: block;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-content: center;
    top: 0;
    left: 0;
    background-color: #ffffff98;
    z-index: 500;
}

.modal-message__inner {
    max-width: 700px;
    width: 100%;
    margin: auto;
    padding: 0 10px 10px;
    border-radius: 8px;
    background-color: #662d91;
    animation: scaling-from-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@keyframes scaling-from-center {
    0% {
      -webkit-transform: scaleX(0.4);
              transform: scaleX(0.4);
    }
    100% {
      -webkit-transform: scaleX(1);
              transform: scaleX(1);
    }
}  

.modal-message__btn-close {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.modal-message_close {
    padding: 0;
    border: none;
    background: transparent;
    line-height: 1;
    font-size: 35px;
    color: #FFF;
    cursor: pointer;
    transition: color .3s ease;
}

.modal-message_close:hover {
    color: #b2d235;
}

.form-message {
    padding: 0 20px 20px;
    border-radius: 10px;
}

.form-message__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.form-message__icon {
    max-width: 115px;
    max-height: 115px;
}

.message__text {
    font-size: 32px;
    color: #FFF;
    line-height: 1.4;
    text-align: center;
}

#check-group {
    animation: 0.32s ease-in-out 1.03s check-group;
    transform-origin: center;
}

#check-group #check {
    animation: 0.34s cubic-bezier(0.65, 0, 1, 1) 0.8s forwards check;
    stroke-dasharray: 0, 75px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#check-group #outline {
    animation: 0.38s ease-in outline;
    transform: rotate(0deg);
    transform-origin: center;
}

#check-group #white-circle {
    animation: 0.35s ease-in 0.35s forwards circle;
    transform: none;
    transform-origin: center;
}

@keyframes outline {
    from {
        stroke-dasharray: 0, 345.576px;
    }

    to {
        stroke-dasharray: 345.576px, 345.576px;
    }
}

@keyframes circle {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0);
    }
}

@keyframes check {
    from {
        stroke-dasharray: 0, 75px;
    }

    to {
        stroke-dasharray: 75px, 75px;
    }
}

@keyframes check-group {
    from {
        transform: scale(1);
    }

    50% {
        transform: scale(1.09);
    }

    to {
        transform: scale(1);
    }
}
/* -----------------Preloader------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff98;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader.preloader-hidden {
    display: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #cccccc;
    border-top-color: #662d91;
    border-bottom-color: #662d91;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1020px) {
    .landing-jp__hero {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    .landing-jp__hero-content {
        text-align: center;
    }
    .landing-jp__hero-title {
        font-size: 46px;
    }
    .landing-jp__hero-image {
        justify-content: center;
        width: 100%;
        align-items: flex-end;
    }
    .landing-jp__hero-img {
        max-width: 340px;
    }
}

@media (max-width: 650px) {
    .landing-jp__hero {
        padding: 40px 25px;
    }
    .landing-jp__hero-title {
        font-size: 32px;
    }
    .landing-jp__hero-desc {
        font-size: 18px;
    }
    .landing-jp__hero-btn {
        font-size: 16px;
    }

    .landing-jp__section-title {
        font-size: 24px;
        margin-bottom: 26px;
    }

    .form-juridical-person {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .file-upload-area {
        padding: 20px 15px;
    }
    
    .file-upload-text {
        font-size: 14px;
    }
    
    .file-upload-hint {
        font-size: 12px;
    }
    
    .file-item {
        max-width: 100%;
        font-size: 13px;
    }
}

@media (max-width: 450px) {
    .landing-jp__hero {
        padding: 40px 20px;
    }
    .landing-jp__hero-title {
        font-size: 26px;
    }
    .landing-jp__hero-desc {
        font-size: 16px;
    }
    .landing-jp__hero-btn {
        font-size: 16px;
    }

    .landing-jp__section-title {
        font-size: 22px;
    }

    .landing-jp__advantages-list {
        gap: 20px;
    }

    .landing-jp__advantage-item {
        padding: 20px;
    }

    .landing-jp__process-text-block {
        padding: 36px 20px;
    }

    .form-juridical-person {
        padding: 32px 20px 24px;
    }
}