.tpl-hero {
    --color-background-cta: rgba(255, 255, 255, 0.85);
    --image-hero-mobile: none;
    --image-hero-tablet: none;
    --image-hero-desktop: none;
    --padding-t-img-mobile: 200px;
    --height-hero-big: 600px;
    --height-hero-short: 532px;
}

.tpl-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: var(--padding-t-img-mobile, 200px);
    background-repeat: no-repeat;
    background-size : cover;
    background-color: lightgray;
    background-image: var(--image-hero-mobile);
}

.tpl-hero__degraded {
    background: linear-gradient(
            180deg,
            rgba(241, 238, 235, 0.00) 8.31%,
            rgba(249, 248, 247, 0.61) 63.85%,
            #FFF 100%
    );
}

.tpl-hero__cta {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    width: 335px;
    margin-inline: auto;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    background-color: var(--color-background-cta, rgba(255, 255, 255, 0.85));
}

.tpl-hero__title-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.vs-wrapper--fluid .vs-component--fluid.tpl-hero__content {
    margin-top: 0;
}

.tpl-hero__title-wrapper .vs-title-1__regular {
    font-size: 30px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: -0.64px;
}

.tpl-hero__chips-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.tpl-hero__chip {
    display: flex;
    align-items: center;
    column-gap: 4px;
    width: max-content;
    padding: 4px 8px;
    border: 1px solid var(--color-chip-background, #00A37D);
    border-radius: 16px;
    background-color: var(--color-chip-background, #00A37D);
}

.tpl-hero__icon-chip {
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
}

.tpl-hero__icon-chip svg {
    width: 16px;
    height: 16px;
}

.tpl-hero__funnel-button.vs-button.big {
    width: 100%;
    height: 64px;
    padding: 12px 24px 12px 32px;
}

.tpl-hero__form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
}

.tpl-hero__form {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 8px;
    width: 100%;
}

.tpl-hero__tel-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.tpl-hero__form .tpl-hero__input-wrapper .tpl-hero__tel-input {
    height: 48px;
    padding: 8px 20px;
    border-radius: 24px;
    border: 1px solid #EEE;
    box-shadow: none;
    background-color: #FFF;
}

.tpl-hero__form .tpl-hero__input-wrapper .tpl-hero__tel-input.vs-text::placeholder {
    color: var(--color-primary-black-soft, #8A8C8E);
}

.tpl-hero__form .tpl-hero__cta-button.vs-button.outlined {
    position: absolute;
    right: 0;
    height: 48px;
    padding: 12px 32px;
    border-radius: 24px;
}

.tpl-hero__call-us.vs-title-5__medium {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-title, #262626);
}

.tpl-hero__call-us.vs-title-5__medium a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    color: var(--color-title, #262626);
}

.tpl-hero__trustpilot.mobile {
    margin-block: 25px;
    margin-inline: auto;
}

.tpl-hero__trustpilot.tablet,
.tpl-hero__trustpilot.desktop {
    display: none;
}

.tpl-hero__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    padding: 16px 20px;
    background-color: var(--color-terciary-gray, #F8F7F5);
    backdrop-filter: blur(8px);
}

.tpl-hero__awards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
    justify-items: start;
}

.tpl-hero__award {
    width: 55px;
    height: 65px;
}

.tpl-hero__award img {
    width: 100%;
    height: 100%;
}

.tpl-hero__footer .vs-subsection-title {
    font-size: 14px;
    line-height: 18px;
}

.tpl-hero .vs-wrapper--fluid{
    margin-top: 0;
}

@media (min-width: 744px) {
    .tpl-hero .vs-wrapper--fluid {
        position: relative;
    }

    .vs-component--fluid.tpl-hero__content {
        min-height: var(--height-hero-big, 600px);
        height: auto;
        padding-top: 0;
        padding-inline: 20px;
        background-position: center;
        background-image: var(--image-hero-tablet);
    }

    .tpl-hero__degraded {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-self: flex-end;
        min-height: var(--height-hero-big, 600px);
        height: auto;
        padding: 0 20px 48px;
    }

    .vs-component--fluid.tpl-hero__content.hero-is-short,
    .vs-component--fluid.tpl-hero__content.hero-is-short .tpl-hero__degraded {
        min-height: var(--height-hero-short, 532px);
    }

    .tpl-hero__degraded.trustpilot {
        padding-bottom: 16px;
    }

    .tpl-hero__cta {
        width: 335px;
        height: max-content;
        margin-top: 32px;
        padding: 20px;
        border-radius: 16px;
    }

    .tpl-hero__trustpilot.mobile {
        display: none;
    }

    .tpl-hero__trustpilot.tablet {
        display: block;
        margin-top: 24px;
    }

    .tpl-hero__footer {
        position: absolute;
        bottom: 0;
        flex-direction: row;
        justify-content: flex-start;
        column-gap: 12px;
        width: 100%;
        height: 72px;
        padding: 16px 20px;
        backdrop-filter: blur(8px);
        background-color: rgba(0, 0, 0, 0.30);
    }

    .tpl-hero__awards {
        align-self: flex-end;
        column-gap: 4px;
    }

    .tpl-hero__award {
        width: auto;
    }

    .tpl-hero__footer .vs-strong-text  {
        width: 190px;
        font-weight: 400;
        color: var(--color-primary-white, #FFF);
    }

    .tpl-hero__footer .vs-strong-text span {
        font-weight: 700;
    }
}

@media (min-width: 1023px) {
    .tpl-hero .vs-wrapper--fluid {
        position: relative;
    }

    .vs-component--fluid.tpl-hero__content {
        padding-inline: 40px;
    }

    .tpl-hero__degraded {
        padding: 0 32px 48px;
    }

    .tpl-hero__cta {
        width: 400px;
    }

    .tpl-hero__footer {
        height: 52px;
        padding-inline: 40px;
    }

    .tpl-hero__footer .vs-strong-text{
        width: auto;
    }
}

@media (min-width: 1440px) {
    .tpl-hero {
        background-color: lightgray;
        background-image: var(--image-hero-desktop);
        background-repeat: no-repeat;
        background-size : cover;
    }

    .vs-component--fluid.tpl-hero__content {
        max-width: 1440px;
        padding: 0 96px;
        margin: 0 auto;
        background-image: none;
        background-color: transparent;
    }

    .tpl-hero .vs-wrapper--fluid{
        max-width: 1600px;
    }

    .tpl-hero__cta {
        width: 400px;
        height: max-content;
        padding: 32px;
        border-radius: 32px;
    }

    .tpl-hero__footer {
        padding-inline: 184px;
        column-gap: 16px;
    }

    .tpl-hero__awards {
        column-gap: 8px;
    }
}

/* Styles webform - "tooltip" message error phone */
form.webform-submission-pt-maia-c2c-landings-form-form {
    position:relative;
}

.webform-submission-pt-maia-c2c-landings-form-form .messages-box.js-form-item.form-item.js-form-type-webform-markup.form-type-webform-markup.js-form-item-.form-item-.form-no-label {
    position: absolute;
    z-index: 10;
    top: 54px;
    left: 4px;
    max-width: fit-content;
    padding: 8px;
    border-radius: 16px;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
    background: rgba(220, 213, 204);
    color: #ED002F;
}


.webform-submission-pt-maia-c2c-landings-form-form .messages-box.js-form-item.form-item.js-form-type-webform-markup.form-type-webform-markup.js-form-item-.form-item-.form-no-label::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 8px;
    width: 48px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16' fill='none'><path d='M0 16C15.9989 16 23.9989 0.00225544 24 0C24.0011 0.00225544 32.0011 16 48 16H0Z' fill='%23DCD5CC'/></svg>");
}
/* End styles webform - "tooltip" message error phone */


/*POP-UP HERO*/
.tpl-hero .vs-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tpl-hero .vs-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(38, 38, 38, 0.90);
}

