/* Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
* {
  margin: 0;
}
/* Allow percentage-based heights in the application */
html,
body {
  height: 100%;
  scroll-padding-top: 32px;
}
/* Typographic tweaks! Add accessible line-height & Improve text rendering */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
}
/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
/* Create a root stacking context */
#root,
#__next {
  isolation: isolate;
}

ul,
li {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 32px;
}

.body-no-scroll {
  overflow: hidden;
}

.margin-b0 {
  margin-bottom: 0 !important;
}

/* =========================
   2. CSS VARIABLES
   ========================= */

:root {
  --h1-font-size: calc(clamp(32px, 28px + 1vw, 40px) * 1.6);
  --h2-font-size: calc(clamp(32px, 28px + 1vw, 40px) * 1.2);
  --h3-font-size: calc(clamp(32px, 28px + 1vw, 40px) * 0.8);
  --p-font-size: calc(clamp(14px, 13px + 0.25vw, 16px) * 0.9);

  --h2-margin-bottom: calc(var(--s_24_32) * 1.5);
  --h3-margin-bottom: calc(var(--s_24_32) * 1.25);

  /**/
  --color-main: #305271;
  --color-sub: #cd1f4b;
  --color-high: #86755d;
  --color-quad: #23490f;
  --font-header: 'Trebuchet', sans-serif;
  --font-body: 'Ebrima', sans-serif;

  --s_24_32: clamp(24px, 20px + 1vw, 32px);
  --s_16_32: clamp(16px, 8px + 2vw, 32px);

  --section-padding: clamp(48px, 40px + 2vw, 64px);

  --wrapper: min(1280px, 90%);
}

/* =========================
   3. TYPOGRAPHY
   ========================= */

.c {
  text-align: center;
}

.j {
  text-align: justify;
}

.b {
  font-weight: bold !important;
}

.nowrap {
  white-space: nowrap;
}

h1 {
  font-family: var(--font-header);
  font-size: calc(var(--h1-font-size) * 1.25);
  font-weight: 700;
  margin-bottom: var(--h1-margin-bottom);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;

  &.text {
    font-size: calc(var(--h1-font-size) * 0.75);
    margin: 64px auto calc(var(--h3-margin-bottom) * 2);
  }

  @media (max-width: 500px) {
    font-size: calc(var(--h1-font-size) * 0.95);
  }
}

h2 {
  font-family: var(--font-header);
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: var(--h2-margin-bottom);
  text-align: center;
  text-transform: uppercase;

  &.logo {
    border-bottom: 4px solid var(--color-sub);
    padding-bottom: calc(var(--h2-margin-bottom) / 4);
  }
}

h3 {
  font-family: var(--font-header);
  font-size: var(--h3-font-size);
  font-weight: bold;
  line-height: 125%;
  margin-bottom: var(--h3-margin-bottom);
  margin-top: var(--h3-margin-bottom);
  text-align: center;
  text-transform: uppercase;
}

p {
  font-size: calc(var(--p-font-size) * 1.1);
  font-weight: 400;

  & + p {
    margin-top: 16px;
  }

  &.text {
    line-height: 150%;
  }

  &.short {
    margin-inline: auto;
    max-width: 800px;
  }

  &.short2 {
    margin-inline: auto;
    max-width: 960px;
  }
}

/* =========================
   4. LINKS
   ========================= */

a.link {
  color: var(--color-main);
  text-decoration: underline;

  &.none {
    text-decoration: none;
  }

  &:hover {
    color: var(--color-sub);
    text-decoration: none;
  }
}

/* =========================
   5. LAYOUT
   ========================= */

.container {
  margin: 0 auto;
  max-width: var(--wrapper);
}

/* =========================
   6. COMPONENTS
   ========================= */

header {
  background-color: rgba(255, 255, 255, 0.5);
  height: 120px;
  padding: 16px 0;
  position: absolute;
  width: 100%;
  z-index: 1;

  & > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 5vw;
  }

  div.logo {
    width: 218px;
  }
}

.hero {
  align-items: center;
  color: #fff;
  display: flex;
  height: calc(100vh - 0px);
  justify-content: center;
  max-height: 1200px;
  position: relative;

  &.muratto-display-products {
    div.logo {
      left: 0;
      margin-top: 0;
      padding: 0;
      top: 120px;
      width: max(41vw, 240px);

      img {
        width: 100%;
      }
    }

    div.data {
      margin-left: 40vw;
      margin-top: 0;
      text-align: left;
      top: min(20vh, 150px);

      & > div {
        border-left: 4px solid yellow;
        padding-left: 16px;
      }

      h1 {
        font-size: calc(var(--p-font-size) * 1.3);
        margin-bottom: var(--s_16_32);
        text-align: left;
        text-shadow: none;
      }

      p {
        font-size: calc(var(--p-font-size) * 1.2);
        text-align: justify;

        & + p {
          margin-top: var(--s_16_32);
        }
      }
    }

    @media (max-width: 700px) {
      div.data {
        margin-left: 0;
        margin-top: var(--s_24_32);
        top: 45vh;
      }
    }
  }

  &.mogu_acoustic {
    @media (orientation: portrait) {
      height: auto;
    }

    h1,
    p {
      color: #566864 !important;
    }
  }

  &.mogu_wall {
    h1,
    h2,
    p {
      color: #566b7e !important;
    }
  }

  &.mogu_floor {
    h1,
    p {
      color: #4f2622 !important;
    }
  }

  &.projects_pharmaceutical {
    background-color: #dad;
    height: max(30vh, 400px);
  }

  &.acoustic-solutions {
    background-color: #dad;
    height: max(30vh, 400px);
  }

  img {
    flex: 1;
    height: 100%;
    object-fit: cover;

    &.logo {
      color: #fff;
      width: 100%;
    }
  }

  & > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: calc(var(--s_16_32) * 2);
    margin-top: 100px;
    padding: 0 5vw;
    position: absolute;

    &.nobg {
      background-color: #fff;
      color: #000;
      height: 100vh;
      justify-content: center;
      margin-top: 0;
      max-height: 1200px;

      @media (orientation: portrait) {
        .mogu_acoustic & {
          height: auto;
          margin-top: 140px;
          max-height: 100%;
          position: static;
        }
      }
    }

    &.pj {
      gap: calc(var(--s_16_32) * 0.75);

      p {
        font-size: calc(var(--p-font-size) * 1.5);
      }
    }

    h1 {
      text-align: center;

      &.logo {
        align-items: center;
        display: flex;
        width: min(100%, 640px);

        &.muratto {
          margin-bottom: 40vh;
          width: min(100%, 540px);
        }
      }

      & > span {
        white-space: nowrap;
      }
    }

    p {
      font-size: calc(var(--p-font-size) * 1.2);
      max-width: 800px;
      text-align: center;

      .mogu_acoustic & {
        max-width: 810px;
      }
    }

    &.index {
      gap: calc(var(--s_16_32) * 1);

      p {
        font-size: calc(var(--p-font-size) * 1.5);
      }
    }
  }
}

/* =========================
   7. MAIN & FOOTER
   ========================= */

.hamburger-menu button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;

  span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
  }
}

.fullscreen-menu {
  align-items: stretch;
  background: #fff;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 9999;

  button#close-menu {
    align-items: center;
    background: none;
    border: none;
    color: var(--color-sub);
    cursor: pointer;
    display: flex;
    font-size: 2rem;
    position: absolute;
    right: 5vw;
    top: calc(50px - 10px);
    z-index: 999;
  }
}

.fullscreen-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  height: 100vh;

  & .left-side,
  & .right-side {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .left-side {
    background: #f5f5f5;
  }

  & .right-side {
    background: url('images/nav.jpg') no-repeat center center;
    background-size: cover;
  }

  @media (max-width: 700px) {
    grid-template-columns: 1fr;

    & .right-side {
      display: none;
    }
  }
}

