/**
 * Theme Name: Véli
 */

@charset 'utf-8';

@font-face {
    font-family: 'Sofia Pro';

    src: url('fonts/SofiaPro-Regular.woff2') format('woff2'),
         url('fonts/SofiaPro-Regular.woff')  format('woff'),
         url('fonts/SofiaPro-Regular.ttf')   format('truetype');

    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Pro';

    src: url('fonts/SofiaPro-Bold.woff2') format('woff2'),
         url('fonts/SofiaPro-Bold.woff')  format('woff'),
         url('fonts/SofiaPro-Bold.ttf')   format('truetype');

    font-style: normal;
    font-weight: 600;
    font-display: swap;
}


/** reset **/

*,
*::after,
*::before {
    margin: 0;
    padding: 0;

    resize: none;
    outline: none;

    box-sizing: inherit;
}

html,
body {
    font-size: 10px;

    min-width: 100%;
    min-height: 100%;

    -webkit-font-smoothing: antialiased;
            font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background: #E6EDF2;
    overflow-x: hidden;
    box-sizing: border-box;
}

html { margin: 0 !important }

a {
    text-decoration: none;
}

ol,
ul {
    list-style: none;
}

img,
svg,
figure {
    width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
}

button,
input,
select,
textarea {
    border: 0;
    border-radius: 0;

    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;

    background: transparent;
}


@media (max-width: 1680px) {
    html,
    body {
        font-size: 8px;
    }
}

@media (max-width: 992px) {
    html,
    body {
        font-size: 7px;
    }
}


/** lenis **/

html.lenis {
    height: auto;
}

html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
    overflow: hidden;
}

html.lenis.lenis-scrolling iframe {
    pointer-events: none;
}


/** wcag **/

.for-display { speak: none }

.for-sreader {
    width: 0;
    height: 0;

    margin: 0 !important;
    padding: 0 !important;

    display: block;
    overflow: hidden;

    font-size: 14px;
    line-height: 16px;

    text-overflow: -100vw;
}


/** cover **/

.cover,
.contain {
    object-fit: cover;
    object-position: center;
}

.contain {
    object-fit: contain;
}


/** flexbox **/

.flex { display: flex }
.flex.wrap { flex-wrap: wrap }
.flex.inline { display: inline-flex }
.flex.column { flex-direction: column }

.flex.al-end { align-items: flex-end }
.flex.al-start { align-items: flex-start }
.flex.al-center { align-items: center }

.flex.jf-end { justify-content: flex-end }
.flex.jf-start { justify-content: flex-start }
.flex.jf-center { justify-content: center }
.flex.jf-around { justify-content: space-around }
.flex.jf-between { justify-content: space-between }

.flex > * {
    flex-grow: 0;
    flex-shrink: 0;
}

.flex > .grow { flex-grow: 1 }
.flex > .shrink { flex-shrink: 1 }


/** wrapper **/

.wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 1680px) {
    .wrapper {
        max-width: 1000px;
    }
}

@media (max-width: 1280px) {
    .wrapper {
        max-width: calc(100% - 40px);
    }
}


/** texts **/

.title-01 {
    color: #0D4A69;

    font-size: 5.2rem;
    font-weight: 600;
    line-height: 6.5rem;
    font-family: 'Sofia Pro';

    margin-bottom: 4rem;
}


.title-02 {
    color: #0D4A69;

    font-size: 4.2rem;
    font-weight: 400;
    line-height: 5.4rem;
    font-family: 'Sofia Pro';

    margin-bottom: 1rem;
}

.title-02 strong {
    color: #219EBC;
    font-weight: 600;
}


.text-editor {
    color: #595959;

    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2.6rem;
    font-family: 'Sofia Pro';
}

.text-editor p,
.text-editor ul { margin: 0 0 2.6rem }
.text-editor p:last-child,
.text-editor ul:last-child { margin: 0 0 0rem }

.text-editor ul {
    list-style: inside;
    margin-left: 2.6rem !important;
}

.text-editor strong { font-weight: 600 }


/** buttons **/

.button {
    color: white;
    display: flex;
    padding: 1.8rem 3.4rem;

    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2.6rem;
    font-family: 'Sofia Pro';

    letter-spacing: 0.05em;
    text-transform: uppercase;

    border-radius: 10rem; /*2.6rem;*/
}

.button.small {
    padding: .8rem 2.2rem;
    font-size: 1.4rem;
}