.tpl-hero .vs-popup .vs-wrapper {
    display: flex;
    height: 100vh;
}

.tpl-hero .vs-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 111;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    border-radius: 50%;
    background-color: #EEEEEE;
    cursor: pointer;
}

.tpl-hero .vs-popup__close svg {
    width: 16px;
    height: 16px;
}

.tpl-hero .vs-popup__container {
    position: relative;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 90vh;
    height: 90vh;
    margin-top: 12px;
    border-radius: 16px;
    z-index: 11;
    transform: scale(0.9);
    transition: all 0.3s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 60%),
    var(--background-image-popup) center / cover no-repeat;
    overflow: hidden;
}

.tpl-hero .vs-popup__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: auto;
    padding: 24px;
    border-radius: 16px;
    background-color: var(--color-primary-white, #FFF);
}

.tpl-hero .vs-popup__content::-webkit-scrollbar {
    width: 6px;
}

.tpl-hero .vs-popup__content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

.tpl-hero .vs-popup__content::-webkit-scrollbar-track {
    background: transparent;
}

.tpl-hero .vs-popup.show .vs-popup__container {
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.tpl-hero .vs-popup__content a {
    color: var(--color-link, #ED002F);
}


@media (min-width: 744px) {
    .tpl-hero .vs-popup .vs-wrapper {
        display: flex;
        justify-content: center;
        height: 100vh;
        margin-block: auto;
    }

    .tpl-hero .vs-popup__container {
        margin-block: auto;
        height: 75vh;
        border-radius: 32px;
    }

    .tpl-hero .vs-popup__close {
        top: 40px;
        right: 40px;
    }

    .tpl-hero .vs-popup__close svg {
        width: 32px;
        height: 32px;
    }

    .tpl-hero .vs-popup__content {
        padding: 40px;
        border-radius: 32px;
    }
}
