.contact-us {
    background-color: unset;

    main {
        background: linear-gradient(180deg, #FAF7F5 0%, rgba(250, 247, 245, 0.00) 100%);
    }

    .footer {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .contact-intro {
        padding: 80px 0;
        display: flex;
        text-align: center;

        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .contact-intro__title {
            font-family: 'Gilroy', sans-serif;
            font-weight: 700;
            font-size: 48px;
            line-height: 52px;
            letter-spacing: -0.48px;
            color: #282828;
            margin-bottom: 20px;
        }

        .contact-intro__text {
            font-family: 'Gilroy', sans-serif;
            font-weight: 500;
            font-size: 18px;
            line-height: 26px;
            letter-spacing: 0.18px;
            color: #777;
        }

        @media (max-width: 1199px) {
            .contact-intro__title {}

            .contact-intro__text {}
        }

        @media (max-width: 991px) {
            .contact-intro__title {}

            .contact-intro__text {}
        }

        @media (max-width: 767px) {
            .contact-intro__title {}

            .contact-intro__text {}
        }
    }


    .contact-form__card {
        margin-top: 40px;
        margin-bottom: 40px;
        max-width: 640px;
        padding: 32px 32px 24px;
        border-radius: 24px;
        background: #fff;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);

        &.contact-form__card--success {
            padding: 64px 48px;
            width: 100%;
        }

        .contact-form__success {
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            text-align: center;

            &.is-visible {
                display: flex;
            }
        }

        .contact-form__success-icon {
            background: #e7f3ed;
            border-radius: 999px;
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-form__checkmark-path {
            stroke-dasharray: 30;
            stroke-dashoffset: 30;
            transition: stroke-dashoffset 0.45s ease 0.15s;

            &.is-drawn {
                stroke-dashoffset: 0;
            }
        }

        .contact-form__success-title {
            font-family: 'Gilroy', sans-serif;
            font-weight: 600;
            font-size: 24px;
            line-height: 32px;
            color: #282828;
        }

        .contact-form__success-text {
            font-family: 'Gilroy', sans-serif;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0.16px;
            color: #777;
            max-width: 300px;
        }

        .contact-form__success-btn {
            background: rgba(0, 0, 0, 0.05);
            border: none;
            border-radius: 12px;
            padding: 8px 16px;
            cursor: pointer;
            font-family: 'Gilroy', sans-serif;
            font-weight: 600;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0.16px;
            color: #282828;
            transition: background 0.2s;

            &:hover {
                background: rgba(0, 0, 0, 0.09);
            }
        }

        .contact-form__field {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;

            .wpcf7-form-control-wrap {
                display: block;
                width: 100%;

                input:hover,
                textarea:hover {
                    outline: 1.5px solid #CCC;
                    outline-offset: -1.5px;
                    background-color: #FFF;
                }

                input:focus,
                textarea:focus {
                    outline: 1.5px solid var(--foreground-primary, #282828);
                    outline-offset: -1.5px;
                    background: #FFF;
                }

                select:focus-within {
                    outline: 1.5px solid var(--foreground-primary, #282828);
                    outline-offset: -1.5px;
                    background: #FFF;
                }

                .wpcf7-form-control.wpcf7-not-valid {
                    outline: 1.5px solid #F37171;
                    outline-offset: -1.5px;
                    background: #FFF;
                }

                .wpcf7-not-valid-tip {
                    color: rgba(180, 39, 39, 1);
                    font-size: 13px;
                    font-weight: 500;
                    line-height: 15px;
                    text-align: left;
                    margin-top: 4px;

                    &::before {
                        content: "";
                        display: inline-block;
                        width: 13px;
                        height: 13px;
                        background-image: url("/wp-content/themes/simplydepo/images/book-a-demo-new/form-alert-icon.svg");
                        background-repeat: no-repeat;
                        background-size: contain;
                        margin-right: 4px;
                        margin-top: -1px;
                        vertical-align: middle;
                    }
                }
            }
        }

        .contact-form__field-title {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--foreground-primary, #282828);
            font-feature-settings: 'liga' off;
            font-size: 15px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
            letter-spacing: 0.15px;
        }

        .contact-form__label {
            display: flex;
            align-items: center;
            gap: 2px;
            font-family: 'Gilroy', sans-serif;
            font-weight: 500;
            font-size: 15px;
            line-height: 20px;
            letter-spacing: 0.15px;
            color: #282828;
        }

        .icon-star {
            width: 12px;
            height: 12px;
            border-radius: 4px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' viewBox='0 0 5 5' fill='none'%3E%3Cpath d='M5 1.90741V3.09259L3.36918 3.01852L4.319 4.37037L3.29749 5L2.49104 3.48148L1.68459 5L0.681004 4.37037L1.6129 3.01852L0 3.09259V1.90741L1.6129 2L0.681004 0.62963L1.68459 0L2.49104 1.51852L3.29749 0L4.319 0.62963L3.36918 2L5 1.90741Z' fill='%23D21414'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-color: rgba(210, 20, 20, 0.10);
        }

        .wpcf7-form {
            display: flex;
            flex-direction: column;
            gap: 20px;

            fieldset {
                display: none;
            }
        }

         .contact-form__row {
                display: flex;
                gap: 20px;
            }

        .wpcf7-form-control {
            &::placeholder {
                color: rgba(40, 40, 40, 0.5);
            }
        }

        textarea.wpcf7-form-control {
            height: 128px;
            resize: none;
        }

        .contact-form__submit {
            position: relative;
        }

        .wpcf7-submit {
            width: 100%;
            background: #262626;
            border: none;
            border-radius: 16px;
            color: #fff;
            font-family: 'Gilroy', sans-serif;
            font-weight: 600;
            font-size: 18px;
            line-height: 26px;
            letter-spacing: 0.18px;
            padding: 10px 20px;
            cursor: pointer;
        }

        .contact-form__privacy {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            font-family: 'Gilroy', sans-serif;
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0.14px;
            color: #777;

            a {
                color: #777;
                text-decoration: underline;
                text-decoration-color: rgba(40, 40, 40, 0.5);

                &:hover {
                    color: #282828;
                }
            }
        }

        .wpcf7-response-output {
            border: none;
            padding: 0;
            margin: 0;
            font-family: 'Gilroy', sans-serif;
            font-size: 14px;
            text-align: center;
        }
    }

    @media (max-width: 1199px) {
        padding-top: 56px;

        .contact-form {}

        .contact-form__card {}

        .wpcf7-form-control {}

        .wpcf7-submit {}
    }

    @media (max-width: 991px) {
        .contact-form {}

        .contact-form__card {}

        .contact-form__row {}

        .wpcf7-form-control {}

        .wpcf7-submit {}
    }

    @media (max-width: 767px) {
        .contact-intro{
            padding: 48px 0;
            .contact-intro__title {
                font-size: 32px;
                line-height: 36px; /* 112.5% */
                letter-spacing: -0.32px;
            }

            .contact-intro__text {
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0.16px;
                max-width: 300px;

                br {
                    display: none;
                }
            }
        }

        .contact-form__card {
            padding: 20px;
        }

        .contact-form__row {
            flex-direction: column;
        }

        .wpcf7-form-control {}

        .wpcf7-submit {}

        .contact-form__privacy {}

        .contact-info {
            width: 100%;
        }
    }

    .contact-info {
        max-width: 640px;

        .contact-info__cards {
            display: flex;
            gap: 24px;
            margin: 0 auto;
        }

        .contact-info__card {
            display: flex;
            gap: 24px;
            align-items: flex-start;
            flex: 1;
            min-width: 308px;
            max-width: 720px;
            padding: 32px;
            background: #f7f4f2;
            border-radius: 24px;
        }

        .contact-info__card-content {
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex: 1;
            min-width: 0;
            color: #282828;
            text-align: left;
        }

        .contact-info__card-title {
            font-family: 'Gilroy', sans-serif;
            font-weight: 600;
            font-size: 20px;
            line-height: 28px;
            letter-spacing: 0;
        }

        .contact-info__card-text {
            font-family: 'Gilroy', sans-serif;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0.16px;

            & a {
                color: inherit;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                    text-decoration-skip-ink: none;
                }
            }
        }

        /* .contact-info__card-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
        } */

        @media (max-width: 767px) {
            .contact-info__cards {
                flex-direction: column;
            }
        }
    }
}

/* ==========================================
   Form Field Component
   ========================================== */

/* .field {
    display: flex;
    flex-direction: column;
    align-items: start;

    .field-title {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;
        color: var(--foreground-primary, #282828);
        font-feature-settings: 'liga' off;
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: 0.15px;

        .icon-star {
            width: 12px;
            height: 12px;
            border-radius: 4px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' viewBox='0 0 5 5' fill='none'%3E%3Cpath d='M5 1.90741V3.09259L3.36918 3.01852L4.319 4.37037L3.29749 5L2.49104 3.48148L1.68459 5L0.681004 4.37037L1.6129 3.01852L0 3.09259V1.90741L1.6129 2L0.681004 0.62963L1.68459 0L2.49104 1.51852L3.29749 0L4.319 0.62963L3.36918 2L5 1.90741Z' fill='%23D21414'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-color: rgba(210, 20, 20, 0.10);
        }
    }

    .wpcf7-form-control-wrap {
        display: block;
        width: 100%;

        input,
        select,
        .iti__tel-input {
            box-sizing: border-box;
            height: 44px;
            padding-top: 0;
            padding-bottom: 0;
            line-height: 44px;
            border: none;
            border-radius: 10px;
            background-color: rgba(0, 0, 0, 0.04);
            color: var(--foreground-primary, #282828);
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            letter-spacing: 0.16px;
            transition: background-color 0.3s ease;
        }

        select {
            color: rgba(40, 40, 40, 0.5);
        }
    }

    input:hover,
    select:hover {
        outline: 1.5px solid #CCC;
        outline-offset: -1.5px;
        background-color: #FFF;
    }

    input:focus {
        outline: 1.5px solid var(--foreground-primary, #282828);
        outline-offset: -1.5px;
        background: #FFF;
    }

    select:focus-within {
        outline: 1.5px solid var(--foreground-primary, #282828);
        outline-offset: -1.5px;
        background: #FFF;
    }

    .wpcf7-form-control.wpcf7-not-valid {
        outline: 1.5px solid #F37171;
        outline-offset: -1.5px;
        background: #FFF;
    }

    .wpcf7-not-valid-tip {
        color: rgba(180, 39, 39, 1);
        font-size: 13px;
        font-weight: 500;
        line-height: 15px;
        text-align: left;
        margin-top: 4px;

        &::before {
            content: "";
            display: inline-block;
            width: 13px;
            height: 13px;
            background-image: url("/wp-content/themes/simplydepo/images/book-a-demo-new/form-alert-icon.svg");
            background-repeat: no-repeat;
            background-size: contain;
            margin-right: 4px;
            margin-top: -1px;
            vertical-align: middle;
        }
    }
} */