/* =========================================================
   AG BODY SHOP — CONTACT PAGE
========================================================= */


/* =========================================================
   01 — FOUNDATION
========================================================= */

.ag-contact,
.ag-contact *,
.ag-contact *::before,
.ag-contact *::after {

    box-sizing:
        border-box;
}


.ag-contact {

    --contact-yellow:
        var(
            --color-yellow,
            #e7b900
        );

    --contact-yellow-hover:
        var(
            --color-yellow-hover,
            #f2c600
        );

    --contact-ink:
        #17191c;

    --contact-text:
        #555b5f;

    --contact-muted:
        #777d81;

    --contact-line:
        rgba(20, 23, 25, .13);

    --contact-warm:
        #f4f2ed;

    --contact-dark:
        #080b0e;

    --contact-page-padding:

        clamp(
            28px,
            5vw,
            92px
        );

    width:
        100%;

    overflow:
        hidden;

    color:
        var(--contact-ink);

    background:
        #ffffff;
}


.ag-contact a {

    color:
        inherit;

    text-decoration:
        none;
}


.ag-contact button,
.ag-contact input,
.ag-contact textarea {

    font:
        inherit;
}


.ag-contact-shell {

    width:
        min(1480px, 100%);

    margin:
        0 auto;
}


/* =========================================================
   02 — HERO
========================================================= */

.ag-contact-hero {

    position:
        relative;

    min-height:
        540px;

    padding:

        30px
        var(--contact-page-padding)
        clamp(64px, 7vh, 88px);

    display:
        flex;

    align-items:
        center;

    overflow:
        hidden;

    color:
        #ffffff;

    background:

        radial-gradient(
            circle at 78% 22%,
            rgba(231, 185, 0, .12),
            transparent 29%
        ),

        radial-gradient(
            circle at 12% 90%,
            rgba(255, 255, 255, .04),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #171b1f 0%,
            #0a0d10 64%,
            #050709 100%
        );

    isolation:
        isolate;
}


.ag-contact-hero::before {

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    inset:
        0;

    opacity:
        .24;

    pointer-events:
        none;

    background-image:

        linear-gradient(
            rgba(255, 255, 255, .027) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, .027) 1px,
            transparent 1px
        );

    background-size:
        72px 72px;

    -webkit-mask-image:

        linear-gradient(
            90deg,
            rgba(0, 0, 0, .8),
            transparent 88%
        );

    mask-image:

        linear-gradient(
            90deg,
            rgba(0, 0, 0, .8),
            transparent 88%
        );
}


.ag-contact-hero::after {

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    inset:
        0;

    pointer-events:
        none;

    box-shadow:

        inset
        0 0 120px
        rgba(0, 0, 0, .32);
}


.ag-contact-hero__shell {

    position:
        relative;

    z-index:
        2;

    width:
        min(1480px, 100%);

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:

        minmax(0, .9fr)
        minmax(430px, 1.1fr);

    align-items:
        center;

    gap:

        clamp(
            55px,
            8vw,
            130px
        );
}


.ag-contact-hero__content {

    width:
        min(680px, 100%);
}


.ag-contact-hero__title {

    max-width:
        720px;

    margin:
        0;

    color:
        var(--contact-yellow);

    font-family:
        var(--font-title);

    font-size:

        clamp(
            36px,
            2.75vw,
            48px
        );

    font-weight:
        400;

    line-height:
        1;

    letter-spacing:
        -.35px;
}


.ag-contact-hero__description {

    width:
        min(630px, 100%);

    margin:

        22px
        0
        0;

    color:
        rgba(255, 255, 255, .70);

    font-family:
        var(--font-body);

    font-size:

        clamp(
            14px,
            .95vw,
            16px
        );

    font-weight:
        300;

    line-height:
        1.72;
}


/* =========================================================
   03 — HERO CONTACT DETAILS
========================================================= */

.ag-contact-hero__details {

    position:
        relative;

    width:
        min(560px, 100%);

    margin-left:
        auto;

    padding:

        7px
        0
        7px
        clamp(28px, 3vw, 48px);

    border-left:

        1px solid
        rgba(255, 255, 255, .13);
}


.ag-contact-hero__details::before {

    content:
        "";

    position:
        absolute;

    left:
        -1px;

    top:
        0;

    width:
        2px;

    height:
        76px;

    background:
        var(--contact-yellow);
}


.ag-contact-detail {

    padding:

        19px
        0;

    display:
        grid;

    grid-template-columns:
        120px minmax(0, 1fr);

    gap:
        20px;

    align-items:
        start;

    border-bottom:

        1px solid
        rgba(255, 255, 255, .10);
}


.ag-contact-detail:first-child {

    padding-top:
        0;
}


