:root {
  --color-background: #fff;
  --color-on-background: #484649;
  --color-primary: #96cc00;
  --color-primary-dark: #749712;
  --color-primary-highlight: #709900;
  --color-on-primary: #ffffff;
  --color-secondary: #3a95dc;
  --color-secondary-light: #58b0f5;
  --color-secondary-dark: #1970b4;
  --color-secondary-highlight: #227dc3;
  --color-on-secondary: #ffffff;
  --color-tertiary: #adadad;
  --color-tertiary-light: #d9d9d9;
  --color-surface: #f6f6f6;
  --color-on-surface: #484649;
  --color-surface-light: #fff;
  --color-on-surface-light: #484649;
  --color-surface-dark: #484649;
  --color-on-surface-dark: #fff;

  --border-size: 5px;
  --border-size-large: 10px;

  --component-box-width-large: 90rem;
  --component-box-width: 79.875rem;
  --component-box-width-medium: 66.5rem;
  --component-box-width-small: 53.25rem;

  --content-box-width: 78rem;
  --content-box-large-width: 64.625rem;
  --content-box-medium-width: 60rem;
  --content-box-small-width: 51.375rem;

  --components-gap: 100px;
  --component-gap: 50px;
  --content-gap: 30px;
  --content-gap-large: 40px;

  @media (max-width: 48rem) {
    --components-gap: 50px;
    --component-gap: 30px;
    --content-gap: 20px;
    --content-gap-large: 30px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
fieldset {
  all: unset;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  min-inline-size: 0;
  position: relative;
}
legend {
  all: unset;
  display: block;
  margin: 0;
  padding: 0;
  position: static;
}

/* html {
  scroll-behavior: smooth;
} */

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 100%;
  background-color: var(--color-background);
  color: var(--color-on-background);
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 190px 0 70px;
  row-gap: var(--components-gap);

  @media (max-width: 48rem) {
    padding: 90px 0 30px;
  }
}
.component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--component-gap);

  h2 {
    text-align: center;
  }

  &.condensed {
    gap: var(--content-gap-large);
  }
}
aside.decorated {
  gap: 30px;

  &::before {
    content: "";
    display: block;
    width: 182px;
    height: var(--border-size);
    background-color: var(--color-secondary);
  }
}
aside.decorated-primary {
  gap: 30px;

  &::before {
    content: "";
    display: block;
    width: 100%;
    max-width: 300px;
    height: var(--border-size);
    background-color: var(--color-primary);
  }
}
.component-box-large,
.component-box,
.component-box-medium,
.component-box-small {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;

  &.surface {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.component-box-large {
  max-width: var(--component-box-width-large);
}
.component-box {
  max-width: var(--component-box-width);
}
.component-box-medium {
  max-width: var(--component-box-width-medium);
}
.component-box-small {
  max-width: var(--component-box-width-small);
}
.content-box,
.content-box-large,
.content-box-medium,
.content-box-large {
  width: 100%;
}
.content-box {
  max-width: var(--content-box-width);
}
.content-box-large {
  max-width: var(--content-box-large-width);
}
.content-box-medium {
  max-width: var(--content-box-medium-width);
}
.content-box-small {
  max-width: var(--content-box-small-width);
}
.content-space-around {
  padding-left: var(--content-gap);
  padding-right: var(--content-gap);

  @media (max-width: 48rem) {
    padding-left: 0;
    padding-right: 0;
  }
}
.flex-1 {
  flex: 1;
}
h1 {
  font-weight: 500;
  font-size: 2.2rem;

  @media (max-width: 48rem) {
    font-size: 1.8rem;
  }
}
h2 {
  font-weight: 500;
  font-size: 2rem;

  @media (max-width: 48rem) {
    font-size: 1.4rem;
  }
}
h3 {
  font-weight: 500;
  font-size: 1.5rem;

  @media (max-width: 48rem) {
    font-size: 1.2rem;
  }
}
p {
  &.annotation {
    font-size: 1.25rem;
    text-align: center;

    @media (max-width: 48rem) {
      font-size: 1rem;
    }
  }
  &.decorated {
    &::before {
      content: "“";
      display: block;
      height: 30px;
      line-height: 68px;
      font-size: 80px;
    }
  }
}
a {
  text-decoration: none;
  color: var(--color-on-background);
  &:hover {
    text-decoration: underline;
  }
}
details {
  width: 100%;
  border-left: var(--border-size) solid var(--color-primary);

  &.secondary {
    border-left-color: var(--color-secondary);
  }

  summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 0 14px 50px;
    font-size: 1.25rem;
    color: var(--color-secondary);

    @media (max-width: 48rem) {
      padding-left: 30px;
      font-size: 1.1rem;
    }

    &::-webkit-details-marker {
      display: none;
    }
  }
  p {
    padding: 10px 0 35px 50px;

    @media (max-width: 48rem) {
      padding-left: 30px;
    }
  }
}
hr {
  width: 100%;
  border: none;
  height: var(--border-size);
  background-color: var(--color-on-background);

  &.primary {
    background-color: var(--color-primary);
  }

  &.short {
    max-width: 300px;
  }
}

.color-primary {
  color: var(--color-primary);
}
.color-secondary {
  color: var(--color-secondary);
}
.color-tertiary {
  color: var(--color-tertiary);
}
.color-tertiary-light {
  color: var(--color-tertiary-light);
}
.surface {
  background-color: var(--color-surface);
  color: var(--color-on-surface);

  &.light {
    background-color: var(--color-surface-light);
    color: var(--color-on-surface-light);
  }
  &.dark {
    background-color: var(--color-surface-dark);
    color: var(--color-on-surface-dark);
  }
}
.font-bold {
  font-weight: bold;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: normal;
}
.text-center {
  text-align: center;
}
.hidden {
  display: none;
}
.sm-hidden {
  @media (max-width: 48rem) {
    display: none;
  }
}
.w-full {
  width: 100%;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 30px;
  min-height: 40px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-wrap: 0;
  cursor: pointer;

  &:disabled {
    cursor: not-allowed;
  }

  &:hover {
    text-decoration: none;
  }

  &.primary {
    background-color: var(--color-primary);
    color: var(--color-on-primary);

    &:hover {
      background-color: var(--color-primary-highlight);
    }
  }
  &.secondary {
    background-color: var(--color-secondary);
    color: var(--color-on-secondary);

    &:hover {
      background-color: var(--color-secondary-highlight);
    }
  }
}
.cover {
  position: relative;

  img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    @media (max-width: 48rem) {
      position: relative;
    }

    &.position-center-bottom {
      object-position: center bottom;
    }
  }
}

