/* ═══════════════════════════════════════════════════════════════
   All styles scoped to .we-wrapper — zero global side-effects
   ═══════════════════════════════════════════════════════════════ */

.we-wrapper,
.we-wrapper *,
.we-wrapper *::before,
.we-wrapper *::after {
    box-sizing: border-box;
}

.we-wrapper {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.5;
}

/* ── Banners ── */
.we-wrapper .we-success-banner {
    background: #f0fde4;
    border: 1px solid #c6e97a;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 20px 0;
    color: #3a6b00;
    font-weight: 600;
}

.we-wrapper .we-error-banner {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 20px 0;
    color: #c53030;
    font-weight: 600;
}

/* ── Card ── */
.we-wrapper .we-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 26px;
    margin: 0 0 16px 0;
}

/* ── Rows ── */
.we-wrapper .we-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 16px 0;
}

.we-wrapper .we-field {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.we-wrapper .we-field-full {
    margin: 0;
}

/* ── Labels ── */
.we-wrapper .we-field label,
.we-wrapper .we-field-full label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 5px 0;
    padding: 0;
    color: #374151;
    line-height: 1.4;
    background: none;
    border: none;
    float: none;
    width: auto;
}

.we-wrapper .we-req {
    color: #e53e3e;
}

/* ── Inputs ── */
.we-wrapper .we-field input[type="text"],
.we-wrapper .we-field input[type="email"],
.we-wrapper .we-field input[type="tel"],
.we-wrapper .we-field-full textarea {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}

.we-wrapper .we-field-full textarea {
    resize: vertical;
}

.we-wrapper .we-field input:focus,
.we-wrapper .we-field-full textarea:focus {
    outline: none;
    border-color: #88ad35;
    box-shadow: 0 0 0 3px rgba(136, 173, 53, 0.14);
}

/* Character counter */
.we-wrapper .we-char-count {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    color: #888;
    text-align: right;
}

/* Error styling */
.we-wrapper .we-field input.error,
.we-wrapper .we-field-full textarea.error {
    border-color: #dc2626 !important;
}

/* ── Submit ── */
.we-wrapper .we-submit-row {
    display: flex;
    margin: 0;
}

.we-wrapper .we-submit-row button {
    display: inline-block;
    padding: 12px 36px;
    background: #66361f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
    margin: 0;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: background .2s;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
}

/* reCAPTCHA styling */
.we-wrapper .we-recaptcha-container {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.we-wrapper .we-recaptcha-note {
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
    color: #6b7280;
}

.we-wrapper .g-recaptcha {
    margin: 0 auto;
    display: inline-block;
}



.we-wrapper .we-submit-row button:hover {
    background: #88ad35;
}

/* Loading state for submit button */
.we-wrapper .we-submit-row button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spam notice */
.we-wrapper .we-spam-notice {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 20px 0;
    color: #c53030;
    font-size: 13px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .we-wrapper .we-row {
        grid-template-columns: 1fr;
    }
    .we-wrapper .we-submit-row {
        display: block;
    }
    .we-wrapper .we-submit-row button {
        width: 100%;
        text-align: center;
    }
}