/* ===== Farmin lead-capture multi-step wizard ===== */
.article7 .form-wrapper { width: 680px; max-width: 100%; }

.lf {
    --lf-green: #245B3A;
    --lf-deep: #173F2A;
    --lf-leaf: #65A832;
    --lf-lime: #B7D957;
    --lf-mint: #DDEED2;
    --lf-cream: #F6F1E7;
    --lf-line: #e4e4dd;
    width: 100%;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(23, 63, 42, .08);
    overflow: hidden;
}

/* header + progress */
.lf-head { padding: 26px 30px 0; }
.lf-head .lf-eyebrow { color: var(--lf-leaf); font-size: 14px; font-weight: 700; }
.lf-head h3 { color: var(--lf-deep); font-size: 24px; font-weight: 800; margin-top: 6px; line-height: 1.35; }
.lf-head p { color: #777; font-size: 14px; margin-top: 8px; line-height: 1.5; }

.lf-progress { display: flex; gap: 6px; padding: 20px 30px 0; }
.lf-progress .lf-bar { flex: 1; height: 5px; border-radius: 3px; background: #ecece7; transition: background .25s; }
.lf-progress .lf-bar.done { background: var(--lf-lime); }
.lf-progress .lf-bar.active { background: var(--lf-green); }
.lf-stepno { padding: 12px 30px 0; font-size: 12.5px; color: #9a9a95; font-weight: 600; }

/* steps */
.lf-body { padding: 12px 30px 4px; }
.lf-step { display: none; }
.lf-step.active { display: block; animation: lf-in .28s ease; }
@keyframes lf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lf-step h4 { font-size: 18px; font-weight: 700; color: #1e2520; margin-bottom: 4px; }
.lf-step .lf-sub { font-size: 13px; color: #999; margin-bottom: 18px; }

.lf-field { margin-bottom: 16px; }
.lf-field > label { display: block; font-size: 14px; font-weight: 600; color: #555; margin-bottom: 8px; }
.lf-field > label .req { color: #d23f30; margin-left: 2px; }
.lf-field .opt { color: #b3b3ad; font-weight: 500; font-size: 12.5px; margin-left: 4px; }
.lf-input, .lf-select {
    width: 100%; height: 52px; padding: 0 15px;
    border: 1px solid var(--lf-line); border-radius: 11px;
    font-size: 15px; color: #222; outline: none; font-family: inherit; background: #fff;
}
.lf-input:focus, .lf-select:focus { border-color: var(--lf-green); }
.lf-textarea {
    width: 100%; min-height: 88px; padding: 12px 15px;
    border: 1px solid var(--lf-line); border-radius: 11px;
    font-size: 15px; color: #222; outline: none; font-family: inherit; resize: vertical;
}
.lf-textarea:focus { border-color: var(--lf-green); }
.lf-row { display: flex; gap: 12px; }
.lf-row .lf-field { flex: 1; }

/* chips */
.lf-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.lf-chip {
    border: 1.5px solid var(--lf-line); background: #fff;
    color: #444; font-size: 14px; font-weight: 600;
    padding: 11px 16px; border-radius: 30px; cursor: pointer;
    font-family: inherit; transition: all .15s ease; user-select: none;
}
.lf-chip:hover { border-color: var(--lf-leaf); color: var(--lf-green); }
.lf-chip.on { background: var(--lf-green); border-color: var(--lf-green); color: #fff; }
.lf-chip.on::before { content: '✓ '; font-weight: 800; }

/* consent */
.lf-consent { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid #f0f0ea; }
.lf-consent .lf-consent-l { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.lf-consent input { width: 18px; height: 18px; accent-color: var(--lf-green); cursor: pointer; }
.lf-consent .lf-consent-l span { font-size: 13.5px; color: #555; }
.lf-consent .lf-terms { font-size: 13px; color: #999; text-decoration: underline; cursor: pointer; background: none; border: none; font-family: inherit; }

/* nav */
.lf-nav { display: flex; gap: 10px; padding: 8px 30px 26px; }
.lf-btn {
    flex: 1; height: 54px; border-radius: 12px; border: none;
    font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit;
    transition: background .18s ease, opacity .18s ease;
}
.lf-btn-prev { flex: 0 0 92px; background: #f0f1ee; color: #555; }
.lf-btn-prev:hover { background: #e6e7e3; }
.lf-btn-next { background: var(--lf-green); color: #fff; }
.lf-btn-next:hover { background: var(--lf-deep); }
.lf-btn-next:disabled { opacity: .5; cursor: default; }

/* result */
.lf-result { display: none; padding: 8px 30px 30px; text-align: center; }
.lf-result.active { display: block; animation: lf-in .3s ease; }
.lf-result .lf-check {
    width: 62px; height: 62px; border-radius: 50%; margin: 6px auto 14px;
    background: var(--lf-mint); color: var(--lf-green);
    display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.lf-result h3 { font-size: 22px; font-weight: 800; color: var(--lf-deep); }
.lf-result .lf-result-sub { font-size: 14px; color: #777; margin-top: 8px; line-height: 1.55; }
.lf-reco {
    margin: 22px 0 8px; border: 1px solid var(--lf-line); border-radius: 16px; overflow: hidden; text-align: left;
}
.lf-reco img { width: 100%; height: 180px; object-fit: cover; display: block; }
.lf-reco .lf-reco-b { padding: 16px 18px; }
.lf-reco .lf-reco-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--lf-leaf); background: var(--lf-mint); padding: 3px 10px; border-radius: 20px; }
.lf-reco h4 { font-size: 18px; font-weight: 800; color: #1a1a1a; margin-top: 8px; }
.lf-reco p { font-size: 13.5px; color: #555; line-height: 1.6; margin-top: 8px; }
.lf-result .lf-tel { margin-top: 16px; font-size: 14px; color: #666; }
.lf-result .lf-tel b { color: var(--lf-green); }
.lf-result .lf-restart { margin-top: 18px; background: none; border: none; color: #999; font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; }

@media (max-width: 560px) {
    .lf-head { padding: 22px 20px 0; }
    .lf-head h3 { font-size: 21px; }
    .lf-progress, .lf-stepno, .lf-body, .lf-nav, .lf-result { padding-left: 20px; padding-right: 20px; }
    .lf-row { flex-direction: column; gap: 0; }
}
