.ybf-wrapper {
    max-width: 820px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.10);
    overflow: hidden;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.ybf-header {
    background: linear-gradient(135deg, #1a3a1a 0%, #2d6a2d 100%);
    padding: 40px;
    color: #fff;
    text-align: center;
}
.ybf-header-icon { font-size: 36px; margin-bottom: 10px; }
.ybf-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}
.ybf-header p { margin: 0; font-size: 15px; color: rgba(255,255,255,0.82); }
#ybf-form { padding: 36px 40px; }

.ybf-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #2d6a2d;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 8px;
    margin: 28px 0 18px;
}
.ybf-section-title:first-of-type { margin-top: 0; }
.ybf-section-desc { font-size: 13px; color: #777; margin: -10px 0 16px; }

.ybf-row.two-col { display: flex; gap: 20px; }
.ybf-row.two-col .ybf-field { flex: 1; }
.ybf-field { margin-bottom: 20px; }
.ybf-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ybf-field label span { color: #c0392b; }
.ybf-field input[type="text"],
.ybf-field input[type="email"],
.ybf-field input[type="tel"],
.ybf-field input[type="number"],
.ybf-field input[type="date"],
.ybf-field select,
.ybf-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ybf-field input:focus,
.ybf-field select:focus,
.ybf-field textarea:focus {
    border-color: #2d6a2d;
    box-shadow: 0 0 0 3px rgba(45,106,45,0.12);
    background: #fff;
}

.ybf-radio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.ybf-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #444;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s;
}
.ybf-radio:hover { border-color: #2d6a2d; background: #edf7ed; }
.ybf-radio input[type="radio"] { accent-color: #2d6a2d; cursor: pointer; }

.ybf-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 4px;
}
.ybf-check {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #444;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s;
}
.ybf-check:hover { border-color: #2d6a2d; background: #edf7ed; }
.ybf-check input[type="checkbox"] { accent-color: #2d6a2d; cursor: pointer; width: 16px; height: 16px; }

.ybf-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.ybf-service-card {
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 18px 16px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ybf-service-card:hover { border-color: #2d6a2d; box-shadow: 0 2px 12px rgba(45,106,45,0.10); }
.ybf-service-icon { font-size: 28px; margin-bottom: 8px; }
.ybf-service-label { font-size: 15px; font-weight: 600; color: #222; margin-bottom: 4px; }
.ybf-service-sub { font-size: 12px; color: #888; margin-bottom: 14px; }
.ybf-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #2d6a2d;
    font-weight: 600;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}
.ybf-toggle input[type="checkbox"] { accent-color: #2d6a2d; width: 16px; height: 16px; cursor: pointer; }

.ybf-error {
    background: #fff0f0;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 18px;
}
.ybf-submit {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 17px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
}
.ybf-submit:hover { background: #1ebe5d; transform: translateY(-1px); }
.ybf-submit:active { transform: translateY(0); }
.ybf-footer-note {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 12px 0 0;
}

@media (max-width: 600px) {
    #ybf-form, .ybf-header { padding: 22px 16px; }
    .ybf-row.two-col { flex-direction: column; gap: 0; }
    .ybf-checkbox-grid { grid-template-columns: 1fr 1fr; }
    .ybf-services-grid { grid-template-columns: 1fr; }
    .ybf-radio-grid { flex-direction: column; }
}