.fullscreen-menu.hidden {
  display: none;
}

.fullscreen-menu nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;

  li {
    margin: 20px 0;

    a {
      color: var(--color-main);
      text-decoration: none;
      font-size: calc(var(--p-font-size) * 1.5);
    }
  }
}

main {
  padding: calc(var(--s_24_32) * 3) 0;
}

footer {
  background-color: #c3b299;
  padding: calc(var(--s_24_32) * 2) 0;

  & > div {
    & > div {
      border-top: 1px solid red;
      display: flex;
      justify-content: space-between;
      padding-top: 32px;

      & > div {
        flex: 0 0 230px;

        &.center {
          div.logo {
            margin: 0 auto 32px;
            width: 200px;
          }

          p {
            font-size: var(--p-font-size);
            margin-top: 16px;
            text-align: center;
          }
        }
      }

      ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: var(--p-font-size);
        list-style-type: none;
        margin-top: 16px;

        li {
          flex: 0 0 100%;

          a {
            align-items: center;
            color: var(--color-main);
            display: flex;
          }

          span {
            display: block;
            height: 20px;
            margin-right: 8px;
            width: 20px;

            svg {
              color: var(--color-sub);
              height: 20px;
              width: 20px;
            }
          }
        }
      }

      @media (max-width: 850px) {
        flex-wrap: wrap;
        gap: 32px;

        & > div {
          flex: 0 0 100%;

          &.center {
            order: 1;
          }
        }
      }
    }
  }

  P {
    color: var(--color-main);

    &.head {
      font-weight: bold;
    }
  }

  p.headline {
    color: var(--color-sub);
    font-size: calc(var(--p-font-size) * 2);
    font-weight: bold;
    margin: 32px auto;
  }

  a.cta {
    border: 1px solid var(--color-sub);
    border-radius: 4px;
    color: var(--color-sub);
    display: block;
    font-size: calc(var(--p-font-size) * 1.1);
    margin: 32px auto;
    padding: 16px;
    text-decoration: none;
    transition: all 0.25s;
    width: fit-content;

    &:hover {
      background-color: var(--color-sub);
      color: #fff;
    }
  }
}

/* =========================
   8. FORMS & SELECTS
   ========================= */

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* =========================
   9. UTILITIES
   ========================= */

body {
  color: var(--font-color);
  font-size: 62.5%;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1;
}

/**/

/* =========================
   10. SECTIONS
   ========================= */

#index {
  padding: 0;

  & > div {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    margin: 0;
    padding: calc(var(--s_16_32) * 2);
    position: relative;
    width: 100%;

    &::before {
      background-color: rgba(0, 0, 0, 0.25);
      content: '';
      inset: 0;
      pointer-events: none;
      position: absolute;
      z-index: 2;
    }

    & > p {
      color: #fff;
      font-size: calc(var(--p-font-size) * 1.35);
      font-weight: 500;
      line-height: 160%;
      text-align: center;
      text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
      width: min(960px, 100%);
      z-index: 3;
    }

    & > img {
      height: 100%;
      object-fit: cover;
      position: absolute;
      width: 100%;
      z-index: 1;
    }

    @media (max-width: 960px) {
      flex-wrap: wrap;
      height: auto;

      & > div {
        flex: 0 0 100%;
      }
    }
  }

  > ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

    > li {
      display: flex;
      height: 50vh;
      justify-content: center;
      position: relative;

      > a {
        display: flex;
        flex: 1;
        overflow: hidden;
        position: relative;

        &::before {
          background-color: rgba(0, 0, 0, 0.25);
          content: '';
          inset: 0;
          pointer-events: none;
          position: absolute;
          z-index: 1;
        }
      }

      span {
        color: #fff;
        font-size: calc(var(--p-font-size) * 2.2);
        font-weight: bold;
        left: 50%;
        line-height: 125%;
        position: absolute;
        text-align: center;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;

        @media (max-width: 1100px) {
          font-size: calc(var(--p-font-size) * 2);
        }

        @media (max-width: 600px) {
          font-size: calc(var(--p-font-size) * 1.5);
        }

        em {
          font-style: normal;
          white-space: nowrap;
        }
      }

      img {
        display: block;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
      }

      &:hover {
        img {
          transform: scale(1.2) rotate(-2deg);
        }
      }
    }

    @media (max-width: 960px) {
      grid-template-columns: 1fr 1fr;

      > li {
        aspect-ratio: 1;
        height: auto;
      }
    }
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(64px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================== */

#muratto {
  color: #86755d;

  div.products {
    margin-top: calc(var(--s_24_32) * 2);

    > p {
      color: var(--color-main);
      font-size: calc(var(--p-font-size) * 1.5);
      font-weight: 500;
      line-height: 125%;
      margin-bottom: 48px;
      text-transform: uppercase;
    }
  }

  ul.products_grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    @media (max-width: 600px) {
      grid-template-columns: 1fr 1fr;
    }

    li {
      a {
        &.relative {
          position: relative;

          span.new_badge {
            aspect-ratio: 1;
            display: block;
            position: absolute;
            right: -6px;
            top: -26px;
            width: 64px;
            z-index: 100;

            @media (max-width: 500px) {
              right: -4px;
              top: -18px;
              width: 48px;
            }

            img {
              aspect-ratio: 1;
              width: 100%;
            }
          }
        }

        & > div {
          min-width: 100%;
          overflow: hidden;

          img {
            aspect-ratio: 4 / 3;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
          }

          &:hover img {
            transform: scale(1.2);
          }
        }
      }
    }
  }
}

#muratto_b2b {
  min-height: 100vh;
  padding-top: 120px;
  position: relative;

  img {
    left: 0;
    min-height: 100vh;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
  }

  #muratto_b2b_intro {
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
}

#muratto_b2b_intro {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 120px);
  padding: calc(var(--s_24_32) * 2) 5vw;

  & > div {
    align-items: center;
    color: #fff;
    display: flex;
    gap: calc(var(--s_24_32) * 1);
    margin-inline: auto;
    max-width: 1150px;

    div.h1 {
      flex: 0 0 31%;

      h1 {
        font-size: calc(var(--h1-font-size) * 0.95);
        font-weight: 600;
        text-align: left;

        span {
          white-space: nowrap;
        }
      }
    }

    div.text {
      flex: 1;

      & > div {
        border-left: 4px solid #fff;
        padding-left: 16px;
      }

      p {
        font-size: calc(var(--p-font-size) * 1.1);
        line-height: 130%;
        text-align: justify;
      }

      ul {
        font-size: calc(var(--p-font-size) * 1.1);
        margin: 16px 0 16px 20px;
        line-height: 130%;
      }

      a {
        background-color: rgba(255, 255, 255, 0.5);
        color: #fff;
        display: flex;
        font-size: calc(var(--p-font-size) * 1.5);
        font-weight: 600;
        margin-top: calc(var(--s_24_32) * 1);
        padding: 8px 32px;
        text-decoration: none;
        text-transform: uppercase;
        transition: all 0.25s;
        width: fit-content;

        &:hover {
          background-color: rgba(255, 255, 255, 0.25);
        }
      }
    }
  }

  @media (max-width: 1000px) {
    & > div {
      flex-wrap: wrap;

      div.text {
        flex: 0 0 100%;
      }
    }
  }

  @media (max-width: 1000px) {
    & > div {
      div.h1 {
        flex: 1;

        h1 {
          span {
            white-space: unset;
          }
        }
      }

      div.text {
        & > div {
          border: 0;
          padding: 0;
        }
      }
    }
  }
}