.ag-contact-detail:last-child {

    padding-bottom:
        0;

    border-bottom:
        0;
}


.ag-contact-detail__label {

    padding-top:
        3px;

    color:
        rgba(255, 255, 255, .35);

    font-family:
        var(--font-body);

    font-size:
        9px;

    font-weight:
        800;

    line-height:
        1.4;

    letter-spacing:
        1.4px;

    text-transform:
        uppercase;
}


.ag-contact-detail__value {

    margin:
        0;

    color:
        rgba(255, 255, 255, .84);

    font-family:
        var(--font-body);

    font-size:
        14px;

    font-weight:
        300;

    line-height:
        1.65;

    transition:
        color .2s ease;
}


.ag-contact-detail a.ag-contact-detail__value:hover {

    color:
        var(--contact-yellow);
}


.ag-contact-detail a.ag-contact-detail__value:focus-visible {

    outline:

        2px solid
        var(--contact-yellow);

    outline-offset:
        4px;
}


/* =========================================================
   04 — SECTION TYPOGRAPHY
========================================================= */

.ag-contact-section-title {

    max-width:
        850px;

    margin:
        0;

    color:
        var(--contact-ink);

    font-family:
        var(--font-title);

    font-size:

        clamp(
            31px,
            2.4vw,
            42px
        );

    font-weight:
        400;

    line-height:
        1.08;

    letter-spacing:
        -.25px;
}


/* =========================================================
   05 — FORM SECTION
========================================================= */

.ag-contact-form-section {

    padding:

        clamp(
            74px,
            8vw,
            110px
        )

        var(--contact-page-padding);

    background:
        #ffffff;
}


.ag-contact-form-section__inner {

    width:
        min(980px, 100%);

    margin:
        0 auto;
}


.ag-contact-form-section__header {

    width:
        min(780px, 100%);
}


.ag-contact-form-section__description {

    width:
        min(720px, 100%);

    margin:

        21px
        0
        0;

    color:
        var(--contact-text);

    font-family:
        var(--font-body);

    font-size:

        clamp(
            14px,
            .9vw,
            15.5px
        );

    font-weight:
        300;

    line-height:
        1.75;
}


/* =========================================================
   06 — FORM STATUS
========================================================= */

.ag-contact-form-status {

    margin-top:
        34px;

    padding:

        17px
        20px;

    color:
        #31363a;

    background:
        #f4f2ed;

    border-left:

        3px solid
        var(--contact-yellow);

    font-family:
        var(--font-body);

    font-size:
        13px;

    font-weight:
        400;

    line-height:
        1.65;
}


.ag-contact-form-status.is-success {

    background:
        #f1f5ed;

    border-left-color:
        #78924d;
}


.ag-contact-form-status.is-error {

    background:
        #f8efed;

    border-left-color:
        #a54a3f;
}


/* =========================================================
   07 — FORM
========================================================= */

.ag-contact-form {

    position:
        relative;

    margin-top:

        clamp(
            40px,
            5vw,
            60px
        );

    padding:

        clamp(
            28px,
            4vw,
            48px
        );

    background:
        var(--contact-warm);

    border:

        1px solid
        var(--contact-line);
}


.ag-contact-form__honeypot {

    position:
        absolute !important;

    left:
        -9999px !important;

    width:
        1px !important;

    height:
        1px !important;

    overflow:
        hidden !important;
}


.ag-contact-form__grid {

    display:
        grid;

    grid-template-columns:

        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        25px 24px;
}


.ag-contact-field {

    min-width:
        0;
}


.ag-contact-field--full {

    grid-column:
        1 / -1;
}


.ag-contact-field label {

    display:
        block;

    margin-bottom:
        10px;

    color:
        #353a3e;

    font-family:
        var(--font-body);

    font-size:
        10px;

    font-weight:
        800;

    line-height:
        1.4;

    letter-spacing:
        .7px;

    text-transform:
        uppercase;
}


.ag-contact-field label span {

    color:
        #9b7900;
}