.button.blue { background: #219EBC }
.button.orange { background: #F4AD50 }
.button.white-outline { border: 2px solid white }


@media (any-hover: hover) {
    .button {
        transition: transform 0.3s ease-out,
                    box-shadow 0.3s ease-out;
    }

    .button:not([disabled]):hover { transform: scale(1.05) }
    .button.blue:not([disabled]):hover { box-shadow: 0 0 0.4rem #219EBC }
    .button.orange:not([disabled]):hover { box-shadow: 0 0 0.4rem #F4AD50 }
}


/** modal **/

.modal {
    inset: 0;
    opacity: 0;
    z-index: 120;
    padding: 5% 0;

    display: flex;
    overflow: auto;
    position: fixed;
    transition: opacity 0.3s ease-out;
    align-items: center;
    justify-content: center;
    pointer-events: none;

    background: #0D4A69E5;
}

.modal .window {
    padding: 7rem 4rem 6rem;
    position: relative;
    max-width: 62rem;
    transform: translateY(20%);
    transition: transform 0.3s ease-out;

    border-radius: 3rem;
    border-bottom: 1rem solid #219EBC;

    background: #FFFFFF;
}

.modal .window .close {
    top: -1.7rem;
    right: -3.7rem;

    width: 3rem;
    height: 3rem;

    position: absolute;
}

.modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal.visible .window {
    transform: translateY(0%);
}


.modal.unit .window .title-02 {
    margin: 0 0 2.4rem;
    text-align: center;
}

.modal.unit .window .title-02 strong {
    color: #219EBC;
    font-weight: 600;
}

.modal.unit .window .text-editor {
    text-align: center;
}

.modal.unit .window a.button {
    width: calc(50% - 1.5rem);
    margin: 2rem 0 0;
    padding: 1.8rem 0rem;
    font-size: 2.0rem;
    line-height: 2.0rem;
    text-transform: none;
}

.modal.unit .window a.button:last-child {
    width: auto;
    margin: 2rem auto;
    padding: 1.8rem 2.4rem;
    font-size: 1.8rem;
}

.modal.unit .window a.button small {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
}

.modal.unit .window a.button .for-display {
    font-size: 3rem;
    margin-right: 1rem;
}

.modal.unit .window .sep {
    margin: 4.5rem 0 3.5rem;
    position: relative;
}

.modal.unit .window .sep:after,
.modal.unit .window .sep:before {
    top: 50%;
    left: 0;

    width: calc(50% - 2.5rem);
    height: 1px;

    content: '';
    display: block;
    position: absolute;

    background: #707070;
}

.modal.unit .window .sep:before {
    left: auto;
    right: 0;
}

.modal.unit .window form {
    margin: 3rem 0 0;
}

.modal.unit .window form input {
    color: #595959;

    width: 100%;
    margin: 0 0 1.8rem;
    padding: 0 2.3rem;

    font-size: 1.8rem;
    font-weight: 400;
    line-height: 4.8rem;
    font-family: 'Sofia Pro';

    border: 1px solid #B1B1B1;
    border-radius: 10rem;
    background: #E6EDF2;
}

.modal.unit .window form .error-message {
    color: #ff0000;
    margin: -1.3rem 0 1.8rem;

    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6rem;
    font-family: 'Sofia Pro';
}

.modal.unit .window form .error-message.success {
    color: #219EBC;

    width: 100%;
    margin: 0 0 1.8rem;

    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.modal.unit .window form > div:nth-child(1) { width: calc(55% - 0.5rem) }
.modal.unit .window form > div:nth-child(2) { width: calc(45% - 0.5rem) }
.modal.unit .window form > div:nth-child(3) {
    flex-grow: 1;
    flex-shrink: 1;
}

.modal.unit .window form button {
    height: 4.8rem;
    padding: 0 3.4rem;
    margin-left: 1rem;
}


#modal-contact .window .title-02 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 3.4rem;
}

#modal-contact .window .button {
    width: calc(50% - 1.5rem);
    margin: 0 0 2rem;
    justify-content: center;
}


/** wpp-trigger **/

.wpp-trigger {
    color: white;

    right: 4rem;
    bottom: 4rem;
    width: 8.9rem;
    height: 8.9rem;
    z-index: 110;

    position: fixed;
    transition: transform 0.3s ease-out;
    background: #24B33A;

    font-size: 6.2rem;
    border-radius: 50%;
}

@media (any-hover: hover) {
    .wpp-trigger:hover {
        transform: scale(1.1);
    }
}


/** call-large **/

.call-large {
    margin: 0 0 11rem;
}

.call-large .left {
    width: 38rem;
    padding: 12rem 0 15rem;
}

.call-large .right {
    position: relative;
}

.call-large .image {
    height: 100%;

    top: 0;
    left: 0;
    bottom: 0;
    position: absolute;

    mask-image: url(./images/mask-top.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center left;
}

.call-large .image img {
    width: auto;
    height: 100%;
    aspect-ratio: 53 / 56;
}

.call-large .title-02 {
    font-weight: 400;
    margin-bottom: 3.8rem;
}

.call-large .title-02 strong {
    color: #219EBC;
    font-weight: 600;
}


/** animates **/

[animate] {
    opacity: 0;
    transition: opacity 0.4s ease-out,
                transform 0.4s ease-out;
}

[animate="slide-up"] { transform: translate(0,20%); }
[animate="slide-left"] { transform: translate(-20%,0); }
[animate="slide-right"] { transform: translate(20%,0); }

[animate].visible {
    opacity: 1;
    transform: translate(0,0);
}

[animate].visible[animate-delay="0.1"] { transition-delay: 0.1s }
[animate].visible[animate-delay="0.2"] { transition-delay: 0.2s }
[animate].visible[animate-delay="0.3"] { transition-delay: 0.3s }
[animate].visible[animate-delay="0.4"] { transition-delay: 0.4s }
[animate].visible[animate-delay="0.5"] { transition-delay: 0.5s }


/** site-header **/

.site-header {
    z-index: 100;

    top: 0%;
    left: 0%;
    width: 100%;
    height: 12.4rem;
    padding: 0 6.0rem;

    position: fixed;
    background: white;

    box-shadow: 0 0.4rem 0.4rem rgba(0,0,0, 0.05);
    border-bottom: 1px solid #0D4A69;
}


.site-header .brand,
.site-header .brand svg {
    width: auto;
    height: 5rem;
}


.site-header .main-menu .menu {
    display: flex;
    align-items: center;

    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.6rem;
    font-family: 'Sofia Pro';

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-header .main-menu .menu .menu-item {
    margin: 0 2.5rem;
}

.site-header .main-menu .menu .menu-item a:not(.button) { color: #0D4A69 }
.site-header .main-menu .menu .current-menu-item a:not(.button) { color: #219EBC }


.site-header .main-social .social {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.site-header .main-social .social .social-item {
    margin: 0 1.0rem;
}

.site-header .main-social .social .social-item a {
    color: #229EBC;
    font-size: 2.6rem;
    text-align: center;
}



@media (min-width: 1221px) {
    .site-header .submenu {
        top: 100%;
        left: 0%;
        width: 100%;
        position: absolute;
        padding: 8.4rem 0 7.4rem;
        background: #35A2BD;
        border-bottom: 1px solid #0D4A69;
        border-radius: 0 0 2rem 2rem;

        opacity: 0;
        transform: scaleY(0);
        transform-origin: top center;

        transition: opacity 0.3s ease-out,
                    transform 0.3s ease-out;

        text-transform: none;
    }

    .site-header .submenu > ul > li {
        padding: 0 2rem;
        max-width: 23rem;
        border-left: 1px solid #0D4A694c;
    }

    .site-header .submenu > ul > li:first-child { border-left: 0 }

    .site-header .submenu.for-employee > ul > li {
        left: -2.5rem;
        position: relative;
        border-left: 1px solid #0D4A694c;
        border-right: 1px solid #0D4A694c;
    }

    .site-header .submenu a,
    .site-header .submenu strong a {
        color: white !important;

        font-size: 2.0rem;
        font-weight: 600;
        line-height: 2.5rem;
        font-family: 'Sofia Pro';

        margin-bottom: 4.5rem;
    }

    .site-header .submenu a {
        font-size: 1.6rem;
        font-weight: 400;
    }

    .site-header .submenu strong a {
        display: block;
        min-height: 8.2rem;
    }

    .site-header .submenu.for-employee strong a {
        min-height: 0rem;
    }

    .site-header .submenu > ul > li > ul > li {
        margin-bottom: 1.8rem;
    }

    .site-header .has-submenu > a {
        top: 5rem;
        z-index: 2;
        position: relative;
    }

    .site-header .has-submenu:after {
        z-index: 1;
        opacity: 0;

        left: -2.5rem;
        right: -2.5rem;
        width: calc(100% + 5rem);
        height: 10rem;

        content: '';
        display: block;
        position: relative;

        background: #35A2BD;
        transition: opacity 0.3s ease-out;
        border-radius: 2rem 2rem 0 0;
    }
}

@media (max-width: 1220px) {
    .site-header .submenu {
        display: none;
    }

    .site-header .main-menu {
        top: 12.4rem;
        right: 0;
        width: 290px;
        bottom: 0;
        padding: 4.0rem 0;

        position: fixed;
        background: white;

        transform: translateX(100%);
        transition: transform 0.6s ease-out,
                    box-shadow 0.6s ease-out;
    }

    .site-header .main-menu:after {
        width: 100vw;

        top: 0;
        right: 100%;
        bottom: 0;

        content: '';
        display: block;
        position: absolute;
        pointer-events: none;

        transition: background 0.6s ease-out;
    }

    .site-header .main-menu .menu {
        flex-direction: column;
    }

    .site-header .main-menu .menu .menu-item:last-child {
        margin: 2.5rem 0 0;
    }

    .site-header .main-menu .menu .menu-item:not(:last-child) {
        margin: 0.5rem auto;
    }

    .site-header .main-menu .menu .menu-item:not(:last-child) a {
        display: block;
        width: 100%;
        padding: 1.0rem 0;
        text-align: center;
    }


    .site-header .main-social .social {
        margin-right: 1.5rem;
    }


    .site-header .main-menu-toggle,
    .site-header .main-menu-toggle div {
        width: 5.0rem;
        cursor: pointer;
        transition: 0.3s ease-out;
    }

    .site-header .main-menu-toggle div {
        height: 4px;
        margin: 4px 0;
        background: #0D4A69;
    }

    .site-header .main-menu-toggle div:nth-child(2) {
        width: 80%;
    }


    body.main-menu-visible .site-header .main-menu {
        transform: translateX(0%);
        box-shadow: 0 -0.4rem 0.4rem rgba(0,0,0,0.05);
    }

    body.main-menu-visible .site-header .main-menu:after {
        pointer-events: auto; background: rgba(0,0,0,0.2);
    }

    body.main-menu-visible .main-menu-toggle { transform: rotate(180deg) }
    body.main-menu-visible .main-menu-toggle div:nth-child(2) { opacity: 0 }
    body.main-menu-visible .main-menu-toggle div:nth-child(1) { transform: translateY(12px) rotate(45deg) }
    body.main-menu-visible .main-menu-toggle div:nth-child(3) { transform: translateY(-12px) rotate(-45deg) }
}


@media (any-hover: hover) {
    .site-header .main-social .social .social-item a,
    .site-header .main-menu .menu .menu-item a:not(.button) {
        transition: color 0.3s ease-out;
    }

    .site-header .main-social .social .social-item a:hover { color: #0D4A69 }
    .site-header .main-menu .menu .menu-item a:not(.button):hover { color: #219EBC }
}

@media (min-width: 1221px) and (any-hover: hover) {
    .site-header .submenu a:hover {
        text-decoration: underline;
    }

    .site-header .has-submenu:hover > a {
        color: white !important;
    }

    .site-header .has-submenu:hover:after {
        opacity: 1;
    }

    .site-header .has-submenu:hover .submenu {
        opacity: 1;
        transform: scaleY(1);
    }
}

@media (any-hover: hover) and (max-width: 1220px) {
    .site-header .main-menu-toggle:hover div { background: #219EBC }
}


/** site-footer **/

.site-footer {
    z-index: 2;
    position: relative;
    padding: 9.3rem 0 0;
    background: #0D4A69;
    border-radius: 15rem 15rem 0 0;
}

.site-footer .units .unit {
    margin: 0 3.5rem;
}

.site-footer .units .unit:first-child { margin-left: 0 }
.site-footer .units .unit:last-child { margin-right: 0 }

.site-footer .units .unit h5 {
	cursor: pointer;
    color: #8ECAE6;

    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3.0rem;
    font-family: 'Sofia Pro';
}

.site-footer .units .unit h6 {
    color: #E6EDF2;
    margin: 0 0 2.5rem;

    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.8rem;
    font-family: 'Sofia Pro';

    text-transform: uppercase;
}

.site-footer .units .unit a {
    color: #E6EDF2;

    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.6rem;
    font-family: 'Sofia Pro';
}

.site-footer .units .unit a .for-display {
    font-size: 1.6rem;
    line-height: 2.6rem;
    margin-right: 0.5rem;
}

.site-footer .sep {
    opacity: 0.2;
    margin: 6.6rem 0 4.8rem;
    border-top: 2px solid #E6EDF2;
}

.site-footer .brand-wrapper {
    width: 4.8rem;
    height: auto;
    margin: 0 auto 5rem;
	display: block;
}

.site-footer .brand {
	width: 100%;
}

.site-footer .links .main-menu .menu {
    display: flex;
    align-items: center;
}

.site-footer .links .main-menu .menu .menu-item {
    margin-right: 2.5rem;
}

.site-footer .links .main-menu .menu .menu-item a {
    color: #E6EDF2;

    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.7rem;
    font-family: 'Sofia Pro';

    text-transform: uppercase;
}

.site-footer .links .main-social .social {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.site-footer .links .main-social .social .social-item {
    margin-left: 2.0rem;
}

.site-footer .links .main-social .social .social-item a {
    color: #F2F8FD;
    opacity: 0.6;
    font-size: 2.6rem;
    text-align: center;
}

.site-footer .sign {
    color: #E6EDF2;
    margin: 3.8rem 0 2.5rem;

    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.6rem;
    font-family: 'Sofia Pro';

    text-align: center;
    text-transform: lowercase;
}

.site-footer .sign a {
    color: #E6EDF2;
    font-weight: 600;
}

.site-footer .margin-fix {
    height: 1px;
}

.site-footer.front-page .units .unit {
    width: calc(25% - 2.25rem);
    margin: 0;
}

.site-footer.front-page .units .unit a,
.site-footer.front-page .units .unit h5,
.site-footer.front-page .units .unit h6 {
    margin-left: 2rem;
    margin-right: 2rem;
}

.site-footer.front-page .units .unit img {
    width: 100%;
    margin: -20rem 0 3.2rem;

    aspect-ratio: 25 / 20;
    border-radius: 2rem;
}


@media (any-hover: hover) {
    .site-footer .main-social .social .social-item a,
    .site-footer .main-menu .menu .menu-item a:not(.button) {
        transition: color 0.3s ease-out;
    }

    .site-footer .main-social .social .social-item a:hover { color: #8ECAE6 }
    .site-footer .main-menu .menu .menu-item a:hover { color: #8ECAE6 }
}


@media (max-width: 992px) {
    .site-header {
        padding: 0 20px;
    }

    .modal .window .close {
        top: 1.7rem;
        right: 1.7rem;
    }

    .modal.unit .window a.button {
        width: auto;
        margin: 2rem auto 0;
        padding: 1.8rem 2.4rem;
        min-width: 30rem;
    }
}

@media (max-width: 768px) {
    .site-footer,
    .site-footer.front-page {
        border-radius: 0;
    }

    .site-footer {
        padding-top: 0;
    }

    .site-footer .units,
    .site-footer.front-page .units {
        flex-wrap: wrap;
    }

    .site-footer .units .unit,
    .site-footer.front-page .units .unit {
        width: calc(50% - 1.5rem);
        margin: 5rem 0 0;
    }

    .site-footer.front-page .units .unit:nth-child(1),
    .site-footer.front-page .units .unit:nth-child(2) {
        margin-top: -15rem;
    }

    .site-footer.front-page .units .unit img {
        margin: 0 0 3.2rem;
    }

    .site-footer .links,
    .site-footer .links .main-menu,
    .site-footer .links .main-menu .menu {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-footer .links .main-menu .menu .menu-item {
        margin: 0 1.5rem;
    }

    .site-footer .links .main-menu .menu .menu-item a {
        font-size: 1.5rem;
        line-height: 5rem;
    }

    .site-footer .links .main-social .social {
        margin: 2rem 0 0;
    }

    .site-footer .links .main-social .social .social-item {
        margin-right: 2rem;
    }


    .call-large .left {
        width: 100%;
        align-items: center;
        padding-top: 3rem;
    }

    .call-large .title-02 {
        text-align: center;
    }

    .call-large .right {
        display: none;
    }

    .call-large .wrapper {
        flex-wrap: wrap;
    }

}
