@charset "UTF-8";

/*
* Site style
*/

body p {
    color: var(--wp--preset--color--accent-5);
}

body .hello p {
    color: var(--wp--preset--color--contrast);
}

input[type="submit"],
a {
    transition-duration: .3s;
}

h1 {
    font-weight: 700;
}

header figure.wp-block-image.size-full.is-resized img {
    width: 123px !important;
    height: auto;
}

header .wp-block-button.is-style-outline.contact-btn a {
    padding: .5em 1em !important;
    font-size: 14px;
}

.has-bg-layer {
    position: static;
}

.bg-layer {
    margin: 0;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -1;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.has-layer-3-mob,
.has-bg-container {
    position: relative;
}

.wp-block-button.is-style-outline .wp-element-button:hover {
    color: var(--wp--preset--color--base) !important;
    background-color: var(--wp--preset--color--accent-1);
    border-color: var(--wp--preset--color--accent-1);
}

/* FORM */
.modal.hidden {
    display: none;
    margin: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 111;
}

.modal.hidden.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    padding-left: var(--wp--preset--spacing--50);
    padding-right: var(--wp--preset--spacing--50);
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--20);
    position: relative;
    cursor: default;
    -webkit-border-radius: 26px;
    -moz-border-radius: 26px;
    -ms-border-radius: 26px;
    -o-border-radius: 26px;
    border-radius: 26px;
}

.form-container .wp-block-heading {
    margin-top: 2.5rem;
}

.wpcf7-form {
    font-size: var(--wp--preset--font-size--normal);
    color: var(--wp--preset--color--accent-5);
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.wpcf7-form>p {
    margin: 0;
}

.wpcf7-form>p label {
    display: flex;
    flex-direction: column;
    gap: .75em;
}

.wpcf7-form input {
    border: 1px solid var(--wp--preset--color--accent-3);
    color: inherit;
    font-size: inherit;
    width: 100%;
    padding: .75em 1.5em;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
    border-radius: 24px;
}

.wpcf7-form input:not([type="submit"]) {
    background-color: var(--wp--preset--color--accent-2);
}

.wpcf7-form input:not([type="submit"]):focus-visible {
    outline: 1px solid var(--wp--preset--color--accent-3);
}

.wpcf7-form input[type="submit"] {
    border: 2px solid var(--wp--preset--color--accent-1);
    color: var(--wp--preset--color--accent-1);
    background: transparent none;
    margin-top: 4em;
    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--wp--preset--color--accent-1);
    color: var(--wp--preset--color--base);
}

.form-container .close-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    right: var(--wp--preset--spacing--50);
}

.form-container svg.icon.close path {
    fill: var(--wp--preset--color--accent-5);
}

.modal.hidden.open {
    cursor: url("/wp-content/themes/fin100re/assets/img/light-close.png") 16 16, pointer;
}


@media screen and (min-width: 962px) {
    .hello {
        position: relative;
    }

    svg.bg-layer.mobile {
        display: none;
    }

    svg.bg-layer.desktop {
        width: 75vw;
    }

    .has-bg-container::after {
        content: "";
        width: 100%;
        height: 100%;
        background-size: cover;
        position: absolute;
        top: 0;
        z-index: -1;
    }

    .has-bg-container.layer-3::after {
        left: auto;
        right: var(--wp--style--root--padding-right);
    }

    .has-bg-container.layer-3.has-is-reverse::after {
        left: var(--wp--style--root--padding-left);
        right: auto;
    }

    .has-bg-container.layer-3::after {
        background-image: url('/wp-content/themes/fin100re/assets/img/layer-3.svg');
    }

    .has-bg-container.is-rotate-y::after {
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
}

@media screen and (max-width: 961px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        text-align: center;
    }

    .hello>.wp-block-columns {
        flex-direction: column;
    }

    .hello .wp-block-buttons {
        justify-content: center;
    }

    .is-stack-961 {
        flex-direction: column;
    }

    .is-stack-961.is-reverse,
    .is-reverse {
        flex-direction: column-reverse;
    }

    svg.bg-layer.desktop {
        display: none;
    }

    .has-bg-layer {
        position: relative;
    }

    svg.bg-layer.mobile {
        width: 100%;
        height: auto;
        right: calc(var(--wp--style--root--padding-right) * -1);
    }

    .form-container {
        padding-bottom: 0;
    }

    .wpcf7-form input[type="submit"] {
        margin-top: 2em;
    }
}

@media screen and (min-width: 561px) and (max-width: 961px) {
    .has-layer-3-mob::after {
        content: "";
        width: 100vw;
        height: 100%;
        background-size: cover;
        position: absolute;
        top: 0;
        z-index: -1;
    }

    .has-layer-3-mob::after {
        background-image: url('/wp-content/themes/fin100re/assets/img/layer-3.svg');
    }

    .has-layer-3-mob::after {
        left: 0;
        right: 0;
    }

    .has-layer-3-mob::after {
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
}

@media screen and (max-width: 560px) {
    :root .has-global-padding>.alignfull {
        margin-right: -0.75rem;
        margin-left: -0.75rem;
    }

    :root .has-global-padding {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    body p {
        font-size: 14px !important;
        line-height: 1.3;
    }

    h1.wp-block-heading.has-xx-large-font-size {
        font-size: 24px !important;
        line-height: 1.25;
    }

    h2.wp-block-heading {
        font-size: 32px;
        line-height: 1.5;
    }

    h2.wp-block-heading.mob-20 {
        font-size: 20px;
    }

    h3.wp-block-heading {
        font-size: 20px;
        line-height: 1.5;
    }

    .last-block h2.wp-block-heading {
        font-size: 24px !important;
    }


    .wp-block-buttons.has-custom-font-size .wp-block-button__link {
        font-size: 12px !important;
    }
}