.ag-contact-field input,
.ag-contact-field textarea {

    width:
        100%;

    color:
        var(--contact-ink);

    background:
        #ffffff;

    border:

        1px solid
        rgba(20, 23, 25, .16);

    border-radius:
        0;

    outline:
        0;

    font-family:
        var(--font-body);

    font-size:
        14px;

    font-weight:
        300;

    line-height:
        1.5;

    transition:

        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


.ag-contact-field input {

    min-height:
        52px;

    padding:

        0
        16px;
}


.ag-contact-field textarea {

    min-height:
        185px;

    padding:
        15px 16px;

    resize:
        vertical;
}


.ag-contact-field input:hover,
.ag-contact-field textarea:hover {

    border-color:
        rgba(20, 23, 25, .30);
}


.ag-contact-field input:focus,
.ag-contact-field textarea:focus {

    background:
        #ffffff;

    border-color:
        var(--contact-yellow);

    box-shadow:

        0 0 0 3px
        rgba(231, 185, 0, .10);
}


.ag-contact-form__footer {

    margin-top:
        29px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        24px;
}


.ag-contact-form__submit {

    min-height:
        48px;

    padding:

        0
        24px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        13px;

    color:
        #111416;

    background:
        var(--contact-yellow);

    border:

        1px solid
        var(--contact-yellow);

    border-radius:
        26px;

    font-family:
        var(--font-body);

    font-size:
        10px;

    font-weight:
        800;

    line-height:
        1;

    letter-spacing:
        .8px;

    text-transform:
        uppercase;

    cursor:
        pointer;

    transition:

        background-color .22s ease,
        border-color .22s ease,
        transform .22s ease;
}


.ag-contact-form__submit svg {

    width:
        20px;

    height:
        20px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        1.6;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    transition:
        transform .22s ease;
}


.ag-contact-form__submit:hover {

    background:
        var(--contact-yellow-hover);

    border-color:
        var(--contact-yellow-hover);

    transform:
        translateY(-2px);
}


.ag-contact-form__submit:hover svg {

    transform:
        translateX(4px);
}


.ag-contact-form__submit:focus-visible {

    outline:

        2px solid
        var(--contact-ink);

    outline-offset:
        4px;
}


.ag-contact-form__privacy {

    max-width:
        470px;

    margin:
        0;

    color:
        var(--contact-muted);

    font-family:
        var(--font-body);

    font-size:
        11.5px;

    font-weight:
        300;

    line-height:
        1.6;

    text-align:
        right;
}


/* =========================================================
   08 — TABLET
========================================================= */

@media(max-width:980px) {

    .ag-contact-hero__shell {

        grid-template-columns:
            1fr;

        gap:
            48px;
    }


    .ag-contact-hero__content {

        width:
            min(760px, 100%);
    }


    .ag-contact-hero__details {

        width:
            min(760px, 100%);

        margin-left:
            0;
    }

}


/* =========================================================
   09 — MOBILE
========================================================= */

@media(max-width:720px) {

    .ag-contact {

        --contact-page-padding:
            18px;
    }


    .ag-contact-hero {

        min-height:
            auto;

        padding:

            30px
            var(--contact-page-padding)
            58px;
    }


    .ag-contact-hero__title {

        font-size:

            clamp(
                32px,
                9.5vw,
                42px
            );
    }


    .ag-contact-hero__description {

        font-size:
            14px;

        line-height:
            1.68;
    }


    .ag-contact-hero__details {

        padding:

            27px
            0
            0;

        border-left:
            0;

        border-top:

            1px solid
            rgba(255, 255, 255, .13);
    }


    .ag-contact-hero__details::before {

        left:
            0;

        top:
            -1px;

        width:
            72px;

        height:
            2px;
    }


    .ag-contact-detail {

        grid-template-columns:
            1fr;

        gap:
            7px;
    }


    .ag-contact-detail__label {

        padding-top:
            0;
    }


    .ag-contact-section-title {

        font-size:

            clamp(
                29px,
                8.5vw,
                38px
            );
    }


    .ag-contact-form-section {

        padding:

            64px
            var(--contact-page-padding);
    }


    .ag-contact-form {

        padding:
            25px 20px;
    }


    .ag-contact-form__grid {

        grid-template-columns:
            1fr;

        gap:
            22px;
    }


    .ag-contact-field--full {

        grid-column:
            auto;
    }


    .ag-contact-form__footer {

        align-items:
            stretch;

        flex-direction:
            column;
    }


    .ag-contact-form__submit {

        width:
            100%;
    }


    .ag-contact-form__privacy {

        max-width:
            none;

        text-align:
            left;
    }

}


/* =========================================================
   10 — REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce) {

    .ag-contact-detail__value,
    .ag-contact-field input,
    .ag-contact-field textarea,
    .ag-contact-form__submit,
    .ag-contact-form__submit svg {

        transition:
            none !important;
    }

}
۶. بررسی Enqueue در functions.php
چون قبلاً CSS صفحه Contact را اضافه کرده‌ای، این بلوک باید از قبل وجود داشته باشد. دوباره اضافه‌اش نکن.
/* =====================================================
   CONTACT PAGE ASSETS
====================================================== */

if (
    is_page_template(
        'contact.php'
    )
) {

    wp_enqueue_style(
        'ag-contact',
        get_theme_file_uri(
            '/assets/css/contact.css'
        ),
        [
            'ag-global',
            'ag-site-header',
            'ag-vehicle-assessment',
            'ag-footer',
        ],
        agbs_asset_version(
            '/assets/css/contact.css'
        )
    );

}