#muratto_display_products {
  & > div.container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--s_16_32) * 2);
    width: min(800px, 90%);

    div.item {
      display: flex;
      gap: var(--s_16_32);

      div.img {
        flex: 0 0 40%;

        img {
          display: block;
          width: 100%;
        }
      }

      div.text {
        color: var(--color-main);

        h2 {
          color: var(--color-sub);
          font-size: calc(var(--p-font-size) * 1.25);
          margin-bottom: 4px;
          text-align: left;
        }

        p {
          margin-bottom: 4px;

          &.headline {
            font-weight: bold;
          }

          &.size {
            margin-block: 0 16px;
          }

          &.text {
          }
        }
      }
    }

    @media (max-width: 500px) {
      div.item {
        flex-wrap: wrap;

        div.img {
          flex: 0 0 100%;
        }
      }
    }
  }

  & > div.map {
    margin: calc(var(--s_24_32) * 2) auto 0;
    max-width: 1200px;
  }
}

/* ============================== */

#mogu_elements {
  div.intro_slider {
    align-items: stretch;
    padding-right: calc((1280px - 960px) / 2);

    & #slider {
      aspect-ratio: 1.1;

      .slider-wrapper {
        aspect-ratio: 1.1;
      }
    }

    div.text {
      justify-content: space-between;
      flex-direction: column;
      flex-wrap: nowrap;
      max-width: 600px;
    }

    @media (max-width: 1420px) {
      padding-right: 0;
    }

    @media (max-width: 1100px) {
      flex-wrap: wrap;
    }
  }

  div.elements {
    margin: 64px auto;

    h2 {
      color: #566b7e;
      margin-bottom: var(--h2-margin-bottom);
    }

    & > div {
      display: grid;
      gap: 4px;
      grid-template-columns: 1fr 1fr 1fr;

      @media (max-width: 600px) {
        grid-template-columns: 1fr;
      }
    }

    div.item {
      aspect-ratio: 1;
      display: flex;
      position: relative;

      & > a {
        aspect-ratio: 1;
        display: flex;
        overflow: hidden;
        position: relative;
        text-decoration: none;

        img {
          height: 100%;
          object-fit: cover;
          position: absolute;
          top: 0;
          transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
          width: 100%;
          z-index: 1;
        }

        &:hover img {
          transform: scale(1.2);
        }

        & > div {
          color: #fff;
          padding: calc(var(--s_24_32) * 1.5) calc(var(--s_24_32) * 1);
          position: relative;
          width: 100%;
          z-index: 2;

          h3 {
            margin-bottom: 32px;
            margin-top: 0;
            text-align: center;
          }

          ul {
            font-size: calc(var(--p-font-size) * 1.25);
            font-weight: bold;
            list-style: none;
            width: 100%;

            li {
              text-align: center;

              & + li {
                margin-top: 16px;
              }
            }
          }
        }
      }

      @media (max-width: 1100px) {
        aspect-ratio: auto;

        & > a {
          aspect-ratio: auto;
          flex: 1;
        }
      }
    }
  }

  div.products {
    margin-top: 96px;

    & > div {
      gap: 32px;

      &.dual {
        align-items: center;
        display: flex;
        gap: calc(var(--s_24_32) * 2);

        p {
          text-align: justify;
        }

        &.mycelium {
          align-items: flex-end;
          color: #4f2622;
          padding-left: calc((100% - 960px) / 2);
          width: 100%;

          div.img {
            flex: 0 0 min(50%, 550px);
          }

          @media (max-width: 1100px) {
            padding-inline: 5vw;
          }

          @media (max-width: 960px) {
            flex-wrap: wrap;

            div.img {
              flex: 0 0 min(100%, 400px);
            }
          }
        }

        &.circular {
          align-items: center;
          color: #566b7e;
          margin-inline: auto;
          margin-top: 96px;
          max-width: 960px;

          div.img {
            flex: 0 0 min(20%, 300px);
            margin: 0;
          }

          div.text {
            flex: 1;

            h3 {
              margin-top: 0;
              text-align: left;
            }

            p {
              max-width: none;
            }
          }

          @media (max-width: 700px) {
            flex-wrap: wrap-reverse;

            div.img {
              flex: 0 0 min(100%, 240px);
              margin: 0 auto;
            }

            div.text {
              flex: 0 0 100%;
            }
          }
        }
      }

      & + div {
        color: #566b7e;
        margin-top: 64px;

        h3 {
          max-width: 960px;
          margin-bottom: calc(var(--h3-margin-bottom) / 2);
          margin-inline: auto;
          text-align: left;
        }

        @media (max-width: 1100px) {
          padding-inline: 5vw;
        }
      }

      & > p {
        text-align: justify;
      }

      div.img {
        margin: 0 auto;
        width: min(300px, 100%);
      }

      @media (max-width: 768px) {
        &.dual {
          flex-wrap: wrap;
        }
      }
    }
  }
}

/* ============================== */

#mogu_acoustic_nav {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  list-style: none;
  max-width: 760px;
  margin: 64px auto 0;

  li {
    a {
      display: block;
      color: #566864;
      text-decoration: none;
    }

    span {
      display: block;
      font-size: calc(var(--p-font-size) * 1.2);
      font-weight: 600;
      margin-top: 8px;
      text-align: center;
      text-transform: uppercase;
    }
  }
}

#mogu_elements_acoustic {
  color: #566864;

  #mogu_acoustic_aspen {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 96px;
    padding-right: max(5vw, calc((100% - 1440px) / 2));
    width: 100%;

    div.intro {
      display: flex;
      flex: 0 0 30%;
    }

    div.data {
      flex: 0 0 60%;

      div.photos {
        display: grid;
        gap: 64px;
        grid-template-columns: 1fr 1fr;

        div.item {
          align-items: flex-end;
          aspect-ratio: 1.5;
          display: flex;
          position: relative;

          h2 {
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
          }

          img {
          }
        }

        div.img {
          aspect-ratio: 1.5;

          img {
            aspect-ratio: 1.5;
          }
        }
      }

      div.text {
        margin-top: 64px;

        p {
          /*font-size: calc(var(--p-font-size) * 1);*/
        }
      }
    }

    @media (max-width: 1100px) {
      padding-inline: 5vw;

      div.intro {
        display: none;
      }

      div.data {
        flex: 0 0 100%;
      }

      @media (max-width: 600px) {
        div.data {
          flex: 0 0 100%;

          div.photos {
            grid-template-columns: 1fr;
          }
        }
      }
    }
  }

  div.product {
    align-items: flex-start;
    display: flex;
    margin-inline: auto;
    padding: 0 0 0 calc((100% - 1280px) / 2);

    & + div {
      margin-top: 64px;
      margin-inline: auto;
    }

    h2 {
      margin-bottom: 32px;
      text-align: left;
    }

    p {
      /*font-size: calc(var(--p-font-size) * 0.9);*/
    }

    div.item {
      flex: 0 0 20%;
      margin: 0 32px 0 0;
      order: 1;

      img {
        aspect-ratio: 900 / 1000;
      }
    }

    div.text {
      flex: 0 0 40%;
      order: 2;

      p {
        text-align: justify;
      }
    }

    div.img {
      flex: 1;
      margin: 0 0 0 64px;
      order: 3;

      img {
        aspect-ratio: 1.5;
      }
    }

    &:nth-child(odd) {
      padding: 0 calc((100% - 1280px) / 2) 0 0;

      h2 {
        text-align: right;
      }

      div.item {
        margin: 0 0 0 32px;
        order: 3;
      }

      div.img {
        margin: 0 64px 0 0;
        order: 1;
      }
    }

    @media (max-width: 900px) {
      flex-wrap: wrap;

      h2 {
        text-align: center;
      }

      div.item {
        flex: 0 0 min(240px, 100%);
        margin: 0 auto 32px;
      }

      div.text {
        flex: 0 0 100%;
        margin-bottom: 32px;
        margin-inline: auto;
        order: 2;
        padding-inline: 5vw;
      }

      div.img {
        margin: 0 5vw;
      }

      &:nth-child(odd) {
        h2 {
          text-align: center;
        }

        div.item {
          margin: 0 auto 32px;
          order: 1;
        }

        div.img {
          margin: 0 5vw;
          order: 3;
        }
      }
    }
  }

  .reveal-right {
    opacity: 0;
    /* start – potpuno “zatvoreno” s lijeve strane */
    clip-path: inset(0 0 0 100%);
    -webkit-clip-path: inset(0 0 0 100%);
    transition:
      clip-path 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
      -webkit-clip-path 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
      opacity 0.5s ease;
    will-change: clip-path, opacity;
  }
  .reveal-right.in-view {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
  }

  .reveal-left {
    opacity: 0;
    /* start – potpuno “zatvoreno” s desne strane */
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transition:
      clip-path 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
      -webkit-clip-path 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
      opacity 0.5s ease;
    will-change: clip-path, opacity;
  }
  .reveal-left.in-view {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
  }

  /* Fallback ako clip-path nije podržan – koristi translate */
  @supports not (clip-path: inset(0 0 0 0)) {
    .reveal-right {
      clip-path: none;
      -webkit-clip-path: none;
      transform: translateX(120px);
      transition:
        transform 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
        opacity 0.5s ease;
      will-change: transform, opacity;
    }
    .reveal-right.in-view {
      transform: translateX(0);
    }
  }

  @supports not (clip-path: inset(0 0 0 0)) {
    .reveal-left {
      clip-path: none;
      -webkit-clip-path: none;
      transform: translateX(-120px); /* s lijeve strane */
      transition:
        transform 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
        opacity 0.5s ease;
      will-change: transform, opacity;
    }
    .reveal-left.in-view {
      transform: translateX(0);
    }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .reveal-right {
      transition: none;
      transform: none;
      opacity: 1;
    }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    .reveal-left {
      transition: none;
      transform: none;
      opacity: 1;
    }
  }

  div.colors {
    margin-top: 64px;
    max-width: 90%;

    > div {
      margin-inline: auto;
      max-width: 1000px;
    }

    div.img {
      margin-inline: auto;
      margin-top: 48px;
      max-width: 1200px;
    }

    > p {
      color: #566864;
      font-size: calc(var(--p-font-size) * 1.5);
      font-weight: 500;
      line-height: 125%;
      margin: 48px auto 48px;
      max-width: 800px;
      text-align: center;
      text-transform: uppercase;
    }
  }
}

