/* BASE
================================================== */

html {
    scroll-padding-top: 3rem;
}

body {
    font-size: 1rem;
    color: #373737;
    background: #fff;
}

body,
input,
button,
textarea {
    font-family: Roboto, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

p,
ul,
ol,
table,
figure {
    margin-bottom: 1.5rem;
}

a,
input,
textarea,
button {
    transition: color 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s;
}

a {
    text-decoration: none;
    color: #00677a;
}

a:hover {
    color: #373737;
}

*,
*:focus {
    outline: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

figure img {
    width: 100%;
}

/* LAYOUT
================================================== */

/*
	Header
*/

.header {
    position: fixed;
    display: flex;
    align-items: center;
    z-index: 1010;
    top: 0;
    right: 0;
    left: 0;
    padding: 0 0.75rem;
    height: 4rem;
    transition: all 0.3s;
}

.header > * {
    position: relative;
    z-index: 2;
}

.header__logo {
    height: 1.5rem;
}

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

.header:before {
    position: absolute;
    content: '';
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0));
}

.header--sticky {
    background-color: #373737;
}

/*
    Navigation
*/

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.25rem;
    height: 1rem;
    margin-left: 2rem;
    transition: all 0.3s;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
}

.main-menu {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.main-menu ul {
    margin-bottom: 0;
    padding: 0;
    list-style-type: none;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    position: relative;
    display: block;
}

.main-menu > ul {
    display: flex;
    align-items: center;
}

.main-menu > ul > li {
    padding: 0.5rem 0;
}

.main-menu > ul > li:not(:first-child) {
    margin-left: calc(0.25rem + 2.25vw);
}

.main-menu > ul > li > a {
    display: block;
    color: #fff;
    border-bottom: 1px solid transparent;
}

.main-menu > ul > li.btn-item > a {
    padding: 0.625rem 1.5rem;
    border: 0;
    font-size: 1.125rem;
    font-weight: 400;
    background: #00677a;
    border-radius: 2rem;
}

.main-menu > ul > li.btn-item:hover > a {
    background: #373737;
}

.main-menu > ul > li:hover > a,
.main-menu > ul > li.active > a {
    border-bottom-color: #fff;
}

.main-menu ul ul {
    position: absolute;
    z-index: 1;
    visibility: hidden;
    top: 100%;
    left: 0;
    min-width: 15rem;
    padding: 1rem 0;
    text-align: left;
    background: #00677a;
    border-radius: 1rem;
    opacity: 0;
    transition: all 0.3s;
}

.main-menu ul ul li > a {
    padding: 0.25rem 2rem;
    color: #fff;
}

.main-menu ul ul li:hover > a,
.main-menu ul ul li.active > a {
    color: rgba(255, 255, 255, 0.7);
}

.main-menu ul ul ul {
    top: -1rem;
    left: 100%;
}

.main-menu li:hover > ul {
    visibility: visible;
    opacity: 1;
}

/*
	Footer
*/

.footer {
    position: relative;
    font-size: 0.9375rem;
}

.footer a:hover {
    opacity: 0.7;
}

.footer__inner {
    padding: 4rem 0 2.5rem;
    color: #fff;
    background: #373737;
}

.footer__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer__logo a {
    display: block;
    height: 2rem;
}

.footer__logo a img {
    display: block;
    width: 100%;
    height: 100%;
}

.footer__inner a {
    color: inherit;
}

.footer__scroll {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    top: 0;
    left: 50%;
    width: 3.75rem;
    height: 3.75rem;
    font-size: 1.5rem;
    color: #373737;
    background: #f7f7f7;
    border-radius: 100%;
    transform: translate(-50%, -50%);
}

.footer__scroll,
.footer .footer__scroll:hover {
    color: #373737;
    background: #f7f7f7;
    opacity: 1;
}

.footer .footer__scroll:hover {
    background-color: #fff;
}

.footer .copyright {
    padding: 1rem 0;
    color: #373737;
    background-color: #fff;
}

.footer .copyright ul,
.footer .copyright p {
    margin: 0;
}

.footer .copyright ul {
    padding: 0;
    list-style-type: none;
}

.footer .copyright a {
    color: inherit;
}

/*
    Offcanvas
*/

.offcanvas {
    max-width: 80%;
    font-size: 1.25rem;
    background: #fff;
}

.offcanvas ul {
    padding: 0;
    list-style-type: none;
}

.offcanvas ul a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.25rem 0;
    font-weight: 600;
    color: #373737;
}

.offcanvas ul a i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    cursor: pointer;
    transform: rotate(-90deg);
}

.offcanvas ul a i:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) translate(1px, -6px);
    transform-origin: center center 0;
}

.offcanvas ul ul {
    margin-left: 1.5rem;
    font-size: 1rem;
}

.offcanvas-body > ul ul {
    display: none;
}

.offcanvas-body > ul li.active > ul {
    display: block;
}

