.bef-wrap {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: inherit;
}

.bef-form {
    width: 100%;
    box-sizing: border-box;
}

.bef-field {
    margin: 0 0 16px;
}

.bef-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bef-field input,
.bef-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dedbd4;
    border-radius: 7px;
    background: #fff;
    color: #1d1d1d;
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
    -webkit-appearance: none;
}

.bef-field input {
    min-height: 35px;
    padding: 0 22px;
}

.bef-field textarea {
    min-height: 120px;
    padding: 20px 22px;
    resize: vertical;
}

.bef-field input::placeholder,
.bef-field textarea::placeholder {
    color: #666;
    opacity: 1;
}

.bef-field input:focus,
.bef-field textarea:focus {
    border-color: #c9a52d;
    box-shadow: 0 0 0 3px rgba(201, 165, 45, .12);
}

.bef-submit {
    width: 100%;
    min-height: 68px;
    border: 0;
    border-radius: 7px;
    background: #e3c34f;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 0 24px;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.bef-submit:hover {
    filter: brightness(.97);
}

.bef-submit:active {
    transform: translateY(1px);
}

.bef-submit span:last-child {
    font-size: 25px;
    line-height: 1;
}

.bef-safe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    color: #777;
    font-size: 16px;
    line-height: 1.4;
}

.bef-lock {
    font-size: 22px;
    color: #555;
    transform: rotate(180deg);
    display: inline-block;
}

.bef-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.bef-success {
    background: #eef8ef;
    color: #246b2a;
}

.bef-error {
    background: #fff1f1;
    color: #9a2828;
}

.bef-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 600px) {
    .bef-field {
        margin-bottom: 12px;
    }

    .bef-field input {
        min-height: 58px;
        padding: 0 16px;
        font-size: 15px;
    }

    .bef-field textarea {
        min-height: 160px;
        padding: 16px;
        font-size: 15px;
    }

    .bef-submit {
        min-height: 58px;
        font-size: 16px;
        gap: 20px;
    }

    .bef-safe {
        margin-top: 20px;
        font-size: 14px;
    }
}