/* ============================== */

#mogu_elements_wall {
  color: #566b7e;

  div.textures {
    display: flex;
    padding-left: max(5vw, calc((100% - 1280px) / 2));
    width: 100%;

    div.data {
      flex: 0 0 min(60%, 900px);

      ul {
        display: grid;
        gap: 32px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        list-style: none;
        max-width: 600px;

        @media (max-width: 500px) {
          grid-template-columns: 1fr 1fr;
        }

        li {
          aspect-ratio: 1;
          box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
          position: relative;

          img {
            width: 100%;
          }

          span {
            bottom: 16px;
            font-size: calc(var(--p-font-size) * 1.1);
            font-weight: 500;
            left: 50%;
            position: absolute;
            text-align: center;
            text-transform: uppercase;
            transform: translateX(-50%);
          }
        }
      }

      div {
        margin-top: 48px;
      }
    }

    .reveal-right {
      opacity: 0;
      /* start – potpuno “zatvoreno” s lijeve strane */
      clip-path: inset(0 0 0 100%);
      -webkit-clip-path: inset(0 0 0 100%);
      transition:
        clip-path 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
        -webkit-clip-path 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
        opacity 0.5s ease;
      will-change: clip-path, opacity;
    }
    .reveal-right.in-view {
      opacity: 1;
      clip-path: inset(0 0 0 0);
      margin-top: auto;
      -webkit-clip-path: inset(0 0 0 0);
    }

    /* Fallback ako clip-path nije podržan – koristi translate */
    @supports not (clip-path: inset(0 0 0 0)) {
      .reveal-right {
        clip-path: none;
        -webkit-clip-path: none;
        transform: translateX(120px);
        transition:
          transform 1.2s cubic-bezier(0.25, 0.8, 0.3, 1),
          opacity 0.5s ease;
        will-change: transform, opacity;
      }
      .reveal-right.in-view {
        transform: translateX(0);
      }
    }

    div.img {
      img {
      }
    }

    @media (max-width: 760px) {
      flex-wrap: wrap;

      div.data {
        flex: 0 0 100%;
        padding-right: 5vw;
      }

      div.img {
        margin: 32px 0 0 auto !important;
        max-width: 400px;
      }
    }
  }

  div.colors {
    margin-top: 64px;

    > div {
      margin-inline: auto;
      max-width: 1000px;
    }

    div.img {
      margin-inline: auto;
      margin-top: 48px;
      max-width: 1200px;
    }

    > p {
      color: var(--color-main);
      font-size: calc(var(--p-font-size) * 1.5);
      font-weight: 500;
      line-height: 125%;
      margin: 48px auto 48px;
      max-width: 800px;
      text-align: center;
      text-transform: uppercase;
    }

    > div.dimensions {
      display: flex;
      gap: calc(var(--s_24_32) * 2);
      max-width: 1200px;

      div.data {
        h3 {
          text-align: left;
          margin-bottom: 16px;
          margin-top: 0;
        }

        ul {
          font-size: var(--p-font-size);
          list-style: none;

          li {
            span {
              font-weight: bold;
            }
          }

          li + li {
            margin-top: 8px;
          }
        }

        img {
          margin-top: 32px;
        }
      }

      div.img {
        align-items: flex-end;
        display: flex;
        flex: 0 0 50%;
        margin-top: 0;

        img {
          aspect-ratio: 1.5;
        }
      }
    }
  }
}

/* ============================== */

#mogu_elements_floor {
  color: #4f2622;

  div.box {
    margin-inline: auto;
    width: min(1200px, 90%);

    &.top {
      margin-top: 96px;
    }

    h2 {
      text-align: left;
    }

    div.flex {
      display: flex;
      gap: 32px;
      margin-top: 32px;

      div.photo {
        flex: 0 0 50%;

        img {
          aspect-ratio: 2 / 1;
        }
      }
    }

    @media (max-width: 950px) {
      div.flex {
        flex-wrap: wrap;

        div.photo {
          flex: 0 0 min(100%, 500px);
        }
      }
    }
  }

  div.products {
    margin-top: 128px;

    & > div {
      display: flex;
      gap: calc(var(--s_24_32) * 2);

      div + & {
        margin-top: 48px;
      }

      h3 {
        margin-top: 0;
        text-align: left;

        p + & {
          margin-top: var(--h3-margin-bottom);
        }
      }

      div.img {
        flex: 0 0 min(50%, 500px);
      }

      &.shapes {
        padding-left: max(5vw, calc((100% - 1280px) / 2));
      }

      &.colors {
        padding-left: calc((100% - 1280px) / 4);
        padding-right: max(5vw, calc((100% - 1280px) / 2));
      }
    }

    @media (max-width: 950px) {
      & > div {
        &.shapes {
          flex-wrap: wrap;
          padding-inline: 5vw;

          div.img {
            flex: 0 0 min(100%, 400px);
            order: 2;
          }
        }

        &.colors {
          flex-wrap: wrap;
          padding-inline: 5vw;

          div.img {
            flex: 0 0 min(100%, 400px);
            order: 2;
          }
        }
      }
    }
  }
}

/* ============================== */