.offcanvas ul li.active > a > i {
    transform: rotate(0);
}

/* SECTIONS
================================================== */

/*
    Sections
*/

.section {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

/*
    Intro
*/

.intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 12rem;
    padding-top: 6rem;
    padding-bottom: 2rem;
    color: #fff;
    background-color: #00677a;
}

.intro .intro__video {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(0, -50%);
}

.intro__video:after {
    position: absolute;
    content: '';
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00677a;
    opacity: 0.3;
}

.intro__video video {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
}

.intro .container {
    position: relative;
    z-index: 3;
}

.intro .intro__thumbnail {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: -75%;
    width: 8rem;
    height: 8rem;
    margin: 0;
}

.intro .intro__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.intro .intro__wave {
    position: absolute;
    content: '';
    z-index: 2;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 6rem;
    background: url('../img/wave.svg') center bottom repeat-x;
}

.intro--lg .page-title {
    font-weight: 300;
    font-style: italic;
}

.intro--lg .page-title strong {
    font-weight: 600;
}

/* MODULES
================================================== */

/*
    Layer Card
*/

.layer-card {
    position: relative;
    overflow: hidden;
    font-size: 0.75rem;
    text-align: center;
    color: #fff;
    border-radius: 1.25rem;
    background-size: cover;
    background-position: center center;
}

.layer-card:before {
    display: block;
    content: '';
    padding-bottom: 130%;
}

.layer-card__content {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    line-height: 1.25;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.9);
    transition: background-color 0.3s;
}

.layer-card__title {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: auto;
}

.layer-card__text {
    transform: translate(0, 100%);
    opacity: 0;
    transition: all 0.3s;
}

.layer-card__content p {
    margin-bottom: 0;
}

.layer-card:hover .layer-card__content {
    background: rgba(2, 44, 53, 0.9);
}

.layer-card:hover .layer-card__text {
    transform: translate(0, 0);
    opacity: 1;
}

/*
    Panel
*/

.panel {
    padding: 1.5rem;
    border-radius: 1.25rem;
}

.panel--product {
    background-color: #f7f7f7;
}

.panel--product figure {
    position: relative;
    padding: 0 1.5rem;
}

.panel--product figure:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 100%;
    padding-bottom: 100%;
    background: #00677a;
    transform: translate(-50%, -50%);
    border-radius: 100%;
}

.panel--product figure img {
    position: relative;
    z-index: 2;
}

.panel--product p:last-child {
    margin-bottom: 0;
}

/*
    Accordion
*/

.accordion-item,
.accordion-button,
.accordion-button:not(.collapsed) {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.accordion-item,
.accordion-flush .accordion-item:last-child {
    border-bottom: 1px solid #373737;
}

.accordion-button,
.accordion-button:not(.collapsed) {
    color: #373737;
}

.accordion-button {
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding-top: 0;
    font-size: 0.9375rem;
}

.accordion-body > *:last-child {
    margin-bottom: 0;
}

/* COMPONENTS
================================================== */

/*
	Buttons
*/

.btn {
    padding: 0.5rem 2rem;
    border-width: 2px;
    font-size: 1.5rem;
    font-weight: 400;
    box-shadow: none;
    border-radius: 3rem;
}

.btn:focus,
.btn:active:focus {
    box-shadow: 0 0 0 0.25rem rgba(0 0 0 / 10%);
}

.btn-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 1.125rem;
}

.btn-light,
.btn-light:focus {
    border-color: #fff;
    color: #373737;
    background-color: #fff;
}

.btn-light:hover,
.btn-light:first-child:active,
.btn-light:hover:active,
.btn-light:focus:active {
    border-color: #00677a;
    color: #fff;
    background-color: #00677a;
}

.btn-dark,
.btn-dark:focus {
    border-color: #373737;
    color: #fff;
    background-color: #373737;
}

.btn-dark:hover,
.btn-dark:first-child:active,
.btn-dark:hover:active,
.btn-dark:focus:active {
    border-color: #222;
    color: #fff;
    background-color: #222;
}

.btn-primary,
.btn-primary:focus {
    border-color: #00677a;
    color: #fff;
    background-color: #00677a;
}

.btn-primary:hover,
.btn-primary:first-child:active,
.btn-primary:hover:active,
.btn-primary:focus:active {
    border-color: #373737;
    color: #fff;
    background-color: #373737;
}

/*
	Form components
*/

label a {
    text-decoration: underline;
}

.form-label {
    display: block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.875rem 1rem;
    border-radius: 1.5rem;
}

.form-control,
.form-control:focus,
.form-select,
.form-select:focus {
    border-color: #373737;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0 0 0 / 10%);
}

.form-check {
    padding-left: 2.5em;
    font-size: 0.875em;
}

.form-check a {
    text-decoration: underline;
    color: inherit;
}

.form-check a:hover {
    text-decoration: none;
}

