@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Urbanist&display=swap");

.lp-list ul {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding-left: 20px;
}

a.btn-appointment {
    color: #002405;
    transition: 0.3s color, 0.3s background-color;
}

a.btn-appointment:hover {
    background-color: #002405;
    color: #f5efe4;
}

.cf7-lp h2 {
    font-size: 40px;
    font-weight: 400;
    color: #002405;
}

.cf7-lp {
    width: 100%;
    max-width: 1035px;
}

.cf7-lp h3 {
    font-family: "Inter", sans-serif;
    color: #002405;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 49px;
    margin-top: 68px;
    letter-spacing: 0.05em;
}

.cf7-lp input {
    border: none;
    border-bottom: 1px solid #002405;
    opacity: 0.5;
    font-size: 14px;
    padding: 7px 0;
    background-color: transparent;
    text-transform: uppercase;
    color: #002405;
    max-width: 100%;
}

.cf7-lp span {
    color: #00240580;
    font-size: 14px;
    text-transform: uppercase;
}

.cf7-lp input:focus {
    outline: none;
    opacity: 1;
}

.cf7-lp input::placeholder {
    color: #002405;
    opacity: 0.5;
}

.cf7-lp .cwp-cf7-row {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 33px;
    align-items: baseline;
}

.cf7-lp input[name="client-name"],
.cf7-lp input[name="client-email"] {
    max-width: 290px;
}

.cf7-lp input[name="client-phone"] {
    max-width: 170px;
}

.cf7-lp .wpcf7-list-item.first {
    margin-left: 0;
}

.cf7-lp .wpcf7-radio {
    display: block;
    padding-top: 8px;
}

.cf7-lp .cwp-cf7-row.client-address > * {
    flex-shrink: 1;
    max-width: 20%;
}

.cf7-lp input[name="client-state"],
.cf7-lp input[name="client-zip"],
.cf7-lp input[name="broker-state"],
.cf7-lp input[name="broker-zip"] {
    max-width: 165px;
}

.cf7-lp .cwp-cf7-row.broker-name > * {
    flex-grow: 1;
    max-width: 50%;
}

.cf7-lp .cwp-cf7-row.broker-name input {
    width: 100%;
}

.cf7-lp input[name="broker-email"] {
    max-width: 100%;
    width: 474px;
}
.cf7-lp input[name="broker-phone"] {
    max-width: 100%;
    width: 379px;
}

.cf7-lp .agent-listed {
    font-size: 18px;
    line-height: 26px;
    color: #002405;
    max-width: 821px;
    margin: 60px 0 68px;
    font-weight: 400;
}

.cf7-lp .cwp-cf7-note {
    font-size: 13px;
    line-height: 19px;
    color: #002405;
    margin-top: 84px;
}

.cf7-lp input[type="submit"] {
    background-color: #002405;
    border: 1px solid #002405;
    color: #f5efe4;
    transition: 0.3s color, 0.3s background-color, 0.3s border;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    width: 257px;
    opacity: 1;
    padding: 6px;
    border-radius: 4px;
    height: 42px;
    cursor: pointer;
}

.next-step {
    background-color: transparent;
    border: 1px solid #002405;
    color: #002405;
    transition: 0.3s color, 0.3s background-color, 0.3s border;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    width: 257px;
    opacity: 1;
    padding: 6px;
    border-radius: 4px;
    height: 42px;
    cursor: pointer;
    width: 100%;
}

.cf7-lp input[type="submit"]:hover {
    color: #002405;
    background-color: #f5efe4;
}

.cf7-lp input[name="digital-signature"] {
    max-width: 100%;
    width: 411px;
}

.cf7-lp input[name="registration-date"] {
    max-width: 100%;
    width: 212px;
}

.cf7-lp .submit-btn {
    display: flex;
    flex-grow: 1;
    justify-content: end;
}

.cf7-lp .cwp-cf7-row > * {
    height: fit-content;
}

.cf7-lp .cwp-cf7-row span.wpcf7-not-valid-tip {
    margin-top: 5px;
}

.mobile-form-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Form Steps */
/* .form-step {
    display: none;
} */

.form-step.active {
    display: block;
}

@media (min-width: 768px) {
    .form-navigation {
        display: none;
    }

    #step-2 h2 {
        display: none;
    }
}

.image-container {
    position: relative;
    max-width: 100%;
    height: 660px;
    overflow: hidden;
}

.fade-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#image1 {
    z-index: 1; /* Base image behind */
    position: relative;
}

#image2 {
    z-index: 2; /* Snow overlay on top */
}

.sale-asset {
    cursor: pointer;
    transition: 0.3s background-color;
}

.sale-asset:hover {
    background-color: #002405 !important;
}

.sale-asset div {
    transition: 0.3s color;
}

.sale-asset:hover div {
    color: #fff !important;
}

.sale-asset:hover img {
    filter: invert();
}

@media (max-width: 767px) {
    .image-container {
        height: 477px;
    }

    .lp-list ul li {
        font-size: 16px;
        line-height: 21px;
    }

    .lp-list ul {
        gap: 15px;
    }

    .cf7-lp .cwp-cf7-row {
        flex-direction: column;
    }

    .cf7-lp .cwp-cf7-row input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .cf7-lp .cwp-cf7-row.client-address > *,
    .cf7-lp .cwp-cf7-row.broker-name > *,
    .cf7-lp .cwp-cf7-row > *,
    .submit-btn p {
        max-width: 100%;
        width: 100%;
    }

    .cf7-lp .cwp-cf7-row input[type="radio"] {
        width: auto !important;
    }

    .cf7-lp .agent-listed {
        font-size: 16px;
    }

    .custom-success-message {
        padding: 160px 20px 160px;
    }

    .form-step {
        width: 100%;
    }

    .form-step:not(.active) {
        display: none;
    }

    .form-navigation {
        display: block;
        text-align: center;
        margin-top: 30px;
    }

    .mobile-form-container {
        display: flex;
        min-height: auto;
    }

    .form-step {
        display: block;
        flex: 1;
        min-height: auto;
        margin: 0 10px;
    }

    .cf7-lp h2 {
        font-size: 28px;
    }

    .cf7-lp .cwp-cf7-note {
        margin-top: 16px;
    }

    .cf7-lp input[type="date"]:before {
        content: "YYYY-MM-DD" !important;
        color: #999;
    }

    .cf7-lp input[type="date"]:focus:before {
        content: "" !important;
    }

    body #div_block-63-417 {
        gap: 20px;
    }

    #bottom-contact {
        background-position: top center;
    }
}

/* Hide the form when success message is shown */
.wpcf7-mail-sent-ok {
    display: block !important;
}

.wpcf7-form.sent .wpcf7-form-control-wrap,
.wpcf7-form.sent .wpcf7-submit,
.wpcf7-form.sent p:not(.wpcf7-response-output) {
    display: none !important;
}

/* Style your success message */
.custom-success-message {
    text-align: center;
    padding: 180px 20px 80px;
}

.custom-success-message h2 {
    font-size: 53px;
    margin-bottom: 20px;
    color: #002405;
}

.custom-success-message p {
    font-size: 16px;
    letter-spacing: 2px;
    color: #002405;
    margin-bottom: 110px;
}

.custom-success-message img {
    width: 75px;
}