#moss_elements {
  background-color: #ddffd8;
  color: var(--color-main);

  div.intro {
    ul.nav {
      display: grid;
      gap: 24px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      list-style-type: none;
      margin: calc(var(--s_16_32) * 2) auto;

      a {
        border-radius: 4px;
        color: #fff;
        display: flex;
        font-size: calc(var(--p-font-size) * 1.25);
        font-weight: 500;
        overflow: hidden;
        position: relative;

        img {
          aspect-ratio: 4 / 5;
          width: 100%;
        }

        span {
          bottom: 24px;
          left: 24px;
          right: 24px;
          line-height: 120%;
          position: absolute;
          transition: all 0.5s;
        }

        &:hover {
          span {
            bottom: 48px;
          }
        }
      }

      @media (max-width: 600px) {
        grid-template-columns: 1fr 1fr;
      }
    }
  }

  #reindeer-moss {
    padding: 64px 0;

    ul {
      display: grid;
      gap: calc(var(--s_24_32) * 0.75);
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      list-style-type: none;
      margin-top: 48px;

      li {
        a {
          border-radius: 8px;
          color: var(--color-main);
          display: block;
          overflow: hidden;
          padding: 8px;
          text-decoration: none;
          transition: all 0.25s;

          img {
          }

          p {
            margin-top: 16px;
            text-align: center;
          }

          &:hover {
            background-color: rgba(0, 0, 0, 0.05);
          }
        }
      }

      @media (max-width: 600px) {
        grid-template-columns: 1fr 1fr;
      }
    }
  }

  #bun-moss-premium {
    background-color: #c8f8c0;
    padding: 64px 0;
  }

  #forest-moss-pemium {
    padding: 64px 0;
  }

  #forest-bun-mix-premium {
    background-color: #c8f8c0;
    padding: 64px 0;
  }

  #bear-fur {
    padding-top: 64px;
  }

  div.photo {
    aspect-ratio: 3.08;
    margin: 32px auto 0;
    max-width: 1160px;
  }
}

/* ============================== */

#acoustic_solutions {
  background-color: #f4f4f4;
  padding-top: 0;
}

#acoustic_solutions_intro {
  padding-block: calc(var(--s_24_32) * 3);

  h1 {
    color: var(--color-main);
    margin-bottom: calc(var(--s_16_32) * 2);
    text-align: center;

    span {
      font-size: calc(var(--h1-font-size) * 1);
    }
  }

  p {
    color: var(--color-main);
    text-align: center;
    max-width: 900px;
  }
}

#acoustic_solutions_about {
  background-color: #fff;
  padding-block: calc(var(--s_24_32) * 2);

  & > div {
    display: flex;
    gap: var(--section-padding);

    div.photo {
      flex: 0 0 40%;

      img {
        aspect-ratio: 5 / 4;
        margin-left: var(--section-padding);
        object-fit: cover;
        width: calc(100% - var(--section-padding));
        opacity: 0;
        transform: translateX(-40px);
        transition:
          opacity 0.8s ease,
          transform 0.8s ease;

        &.visible {
          opacity: 1;
          transform: translateX(0);
        }
      }
    }

    div.text {
      flex: 1 1 60%;

      h2 {
        color: var(--color-sub);
        font-size: calc(var(--p-font-size) * 1.75);
        margin-bottom: calc(var(--s_24_32) / 1.5);
        text-align: left;
      }

      p {
        color: var(--color-main);
      }
    }
  }

  @media (max-width: 1000px) {
    & > div {
      flex-wrap: wrap;

      div.photo {
        flex: 0 0 100%;

        img {
          aspect-ratio: 1.5;
          margin-left: 0;
          width: 100%;
        }
      }
    }
  }
}

#acoustic_solutions_products {
  color: var(--color-main);
  padding-block: calc(var(--s_24_32) * 2);

  & > div {
    display: flex;
    gap: var(--section-padding);

    div.data {
      flex: 0 0 60%;

      ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        list-style: none;
        margin-top: var(--s_24_32);
        padding: 0;

        li {
          border-left: 3px solid transparent;
          cursor: pointer;
          font-size: var(--p-font-size);
          font-weight: 500;
          padding: 6px 8px;
          transition: all 0.3s;

          &:hover {
          }

          &.active {
            border-left-color: var(--color-sub);
            font-weight: bold;
          }
        }
      }
    }

    div.content {
      aspect-ratio: 1.6;
      flex: 1;
      position: relative;
      overflow: hidden;
      border-radius: 4px;

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

      .content-item {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: var(--s_24_32);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
        color: #fff;

        &.active {
          display: block;
        }

        h3 {
          color: #fff;
          font-size: calc(var(--p-font-size) * 1.25);
          margin-bottom: calc(var(--s_24_32) / 1.5);
          margin-top: 0;
          text-align: left;
        }

        p {
          text-align: justify;
        }
      }
    }

    h2 {
      color: var(--color-sub);
      font-size: calc(var(--p-font-size) * 1.75);
      margin-bottom: calc(var(--s_24_32) / 1.5);
      text-align: left;
    }

    @media (max-width: 800px) {
      flex-direction: column;

      div.data {
        flex: none;
      }

      div.content {
        aspect-ratio: auto;
        position: relative;

        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 4px;
        }

        .content-item {
          position: relative;
          padding: var(--s_24_32);
        }
      }
    }
  }
}

#acoustic_solutions_materials {
  background-color: #fff;
  color: var(--color-main);
  display: flex;
  gap: 0 calc(var(--s_24_32) * 3);
  padding-right: calc((100% - 1280px) / 2);
  width: 100%;

  div.materials {
    display: flex;
    gap: calc(var(--s_24_32) * 2);
    flex: 1;
    margin-block: calc(var(--s_24_32) * 2);

    div.photo {
      border-right: 4px solid var(--color-sub);
      flex: 0 0 40%;
      position: relative;
      overflow: hidden;

      img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        clip-path: inset(100% 0 0 0);
        transition: clip-path 1s ease;

        &.visible {
          clip-path: inset(0 0 0 0);
        }
      }
    }

    div.data {
      justify-content: center;
      display: flex;
      flex: 1;
      flex-direction: column;

      h2 {
        color: var(--color-sub);
        font-size: calc(var(--p-font-size) * 1.75);
        margin-bottom: calc(var(--s_24_32) / 1.5);
        text-align: left;
      }

      span {
        display: block;
        font-size: calc(var(--p-font-size) * 1.1);
        font-weight: 600;
        margin-top: 16px;
      }

      ul {
        font-size: calc(var(--p-font-size) * 1.1);
        line-height: 150%;
        margin-bottom: 8px;
        margin-top: 8px;
        margin-left: calc(var(--s_24_32) / 2);
      }
    }
  }

  div.finishes {
    align-items: center;
    display: flex;
    flex: 0 0 18%;

    img {
      clip-path: inset(100% 0 0 0);
      transition: clip-path 1s ease 0.3s;

      &.visible {
        clip-path: inset(0 0 0 0);
      }
    }
  }

  @media (max-width: 1000px) {
    flex-wrap: wrap;
    padding-right: 0;

    div.materials {
      flex: 0 0 100%;
      padding-bottom: 0;
      padding-right: var(--section-padding);
    }

    div.finishes {
      flex: 0 0 100%;
      justify-content: center;
      padding: var(--s_24_32) var(--section-padding);
      padding: 0;

      img {
        max-width: 400px;
      }
    }
  }

  @media (max-width: 600px) {
    div.materials {
      flex-direction: column;
      gap: var(--s_24_32);
      padding-right: 0;

      div.photo {
        flex: none;
        aspect-ratio: 16 / 9;
        border-right: none;
        border-bottom: 4px solid var(--color-sub);
      }

      div.data {
        padding-inline: var(--s_24_32);
      }
    }
  }
}

/* ============================== */