.form-check .form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-left: -2.5em;
    margin-top: 0;
    border-width: 2px;
    border-color: #ededed;
    background-color: #fff;
}

.form-check .form-check-input[type='checkbox'] {
    border-radius: 0.25rem;
}

.form-check .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0 0 0 / 10%);
}

.form-check .form-check-input:checked {
    border-color: #ca9b61;
    background-color: #ca9b61;
}

.wpcf7-list-item {
    margin: 0;
    font-size: 0.9375rem;
}

.wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
}

.wpcf7-list-item input {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

.wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.25rem;
    padding: 0 0.5rem;
    font-size: 0.9375rem;
}

/*
    Alert
*/

.wpcf7 form .wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
    padding: 1.5rem;
    border-radius: 1.25rem;
}

/*
    Titles
*/

.page-title {
    font-size: 2.5rem;
}

.section-title {
    font-size: 2rem;
}

.article-title {
    font-size: 1.75rem;
}

.section-description {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
}

/*
    List
*/

.list-logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    padding: 0;
    list-style-type: none;
}

.list-logo li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 3rem;
}

.list-logo li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.list-logo--tile {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center;
    text-align: center;
}

.list-logo--tile li {
    padding: 0.5rem;
    background-color: #e6e6e6;
    border-radius: 1.25rem;
}

.list-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0;
    list-style-type: none;
}

.list-features li {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    background: #f6f6f6;
    animation-name: scale;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    border-radius: 1.5rem;
}

.list-features li span {
    position: relative;
    z-index: 2;
}

.list-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.list-icons li {
    margin: 0 1rem 1rem;
}

.list-icons a {
    display: block;
    font-size: 2rem;
}

@keyframes scale {
    0%,
    14%,
    100% {
        transform: scale(1);
        background-color: #f6f6f6;
    }
    10% {
        transform: scale(1.1);
        background-color: #d8ecf0;
    }
}

/* GLOBALS
================================================== */

.bg-layer {
    position: relative;
    background-size: cover;
    background-position: center center;
}

.bg-layer:after {
    position: absolute;
    content: '';
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-layer--primary:after {
    background: #00677a;
    opacity: 0.95;
}

.bg-layer > * {
    position: relative;
    z-index: 2;
}

.bg--gray {
    background-color: #f7f7f7;
}

.bg--primary-light {
    background-color: #d8ecf0;
}

.mt-negative {
    margin-top: -5rem;
}

/* RESPONSIVE
================================================== */

/*
	XS
*/

@media screen and (max-width: 575px) {
}

/*
	SM and down
*/

@media screen and (max-width: 767px) {
}

/*
	MD and down
*/

@media screen and (max-width: 991px) {
}

/*
	LG and down
*/

@media screen and (max-width: 1199px) {
}

/*
	MD and up
*/

@media screen and (min-width: 768px) {
    .intro .intro__video {
        height: auto;
    }

    .intro__video:before {
        display: block;
        content: '';
        padding-bottom: 62.5%;
    }
}

/*
	LG and up
*/

@media screen and (min-width: 992px) {
    .copyright ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .copyright ul li:not(:last-child):after {
        content: '|';
        padding: 0 0.5rem;
    }

    .list-logo--tile {
        grid-template-columns: repeat(8, 1fr);
    }
}

/*
    XL and up
*/

@media screen and (min-width: 1200px) {
    body {
        font-size: 1.25rem;
    }

    .header {
        padding: 0 2.5rem;
        height: 8rem;
    }

    .header--sticky {
        height: 5rem;
    }

    .header__logo {
        height: 2rem;
    }

    .intro {
        min-height: 25rem;
    }

    .intro .intro__thumbnail {
        width: 25rem;
        height: 18rem;
        bottom: -160%;
    }

    .intro--lg {
        min-height: 40rem;
    }

    .section {
        padding-top: 4rem;
        padding-bottom: 2.5rem;
    }

    .accordion-button {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        font-size: 1.25rem;
    }

    .list-logo li {
        width: 12rem;
        height: 5.5rem;
    }

    .list-logo--tile {
        gap: 2rem;
    }

    .list-logo--tile li {
        width: 6.5rem;
        height: 4.5rem;
        padding: 1rem;
    }

    .page-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-title--lg {
        font-size: 3rem;
    }

    .article-title {
        font-size: 1.875rem;
    }

    .btn-lg {
        font-size: 2.25rem;
    }

    .mt-negative {
        margin-top: -10rem;
    }
}

/*
	XXXL and up
*/

@media screen and (min-width: 1500px) {
    .container {
        max-width: 1440px;
    }

    .layer-card {
        font-size: 1rem;
    }

    .layer-card__content {
        padding: 2rem 1.5rem;
    }

    .layer-card__title {
        font-size: 1.375rem;
    }

    .list-logo--tile {
        gap: 3rem;
    }

    .list-logo--tile li {
        width: 7.5rem;
        height: 5rem;
    }
}
