:root {
  --white: #eff2e4;
  --black: #002e2e;
  --green: #9dc399;
  --dark-green: #004849;
  --light-green: #e2e7c8;

  --container-width: max(1680px, 90vw);
  --grid-gap: max(1rem, 0.9375vw);
  --grid-margin: max(
    0px,
    calc((100vw - var(--container-width) - (2 * var(--grid-gap))) / 2)
  );

  --grid-col-width: calc(
    (100vw - 2 * var(--grid-margin) - 11 * var(--grid-gap)) / 12
  );

  --s-header-menu: calc(
    max(0px, calc((100vw - max(1680px, 83.4375vw) - (2 * var(--grid-gap))) / 2)) +
      var(--grid-gap)
  );

  --topbar-height: max(3.125rem, 3.90625vw);
  --s-xs: max(0.9375rem, 1.171875vw);
  --s-sm: max(1.875rem, 1.953125vw);
  --s-md: max(3.125rem, 3.90625vw);
  --s-lg: max(6.25rem, 7.8125vw);
  scroll-behavior: smooth;
}

.full-width-grid {
  display: grid;
  width: 100%;
  grid-template-columns: var(--grid-margin) repeat(12, 1fr) var(--grid-margin);
  column-gap: var(--grid-gap);
}

.container {
  margin-inline: calc(var(--grid-margin) + var(--grid-gap));
}

* {
  scroll-margin-top: calc(var(--topbar-height) + var(--s-sm));
}