#wall_elements {
  color: var(--color-main);

  div.intro {
    margin-bottom: calc(var(--s_24_32) * 3);

    ul {
      display: grid;
      gap: 24px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      list-style-type: none;
      margin-inline: auto;

      a {
        border-radius: 4px;
        color: #fff;
        display: flex;
        font-size: calc(var(--p-font-size) * 1.25);
        font-weight: 500;
        overflow: hidden;
        position: relative;

        img {
          aspect-ratio: 4 / 5;
        }

        span {
          bottom: 24px;
          font-weight: bold;
          left: 24px;
          line-height: 120%;
          position: absolute;
          right: 24px;
          text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
          transition: all 0.5s;
        }

        &:hover {
          span {
            bottom: 48px;
          }
        }
      }

      @media (max-width: 600px) {
        grid-template-columns: 1fr 1fr;
      }
    }
  }

  div.audio {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;

    p {
      margin-bottom: 16px;
      text-align: center;
    }

    audio {
    }
  }

  div.products {
    margin-top: calc(var(--s_24_32) * 2);
  }
}

/* ============================== */

#self_adhesive_elements {
  color: var(--color-main);

  #architectural-interior-films {
    div.slider_container {
      margin: 64px auto;
      width: min(700px, 100%);
    }

    #slider {
      aspect-ratio: 2;
      overflow: hidden;
      position: relative;
      width: 100%;

      .slider-wrapper {
        aspect-ratio: 2;
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
      }

      .slide {
        flex-shrink: 0;
        max-width: 100%;
        min-width: 100%;
        transition: transform 0.5s ease-in-out;
        position: relative;

        img {
          display: block;
          height: 100%;
          object-fit: cover;
          width: 100%;
        }

        span {
          background-color: rgba(0, 0, 0, 0.25);
          color: #fff;
          font-size: var(--p-font-size);
          left: 50%;
          padding: 16px;
          position: absolute;
          top: 50%;
          transform: translate(-50%, -50%);
        }
      }

      .slider-controls {
        display: flex;
        justify-content: space-between;
        left: 10px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;

        button {
          align-items: center;
          background: rgba(0, 0, 0, 0.5);
          border: none;
          border-radius: 50%;
          color: white;
          cursor: pointer;
          display: flex;
          height: 40px;
          justify-content: center;
          padding: 10px;
          transition: all 0.25s;
          width: 40px;

          &:hover {
            background: rgba(0, 0, 0, 0.8);
          }
        }
      }
    }
  }

  #organoid-natural-surfaces {
    margin-top: 64px;

    div.products {
      margin-top: 64px;
    }
  }
}

/* ============================== */

#glass_elements {
  color: var(--color-main);

  div.intro2 {
    ul {
      grid-template-columns: 1fr 1fr 1fr;

      li {
        aspect-ratio: 1 !important;
      }

      @media (max-width: 800px) {
        grid-template-columns: 1fr 1fr;

        li {
          aspect-ratio: 1.5 !important;
        }
      }

      @media (max-width: 600px) {
        grid-template-columns: 1fr;
      }
    }
  }

  #decorative-privacy-films {
    margin-top: 64px;

    ul.films {
      display: grid;
      gap: calc(var(--s_16_32) / 1);
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      list-style-type: none;
      margin: calc(var(--s_16_32) * 2) auto;

      li {
        a {
          color: var(--color-main);
          display: flex;
          flex-wrap: wrap;
          gap: 16px;
          text-decoration: none;

          img {
            aspect-ratio: 1;
            width: 100%;
          }

          p {
            flex: 0 0 100%;
            margin-bottom: 0;
            text-align: center;
            transition: all 0.25s;
          }

          &:hover {
            p {
              color: var(--color-sub);
            }
          }
        }

        > div {
          display: none;
        }
      }
    }
  }

  #squid-window-textile {
    margin-top: calc(var(--s_16_32) * 2);
  }

  div.slider_container {
    margin: 64px auto;
    width: min(700px, 100%);
  }

  #slider {
    aspect-ratio: 2;
    overflow: hidden;
    position: relative;
    width: 100%;

    .slider-wrapper {
      aspect-ratio: 2;
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%;
    }

    .slide {
      flex-shrink: 0;
      max-width: 100%;
      min-width: 100%;
      transition: transform 0.5s ease-in-out;
      position: relative;

      img {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
      }
    }

    .slider-controls {
      display: flex;
      justify-content: space-between;
      left: 10px;
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;

      button {
        align-items: center;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        height: 40px;
        justify-content: center;
        padding: 10px;
        transition: all 0.25s;
        width: 40px;

        &:hover {
          background: rgba(0, 0, 0, 0.8);
        }
      }
    }
  }
}

/* ============================== */

#phillip_jeffries {
  div.products {
    margin-top: calc(var(--s_24_32) * 2);

    > p {
      font-size: calc(var(--p-font-size) * 1.5);
      line-height: 125%;
      margin-bottom: 48px;
      text-transform: uppercase;
    }
  }

  ul.products_grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    @media (max-width: 600px) {
      grid-template-columns: 1fr 1fr;
    }

    li {
      a {
        & > div {
          overflow: hidden;

          img {
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
          }

          &:hover img {
            transform: scale(1.2);
          }
        }
      }
    }
  }
}

/* ============================== */

#projects {
  padding-top: min(120px);

  .modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* ili flex kad je otvoren */
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    padding: 8px;
    top: 0;
    width: 100vw;
    z-index: 10000;

    /* Modal content */
    .modal-content {
      background: #fff;
      border-radius: 8px;
      overflow: auto;
      padding: 5vw 0;
      position: relative;
      width: 100%;
      height: 100%;
    }

    /* Close button */
    .close-modal {
      cursor: pointer;
      font-size: 2rem;
      position: fixed;
      right: calc(var(--s_24_32) * 1);
      top: calc(var(--s_24_32) * 0.5);
      z-index: 10001;

      @media (max-width: 960px) {
        right: calc(var(--s_24_32) * 0.75);
      }
    }

    /* Custom scrollbar styles */
    ::-webkit-scrollbar {
      height: 8px;
      width: 8px;
    }
    ::-webkit-scrollbar-thumb {
      background: #c3b299;
      border-radius: 8px;
      border: 4px solid #fff;
    }
    ::-webkit-scrollbar-track {
      background: #f5f5f5;
      border-radius: 8px;
    }
    /* Firefox */
    scrollbar-width: thick;
    scrollbar-color: #c3b299 #f5f5f5;
  }

  #modal-body {
    color: var(--color-main);
    width: min(1000px, 90%);

    .green {
      color: var(--color-quad);
    }

    h2 {
      text-align: left;
    }

    & > div {
      display: flex;
      gap: calc(var(--s_24_32) * 2);

      & > div {
        flex: 0 0 calc(50% - var(--s_24_32));

        &.left {
          h3 {
            color: var(--color-sub);
            margin: 0 auto calc(var(--s_24_32) / 4);
            text-align: left;
            text-transform: none;
          }

          #comparison {
            margin-top: calc(var(--s_24_32) * 1);
            overflow: hidden;
            position: relative;
            min-width: 100%;
          }

          img.big-nature-inside {
            box-shadow: 4px 4px 0 var(--color-quad);
            margin-top: calc(var(--s_24_32) * 1);
            width: 100%;
          }
        }

        &.right {
          a {
            color: var(--color-sub);
            text-decoration: none;

            &:hover {
              color: var(--color-main);
            }
          }

          div.photo {
            flex: 1;
          }

          div.text {
            margin-top: calc(var(--s_24_32) * 1);
          }
        }
      }

      /**/
      video {
        box-shadow: 4px 4px 0 var(--color-quad);
      }

      #elmenents {
        display: flex;
        flex-wrap: wrap;
        gap: calc(var(--s_24_32) * 0.5);
        margin-top: calc(var(--s_24_32) * 1);

        li {
          display: flex;
          gap: calc(var(--s_24_32) * 0.5);

          &.cork {
            color: var(--color-high);
          }

          div.photo {
            flex: 0 0 min(50%, 180px);

            img {
              aspect-ratio: 1;
              width: 100%;
            }
          }

          h3 {
            font-size: calc(var(--h3-font-size) * 0.75);
            margin: 4px auto 8px;
            text-align: left;
          }

          p {
            font-size: calc(var(--p-font-size) * 1);
          }

          @media (max-width: 500px) {
            flex-wrap: wrap;

            div:not(.photo) {
              flex: 0 0 100%;
            }

            div.photo {
              flex: 0 0 min(100%, 180px);
            }
          }
        }
      }

      @media (max-width: 900px) {
        flex-wrap: wrap;

        & > div {
          flex: 0 0 100%;
        }
      }
    }
  }

  #reception-desk-makeover {
    display: none;
  }

  #big-nature-inside {
    display: none;
  }
}

