/* =========================================================
   ESAR DIGITAL — CONTACT PAGE
   Global Page Structure & Layout
   ========================================================= */


/* =========================================================
   PAGE ROOT
   ========================================================= */

   .contact-page {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    overflow-x: hidden;
}


/* =========================================================
   CONTACT PAGE — BOX SIZING
   ========================================================= */

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   PREVENT HORIZONTAL OVERFLOW
   ========================================================= */

.contact-page img,
.contact-page video,
.contact-page iframe,
.contact-page svg {
    max-width: 100%;
}


/* =========================================================
   SECTION WIDTH
   ========================================================= */

.contact-page > section {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   COMMON CONTACT CONTAINER
   =========================================================
   
   Every section should use this same container class
   for its actual content.

   This creates one consistent left/right boundary
   throughout the entire Contact page.
   ========================================================= */

.contact-page .contact-container {
    width: 100%;
    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 40px;
    padding-right: 40px;
}


/* =========================================================
   SECTION SEPARATION
   =========================================================
   
   Prevents the dark Hero and light Enquiry sections
   from visually sticking together.
   ========================================================= */

.contact-hero {
    margin-bottom: 0;
}

.contact-enquiry {
    position: relative;

    padding-top: 110px;
}


/* =========================================================
   DARK / LIGHT SECTION FLOW
   ========================================================= */

.contact-hero,
.contact-process {
    width: 100%;
}

.contact-enquiry,
.contact-location {
    width: 100%;
}

.contact-cta {
    width: 100%;
}


/* =========================================================
   FULL-WIDTH BACKGROUND SAFETY
   ========================================================= */

.contact-hero,
.contact-enquiry,
.contact-process,
.contact-location,
.contact-cta {
    position: relative;

    max-width: 100%;

    overflow: hidden;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (max-width: 1360px) {

    .contact-page .contact-container {
        max-width: 100%;

        padding-left: 50px;
        padding-right: 50px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .contact-page .contact-container {
        padding-left: 36px;
        padding-right: 36px;
    }


    .contact-enquiry {
        padding-top: 90px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .contact-page .contact-container {
        padding-left: 24px;
        padding-right: 24px;
    }


    .contact-enquiry {
        padding-top: 75px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .contact-page .contact-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .contact-enquiry {
        padding-top: 65px;
    }

}


/* =========================================================
   SAFETY AGAINST COMMON WIDTH ISSUES
   ========================================================= */

.contact-page [class*="container"],
.contact-page [class*="wrapper"] {
    max-width: 100%;
}


/* =========================================================
   IFRAME SAFETY
   ========================================================= */

.contact-page iframe {
    display: block;

    width: 100%;
    max-width: 100%;

    border: 0;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
    }

}