/* =========================================================
   MARVELLOUS MAVIS - CONTACT
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #ffffff;
    color: #111111;

    overflow-x: hidden;
}


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


img {
    display: block;
}



/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
    position: relative;

    width: 100%;

    min-height: 900px;

    overflow: hidden;

    background: #ffffff;
}



/* =========================================================
   FULL PAGE BACKGROUND
========================================================= */

.contact-background {
    position: absolute;

    top: 0;
    left: 8%;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
    pointer-events: none;
}



/* =========================================================
   HEADER
   IDENTICAL STRUCTURE TO INDEX
========================================================= */

.topbar {
    position: relative;

    z-index: 20;

    width:
        min(1450px, calc(100% - 8vw));

    margin: 0 auto;

    padding-top:
        clamp(18px, 2.2vw, 34px);

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;
}


.logo-link {
    width:
        clamp(190px, 17vw, 265px);
}


.logo {
    width: 100%;
    height: auto;
}



/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;

    align-items: center;

    gap:
        clamp(24px, 3vw, 46px);
}


.nav-link {
    position: relative;

    padding: 14px 0;

    font-size:
        clamp(13px, 1.05vw, 16px);

    font-weight: 500;

    transition:
        color .2s ease;
}


.nav-link:hover,
.nav-link.active {
    color: #ed1b73;
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 5px;

    height: 2px;

    border-radius: 5px;

    background: #ed1b73;
}



/* =========================================================
   TOP QUOTE BUTTON
========================================================= */

.top-quote-button {
    justify-self: end;

    min-width:
        clamp(155px, 13vw, 205px);

    padding:
        clamp(13px, 1.1vw, 17px)
        clamp(20px, 2vw, 30px);

    display: flex;

    justify-content: space-between;
    align-items: center;

    border-radius: 40px;

    background: #ed1b73;
    color: #ffffff;

    font-size:
        clamp(13px, 1vw, 16px);

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}


.top-quote-button:hover {
    transform:
        translateY(-2px);

    background:
        #ff2b86;
}



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

.contact-content {
    position: relative;

    z-index: 5;

    width:
        min(1450px, calc(100% - 8vw));

    margin: 0 auto;

    min-height: 770px;

    display: grid;

    grid-template-columns:
        minmax(550px, 1.35fr)
        minmax(260px, .55fr)
        minmax(390px, .9fr);

    align-items: stretch;
}



/* =========================================================
   FORM AREA
========================================================= */

.contact-form-area {
    display: flex;

    align-items: flex-start;

    background: transparent;
}


.contact-form-inner {
    width:
        min(720px, 100%);

    padding-top:
        clamp(75px, 7vw, 110px);

    padding-bottom: 70px;
}



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

.contact-eyebrow {
    margin-bottom: 13px;

    color: #ed1b73;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
}


.contact-heading {
    max-width: 680px;

    margin-bottom: 18px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(51px, 4.3vw, 72px);

    font-weight: 500;

    line-height: .94;

    letter-spacing: -2.5px;
}


.contact-heading span {
    display: block;
}


.contact-heading strong {
    color: #ed1b73;

    font-weight: 600;
}


.contact-description {
    margin-bottom: 29px;

    color: #3f4348;

    font-size:
        clamp(15px, 1.15vw, 18px);

    line-height: 1.5;
}



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

.quote-form {
    width: 100%;
}


.form-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 14px;

    margin-bottom: 14px;
}



/* =========================================================
   FIELD
========================================================= */

