/* =========================================
CP LEAD REGISTRATION
========================================= */

.cp-lead-section{
    padding:180px 0 120px;
    background:
    linear-gradient(
        135deg,
        #f7efe7 0%,
        #efe3d4 50%,
        #e7d7c4 100%
    );
}

.cp-lead-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:50px;
    align-items:start;
}

/* LEFT */

.cp-lead-content{
    position:sticky;
    top:120px;
}

.cp-label{
    display:inline-block;
    margin-bottom:18px;

    font-size:12px;
    letter-spacing:2px;
    font-weight:600;

    color:#c39a5c;
}

.cp-lead-content h1{
    margin-bottom:20px;

    font-size:clamp(42px,4vw,70px);
    line-height:1.05;
    font-weight:800;

    color:#18392f;
}

.cp-lead-content h1 span{
    color:#c39a5c;
}

.cp-lead-content p{
    font-size:15px;
    line-height:1.9;
    color:#555;
}

.cp-feature-list{
    margin-top:40px;
}

.cp-feature{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:18px;

    background:#fff;
    padding:18px 20px;
    border-radius:14px;
}

.cp-feature i{
    font-size:22px;
    color:#18392f;
}

/* FORM CARD */

.cp-lead-form-card{
    background:#fff;
    border-radius:28px;
    padding:40px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.08);
}

.form-header{
    margin-bottom:30px;
}

.form-header h3{
    margin-bottom:10px;

    font-size:32px;
    font-weight:700;

    color:#18392f;
}

.form-header p{
    color:#777;
}

.cp-lead-form-card label{
    display:block;

    margin-bottom:8px;

    font-size:13px;
    font-weight:600;

    color:#18392f;
}

.cp-lead-form-card input,
.cp-lead-form-card select,
.cp-lead-form-card textarea{
    width:100%;

    border:1px solid #ddd;
    border-radius:12px;

    padding:14px 16px;

    outline:none;

    font-size:14px;

    transition:.3s;
}

.cp-lead-form-card input:focus,
.cp-lead-form-card select:focus,
.cp-lead-form-card textarea:focus{
    border-color:#18392f;
}

.cp-checkbox{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

.cp-checkbox input{
    width:18px;
    height:18px;
    margin-top:3px;
}

.cp-checkbox label{
    margin:0;
    font-size:13px;
    line-height:1.7;
    color:#666;
}

.cp-btn-wrap{
    display:flex;
    gap:14px;
}

.cp-submit-btn{
    border:none;
    background:#18392f;
    color:#fff;

    padding:14px 28px;
    border-radius:50px;

    font-weight:600;
}

.cp-reset-btn{
    border:none;
    background:#d7b37a;
    color:#18392f;

    padding:14px 28px;
    border-radius:50px;

    font-weight:600;
}
/* =========================================
FORM FIELDS FIX
========================================= */

.cp-lead-form-card input,
.cp-lead-form-card select,
.cp-lead-form-card textarea{
    width:100%;
    padding:14px 16px;

    background:#fff !important;
    color:#18392f !important;

    border:1px solid #d7d7d7;
    border-radius:12px;

    font-size:14px;
    font-weight:500;

    outline:none;
    box-shadow:none;

    transition:.3s ease;
}

/* Placeholder */

.cp-lead-form-card input::placeholder,
.cp-lead-form-card textarea::placeholder{
    color:#8a8a8a !important;
    opacity:1;
}

/* Select Dropdown */

.cp-lead-form-card select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    cursor:pointer;

    color:#18392f !important;

    background:
      #fff
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2318392f' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5L8 12l6.5-6.5' stroke='%2318392f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
      no-repeat right 16px center;

    padding-right:45px;
}

/* Default option */

.cp-lead-form-card select option{
    color:#18392f;
    background:#fff;
}

/* Focus */

.cp-lead-form-card input:focus,
.cp-lead-form-card select:focus,
.cp-lead-form-card textarea:focus{
    border-color:#c39a5c;
    box-shadow:0 0 0 4px rgba(195,154,92,.15);
}

/* Textarea */

.cp-lead-form-card textarea{
    resize:none;
    min-height:120px;
}

/* Autofill Fix */

.cp-lead-form-card input:-webkit-autofill,
.cp-lead-form-card input:-webkit-autofill:hover,
.cp-lead-form-card input:-webkit-autofill:focus{
    -webkit-text-fill-color:#18392f !important;
    transition:background-color 9999s ease-in-out 0s;
}
/* TABLET */

@media(max-width:991px){

    .cp-lead-wrapper{
        grid-template-columns:1fr;
    }

    .cp-lead-content{
        position:relative;
        top:auto;
    }
}

/* MOBILE */

@media(max-width:767px){

    .cp-lead-section{
        padding:140px 0 80px;
    }

    .cp-lead-content h1{
        font-size:42px;
    }

    .cp-lead-form-card{
        padding:24px;
    }

    .form-header h3{
        font-size:26px;
    }

    .cp-btn-wrap{
        flex-direction:column;
    }

    .cp-submit-btn,
    .cp-reset-btn{
        width:100%;
    }
}