/* Animations */
@keyframes marque-scroll-animation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

/* Components */
.grid-2 {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--content-gap);

  @media (max-width: 48rem) {
    grid-template-columns: 1fr;
  }
}
.grid-3 {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--content-gap);

  @media (max-width: 75rem) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (max-width: 48rem) {
    grid-template-columns: 1fr;
  }
}
.grid-4 {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--content-gap);

  @media (max-width: 75rem) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (max-width: 48rem) {
    grid-template-columns: 1fr;
  }
}
.text-2-columns {
  column-count: 2;
  column-gap: var(--content-gap);
  column-fill: balance;

  @media (max-width: 48rem) {
    column-count: 1;
  }
}
.text-3-columns {
  column-count: 3;
  column-gap: var(--content-gap);
  column-fill: balance;

  @media (max-width: 64rem) {
    column-count: 2;
  }
  @media (max-width: 48rem) {
    column-count: 1;
  }
}
.text-4-columns {
  column-count: 4;
  column-gap: var(--content-gap);
  column-fill: balance;

  @media (max-width: 64rem) {
    column-count: 2;
  }
  @media (max-width: 48rem) {
    column-count: 1;
  }
}
.marquee {
  --marquee-item-gap: 1.5rem;

  display: flex;
  overflow: hidden;
  position: relative;
  user-select: none;
  gap: var(--marquee-item-gap);

  @media (max-width: 48rem) {
    --marquee-item-gap: 2rem;
  }

  .marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: var(--marquee-item-gap);
  }

  .marquee-item {
    display: flex;
    align-items: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .marquee-scroll {
    animation: marque-scroll-animation 40s linear infinite;
  }
  .marquee-paused {
    animation-play-state: paused !important;
  }
}
.gradient-sides {
  position: relative;

  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 96px;
    z-index: 1;

    @media (max-width: 48rem) {
      display: none;
      /* width: 10%; */
    }
  }
  &::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 30%, rgba(0, 0, 0, 0) 80%);
  }
  &::after {
    right: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 20%, #ffffff 70%);
  }
}
.cards {
  .card {
    display: flex;
    flex-direction: column;
    border-radius: 50px;
    overflow: hidden;

    @media (max-width: 48rem) {
      border-radius: 25px;
    }

    .cover {
      height: 262px;
      overflow: hidden;
      background-color: #fff;

      @media (max-width: 48rem) {
        height: auto;
      }
    }
    .content {
      padding: 20px 30px 30px;

      @media (max-width: 48rem) {
        padding: 15px 15px 20px;
      }
    }
    h3 {
      margin-bottom: 10px;
      font-size: 1.5rem;
      hyphens: none;
      word-break: keep-all;
      overflow-wrap: break-word;

      @media (max-width: 48rem) {
        font-size: 1.2rem;
      }

      small {
        font-size: 1.375rem;

        @media (max-width: 48rem) {
          font-size: 1.2rem;
        }
      }
    }
    p {
      font-size: 0.875rem;
      font-size: 0.938rem;
    }
  }
  &.primary {
    .card {
      background: linear-gradient(
        var(--color-primary),
        var(--color-primary-dark)
      );
      color: var(--color-on-primary);
    }
  }
  &.secondary {
    .card {
      background: linear-gradient(
        var(--color-secondary-light),
        var(--color-secondary-dark)
      );
      color: var(--color-on-secondary);
    }
  }
}
.banner-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 379px;
  color: #ffffff;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 0 96px;

  @media (max-width: 48rem) {
    height: 200px;
    padding: 0 30px;
    background-size: cover;
  }
  h2 {
    font-weight: 500;
    font-size: 7.5rem;
    line-height: 1;

    @media (max-width: 48rem) {
      font-size: 2.5rem;
    }
  }
  p {
    margin: 20px 0;
    font-size: 1.875rem;

    @media (max-width: 48rem) {
      margin: 15px 0;
      font-size: 1rem;
    }
  }
}
.tips {
  padding: 0;
  list-style: none;

  li {
    margin: 25px 0;
    padding-left: 90px;
    background: url("images/tip-icon.png") no-repeat left top;
    background-size: 62px;

    @media (max-width: 90rem) {
      padding-left: 6.2vw;
    }
    @media (max-width: 62.5rem) {
      padding-left: 62px;
    }
    @media (max-width: 48rem) {
      margin: 25px 0 0;
      padding-left: 50px;
      background-size: 40px;

      &:first-child {
        margin-top: 0;
      }
    }

    strong {
      display: block;
      margin-bottom: 5px;
      font-size: 1.25rem;
      font-weight: 500;
    }
  }
}
.details-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;

  details {
    &:nth-child(odd) {
      border-left-color: var(--color-secondary);
    }
    &:nth-child(even) {
      summary {
        background-color: var(--color-surface);
      }
    }
  }
}
.blog-posts {
  @media (max-width: 64rem) {
    grid-template-columns: 1fr;
  }

  article {
    border-bottom: var(--border-size) solid var(--color-primary);

    &:nth-child(even) {
      border-color: var(--color-secondary);
    }

    a {
      display: block;
      padding: 30px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      column-gap: 30px;
      row-gap: 10px;

      @media (max-width: 48rem) {
        grid-template-columns: 1fr;
        row-gap: 20px;
        padding: 10px;
      }

      &:hover {
        text-decoration: none;

        h3 {
          text-decoration: underline;
        }
      }
    }
    img {
      grid-row: span 2;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;

      @media (max-width: 48rem) {
        height: auto;
        aspect-ratio: 16/9;
      }
    }
    header {
      grid-column-start: 2;
    }
    .p {
      grid-column-start: 2;
      grid-row-start: 2;
    }

    @media (max-width: 48rem) {
      header,
      p {
        grid-column-start: auto;
        grid-row-start: auto;
      }
    }
  }
}
.scrollable-panels {
  --panel-width: 700px;
  width: 100%;

  @media (max-width: 48rem) {
    --panel-width: 100vw;
  }

  .scrollable-content {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .panels {
    display: flex;
    padding: 0 calc((100% - var(--panel-width)) / 2);

    @media (max-width: 48rem) {
      padding: 0;
    }
  }
  .panel {
    width: var(--panel-width);
    flex: 0 0 var(--panel-width);
    scroll-snap-align: center;
  }

  &.default-controlls {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .controll {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      margin: 0;
      border: none;
      outline: none;
      background-color: transparent;
      cursor: pointer;
      transition: opacity 0.3s ease;
      user-select: none;
      /* -webkit-tap-highlight-color: transparent;
      -webkit-tap-highlight-color: rgba(0, 0, 0, 0); */

      @media (max-width: 48rem) {
        top: 0;
        bottom: 0;
        width: 36px;
        transform: none !important;
      }

      &:disabled {
        opacity: 0.2;
        cursor: not-allowed;
      }
      &::before {
        content: "";
        display: block;
      }
      &.prev {
        transform: translateX(-350px);
        @media (max-width: 48rem) {
          left: 0;
          transform: none;
        }

        &::before {
          width: 0px;
          height: 0px;
          border-style: solid;
          border-width: 41px 42px 41px 0;
          border-color: transparent var(--color-primary) transparent transparent;

          @media (max-width: 48rem) {
            border-width: 20px 20px 20px 0;
          }
        }

        &:hover::before {
          border-color: transparent var(--color-primary-highlight) transparent
            transparent;
        }
      }
      &.next {
        transform: translateX(350px);
        @media (max-width: 48rem) {
          right: 0;
          transform: none;
        }

        &::before {
          width: 0px;
          height: 0px;
          border-style: solid;
          border-width: 41px 0 41px 42px;
          border-color: transparent transparent transparent
            var(--color-secondary);

          @media (max-width: 48rem) {
            border-width: 20px 0 20px 20px;
          }
        }

        &:hover::before {
          border-color: transparent transparent transparent
            var(--color-secondary-highlight);
        }
      }
    }
  }
}
.numbered-cards-list {
  display: flex;
  flex-direction: column;
  gap: var(--component-gap);
  counter-reset: cards-counter;

  .card {
    counter-increment: cards-counter;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    border-style: solid;

    @media (max-width: 48rem) {
      max-width: 100%;
      grid-template-columns: 1fr;
      grid-template-areas: "content" "image" !important;
      border-width: 0 0 0 var(--border-size) !important;
    }

    &:nth-child(odd) {
      grid-template-areas: "content image";
      border-color: var(--color-primary);
      border-width: 0 0 0 var(--border-size-large);

      .content {
        padding-left: 30px;

        &::before {
          color: var(--color-surface);
        }
      }
    }
    &:nth-child(even) {
      grid-template-areas: "image content";
      background-color: var(--color-surface);
      border-color: var(--color-secondary);
      border-width: 0 var(--border-size-large) 0 0;

      .content {
        padding-right: 30px;

        &::before {
          color: #fff;
        }
      }
    }
    .image {
      grid-area: image;

      @media (max-width: 48rem) {
        max-height: 200px;
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .content {
      grid-area: content;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 10px;

      @media (max-width: 48rem) {
        padding: 40px 30px 30px;
      }

      &::before {
        content: counter(cards-counter);
        position: absolute;
        top: 20px;
        right: 60px;
        font-weight: bold;
        font-size: 300px;
        line-height: 1;
        z-index: 0;

        @media (max-width: 48rem) {
          top: 0;
          right: 40px;
          font-size: 150px;
        }
      }
      h3 {
        font-size: 2rem;
        z-index: 1;

        @media (max-width: 48rem) {
          font-size: 1.2rem;
        }
      }
      p {
        font-size: 1.25rem;
        z-index: 1;

        @media (max-width: 48rem) {
          font-size: 1rem;
        }
      }
    }
  }
}
.client-stories {
  @media (min-width: 48rem) {
    gap: var(--components-gap) !important;
  }

  article {
    display: flex;
    flex-direction: column;
    gap: var(--content-gap);
    align-items: center;

    h3 {
      font-size: 2rem;
      @media (max-width: 48rem) {
        font-size: 1.5rem;
      }
    }
    .grid {
      background-color: var(--color-surface);
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: var(--content-gap);
      row-gap: var(--content-gap-large);

      @media (max-width: 48rem) {
        grid-template-columns: 1fr;
        grid-template-areas:
          "text"
          "author"
          "logo"
          "image"
          "cta" !important;
      }
    }
    &:nth-child(odd) .grid {
      grid-template-areas:
        "image   text"
        "image   author"
        "image   logo"
        "image   cta";

      p,
      footer,
      .logo {
        padding-right: 44px;
      }
    }
    &:nth-child(even) .grid {
      grid-template-areas:
        "text    image"
        "author  image"
        "logo    image"
        "cta     image";

      p,
      footer,
      cite,
      .logo {
        padding-left: 44px;
      }
    }
    p {
      grid-area: text;
      padding-top: 30px;
      line-height: 1.875rem;

      @media (max-width: 48rem) {
        padding: 30px 30px 0 !important;
      }
    }
    cite {
      grid-area: author;
      margin-top: -20px;
      color: var(--color-tertiary);
      font-style: normal;

      @media (max-width: 48rem) {
        padding: 0 30px !important;
      }
    }
    picture {
      grid-area: image;
    }
    .logo {
      grid-area: logo;
      display: flex;
      justify-content: center;
      text-align: center;

      @media (max-width: 48rem) {
        padding: 0 !important;
      }
    }
    footer {
      grid-area: cta;
      display: flex;
      padding-bottom: 24px;
      justify-content: center;

      @media (max-width: 48rem) {
        padding: 20px 0 !important;
        margin-top: -30px;
        background-color: #fff;
      }
    }
  }
}
.decorated-list-article {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "content image";
  gap: var(--content-gap);
  border: solid var(--color-primary);
  border-width: 0 0 0 var(--border-size);
  background-color: var(--color-surface);
  color: var(--color-on-background);

  @media (max-width: 48rem) {
    grid-template-columns: 1fr;
    grid-template-areas: "content" "image";
  }

  &.reverse {
    grid-template-areas: "image content";
    border-color: var(--color-secondary);
    border-width: 0 var(--border-size) 0 0;

    @media (max-width: 48rem) {
      grid-template-areas: "content" "image";
      border-width: 0 0 0 var(--border-size);
    }
  }

  .content {
    grid-area: content;
    padding: 30px;

    @media (max-width: 48rem) {
      padding: 20px;
    }
  }
  picture {
    grid-area: image;
  }
  .title {
    font-size: 1.25rem;
  }
  ul {
    padding: 0;
    list-style: none;
    line-height: 40px;

    @media (max-width: 48rem) {
      line-height: 30px;
    }
  }
}
.tabs-group {
  width: 100%;

  .tabs {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    padding: 0;
    margin-bottom: var(--content-gap);
    list-style: none;
    width: 100%;
    overflow: auto;

    @media (max-width: 48rem) {
      gap: 2rem;
      padding-bottom: 7px;
      border-bottom: 1px solid var(--color-tertiary);
    }

    a {
      display: block;
      padding: 0 25px;
      height: 40px;
      line-height: 40px;
      font-weight: 500;
      color: var(--color-secondary);
      text-decoration: none;
      text-transform: uppercase;

      @media (max-width: 48rem) {
        padding: 0;
        color: var(--color-tertiary);
      }

      &.active,
      &:hover {
        border-bottom: 5px solid var(--color-primary);

        @media (max-width: 48rem) {
          border: none;
          color: var(--color-primary);
        }
      }
    }
  }

  .tab {
    display: none;

    &.active {
      display: block;
    }
  }
}
form.styled {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 30px;

  fieldset {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 10px;
    align-items: center;
    padding: 20px 80px 35px;
    background-color: var(--color-surface);
    border-left: var(--border-size) solid var(--color-secondary);

    @media (max-width: 90rem) {
      padding: 20px 5.555vw 30px;
    }
    @media (max-width: 48rem) {
      grid-template-columns: 1fr;
      padding: 15px 10px;
      row-gap: 15px;
    }

    &:nth-child(even) {
      border-color: var(--color-primary);
    }

    legend {
      float: left;
      margin: 0 0 10px -40px;
      grid-column: span 2;
      font-weight: 500;
      font-size: 1.25rem;
      color: var(--color-secondary);

      @media (max-width: 90rem) {
        margin-left: -2.777vw;
      }
      @media (max-width: 48rem) {
        margin-left: 0;
        grid-column: unset;
        font-size: 1.1rem;
      }
    }
  }
  label {
    max-width: 200px;
    font-weight: 500;
    line-height: 18px;
    line-height: 1.125rem;
    color: var(--color-tertiary);
  }
  input {
    padding: 0 5px;
    height: 2.5rem;
    line-height: 2.5rem;
    border: none;
    background-color: #fff;

    &:focus {
      outline: 2px solid var(--color-secondary);
    }

    &::placeholder {
      color: var(--color-tertiary-light);
      font-size: 0.813rem;
      font-weight: 500;
    }
  }
  .btn {
    align-self: center;
    min-width: 180px;
  }
}
form.blok1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 75px;
  width: 100%;
  background-color: var(--color-surface);

  @media (max-width: 90rem) {
    padding: 5.208vw;
  }

  @media (max-width: 48rem) {
    padding: 30px 15px;
  }

  label {
    margin-bottom: -10px;
    padding-left: 30px;
  }
  input,
  textarea {
    border-radius: 30px;
    border: none;
    outline: none;
    background-color: #fff;

    &:focus {
      outline: 2px solid var(--color-secondary);
    }
  }
  input {
    padding: 0 30px;
    height: 45px;
    line-height: 45px;
  }
  textarea {
    padding: 10px 30px;
  }
  small {
    font-size: 1rem;
    text-align: center;
  }
  a {
    text-decoration: underline;

    &:hover {
      text-decoration: none;
    }
  }
  .btn {
    align-self: center;
    margin-top: 30px;
  }
}
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "article  title"
    "article  aside";
  column-gap: var(--content-gap);

  @media (max-width: 48rem) {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "article" "aside";
    row-gap: var(--content-gap);
  }

  a {
    display: block;
    text-decoration: none;

    &:hover {
      h3 {
        text-decoration: underline;
      }
    }
  }
  time {
    color: var(--color-tertiary);
  }
  h2 {
    grid-area: title;
    margin-bottom: 20px;
    font-size: 1.25rem;

    @media (max-width: 48rem) {
      margin-bottom: 0px;
      font-size: 1.8rem;
      text-align: center;
    }
  }
  article {
    position: relative;
    grid-area: article;
    background-color: var(--color-surface);
    border-bottom: var(--border-size) solid var(--color-primary);

    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      border-style: solid;
      border-width: 60px 60px 0 0;
      border-color: var(--color-secondary) transparent transparent transparent;
    }

    time {
      display: block;
      padding: 0 10px;
      margin-top: 40px;
      font-weight: bold;
    }
    h3 {
      padding: 0 10px 30px;
      font-size: 2rem;

      @media (max-width: 48rem) {
        font-size: 1.375rem;
      }
    }
  }
  aside {
    grid-area: aside;
    ul {
      display: flex;
      flex-direction: column;
      gap: var(--content-gap);
      padding: 0;
      list-style: none;
    }
    li {
      &:before {
        content: "";
        display: block;
        margin-bottom: 20px;
        width: 100%;
        height: var(--border-size);
        background-color: var(--color-primary);

        @media (max-width: 48rem) {
          margin-bottom: 0px;
        }
      }
      &:nth-child(even) {
        &:before {
          background-color: var(--color-secondary);
        }
        & > *:before {
          border-color: var(--color-secondary) transparent transparent
            transparent;
        }
      }
    }
    a {
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      text-decoration: none;
      gap: var(--content-gap);
      background-color: var(--color-surface);

      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        border-style: solid;
        border-width: 24px 24px 0 0;
        border-color: var(--color-primary) transparent transparent transparent;
      }
      &:hover strong {
        text-decoration: underline;
      }

      img {
        max-width: 180px;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
      strong {
        display: block;
        max-width: 95%;
        margin-bottom: 5px;
        font-weight: 500;
      }
    }
  }
}
.article-list {
  article {
    border-bottom: var(--border-size) solid var(--color-primary);

    &:nth-child(even) {
      border-color: var(--color-secondary);

      a:before {
        border-color: var(--color-primary) transparent transparent transparent;
      }
    }

    a {
      position: relative;
      display: flex;
      flex: 1;
      flex-direction: column;
      height: 100%;
      text-decoration: none;

      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 60px 60px 0 0;
        border-color: var(--color-secondary) transparent transparent transparent;
      }

      &:hover h3 {
        text-decoration: underline;
      }
    }
    .content {
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: 10px;
      padding: 20px 40px 40px;
    }
    time {
      color: var(--color-tertiary);
      font-weight: bold;
    }
    h3 {
      font-size: 1.25rem;
    }
  }
}

