/* В макете композиция папки выходит за правый край секции и обрезается краем
   страницы (1440), а не контейнером. Поэтому режем на всю ширину секции, и
   только по горизонтали — папке нужно подниматься над верхней границей. */
.land-request {
    background: rgba(224, 229, 237, 1);
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .land-request {
        overflow: hidden;
    }
}

.land-request__wrapper {
    position: relative;
    min-height: 515px;
}

.land-request__form-col {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 561px;
}

.land-request__title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #1F4FCE;
    margin: 0;
    max-width: 528px;
}

.land-request__description {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #1B1B1B;
    margin: 20px 0 0;
    max-width: 528px;
}

.land-request__panel {
    margin-top: 40px;
    max-width: 521px;
}

.land-request__form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.land-request__row {
    display: flex;
    gap: 30px;
}

.land-request__field {
    flex: 1 1 0;
    min-width: 0;
    display: block;
}

.land-request__field--full {
    flex: 1 1 100%;
}

.land-request__input {
    width: 100%;
    padding: 10px 20px;
    border: 1.5px solid #1F4FCE;
    border-radius: 40px;
    background: transparent;
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #1B1B1B;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.land-request__input::placeholder {
    color: #5177DD;
    opacity: 1;
}

.land-request__input:focus {
    border-color: #0C3E9A;
}

/* ── AGREE ───────────────────────────────────────────────── */

.land-request__agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.land-request__agree input.land-request__checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.land-request__checkbox-ui {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    line-height: 0;
    margin-top: 1px;
}

.land-request__checkbox-check {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.land-request__checkbox-input:checked ~ .land-request__checkbox-ui .land-request__checkbox-check {
    opacity: 1;
}

.land-request__agree.is-error .land-request__checkbox-ui {
    animation: land-request-shake 0.4s;
}

@keyframes land-request-shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-4px); }
    75%      { transform: translateX(4px); }
}

.land-request__agree-text {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #1B1B1B;
}

.land-request__agree-text a {
    color: inherit;
    text-decoration: underline;
}

.land-request__agree-text a:hover,
.land-request__agree-text a:focus,
.land-request__agree-text a:active {
    color: inherit;
}

.land-request__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 30px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(180deg, #4085D9 0%, #0C3E9A 100%);
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 240, 240, 1);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.land-request__submit:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    color: rgba(255, 240, 240, 1);
}

.land-request__quform-hidden {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.land-request__success {
    display: none;
    margin-top: 4px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(31, 79, 206, 0.1);
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1F4FCE;
}

.land-request__success.is-visible {
    display: block;
}

/* ── ART (координаты в % от макетного фрейма 1180×515) ───── */

.land-request__art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Ширину каждому слою задаёт его собственное правило — здесь её объявлять нельзя:
   селектор .land-request__art img специфичнее одиночного класса и перебил бы проценты. */
.land-request__art img {
    display: block;
    height: auto;
}

.land-request__art-outline {
    position: absolute;
    left: 41.36%;
    top: 41.36%;
    width: 35.93%;
}

.land-request__folder {
    position: absolute;
    left: 47.46%;
    top: -17.67%;
    width: 64.98%;
    aspect-ratio: 766.77 / 681;
}

/* Слои выгружены рендером нод Figma — поворот подложки уже запечён в PNG,
   поэтому здесь только координаты из макета, без transform. */
.land-request__art-back {
    position: absolute;
    left: 0;
    top: 0;
    width: 88.82%;
}

.land-request__art-front {
    position: absolute;
    left: 22.95%;
    top: 12.48%;
    width: 77.05%;
}

.land-request__note {
    position: absolute;
    left: 45.91%;
    top: 35.24%;
    width: 30%;
}

.land-request__note-title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 25px;
    color: #1F4FCE;
    margin: 0 0 28px;
}

/* Пункты в макете разделены пустой строкой (17px), а не фиксированным зазором. */
.land-request__note-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.land-request__note-item {
    position: relative;
    padding-left: 14px;
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #1B1B1B;
}

.land-request__note-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
}

/* ---- TABLET (≤1024px) ---- */
@media (max-width: 1024px) {
    .land-request__wrapper {
        min-height: 440px;
    }

    .land-request__form-col {
        max-width: 55%;
    }

    .land-request__title {
        font-size: 28px;
        line-height: 35px;
    }

    .land-request__description {
        font-size: 16px;
        line-height: 24px;
        margin-top: 16px;
    }

    .land-request__panel {
        margin-top: 28px;
    }

    .land-request__form {
        gap: 18px;
    }

    .land-request__row {
        gap: 16px;
    }

    .land-request__row--pair {
        flex-direction: column;
    }

    .land-request__note-title {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 8px;
    }

    .land-request__note-list {
        gap: 8px;
    }

    .land-request__note-item {
        font-size: 11px;
        line-height: 14px;
        padding-left: 11px;
    }

    .land-request__submit {
        font-size: 14px;
    }
}

/* ---- MOBILE (≤640px) ---- */
@media (max-width: 640px) {
    .land-request,
    .land-request * {
        text-align: left !important;
    }

    .land-request__wrapper {
        min-height: 0;
    }

    .land-request__form-col {
        max-width: 100%;
    }

    .land-request__title {
        font-size: 22px;
        line-height: 29px;
    }

    .land-request__description {
        font-size: 14px;
        line-height: 20px;
        margin-top: 12px;
    }

    .land-request__panel {
        margin-top: 24px;
        max-width: 100%;
    }

    .land-request__art {
        display: none;
    }

    .land-request__submit {
        text-align: center !important;
        justify-content: center;
    }

    .land-request__title br,
    .land-request__description br {
        display: none;
    }
}
