/* ── Contact Form Pro ─────────────────────────────────── */
.cfp-wrapper {
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

/* Honeypot */
.cfp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Row: two columns */
.cfp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .cfp-row { grid-template-columns: 1fr; gap: 16px; }
}

/* Field */
.cfp-field { display: flex; flex-direction: column; }
.cfp-field.cfp-full { margin-bottom: 24px; }

.cfp-field label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.cfp-req { color: #e63946; margin-left: 2px; }

.cfp-field input[type="text"],
.cfp-field input[type="email"],
.cfp-field input[type="tel"],
.cfp-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cfp-field input:focus,
.cfp-field textarea:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.cfp-field input.cfp-invalid,
.cfp-field textarea.cfp-invalid {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.cfp-field textarea { resize: vertical; min-height: 200px; line-height: 1.6; }

/* Field errors */
.cfp-field-error {
    font-size: 12px;
    color: #e63946;
    margin-top: 5px;
    min-height: 16px;
    display: block;
}

/* Submit */
.cfp-submit-row { margin-top: 4px; }

.cfp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #4caf50;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    letter-spacing: 0.3px;
}

.cfp-btn:hover { background: #43a047; }
.cfp-btn:active { transform: scale(0.98); }
.cfp-btn:disabled { background: #a5d6a7; cursor: not-allowed; }

/* Spinner */
.cfp-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cfp-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes cfp-spin { to { transform: rotate(360deg); } }

/* Notices */
.cfp-notice {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}
.cfp-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.cfp-error   { background: #ffebee; color: #c62828; border-left: 4px solid #e63946; }