body {
  background-color: var(--white);
  color: var(--dark-green);
  font-family: "Raleway";
  font-size: max(1rem, 0.78125vw);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.page-wrapper {
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

body.menu-open {
  overflow-y: hidden;
  position: relative;
}

body.menu-open.safari {
  position: fixed;
}

a {
  color: var(--dark-green);
  text-decoration: none;
}

button {
  appearance: none;
  background: none;
  line-height: 1;
  padding: 0;
  border: 0;
}

section {
  position: relative;
}

.mt-none {
  margin-top: 0;
}

.mt-xs {
  margin-top: var(--s-xs);
}

.mt-sm {
  margin-top: var(--s-sm);
}

.mt-md {
  margin-top: var(--s-md);
}

.mt-lg {
  margin-top: var(--s-lg);
}

.mb-none {
  margin-bottom: 0;
}

.mb-xs {
  margin-bottom: var(--s-xs);
}

.mb-sm {
  margin-bottom: var(--s-sm);
}

.mb-md {
  margin-bottom: var(--s-md);
}

.mb-lg {
  margin-bottom: var(--s-lg);
}

.pt-none {
  padding-top: 0;
}

.pt-xs {
  padding-top: var(--s-xs);
}

.pt-sm {
  padding-top: var(--s-sm);
}

.pt-md {
  padding-top: var(--s-md);
}

.pt-lg {
  padding-top: var(--s-lg);
}

.pb-none {
  padding-bottom: 0;
}

.pb-xs {
  padding-bottom: var(--s-xs);
}

.pb-sm {
  padding-bottom: var(--s-sm);
}

.pb-md {
  padding-bottom: var(--s-md);
}

.pb-lg {
  padding-bottom: var(--s-lg);
}

.content-wrapper {
  padding-top: var(--topbar-height);
}

.content-wrapper a {
  color: var(--green);
  transition: 0.3s color ease;
}

.content-wrapper a:hover {
  color: var(--green);
}

.content-wrapper p,
.content-wrapper ul .content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4 {
  margin-block: 1em;
}

.content-wrapper p:first-child,
.content-wrapper ul:first-child,
.content-wrapper h1:first-child,
.content-wrapper h2:first-child,
.content-wrapper h3:first-child,
.content-wrapper h4:first-child {
  margin-top: 0;
}

.content-wrapper p:last-child,
.content-wrapper ul:last-child,
.content-wrapper h1:last-child,
.content-wrapper h2:last-child,
.content-wrapper h3:last-child,
.content-wrapper h4:last-child {
  margin-bottom: 0;
}

h1,
.h1 {
  font-size: max(1.5625rem, 1.953125vw);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  text-transform: uppercase;
}

h2,
.h2 {
  font-size: max(1.25rem, 1.171875vw);
  font-weight: 700;
  line-height: 1.1666666666;
  text-transform: uppercase;
}

h3,
.h3 {
  font-size: max(1rem, 0.78125vw);
  font-weight: 700;
  text-transform: uppercase;
}

h4,
.h4 {
  font-weight: 600;
  text-transform: uppercase;
}

.small,
small {
  font-size: max(1rem, 0.625vw);
  line-height: 1.1875;
  font-weight: 600;
}

.highlight-1 {
  font-weight: 700;
  font-size: max(2.5rem, 4.6875vw);
  line-height: 1.175;
  text-transform: uppercase;
}

.highlight-2 {
  font-weight: 700;
  font-size: max(1.875rem, 3.90625vw);
  line-height: 1.17;
  text-transform: uppercase;
}

button:hover {
  cursor: pointer;
}

.mask-img {
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: currentColor;
}

.background-img {
  background-repeat: no-repeat;
  background-size: contain;
}

.small-pill {
  display: flex;
  height: max(4.375rem, 4.3359375vw);
  aspect-ratio: 94/111;
}

.arrow-btn {
  font-size: max(2.248125rem, 2.5390625vw);
  width: 1em;
  height: 1.1846153846em;
  background-color: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vmin;
  transition: background-color 0.3s ease;
}

.pill-btn {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.pill-btn,
.btn {
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
}

.btn {
  position: relative;
}

.default-slider-text-pagination {
  list-style: none;
}

.pill-btn-text {
  position: relative;
}

.text-waves {
  position: absolute;
  width: 100%;
  height: 0.35em;
  bottom: -0.5em;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.text-waves::before {
  animation: textwaves2 60s linear infinite;
  transform: translateX(100%);
}

.text-waves::after {
  animation: textwaves1 60s linear infinite;
}

.text-waves::after,
.text-waves::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100vw;
  height: 100%;
  mask-image: url(../img/wave-repeatable.svg);
  mask-repeat: repeat-x;
  mask-size: contain;
  background-color: currentColor;
  animation-play-state: paused;
}

a:hover .text-waves::after,
a:hover .text-waves::before,
button:hover .text-waves::after,
button:hover .text-waves::before {
  animation-play-state: running;
}

.arrow-btn::after {
  content: "";
  width: 0.5692307692em;
  height: 0.4153846153em;
  mask-image: url("../img/arrow-right.svg");
  mask-repeat: no-repeat;
  mask-size: cover;
  background-color: var(--dark-green);
  transition: background-color 0.3s ease;
}

.bg-green .arrow-btn::after {
  background-color: var(--green);
}

.arrow-btn.active,
.arrow-btn:hover {
  background-color: var(--green);
}

.bg-green .arrow-btn.active,
.bg-green .arrow-btn:hover {
  background-color: var(--dark-green);
}

.arrow-btn--left::after {
  transform: rotate(180deg);
}

.arrow-btn--down::after {
  mask-image: url("../img/arrow-down.svg");
  height: 0.5692307692em;
  width: 0.4153846153em;
}

.arrow-btn--dark {
  background-color: var(--dark-green);
}

.arrow-btn--dark::after {
  background-color: var(--green);
}

.arrow-btn--dark.active::after,
.arrow-btn--dark:hover::after {
  background-color: var(--dark-green);
}

.media-wrapper {
  display: flex;
}

.media-wrapper img,
.media-wrapper video,
.media-wrapper picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-textonly a,
.content-textonly h1 {
  overflow-wrap: anywhere;
}

.content-textonly a,
.content-textonly .btn {
  color: var(--dark-green);
}

.content-textonly-inner {
  grid-column: 3 / span 10;
}

.gallery-slider-outer {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.gallery-slider {
  width: 106.447265625vw;
}

.gallery-slider .splide__slide {
  height: 89.5338067304%;
}

.gallery-slider .splide__track {
  height: max(10.569375rem, 17.71328125vw);
}

.gallery-slider .splide__list {
  align-items: center;
  transition: 0.4s ease;
}

.dragging.gallery-slider .splide__list {
  transition: none;
}

.arrow-btn.default-slider-prev {
  transform: rotate(180deg);
}

.gallery-slider-arrows {
  margin-top: max(1.868125rem, 1.93515625vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--grid-gap);
}

.gallery-slider-img-element {
  aspect-ratio: 558 / 406;
}

.gallery-slider-img-element * {
  transition: transform 1s ease;
}

.gallery-slider-img-element:nth-child(odd) > * {
  transform: rotate(-5deg);
}

.gallery-slider-img-element:nth-child(even) > * {
  transform: rotate(5deg);
}

.wave-section::before {
  content: "";
  mask-image: url("../img/section-wave.svg");
  mask-repeat: no-repeat;
  mask-size: cover;
  width: 100%;
  height: max(1.21125rem, 3.17421875vw);
  position: absolute;
  top: 1px;
  transform: translateY(-100%);
}

.swap-colors.wave-section::before {
  transition: background-color 0.4s ease;
}

.wave-section-bot::after {
  content: "";
  mask-image: url("../img/section-wave.svg");
  mask-repeat: no-repeat;
  mask-size: cover;
  width: 100%;
  height: max(1.21125rem, 3.17421875vw);
  position: absolute;
  bottom: 1px;
  transform: translateY(100%) rotate(180deg);
}

.bg-dark-green,
.wave-section.bg-dark-green::before,
.wave-section-bot.bg-dark-green::after {
  background-color: var(--dark-green);
}

.bg-green,
.wave-section.bg-green::before {
  background-color: var(--green);
}

.bg-black,
.wave-section.bg-black::before {
  background-color: var(--black);
}

.text-icons {
  grid-column: 3 / span 10;
  display: flex;
  justify-content: space-around;
  gap: var(--grid-gap);
}

.text-icons img {
  width: max(3.175625rem, 3.671875vw);
  height: auto;
}

.text-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text-icon .text {
  line-height: 1.15;
  margin-top: max(0.9375rem, 1.953125vw);
  text-wrap: balance;
}

.wave-spacer {
  mask-image: url("../img/wave-repeatable.svg");
  mask-repeat: round;
  background-color: var(--light-green);
  mask-size: calc(75 / 32 * max(0.3375rem, 0.5859375vw))
    max(0.3375rem, 0.5859375vw);
  height: calc(3 * max(0.3375rem, 0.5859375vw));
  margin-bottom: max(3.15rem, 9.918359375vw);
}

.content-textonly .wave-spacer {
  grid-column: 1 / span 14;
}

.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item:not(.active) .accordion-content {
  max-height: 0;
}

.accordion-title {
  cursor: pointer;
}

@keyframes lineBackwards {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes lineForwards {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes textwaves1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes textwaves2 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

.wpml-ls-legacy-list-vertical {
  display: flex;
  border: none;
}

.wpml-ls-legacy-list-vertical a {
  padding: 0;
  border: none;
}

.popup-wrapper {
  display: none;
  z-index: 999;
  position: fixed;
  width: 100%;
  height: 100vh;
  height: 100svh;
  top: 0;
  left: 0;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-wrapper.backend-view {
  position: relative;
  height: auto;
}

.popup-block {
  grid-column: 4 / span 8;
  width: 100%;
  align-self: center;
  background-color: var(--green);
  color: var(--dark-green);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: var(--grid-gap);
  padding-top: max(1.875rem, 2.1875vw);
  padding-bottom: max(3.4375rem, 2.748828125vw);
}

.popup-wrapper.backend-view .popup-block {
  grid-column: 1 / span 14;
}

.popup-block::before {
  content: "";
  grid-column: 1 / span 6;
  grid-row: 3 / span 1;
  background-color: var(--dark-green);
  border-top-right-radius: max(1.875rem, 1.171875vw);
  border-bottom-right-radius: max(1.875rem, 1.171875vw);
}

.popup-block__headline,
.popup-block__preheadline,
.popup-block__subheadline {
  grid-column: 2 / span 5;
}

.popup-block__preheadline {
  grid-row: 2 / span 1;
  margin-bottom: max(0.6875rem, 0.859375vw);
  margin-top: 0;
}

.popup-block__headline {
  grid-row: 3 / span 1;
  color: var(--green);
  text-wrap: balance;
  margin-block: 0.5em;
}

.popup-block__subheadline {
  grid-row: 4 / span 1;
  margin-top: max(0.9375rem, 1.2890625vw);
  margin-bottom: 0;
  text-wrap: balance;
}

.popup-block__content {
  grid-column: 2 / span 6;
  grid-row: 5 / span 1;
  margin-top: max(1.625rem, 3.90625vw);
  text-wrap: balance;
}

.popup-block__signing {
  grid-column: 2 / span 4;
  grid-row: 6 / span 1;
  align-self: center;
}

.popup-block__logo-head {
  grid-column: 6 / span 3;
  grid-row: 6 / span 1;
  height: max(4.75rem, 6.391796875vw);
  width: auto;
  margin-top: max(3.125rem, 3.359375vw);
}

.popup-block__close-btn {
  grid-column: 1 / span 8;
  justify-self: flex-end;
  margin-right: max(1.875rem, 2.1875vw);
  grid-row: 1 / span 1;
  mask-image: url(../img/close-icon.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
  font-size: max(2.08625rem, 2.76015625vw);
  width: 1em;
  height: 0.9285309934em;
  background-color: var(--dark-green);
}

@media (max-width: 1399.98px) {
  .popup-block {
    grid-column: 3 / span 10;
  }
}

@media (max-width: 1199.98px) {
  .text-icons {
    grid-column: 2 / span 12;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .popup-block {
    grid-column: 2 / span 12;
  }
}

@media only screen and (orientation: portrait) and (max-width: 991.98px) {
  .popup-block__headline,
  .popup-block__preheadline,
  .popup-block__subheadline,
  .popup-block__content {
    grid-column: 1 / span 8;
    padding-inline: var(--grid-gap);
  }

  .popup-block__headline {
    padding-right: calc(var(--grid-gap) * 2);
  }

  .popup-block::before {
    grid-column: 1 / span 8;
    margin-right: var(--grid-gap);
  }

  .popup-block__signing {
    grid-column: 1 / span 8;
    padding-inline: var(--grid-gap);
  }

  .popup-block__logo-head {
    grid-column: 1 / span 8;
    grid-row: 7 / span 1;
    justify-self: center;
  }

  .popup-block__close-btn {
    margin-bottom: 2.4375rem;
  }
}

@media (max-width: 991.98px) {
  .gallery-slider-arrows {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  body {
    font-weight: 500;
    line-height: 1.5625;
  }

  h1,
  .h1 {
    letter-spacing: 0.05em;
    line-height: 1.16;
  }

  h2,
  .h2 {
    line-height: 1.25;
  }

  .highlight-2 {
    line-height: 1.1666666666;
  }

  .gallery-slider .splide__slide {
    height: auto;
    aspect-ratio: 208.09/151.41;
  }
}
