/* Container and Grid */
        .lead-form-container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem;
        }
        
        .lead-form__grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            width: 100%;
        }
        
        /* Field Base */
        .lead-field {
            position: relative;
            grid-column: span 2;
            height: 50px;
            display: flex;
        }
        
        .lead-field--phone {
            display: flex;
        }
        
        .lead-field__phone-wrapper {
            position: relative;
            width: 100%;
            display: flex;
        }
        
        /* Input Styling */
        .lead-field__input {
            width: 100%;
            padding: 1rem;
            font-size: 1rem;
            border: 1px solid var(--dark);
            border-radius: 9999px;
            background: white;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        
        .lead-field__input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 1px var(--primary);
        }
        
        /* Floating Label */
        .lead-field__label {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background-color: white;
            border-radius: var(--radius-m);
            padding: 0 0.5rem;
            font-size: 1rem;
            color: var(--dark);
            font-weight: 500;
            transition: all 0.3s ease;
            pointer-events: none;
        }
        
        .lead-field__label::after {
            content: '*';
            color: var(--secondary);
            margin-left: 2px;
        }
        
        .lead-field__input:focus + .lead-field__label,
        .lead-field__input:not(:placeholder-shown) + .lead-field__label {
            top: 0;
            transform: translateY(-50%) scale(0.85);
            color: var(--primary);
        }
        
        /* Checkbox Styling */
        .lead-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin-top: 1rem;
            cursor: pointer;
            padding-left: 1rem;
        }
        
        .lead-checkbox__input {
            width: 1.25rem;
            height: 1.25rem;
			aspect-ratio: 1;
            border: 1px solid var(--dark);
            border-radius: var(--radius-m);
            appearance: none;
            cursor: pointer;
        }
        
        .lead-checkbox__input:checked {
            background: var(--primary);
            border-color: var(--primary);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-size: 80%;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .lead-checkbox__label {
            color: var(--dark);
            font-size: 0.875rem;
            line-height: 1;
        }
        
        /* Footer and Submit Button */
        .lead-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
        }
        
        .lead-submit {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 2rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 9999px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            min-width: 120px;
			width: max-content;
        }
        
        .lead-submit:hover {
            filter: brightness(0.9);
        }
        
        .lead-submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        .lead-submit svg {
            width: 20px;
            height: 20px;
        }
        
        /* Error States */
        .lead-field__input--error {
            border-color: var(--error) !important;
        }
        
        .lead-field__input--error:focus {
            box-shadow: 0 0 0 1px var(--error) !important;
        }
        
        .lead-field__error {
            position: absolute;
            bottom: -25px;
            left: 1rem;
            color: var(--error);
            font-size: 0.75rem;
        }
        
        /* Form Error Messages */
        .lead-form-messages {
            margin-bottom: 1rem;
            padding: 0.75rem;
            border-radius: 0.5rem;
        }
        
        .lead-form-error {
            background-color: rgba(239, 68, 68, 0.1);
            border: 1px solid var(--error);
            color: var(--error);
            padding: 0.75rem;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .lead-form-error .error-icon {
            width: 24px;
            height: 24px;
            margin-right: 0.5rem;
            vertical-align: middle;
        }
        
        /* Success Message */
        .lead-success-message {
            text-align: center;
            padding: 2rem;
        }
        
        .lead-success-icon {
            font-size: 3rem;
            color: #22c55e;
            margin-bottom: 1rem;
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .lead-form__grid {
                grid-template-columns: 1fr;
            }
            .lead-field {
                grid-column: 1 / -1;
            }
            .lead-form-container {
                padding: 1rem;
            }
            .lead-checkbox {
                padding-left: 0;
            }
        }
        
        /* Added for consent field which needs more height */
        #consent {
            height: auto;
            margin-top: 1.5rem;
            margin-bottom: 1rem;
        }
        
        /* Button styling with the primary class */
        .btn.primary {
            background-color: var(--primary);
        }
        
        /* Honeypot field */
        .lfp-hp {
            display: none !important;
            position: absolute;
            left: -9999px;
        }
        
        /* reCAPTCHA container */
        .recaptcha-container {
            display: flex;
            justify-content: center;
            margin: 1rem 0;
        }
        
        /* Loader */
        .loader {
            width: 20px;
            height: 20px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s linear infinite;
            display: none;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

/* Success Message Styling */
.lead-form-success {
    text-align: center;
    padding: 2rem;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 0.5rem;
    margin: 2rem auto;
    max-width: 600px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    animation: scaleIn 0.5s ease-out;
}

.lead-form-success h3 {
    font-size: var(--text-3xl);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 900;
}

.lead-form-success p {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.success-subtext {
    font-size: 0.9rem !important;
    color: #666 !important;
    margin-top: 1rem !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}