/**/

#projects_pharmaceutical {
}

#projects_pharmaceutical_intro {
  align-items: center;
  display: flex;
  gap: calc(var(--s_24_32) * 1);
  margin-bottom: calc(var(--s_24_32) * 3);
  width: min(90%, 1200px);

  @media (max-width: 900px) {
    flex-wrap: wrap;
  }

  h1 {
    color: var(--color-main);
    font-size: calc(var(--h1-font-size) * 1.1);
    font-weight: 600;
    text-shadow: none;

    span {
      color: var(--color-sub);
      display: block;
      font-size: 0.5em;
    }
  }

  div.text {
    border-left: 4px solid var(--color-sub);
    color: var(--color-main);
    line-height: 100%;
    padding-left: 16px;

    p {
      font-size: calc(var(--p-font-size) * 1.1);
      line-height: 150%;
      text-align: justify;
    }

    a {
      background-color: var(--color-sub);
      color: #fff;
      display: flex;
      font-size: calc(var(--p-font-size) * 1.5);
      font-weight: 600;
      margin-top: calc(var(--s_24_32) * 1);
      padding: 8px 32px;
      text-decoration: none;
      text-transform: uppercase;
      transition: all 0.25s;
      width: fit-content;

      &:hover {
        background-color: var(--color-main);
      }
    }
  }
}

.projects_pharmaceutical_content {
  color: var(--color-main);
  margin: 0 auto;
  width: min(90%, 800px);

  h2 {
    color: var(--color-sub);
    font-size: calc(var(--p-font-size) * 1.5);
    margin-bottom: 8px;
    text-align: left;

    p + & {
      margin-top: 32px;
    }
  }

  h3 {
    font-size: calc(var(--p-font-size) * 1.15);
    margin-bottom: 8px;
    text-align: left;
    text-transform: uppercase;
  }

  ul {
    font-size: calc(var(--p-font-size) * 1.1);
    font-weight: 400;
    line-height: 140%;
    margin-block: 20px;
    padding-left: 20px;

    span {
      font-weight: 600;
    }
  }
}

#projects_pharmaceutical_materials {
  align-items: center;
  display: flex;
  gap: calc(var(--s_24_32) * 1);
  margin: calc(var(--s_24_32) * 2) auto;

  @media (max-width: 900px) {
    flex-wrap: wrap;
    justify-content: center;
  }

  .materials_slider {
    aspect-ratio: 1;
    box-shadow: 4px 4px 0 var(--color-main);
    flex: 0 0 30%;
    overflow: hidden;
    position: relative;

    .slider_track {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease;
      width: 100%;
    }

    .slider_item {
      flex-shrink: 0;
      width: 100%;

      img {
        aspect-ratio: 1;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        object-fit: cover;
        width: 100%;
      }
    }

    .slider-controls {
      display: flex;
      justify-content: space-between;
      left: 16px;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;

      button {
        align-items: center;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        height: 40px;
        justify-content: center;
        padding: 10px;
        transition: all 0.25s;
        width: 40px;

        &:hover {
          background: rgba(0, 0, 0, 0.8);
        }
      }
    }

    @media (max-width: 900px) {
      flex: 0 0 min(95%, 400px);
    }
  }

  .materials_sections {
    display: flex;
    gap: calc(var(--s_24_32) / 2);

    h3 {
      color: var(--color-main);
      font-size: calc(var(--h3-font-size) * 2);
      flex-shrink: 0;
      letter-spacing: 7px;
      margin: 0;
      text-orientation: mixed;
      transform: rotate(180deg);
      writing-mode: vertical-rl;
    }

    ul {
      border-left: 4px solid var(--color-main);
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 16px;
      list-style: none;
      padding-left: calc(var(--s_24_32) / 2);
    }

    .material_item {
      transition: all 0.3s ease;

      a {
        color: var(--color-sub);
        display: block;
        font-size: calc(var(--p-font-size) * 1.35);
        font-weight: 600;
        margin-bottom: 4px;
        max-width: 300px;
        text-decoration: none;
        text-transform: uppercase;

        &:hover {
          color: var(--color-main);
        }
      }

      p {
        color: var(--color-main);
        font-size: var(--p-font-size);
        line-height: 150%;
        margin: 0;
      }
    }
  }

  @media (max-width: 900px) {
    .materials_sections {
      flex: 0 0 100%;
    }
  }

  .materials_hero {
    align-items: center;
    aspect-ratio: 0.85;
    background-color: blanchedalmond;
    box-shadow: 4px 4px 0 var(--color-main);
    cursor: pointer;
    display: flex;
    flex: 0 0 25%;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.35s ease;

    img {
      height: 100%;
      flex: 1;
      object-fit: fill;
      transition:
        transform 0.35s ease,
        filter 0.35s ease;
      width: 100%;
    }

    &:hover {
      box-shadow: 8px 8px 0 var(--color-main);

      img {
        filter: brightness(1.08);
        transform: scale(1.1) rotate(2.5deg);
      }
    }

    @media (max-width: 900px) {
      flex: 0 0 min(95%, 400px);
    }
  }
}

#cta_contact_headline {
  color: var(--color-sub);
  font-weight: 600;
  font-size: calc(var(--h3-font-size) * 1.25);
  margin: calc(var(--s_24_32) * 2) auto;
  max-width: 1200px;
  text-align: center;
  width: 90%;

  a {
    color: var(--color-main);
    text-decoration: none;
    transition: all 0.25s;

    &:hover {
      color: var(--color-sub);
    }
  }
}

/* ============================== */

#contact {
  color: var(--color-main);
  padding-top: 120px;

  h2 {
    text-align: left;
  }

  & > div {
    display: grid;
    grid-template-columns: 1fr 1fr;

    & > div {
      min-height: 400px;
      padding: calc(var(--s_16_32) * 2);

      span.head {
        display: block;
        font-family: var(--font-header);
        font-size: calc(var(--p-font-size) * 1.25);
        margin-bottom: 12px;

        p + & {
          margin-top: 32px;
        }
      }
    }

    ul {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      font-size: var(--p-font-size);
      list-style-type: none;
      margin-top: 16px;

      li {
        flex: 0 0 100%;

        a {
          align-items: center;
          color: var(--color-main);
          display: flex;
          ž &:hover {
            text-decoration: none;
          }
        }

        span {
          display: block;
          height: 20px;
          margin-right: 8px;
          width: 20px;

          svg {
            color: var(--color-sub);
            height: 20px;
            width: 20px;
          }
        }
      }
    }

    div.c1 {
      background: url(images/contact_1.jpg) center;
      background-size: cover;
    }

    div.c2 {
      background: url(images/contact_2.jpg) center;
      background-size: cover;
    }

    @media (max-width: 900px) {
      grid-template-columns: 1fr;

      & > div {
        order: 2;

        &c2 {
          order: 1;
        }
      }
    }
  }

  div.contact_form {
    flex: 1;
    margin-top: calc(var(--s_16_32) * 2);

    #results_inner {
      flex: 0 0 100%;
      font-size: calc(var(--p-font-size) * 1);
      justify-content: center;

      &.ok {
        border: 1px solid green;
        color: green;
        margin-bottom: 20px;
        padding: 15px;
      }

      &.err {
        border: 1px solid red;
        color: red;
        margin-bottom: 20px;
        padding: 20px;
      }
    }

    form {
      display: grid;
      gap: calc(var(--s_16_32) * 1);
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

      div {
        display: flex;
        flex-wrap: wrap;

        &.full {
          grid-column: 1 / -1;
        }

        &.g-recaptcha {
          > div {
            max-width: 100% !important;
          }
        }
      }
    }
  }

  label {
    display: block;
    font-size: var(--p-font-size);
    margin-bottom: 8px;
    text-transform: uppercase;
    width: 100%;
  }

  input,
  textarea,
  button {
    background: transparent;
    border: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    color: #000;
    font-family: var(--font-body);
    font-size: calc(var(--p-font-size) * 1);
    font-weight: 400;
    margin: 0;
    padding: calc(var(--s_24_32) * 0.5) calc(var(--s_24_32) * 0.75);
    transition: all 0.5s;
    width: 100%;

    &:hover {
      background-color: #f7f7f7;
    }
  }

  textarea {
    height: 100px;
  }

  button {
    background-color: var(--color-sub);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
    width: fit-content;

    &:hover {
      background-color: #5b5b5b;
    }

    &:active {
      transform: scale(0.9);
    }
  }

  #map {
    background-color: #eee;
    height: 50vh;
    max-height: 500px;
    margin-top: 64px;
  }
}