.form-field {
    position: relative;

    min-height: 58px;

    display: flex;

    align-items: center;

    border:
        1px solid #d6dbe1;

    border-radius: 12px;

    background:
        rgba(255,255,255,.88);

    overflow: hidden;

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


.form-field:focus-within {
    border-color:
        #ed1b73;

    box-shadow:
        0 0 0 3px
        rgba(237,27,115,.07);
}


/* =========================================================
   DATE FIELD
========================================================= */

.date-field {
    position: relative;
}

.date-field input[type="date"] {
    padding-left: 18px;

    color: #747b85;

    cursor: pointer;
}

.date-placeholder {
    position: absolute;

    left: 18px;
    top: 8px;

    z-index: 2;

    padding-right: 5px;

    background: rgba(255,255,255,.9);

    color: #8a9098;

    font-size: 10px;

    pointer-events: none;
}


/* =========================================================
   SELECT TEXT
========================================================= */

.form-field select {
    padding-right: 42px;
}


/* =========================================================
   CONTACT HERO EXTRA HEIGHT
   FOR ADDITIONAL FORM FIELDS
========================================================= */

.contact-hero {
    min-height: 1040px;
}


.contact-content {
    min-height: 910px;
}


.visual-area {
    min-height: 900px;
}


/* =========================================================
   FIELD ICONS
========================================================= */

.field-icon {
    width: 52px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;
}


.field-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: #68717c;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}



/* =========================================================
   INPUTS
========================================================= */

.form-field input,
.form-field select {
    width: 100%;

    min-height: 56px;

    padding-right: 18px;

    border: none;
    outline: none;

    background: transparent;

    color: #34383e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;
}


.form-field input::placeholder {
    color: #747b85;
}



/* =========================================================
   SELECT
========================================================= */

.form-field-full {
    width: 100%;

    margin-bottom: 14px;
}


.form-field select {
    appearance: none;

    cursor: pointer;

    color: #747b85;
}


.form-field-full::after {
    content: "";

    position: absolute;

    right: 22px;
    top: 22px;

    width: 8px;
    height: 8px;

    border-right:
        2px solid #626a74;

    border-bottom:
        2px solid #626a74;

    transform:
        rotate(45deg);

    pointer-events: none;
}



/* =========================================================
   MESSAGE BOX
========================================================= */

.message-field {
    position: relative;

    width: 100%;

    min-height: 150px;

    margin-bottom: 20px;

    border:
        1px solid #d6dbe1;

    border-radius: 12px;

    background:
        rgba(255,255,255,.88);

    overflow: hidden;
}


.message-field:focus-within {
    border-color: #ed1b73;

    box-shadow:
        0 0 0 3px
        rgba(237,27,115,.07);
}


.message-input-row {
    display: flex;

    align-items: flex-start;
}


.message-icon {
    padding-top: 17px;
}


.message-field textarea {
    width: 100%;

    min-height: 112px;

    padding:
        17px
        18px
        12px
        0;

    border: none;
    outline: none;

    resize: none;

    background: transparent;

    color: #34383e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    line-height: 1.5;
}


.message-field textarea::placeholder {
    color: #747b85;
}


.message-example {
    position: absolute;

    left: 52px;
    bottom: 15px;

    color: #8c9299;

    font-size: 12px;
}



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

.send-button {
    width: 100%;

    min-height: 60px;

    padding:
        14px
        28px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 26px;

    border: 0;

    border-radius: 40px;

    background: #ed1b73;
    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 17px;
    font-weight: 500;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}


.send-button:hover {
    transform:
        translateY(-2px);

    background:
        #ff2b86;
}


.button-arrow {
    font-size: 25px;

    font-weight: 300;
}


.form-note {
    margin-top: 10px;

    color: #656a70;

    text-align: center;

    font-size: 13px;
}


.form-status {
    min-height: 18px;

    margin-top: 8px;

    color: #ed1b73;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
}



/* =========================================================
   BENEFITS AREA
========================================================= */

.benefits-area {
    padding:
        185px
        15px
        70px
        15px;

    display: flex;

    flex-direction: column;

    gap: 45px;

    background: transparent;
}



/* =========================================================
   BENEFIT ITEM
========================================================= */

.benefit-item {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}



/* =========================================================
   BENEFIT ICONS
========================================================= */

/*
   The PNG files contain a lot of white space around
   their coloured circular badge.

   This wrapper clips the PNG into a circle, while
   the image itself is enlarged to crop away the
   white square background.
*/

.benefit-icon {
    width: 78px;
    height: 78px;

    flex: 0 0 78px;

    border-radius: 50%;

    overflow: hidden;

    position: relative;

    background: transparent;
}


.benefit-icon img {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 168%;
    max-width: none;

    height: 168%;

    object-fit: cover;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;
}



/* =========================================================
   BENEFIT TEXT
========================================================= */

.benefit-text {
    padding-top: 4px;
}


.benefit-text h3 {
    margin-bottom: 6px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    line-height: 1.2;
}


.benefit-text p {
    max-width: 190px;

    color: #44494f;

    font-size: 14px;

    line-height: 1.45;
}



/* =========================================================
   RIGHT VISUAL AREA
========================================================= */

.visual-area {
    position: relative;

    min-height: 750px;
}



/* =========================================================
   HANDWRITTEN MESSAGE
========================================================= */

.clean-message {
    position: absolute;

    top: 74px;
    left: 54%;

    display: flex;

    flex-direction: column;

    align-items: center;

    transform:
        translateX(-50%)
        rotate(-5deg);

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive;

    font-size:
        clamp(34px, 2.9vw, 50px);

    line-height: .86;

    text-align: center;

    z-index: 7;
}


.message-heart {
    position: absolute;

    right: -36px;
    bottom: 18px;

    color: #ed1b73;

    font-size: 45px;
}


.message-line {
    width: 110px;
    height: 4px;

    margin-top: 15px;

    border-radius: 10px;

    background: #ed1b73;

    transform:
        rotate(-6deg);
}



/* =========================================================
   BLACK BUCKET LOGO
========================================================= */

.bucket-logo-black {
    position: absolute;

    right: -11%;

    bottom: 150px;

    width:
        clamp(125px, 12vw, 185px);

    height: auto;

    z-index: 8;

    pointer-events: none;
}



/* =========================================================
   FOOTER
   SAME AS INDEX
========================================================= */

.footer {
    position: relative;

    z-index: 20;

    background: #071f36;

    color: #ffffff;
}


.footer-container {
    width:
        min(1400px, calc(100% - 8vw));

    margin: 0 auto;

    padding:
        60px 0 50px;

    display: grid;

    grid-template-columns:
        1.5fr
        .8fr
        .9fr
        1fr;

    gap:
        clamp(35px, 5vw, 80px);
}


.footer-logo {
    width:
        min(210px, 100%);

    margin-bottom: 20px;
}


.footer-company p,
.footer-action p {
    max-width: 320px;

    color: #bedcf3;

    font-size: 13px;

    line-height: 1.7;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}


.footer-column h3 {
    margin-bottom: 8px;

    font-size: 15px;
}


.footer-column a {
    color: #bedcf3;

    font-size: 13px;

    transition:
        color .2s ease;
}


.footer-column a:hover {
    color: #ed1b73;
}


.footer-button {
    margin-top: 8px;

    padding:
        13px 22px;

    border-radius: 30px;

    background: #ed1b73;

    color: #ffffff !important;

    font-weight: 700;
}


.footer-bottom {
    padding: 19px 4vw;
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    color: #90b3cd;
    text-align: left;
    font-size: 11px;
}

.footer-bottom a {
    color: #90b3cd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ed1b73;
}

.footer-separator {
    opacity: 0.5;
}



/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-button {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 200;

    width: 52px;
    height: 52px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #25d366;
    color: #ffffff;

    font-size: 22px;

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.2);
}