/* Content */
header.main {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 10px;
  width: 100vw;
  z-index: 10;
  height: 120px;
  border-bottom: var(--border-size) solid var(--color-tertiary);
  background-color: var(--color-background);

  @media (max-width: 48rem) {
    height: 60px;
    padding-bottom: 0;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    width: 100%;
    height: 60px;
    max-width: var(--component-box-width);
    gap: 10px;

    @media (max-width: 48rem) {
      padding: 0 10px;
    }
  }

  .logo {
    @media (max-width: 48rem) {
      width: 140px;
    }
  }
  .menubar {
    width: 100%;
    max-width: 710px;

    @media (max-width: 48rem) {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      max-width: unset;
      background-color: rgba(58, 149, 220, 0.98);
      align-items: center;
      justify-content: center;
      display: none;

      &.active {
        display: flex;
      }
    }

    ul {
      flex: 1;
      display: flex;
      justify-content: space-between;
      padding: 0;
      list-style: none;

      @media (max-width: 48rem) {
        flex-direction: column;
      }
    }
    a {
      position: relative;
      display: block;
      padding: 0 4px;
      font-size: 15px;
      white-space: nowrap;
      text-align: center;
      text-decoration: none;

      @media (max-width: 48rem) {
        padding: 1rem 0;
        font-size: 1.2rem;
        color: var(--color-on-secondary) !important;
      }

      &::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0%;
        height: 2px;
        background-color: var(--color-secondary);
        /* transition: width 0.3s ease; */
      }
      &:hover {
        color: var(--color-secondary);

        &::after {
          width: 100%;
        }
      }
      &.selected {
        color: var(--color-secondary);
        font-weight: bold;

        &::after {
          width: 100%;
        }
      }
    }
  }
  .btn {
    min-height: 45px;
    @media (max-width: 48rem) {
      padding: 0 20px;
      min-height: 27px;
      font-size: 10px;
    }
  }
  #btn-open-menu {
    display: none;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;

    @media (max-width: 48rem) {
      margin-left: auto;
      display: flex;
      gap: 15px;
      align-items: center;
    }

    i {
      display: inline-flex;
      flex-direction: column;
      gap: 2px;
      width: 27px;
      height: 27px;
      background-color: var(--color-primary);
      border-radius: 50%;
      align-items: center;
      justify-content: center;

      &:before {
        content: "";
        width: 13px;
        height: 2px;
        background-color: white;
        border-radius: 1px;
      }
      &:after {
        content: "";
        width: 13px;
        height: 2px;
        background-color: white;
        border-radius: 1px;
      }
    }
  }
  #btn-close-menu {
    display: none;

    @media (max-width: 48rem) {
      display: block;
      position: absolute;
      top: 8px;
      right: 8px;
    }

    i {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      cursor: pointer;

      &::before,
      &::after {
        content: "";
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: white;
      }
      &:before {
        transform: rotate(45deg);
      }
      &:after {
        transform: rotate(-45deg);
      }
    }
  }
}
footer.main {
  display: flex;
  padding: 40px 0;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-on-secondary);

  a {
    color: var(--color-on-secondary);
  }
  .component-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "address navigation form";
    gap: 10px;
    padding: 28px 0;
    border: solid var(--color-on-secondary);
    border-width: 1px 0;

    @media (max-width: 64rem) {
      /* grid-template-columns: 1fr 1fr; */
      grid-template-columns: 40% 60%;
      grid-template-areas: "address navigation" "form form";
      row-gap: 28px;
    }

    @media (max-width: 48rem) {
      gap: 20px;
      padding: 20px 0;
      grid-template-columns: 1fr;
      grid-template-areas: "address" "navigation" "form";
    }
  }
  address {
    grid-area: address;
    font-style: normal;

    /* @media (max-width: 48rem) {
      padding: 0 10px;
    } */

    strong {
      display: inline-block;
      margin-bottom: 15px;
      font-size: 1.25rem;
      font-weight: normal;
      color: var(--color-on-secondary);
    }
  }
  nav {
    grid-area: navigation;

    @media (max-width: 48rem) {
      padding: 20px 0px 0;
      border-top: 1px solid var(--color-on-secondary);
    }

    a:hover {
      text-decoration: underline;
    }
    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }
    li:not(:first-child) {
      margin-top: 15px;

      @media (max-width: 48rem) {
        margin-top: 10px;
      }
    }
    .social {
      display: flex;
      flex-direction: row;
      column-gap: 12px;
    }
  }
  form {
    grid-area: form;
    min-width: 0;

    @media (max-width: 64rem) {
      padding-top: 28px;
      border-top: 1px solid var(--color-on-secondary);
    }
    @media (max-width: 48rem) {
      padding: 20px 0px 0;
    }

    legend {
      margin-bottom: 15px;
      font-size: 1.25rem;
      font-weight: 500;
    }
    small {
      font-size: 0.875rem;
    }
    .input-group {
      display: flex;
      margin: 20px 0;
      max-width: 90%;
      height: 45px;
      flex-direction: row;
      background-color: var(--color-tertiary-light);
      border-radius: 45px;
      overflow: hidden;

      @media (max-width: 48rem) {
        max-width: unset;
      }

      &:focus-within {
        outline: 2px solid var(--color-on-secondary);
      }
      input {
        flex: 1;
        min-width: 0;
        padding-left: 20px;
        border: none;
        outline: none;
        background: none;
        color: #000;
        font-weight: bold;
      }
      button {
        width: 120px;
        text-align: center;
        background-color: var(--color-primary);
        font-weight: bold;
        color: var(--color-on-primary);
        border: none;
        cursor: pointer;
      }
    }
  }
  .logo {
    display: block;
    width: 288px;
    height: 67px;

    @media (max-width: 48rem) {
      /* padding-left: 10px; */
      width: 165px;
      height: 38px;
    }
  }
  #copyright {
    margin-top: -18px;
    font-size: 1rem;

    @media (max-width: 48rem) {
      margin-top: -8px;
      /* padding-left: 10px; */
    }
  }
}
#hero {
  display: flex;
  flex-direction: row;
  gap: var(--content-gap);

  @media (max-width: 48rem) {
    flex-direction: column;
  }

  .content {
    flex: 0.43;
    display: flex;
    flex-direction: column;
    gap: var(--content-gap);
    align-items: flex-start;

    @media (max-width: 48rem) {
      flex: 1;
    }

    &.spaced {
      padding: 25px 0;

      @media (max-width: 90rem) {
        padding: 1.65vw 0;
      }
      @media (max-width: 48rem) {
        padding: 0;
      }
    }
  }
  aside,
  .supplementary {
    flex: 0.57;
    @media (max-width: 48rem) {
      flex: 1;
    }
    img {
      width: 100%;
    }
  }
  h1 {
    font-size: 3.125rem;
    font-weight: 500;
    line-height: 1.4;
    /* hyphens: none;
    word-break: keep-all;
    overflow-wrap: break-word; */

    @media (max-width: 90rem) {
      font-size: 3.47vw;
    }

    @media (max-width: 48rem) {
      font-size: 2rem;
    }

    &.small {
      font-size: 32px;
      @media (max-width: 90rem) {
        font-size: 1.6rem;
      }
    }
  }
  p {
    font-size: 1.875rem;
    hyphens: none;
    word-break: keep-all;
    overflow-wrap: break-word;

    @media (max-width: 90rem) {
      font-size: 2.1vw;
    }
    @media (max-width: 48rem) {
      font-size: 1.2rem;
    }
  }
  time {
    font-weight: bold;
    font-size: 20px;
    color: var(--color-tertiary);

    @media (max-width: 48rem) {
      font-size: 1rem;
      font-weight: normal;
    }
  }
  address {
    font-size: 1.875rem;
    font-style: normal;
    color: var(--color-tertiary);

    @media (max-width: 90rem) {
      font-size: 2.083vw;
    }

    @media (max-width: 48rem) {
      font-size: 1rem;
    }

    ul {
      list-style: none;
      padding: 0;
    }
    a {
      color: var(--color-tertiary);
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}
#partners,
#integration {
  .marquee {
    @media (max-width: 48rem) {
      margin-left: -15px;
      margin-right: -15px;
    }
  }
}
#pr {
  padding: 0;
  max-width: var(--content-box-width);

  .marquee {
    height: 80px;
    border-top: 1px solid var(--color-tertiary);
    border-bottom: 1px solid var(--color-tertiary);
  }
  .marquee-item {
    display: flex;
    align-items: center;
  }
}
#qr {
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 0.2)
    ),
    url("images/banner-content-bg-1.png");
}
#questionnaire {
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 0.2)
    ),
    url("images/banner-content-bg-2.png");
}
#connection {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--color-surface);
  color: var(--color-tertiary);
  border-top: var(--border-size) solid var(--color-primary);
  border-bottom: var(--border-size) solid var(--color-secondary);

  h2,
  h3 {
    font-size: 2rem;
    color: var(--color-secondary);
    text-align: center;

    @media (max-width: 48rem) {
      font-size: 1.4rem;
    }
  }
  form {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 780px;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 20px;

    @media (max-width: 48rem) {
      flex-direction: column;
      gap: 15px;
    }

    input {
      width: 100%;
      max-width: 230px;
      height: 45px;
      line-height: 45px;
      background-color: #fff;
      color: #6f6c71;
      border: none;
      border-radius: 999px;
      text-align: center;

      &:focus {
        outline: 2px solid var(--color-secondary);
      }

      @media (max-width: 67.5rem) {
        min-width: 100%;
      }
    }
    .btn.primary {
      min-width: 180px;
      @media (max-width: 48rem) {
        align-self: center;
      }
    }
  }
}
#reasons {
  width: 100vw;
  max-width: 2100px;
  overflow: hidden;

  h2 {
    padding: 0 8%;
    text-align: center;
  }
  article {
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    @media (max-width: 48rem) {
      padding: 0 40px;
    }

    img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    h3 {
      font-size: 2rem;
      font-weight: 500;

      @media (max-width: 48rem) {
        font-size: 1.2rem;
      }
    }
    p {
      @media (max-width: 48rem) {
        font-size: 0.938rem;
      }
    }
  }
  .scrollable-panels {
    .panel {
      opacity: 0.1;
      transition: opacity 0.3s ease, padding 0.3s ease;

      &.active {
        opacity: 1;
        /* padding-top: 90px; */

        img {
          border-bottom: var(--border-size) solid var(--color-primary);
        }
      }

      img {
        border-bottom: var(--border-size) solid var(--color-secondary);
      }

      @media (max-width: 48rem) {
        opacity: 1;
        padding-top: 0px !important;
      }
    }
  }
}
#other-stories {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;

  .scrollable-panels {
    --panel-width: 100%;
    max-width: 460px;

    @media (max-width: 48rem) {
      width: calc(100vw - 72px);
    }

    .scrollable-content {
      max-width: 460px;
      background-color: var(--color-surface);
    }

    .controll {
      &.prev {
        transform: none;
        left: -75px;
        @media (max-width: 48rem) {
          left: -36px;
        }

        &::before {
          border-width: 36px 36px 36px 0;

          @media (max-width: 48rem) {
            border-width: 18px 18px 18px 0;
          }
        }
      }
      &.next {
        transform: none;
        right: -75px;
        @media (max-width: 48rem) {
          right: -36px;
        }

        &::before {
          border-width: 36px 0 36px 36px;

          @media (max-width: 48rem) {
            border-width: 18px 0 18px 18px;
          }
        }
      }
    }
  }
  article {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    @media (max-width: 48rem) {
      padding: 30px 10px;
    }

    p {
      line-height: 2.188rem;

      &::before {
        margin-bottom: 20px;
        font-size: 100px;
        height: 34px;
        line-height: 80px;
      }
    }
    cite {
      color: var(--color-tertiary);
      font-style: normal;
    }
    .logo {
      display: flex;
      margin-top: 30px;
      justify-content: center;
      align-items: center;
    }
  }
}
#our-values {
  ul {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 90%;

    @media (max-width: 64rem) {
      width: 100%;
      grid-template-columns: repeat(12, 1fr);
      row-gap: 30px;
      column-gap: 1rem;

      li:nth-child(-1n + 3) {
        grid-column: span 4;
      }
      li:nth-last-child(2) {
        grid-row-start: 2;
        grid-column: 3 / span 4;
      }
      li:nth-last-child(1) {
        grid-row-start: 2;
        grid-column: 7 / span 4;
      }
    }

    li {
      display: flex;
      flex-direction: column;
      list-style: none;
      align-items: center;
      gap: 20px;
      white-space: nowrap;
    }
  }
  .icon-box {
    flex: 1;
    display: flex;
    align-items: center;
  }
  strong {
    color: var(--color-secondary);
    font-weight: 500;
  }
}

.icons-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 30px;

  @media (max-width: 48rem) {
    grid-template-columns: repeat(3, 1fr);
  }

  img {
    margin: 0 auto;
    width: auto;
    max-height: 100px;
  }
}