/* ============================== */

div.intro_slider {
  align-items: center;
  display: flex;
  gap: calc(var(--s_24_32) * 2);

  #slider {
    aspect-ratio: 1;
    flex: 0 0 max(35%, 500px);
    overflow: hidden;
    position: relative;

    @media (max-width: 600px) {
      flex: 0 0 100%;
    }

    .slider-wrapper {
      aspect-ratio: 1;
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%;
    }

    .slide {
      flex-shrink: 0;
      min-width: 100%;
      transition: transform 0.5s ease-in-out;

      img {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
      }
    }

    .slider-controls {
      display: flex;
      justify-content: space-between;
      left: 16px;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;

      button {
        align-items: center;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        height: 40px;
        justify-content: center;
        padding: 10px;
        transition: all 0.25s;
        width: 40px;

        &:hover {
          background: rgba(0, 0, 0, 0.8);
        }
      }
    }
  }

  div.text {
    align-items: center;
    display: flex;
    flex-wrap: wrap;

    & > div {
      flex: 0 0 100%;

      &.logo {
        border-bottom: 4px solid var(--color-sub);
        margin-bottom: 32px;
        max-width: 300px;
        padding-bottom: calc(var(--h2-margin-bottom) / 4);
      }

      &.mogu {
        flex: 0 0 auto;
        margin: 0 auto calc(var(--s_16_32) * 1.5);

        & + div {
          flex: 0 0 auto;

          p {
            font-size: calc(var(--p-font-size) * 1.2);
          }
        }
      }
    }
  }

  @media (max-width: 1100px) {
    flex-wrap: wrap;

    div.slider {
      flex: 0 0 min(500px, 100%);
    }
  }
}

/**/

div.intro2 {
  margin-bottom: calc(var(--s_24_32) * 3);

  ul {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
    list-style-type: none;
    margin-inline: auto;
    max-width: 1000px;

    .projects & {
      grid-template-columns: 1fr 1fr 1fr;

      @media (max-width: 600px) {
        grid-template-columns: 1fr;
      }
    }

    li {
      aspect-ratio: 4 / 5;
      border-radius: 4px;
      display: flex;
      overflow: hidden;

      a {
        background-color: #ddd;
        color: #fff;
        display: flex;
        flex: 1;
        font-size: var(--h3-font-size);
        overflow: hidden;
        position: relative;

        .projects & {
          font-size: calc(var(--h3-font-size) * 0.85);
        }

        img {
          object-fit: cover;
          width: 100%;
        }

        span {
          bottom: var(--s_24_32);
          font-weight: bold;
          left: var(--s_24_32);
          position: absolute;
          right: var(--s_24_32);
          text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
          text-transform: uppercase;
          transition: all 0.5s;
        }

        &:hover {
          span {
            bottom: 48px;
          }
        }
      }
    }

    @media (max-width: 600px) {
      grid-template-columns: 1fr;

      li {
        aspect-ratio: 1.5;
      }
    }
  }
}

/**/

ul.products_grid {
  display: grid;
  gap: calc(var(--s_24_32) / 2);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style-type: none;

  @media (max-width: 600px) {
    grid-template-columns: 1fr 1fr;
  }

  li {
    a {
      color: var(--color-high);
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      text-decoration: none;

      &:hover {
        color: var(--color-sub);
      }

      img {
        aspect-ratio: 1;
        width: 100%;
      }

      p {
        flex: 0 0 100%;
        margin-bottom: 0;
        text-align: center;
        text-transform: uppercase;
      }
    }
  }
}

/* */

div.downloads {
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin: calc(var(--s_16_32) * 2) auto 0;
  padding: calc(var(--s_16_32) / 1);
  transition: all 0.25s;
  width: min(800px, 90%);

  &:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  summary {
    cursor: pointer;
    font-size: var(--p-font-size);

    span {
      line-height: 150%;
      transition: all 0.25s;

      &:hover {
        color: var(--color-sub);
      }
    }
  }

  span.head {
    display: block;
    font-size: calc(var(--p-font-size) * 1);
    font-weight: bold;
    margin-top: 24px;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    font-size: var(--p-font-size);
    gap: 16px;
    list-style-type: none;
    margin-top: 24px;

    li {
      flex: 0 0 100%;
      line-height: 125%;

      a {
        color: var(--color-main);
      }
    }

    & + p {
      margin-top: 24px;
    }
  }
}

/* */

ul.features {
  display: flex;
  gap: calc(var(--s_24_32) * 1.5);
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  margin: calc(var(--s_16_32) * 2) auto 0;
  padding-inline: 5vw;

  li {
    flex: 0 0 110px;

    span {
      display: block;
      font-size: var(--p-font-size);
      line-height: 120%;
      text-align: center;

      &.icon {
        aspect-ratio: 1;
        margin-bottom: 16px;
      }
    }

    svg {
      aspect-ratio: 1;
    }
  }

  &.mogu {
    gap: calc(var(--s_16_32) * 0.75);

    li {
      flex: 0 0 130px;
    }
  }
}

/* ============================== */

#carousel {
  margin: calc(var(--s_16_32) * 2) 0 0;
  overflow: hidden;
  width: 100%;

  .slider-container {
    position: relative;
    overflow: hidden;

    .slider {
      animation: slider-scroll 32s linear infinite;
      display: flex;
      width: max-content;

      .slide {
        box-sizing: border-box;
        flex: 0 0 auto;
        margin-right: 16px;
        max-width: 100vw;
        min-width: 320px;

        img {
          display: block;
          height: 300px;
          object-fit: cover;
          width: 100%;
        }
      }
    }
  }

  @media (max-width: 600px) {
    .slider-container {
      .slider {
        .slide {
          margin-right: 8px;
          min-width: 220px;

          img {
            height: 200px;
          }
        }
      }
    }
  }
}

@keyframes slider-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*
#slider {
  margin-top: 64px;

  .slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  animation: scroll 30s linear infinite;
  .slider {
    display: flex;
    width: max-content;
  }

  .slide {
    box-sizing: border-box;
    max-width: 400px;
    padding: 5px;

    img {
      display: block;
      height: 300px;
      object-fit: cover;
      width: 100%;
    }
  }

  @media (max-width: 768px) {
  }

  @media (max-width: 480px) {
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

*/

@font-face {
  font-family: 'Trebuchet';
  src: url('fonts/trebuchet.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Trebuchet';
  src: url('fonts/trebuchet-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Ebrima';
  src: url('fonts/ebrima.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ebrima';
  src: url('fonts/ebrima-bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
