.mobile-contact-page {
    display: none;
}

@media (max-width: 600px), (orientation: landscape) and (max-height: 500px) {

    /* =====================================================
       SHOW / HIDE
       ===================================================== */

    body.guest-contact .mobile-contact-page, body.member-mobile .mobile-contact-page {
        display: block !important;
    }

    body.guest-contact .legacy-contact-page, body.member-mobile .legacy-contact-page,
    body.guest-contact .legacy-contact-online {
        display: none !important;
    }

    body.guest-contact .legacy-topbar,
    body.guest-contact .legacy-header,
    body.guest-contact .legacy-menu,
    body.guest-contact .legacy-online-girls,
    body.guest-contact .legacy-footer {
        display: none !important;
    }


    /* =====================================================
       CONTENT
       ===================================================== */

    body.guest-contact .mobile-contact-content {
        min-height: 540px;
        padding: 36px 18px 48px;
        box-sizing: border-box;
        background: #f5f5f5;
    }


    /* =====================================================
       HEADING
       ===================================================== */

    body.guest-contact .mobile-contact-heading {
        margin: 0 0 24px;
        text-align: center;
    }

    body.guest-contact .mobile-contact-heading h1 {
        margin: 0 0 7px;
        color: #171717;
        font-size: 30px;
        line-height: 1.15;
        font-weight: 500;
    }

    body.guest-contact .mobile-contact-heading p {
        margin: 0;
        color: #777;
        font-size: 14px;
        line-height: 1.4;
    }


    /* =====================================================
       FORM CARD
       ===================================================== */

    body.guest-contact .mobile-contact-card {
        width: 100%;
        padding: 26px 20px;
        box-sizing: border-box;

        background: #fff;
        border-radius: 18px;

        box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    }

    body.guest-contact .mobile-contact-form label {
        display: block;

        margin: 0 0 7px;

        color: #333;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 500;
    }

    body.guest-contact .mobile-contact-form input,
    body.guest-contact .mobile-contact-form textarea {
        display: block;

        width: 100%;
        box-sizing: border-box;

        margin: 0 0 18px;
        padding: 0 15px;

        border: 1px solid #dedede;
        border-radius: 12px;

        background: #fff;
        color: #222;

        font-family: inherit;
        font-size: 15px;

        outline: none;
        -webkit-appearance: none;
    }

    body.guest-contact .mobile-contact-form input {
        height: 50px;
    }

    body.guest-contact .mobile-contact-form textarea {
        min-height: 130px;
        padding-top: 14px;
        padding-bottom: 14px;

        line-height: 1.45;
        resize: vertical;
    }

    body.guest-contact .mobile-contact-form input:focus,
    body.guest-contact .mobile-contact-form textarea:focus {
        border-color: #aaa;
    }

    body.guest-contact .mobile-contact-form input::placeholder,
    body.guest-contact .mobile-contact-form textarea::placeholder {
        color: #aaa;
    }


    /* =====================================================
       CAPTCHA
       ===================================================== */

    body.guest-contact .mobile-contact-captcha {
        margin: 2px 0 20px;
    }

    body.guest-contact .mobile-contact-captcha-image {
        margin-bottom: 12px;
    }

    body.guest-contact .mobile-contact-captcha-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    body.guest-contact .mobile-contact-captcha input {
        margin-bottom: 0;
    }


    /* =====================================================
       ERROR
       ===================================================== */

    body.guest-contact .mobile-contact-error {
        margin: 0 0 18px;
        padding: 13px 15px;

        border-radius: 10px;

        background: #fff1f3;
        color: #a52a3a;

        font-size: 13px;
        line-height: 1.45;
    }

    body.guest-contact .mobile-contact-error ul {
        margin: 6px 0 0;
        padding-left: 18px;
    }


    /* =====================================================
       SEND BUTTON
       ===================================================== */

    body.guest-contact .mobile-contact-form button[type="submit"] {
        display: block;

        width: 100%;
        height: 52px;

        margin: 4px 0 0;

        border: 0;
        border-radius: 26px;

        background: #f4146c;
        color: #fff;

        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;

        cursor: pointer;
    }


    /* =====================================================
       MESSAGE SENT
       ===================================================== */

    body.guest-contact .mobile-contact-success {
        width: 100%;
        padding: 42px 22px 32px;
        box-sizing: border-box;

        background: #fff;
        border-radius: 18px;

        text-align: center;

        box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    }

    body.guest-contact .mobile-contact-success-icon {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 96px;
        height: 96px;

        margin: 0 auto 26px;

        border-radius: 50%;

        background: #fff1f6;
        color: #f4146c;
    }

    body.guest-contact .mobile-contact-success-icon svg {
        width: 48px;
        height: 48px;
    }

    body.guest-contact .mobile-contact-success h1 {
        margin: 0 0 16px;

        color: #171717;

        font-size: 28px;
        line-height: 1.15;
        font-weight: 600;
    }

    body.guest-contact .mobile-contact-success p {
        max-width: 330px;

        margin: 0 auto 30px;

        color: #707582;

        font-size: 15px;
        line-height: 1.55;
    }


    /* =====================================================
       BACK HOME
       ===================================================== */

    body.guest-contact .mobile-contact-home {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        width: 100%;
        height: 52px;

        box-sizing: border-box;

        border-radius: 26px;

        background: #f4146c;
        color: #fff;

        text-decoration: none;

        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    body.guest-contact .mobile-contact-home svg {
        width: 23px;
        height: 23px;
        flex: 0 0 23px;
    }

    body.guest-contact .mobile-contact-home:hover,
    body.guest-contact .mobile-contact-home:focus,
    body.guest-contact .mobile-contact-home:visited {
        color: #fff;
        text-decoration: none;
    }
}
@media (orientation: landscape) and (max-height: 500px) {

    body.guest-contact .mobile-contact-page, body.member-mobile .mobile-contact-page {
        display: block !important;
    }

    body.guest-contact .legacy-contact-page, body.member-mobile .legacy-contact-page,
    body.guest-contact .legacy-contact-online,
    body.guest-contact .legacy-topbar,
    body.guest-contact .legacy-header,
    body.guest-contact .legacy-menu,
    body.guest-contact .legacy-online-girls,
    body.guest-contact .legacy-footer {
        display: none !important;
    }
}
@media (orientation: landscape) and (max-height: 500px) {

    body.guest-contact .mobile-contact-content {
        min-height: 0;
        padding: 28px 40px 32px;
    }

    body.guest-contact .mobile-contact-heading {
        margin: 0 0 18px;
    }

    body.guest-contact .mobile-contact-heading h1 {
        margin: 0 0 5px;
        font-size: 32px;
        line-height: 1.05;
    }

    body.guest-contact .mobile-contact-heading p {
        font-size: 15px;
        line-height: 1.3;
    }

    body.guest-contact .mobile-contact-card {
        max-width: 760px;
        margin: 0 auto;
        padding: 22px 26px;
        border-radius: 16px;
    }

    body.guest-contact .mobile-contact-form label {
        margin-bottom: 5px;
        font-size: 12px;
    }

    body.guest-contact .mobile-contact-form input,
    body.guest-contact .mobile-contact-form textarea {
        margin-bottom: 13px;
        font-size: 14px;
        border-radius: 10px;
    }

    body.guest-contact .mobile-contact-form input {
        height: 42px;
    }

    body.guest-contact .mobile-contact-form textarea {
        min-height: 90px;
        padding-top: 11px;
        padding-bottom: 11px;
    }

    body.guest-contact .mobile-contact-form button[type="submit"] {
        height: 44px;
        margin-top: 2px;
        border-radius: 22px;
        font-size: 13px;
    }
}