/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
    :root {
        --primary: #4D6E63;
        --primaryDark: #364E46;
        --primaryLight: #8AACA1;
        --secondary: #C2695D;
        --secondaryLight: #FFBA43;
        --headerColor: #222222;
        --headerColorWhite: #ffffff;
        --bodyTextColor: #474747;
        --bodyTextColorWhite: #FAFAFB;
        --backgroundColor: #FAF9F6;
        --bodyFontFamily: "Mulish";
        --headerFontFamily: "Sora";
        /* 13px - 16px */
        --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
        /* 31px - 49px */
        --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
        --fontSize96: clamp(2.5rem, 8vw, 6rem);
        /* ~40px to 96px */
        --fontSize64: clamp(2rem, 6vw, 4rem);
        /* ~32px to 64px */
        --fontSize48: clamp(1.75rem, 5vw, 3rem);
        /* ~28px to 48px */
        --fontSize36: clamp(1.5rem, 4vw, 2.25rem);
        /* ~24px to 36px */
        --fontSize32: clamp(1.25rem, 3.5vw, 2rem);
        /* ~20px to 32px */
        --bodyFontSize: clamp(1rem, 3vw, 1.5rem);
        /* ~16px to 24px */
        --paraFontSize: clamp(0.667rem, 2vw, 1rem);
        /* ~12px to 16px */
        /* 60px - 100px top and bottom */
        --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
    }
    
    /* sora-regular - latin */
    @font-face {
        font-display: swap;
        /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Sora';
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/sora-v16-latin-regular.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* sora-700 - latin */
    @font-face {
        font-display: swap;
        /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Sora';
        font-style: normal;
        font-weight: 700;
        src: url('../fonts/sora-v16-latin-700.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* mulish-regular - latin */
    @font-face {
        font-display: swap;
        /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Mulish';
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/mulish-v17-latin-regular.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* mulish-italic - latin */
    @font-face {
        font-display: swap;
        /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Mulish';
        font-style: italic;
        font-weight: 400;
        src: url('../fonts/mulish-v17-latin-italic.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    /* mulish-700 - latin */
    @font-face {
        font-display: swap;
        /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
        font-family: 'Mulish';
        font-style: normal;
        font-weight: 700;
        src: url('../fonts/mulish-v17-latin-700.woff2') format('woff2');
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    }

    body,
    html {
        margin: 0;
        padding: 0;
        font-size: 100%;
        font-family: var(--bodyFontFamily), Arial, sans-serif;
        color: var(--bodyTextColor);
        overflow-x: hidden;
    }

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

    body {
        transition: background-color 0.3s;
    }

    section,
    footer {
        padding: var(--sectionPadding);
    }

    .container {
        position: relative;
        width: 98%;
        max-width: 75rem;
        margin-inline: auto;
        /* padding-inline: 1rem; */
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 0;
        color: var(--headerColor);
        font-weight: 400;
    }

    .xl {
        font-size: var(--fontSize96);
    }
    .l {
        font-size: var(--fontSize64);
    }
    .m {
        font-size: var(--fontSize48);
    }
    .sm {
        font-size: var(--fontSize36);
    }
    .s {
        font-size: var(--fontSize32);
    }
    .xs {
        font-size: var(--bodyFontSize);
    }
    .xxs {
        font-size: var(--paraFontSize);
    }

    p,
    li,
    a {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
    }

    p,
    li {
        color: var(--bodyTextColor);
    }

    a:hover,
    button:hover {
        cursor: pointer;
    }

    img {
        display: block;
        width: auto;
        height: auto;
    }
    picture source {
        max-width: 100%;
    }

    .title {
        font-family: var(--headerFontFamily);
        line-height: 1.2em;
        text-align: inherit;
        /* max-width: 43.75rem; */
        margin: 0;
        color: var(--headerColor);
        position: relative;
        font-weight: 700;
    }
    
    .title.white {
        color: var(--headerColorWhite);
    }

    .subtitle {
        font-family: var(--headerFontFamily);
        font-weight: 700;
        display: block;
        font-size: var(--fontSize36);
        letter-spacing: 0.12em;
        color: var(--bodyTextColor);
        line-height: 0.75em;
    }
    
    .subtitle.white {
        color: var(--bodyTextColorWhite)
    }

    .text {
        font-family: var(--bodyFontFamily);
        font-weight: 400;
        line-height: 1.5em;
        text-align: inherit;
        width: 100%;
        max-width: 40.625rem;
        margin: 0;
        color: var(--bodyTextColor);
    }

    .text.white {
        color: var(--bodyTextColorWhite)
    }

    .dark-section {
        background-color: var(--headerColor);
    }
    .dark-section .text,
    .dark-section .title,
    .dark-section .subtitle {
        color: var(--bodyTextColorWhite)
    }

    .center {
        text-align: center;
        margin: 0 auto;
        display: block;
    }
    .mw-none {
        max-width: none;
    }
    .mb {
        margin-bottom: 1em;
    }

    .text.bold {
        font-weight: 700;
    }
    .title.plain {
        font-weight: 400;
    }

    .button-solid {
        font-family: var(--headerFontFamily);
        position: relative;
        overflow: hidden;
        font-size: 1.5em;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.2vw, 3.2rem);
        text-decoration: none;
        font-weight: 400;
        text-align: center;
        margin: 0;
        color: var(--bodyTextColorWhite);
        background-color: var(--primary);
        min-width: 7.375em;
        padding: 0 2em;
        padding-top: calc(0.08em);
        display: inline-block;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        border-radius: 100px;
        width: fit-content;
        transition: color 0.3s, background-color 0.5s;
    }

    .button-solid:hover::before {
        transform: translateX(0);
    }

    .button-solid::before {
        top: 0;
        left: 0;
        position: absolute;
        content: '';
        background: var(--primaryDark);
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        z-index: -1;
        transition: transform 0.3s;
    }

    .button-solid:hover {
        color: var(--bodyTextColorWhite);
        background-color: var(--primaryDark);
    }

    /* button secondary */

    .button-solid.secondary {
        color: var(--primaryDark);
        background-color: var(--primaryLight);
    }

    .button-solid.secondary::before {
        background: var(--primaryDark);
    }

    .button-solid.secondary:hover {
        color: var(--bodyTextColorWhite);
        background-color: var(--primaryDark);
    }

    /* button white */

    .button-solid.white {
        color: var(--primaryDark);
        background-color: var(--bodyTextColorWhite);
    }

    .button-solid.white::before {
        background: var(--bodyTextColorWhite);
    }

    .button-solid.white:hover {
        color: var(--primaryDark);
        background-color: var(--bodyTextColorWhite);
    }

    /* button transparent */

    .button-solid.transparent {
        box-sizing: border-box;
        color: var(--bodyTextColorWhite);
        background-color: rgba(1, 1, 1, 0);
        box-shadow: inset 0 0 0 1.5px var(--bodyTextColorWhite);
        transition: box-shadow 0.3s ease;
    }

    .button-solid.transparent::before {
        background: var(--primaryDark);
    }

    .button-solid.transparent:hover {
        color: var(--bodyTextColorWhite);
        box-shadow: none;
    }

    .feature-btn {
        text-decoration: none;
        position: relative;
        z-index: 10;
        transition: color 0.3s;
        color: var(--bodyTextColorWhite);
    }

    .feature-btn:hover {
        color: var(--bodyTextColorWhite);
    }

    .feature-btn::before {
        content: '';
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
        height: 1px;
        background-color: var(--bodyTextColorWhite);
        z-index: -1;
        border-radius: .35em;
        transition: left 0.3s, bottom 0.3s, height 0.3s, width 0.3s, background-color 0.3s;
    }

    .feature-btn:hover::before {
        content: '';
        position: absolute;
        width: 110%;
        bottom: -5%;
        left: -5%;
        height: 110%;
        background-color: var(--primary) !important;
    }

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    #nav-banner {
        position: relative;
        padding: calc(clamp(4rem, 8vw, 6.75rem) + 4.25rem) 1rem calc(clamp(2rem, 4vw, 3.25rem));
        text-align: center;
    }
    #nav-banner::before {
        position: absolute;
        top: 0;
        left: 0;
        content: '';
        width: 100%;
        height: 100%;
        opacity: 60%;
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 0.25) 100%
        );
    }
    #nav-banner .title{
        color: var(--bodyTextColorWhite);
    }

    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .background-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }
    
    #cta {
        background-color: var(--primary);
    }
    #cta .button-solid {
        font-size: 1.2em;
    }
    .whatsapp-cta .whatsapp-link::before {
        position: absolute;
        top: -5px;
        right: -5px;
        content: '';
        background-color: var(--primaryLight);
        height: 60px;
        border-radius: 300px;
        width: 175px;
        z-index: -1;
        transition: width 0.3s ease;
    }
    .whatsapp-cta .whatsapp-link {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 1rem;
    }
    .whatsapp-cta .text {
        color: var(--bodyTextColorWhite);
        font-weight: 700;
        transition: opacity 0.1s ease;
    }
    body.scroll .whatsapp-cta .text {
        opacity: 0;
    }
    body.scroll .whatsapp-cta .whatsapp-link::before {
        width: 60px;
    }
    .whatsapp-cta {
        position: fixed;
        z-index: 10;
        bottom: 1rem;
        right: 1rem;
    }
    .whatsapp-cta .icon-box {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
    }
    .whatsapp-cta .icon-box img{
        height: 50px;
        width: 50px;
        filter: brightness(10);
    }
    .whatsapp-cta .whatsapp {
        height: 50px;
        width: 50px;
    }
}