/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    font-size: 28px;

    cursor: pointer;
}



/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .contact-content {
        grid-template-columns:
            minmax(500px, 1.25fr)
            minmax(230px, .55fr)
            minmax(320px, .75fr);
    }


    .contact-form-inner {
        width: 100%;
    }


    .benefit-icon {
        width: 70px;
        height: 70px;

        flex-basis: 70px;
    }


    .benefit-text p {
        max-width: 160px;
    }


    .bucket-logo-black {
        right: 0;

        bottom: 110px;
    }

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .topbar {
        grid-template-columns:
            auto
            1fr
            auto;
    }


    .logo-link {
        width: 200px;
    }


    .main-nav {
        gap: 22px;
    }


    .top-quote-button {
        min-width: 150px;
    }



    /* CONTACT BACKGROUND */

    .contact-background {
        object-position: 70% center;
    }



    /* CONTACT GRID */

    .contact-content {
        grid-template-columns:
            1.4fr
            .75fr;

        min-height: auto;
    }


    .contact-form-area {
        grid-column:
            1 / 2;
    }


    .benefits-area {
        grid-column:
            2 / 3;

        padding-top: 120px;
    }


    .visual-area {
        position: absolute;

        inset: 0;

        pointer-events: none;

        z-index: -1;
    }


    .clean-message,
    .bucket-logo-black {
        display: none;
    }



    /* FOOTER */

    .footer-container {
        grid-template-columns:
            1.4fr
            1fr;

        gap: 45px;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .contact-hero {
        min-height: auto;
    }


    .contact-background {
        object-position: 80% center;

        opacity: .18;
    }



    /* HEADER */

    .topbar {
        width:
            calc(100% - 36px);

        display: flex;

        justify-content: space-between;

        padding-top: 18px;
    }


    .logo-link {
        width: 175px;
    }


    .mobile-menu-button {
        display: block;

        z-index: 40;
    }


    .top-quote-button {
        display: none;
    }


    .main-nav {
        position: absolute;

        top: 72px;

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        gap: 4px;

        padding: 20px;

        border-radius: 15px;

        background:
            rgba(255,255,255,.98);

        box-shadow:
            0 12px 35px
            rgba(0,0,0,.12);
    }


    .main-nav.open {
        display: flex;
    }


    .nav-link {
        width: 100%;

        padding:
            12px 8px;
    }


    .nav-link.active::after {
        display: none;
    }



    /* CONTACT */

    .contact-content {
        width:
            calc(100% - 40px);

        display: block;
    }


    .contact-form-inner {
        width: 100%;

        padding:
            70px 0
            45px;
    }


    .contact-heading {
        font-size: 48px;

        letter-spacing: -1.5px;
    }


    .form-row {
        grid-template-columns: 1fr;
    }



    /* BENEFITS */

    .benefits-area {
        padding:
            20px 0
            60px;

        gap: 28px;
    }


    .benefit-item {
        width: min(400px, 100%);
    }


    .benefit-icon {
        width: 72px;
        height: 72px;

        flex-basis: 72px;
    }


    .benefit-text p {
        max-width: 260px;
    }


    .visual-area {
        display: none;
    }



    /* FOOTER */

    .footer-container {
        width:
            calc(100% - 48px);

        grid-template-columns:
            1fr;

        gap: 38px;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .logo-link {
        width: 155px;
    }


    .contact-content {
        width:
            calc(100% - 30px);
    }


    .contact-heading {
        font-size: 42px;
    }


    .contact-eyebrow {
        font-size: 11px;

        letter-spacing: 3px;
    }


    .message-example {
        left: 18px;
        right: 15px;
    }

}

/* =========================================================
   CONTACT FORM ANTI-SPAM
========================================================= */

.website-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}