/* Variables */
html {
  /* Colors */
  --color-black: #2d2d2d;
  --color-white: rgba(255, 255, 255, 1);
  --color-accent: #c93254;
  --color-neutral-dark: rgba(102, 102, 102, 1);
  --color-neutral: rgba(153, 153, 153, 1);
  --color-neutral-light: rgba(181, 181, 181, 1);

  /* Header Height */
  --header-height: 97px;

  @media (max-width: 1023px) {
    --header-height: 77px;
  }

}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

button {
  color: inherit;
  border: none;
  background-color: transparent;
}

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

/* Fonts */
html {
  font-family: 'AlegreyaSans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  scroll-behavior: smooth;
}

/* Section */
.section {
  overflow: hidden;
  padding: 40px 0;

  @media (max-width: 768px) {
    padding: 32px 0;
  }
}

/* SVG Sprite Config */
.sprite-icon {
  fill: currentColor;
}


/* Helpers */
.text-accent {
  color: var(--color-accent);
}

.warning {
  margin: 12px 0;
  font-size: 18px;
  font-weight: normal;
  color: orange;
  padding: 16px;
  border: 2px solid orange;
  width: fit-content;
  max-width: 100%;
}

.notification {
  margin: 12px 0;
  font-size: 18px;
  font-weight: normal;
  color: green;
  background: var(--color-white);
  padding: 16px;
  border: 2px solid green;
  width: fit-content;
  max-width: 100%;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* Body */
.noisy-background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  z-index: -1;
}

.noisy-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: url(#grainy);
  opacity: 1;
  z-index: -1;
  mix-blend-mode: multiply;
}

/* Container */
.container {
  box-sizing: content-box;
  max-width: 1280px;
  padding: 0 42px;
  margin: 0 auto;

  @media (max-width: 1215px) {
    padding: 0 24px;
  }

  @media (max-width: 768px) {
    padding: 0 12px;
  }
}

.container--pl-0 {
  padding-left: 0;
}

/* Button */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 27px;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-accent);
  padding: 12px 16px;


  @media (max-width: 576px) {
    font-size: 20px;
  }
}

.button:hover,
.button:active {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.button--white {
  color: var(--color-accent);
  background-color: var(--color-white);
}

.button--white:hover {
  color: var(--color-accent);
  background-color: var(--color-white);
}

/* Modal Contact */
.modal-contact {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #2b2b2b86;
  backdrop-filter: blur(4px);
  translate: 0 -100%;
  opacity: 0;
  z-index: -1;
  transition: z-index 0.4s step-end, .4s opacity, .4s translate;
}

.modal-contact.active {
  translate: 0;
  opacity: 1;
  z-index: 100;
  transition: z-index 0.4s step-start, .4s opacity, .4s translate;
}

.modal-contact__inner {
  position: relative;
  max-height: 100vh;
  text-align: center;
  background-color: var(--color-white);
  padding: 64px;
  border-radius: 50px;
  overflow: scroll;

  @media (max-width: 768px) {
    max-width: 90%;
    padding: 60px 32px;
    border-radius: 24px;
  }
}

.modal-contact__close {
  position: absolute;
  top: 28px;
  right: 28px;
  cursor: pointer;
}

/* Header */
.header {
  padding-top: 20px;
  z-index: 100;

  @media (max-width: 768px) {
    padding-top: 15px;
  }
}

.header__inner {
  @media (max-width: 768px) {
    display: flex;
    justify-content: center;
  }
}

.header__burger {
  display: none;

  @media (max-width: 768px) {
    position: fixed;
    top: 15px;
    right: 0;
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    background: url(../images/burger-bg.svg) no-repeat center;
    cursor: pointer;
    transition: transform .4s linear;
    perspective: 1000px;
    transform-style: preserve-3d;
    z-index: 102;
  }
}

.header__burger.active {
  transform: rotate3d(1, 0, 0, 180deg);
}

.header__burger-icon-open {
  position: absolute;
  color: var(--color-white);
  backface-visibility: hidden;
  transform: rotateY(0deg);
}

.header__burger-icon-close {
  position: absolute;
  color: var(--color-white);
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

.header__logo {
  display: block;
  width: 160px;

  @media (max-width: 1215px) {
    width: 140px;
  }

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

.header__logo-img {
  object-fit: contain;
}

.header__menu-container {
  position: fixed;
  top: 20px;
  right: calc((100vw - 100%)/2);
  z-index: 100;

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

.header__menu {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.header__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.header__lang-switch {
  display: flex;
  width: 80px;
  align-items: center;
  gap: 12px;
}

.header__lang-switch.active {
  width: fit-content;
  justify-content: end;
}

.header__lang-switch-current {
  display: flex;
  width: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: end;
  text-transform: capitalize;
  cursor: pointer;
}

.header__lang-switch.active .header__lang-switch-icon {
  rotate: -90deg;
}

.header__lang-switch-options {
  display: flex;
  width: 0;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.header__lang-switch.active .header__lang-switch-options {
  width: fit-content;
}

.header__lang-switch-option {
  flex-shrink: 0;
}

.header__menu-link {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-black);

  &:hover,
  &.active {
    color: var(--color-accent);
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  /* Use dvh to fix mobile address bar jumping */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling for iOS */

  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-white);
  padding: 16px 16px 80px;

  /* Performance & Stability Fixes */
  opacity: 0;
  visibility: hidden;
  /* Better than z-index -1 */
  transform: translate3d(0, 40px, 0);
  z-index: 101;

  /* Remove z-index from transition. Transition visibility instead. */
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;

  /* Force GPU layer to prevent blinking */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


.mobile-menu__logo {
  margin-bottom: 80px;
}

.mobile-menu__logo-img {
  width: 92px;
  height: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  margin-bottom: 80px;
}

.mobile-menu__link {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
}

.mobile-menu__link.active {
  color: var(--color-black);
}

.mobile-menu__button {
  margin-top: auto;
  margin-bottom: 50px;
}

.mobile-menu__lang {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: auto;
}

.mobile-menu__lang-item {
  font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
}

.mobile-menu__lang-item.active {
  color: var(--color-accent);
  pointer-events: none;
}

/* Home Hero */
.home-hero {
  margin-bottom: 50px;
}

.home-hero__inner {
  display: flex;
  align-items: center;


  @media (max-width: 1023px) {
    flex-direction: column-reverse;
  }
}

.home-hero__column {
  width: 50%;

  @media (max-width: 1023px) {
    width: 100%;
  }
}

.home-hero__image-wrap {
  width: 50%;
  z-index: -1;


  @media (max-width: 1023px) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: -50px;
  }
}

.home-hero__image {
  display: block;
  width: 130%;
  max-width: unset;
  height: auto;
  translate: -30% 0;

  @media (max-width: 1023px) {
    width: 80%;
    translate: 0;
  }

  @media (max-width: 576px) {
    width: calc(90% + (100vw - 100%) / 2);
    translate: calc((100vw - 90%) / 2) 0;
  }
}

.home-hero__mobile-heading {
  display: none;

  @media (max-width: 1023px) {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1em;
    text-align: center;
    text-transform: uppercase;
  }


  @media (max-width: 576px) {
    font-size: 28px;
  }
}

.home-hero__heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1em;
  text-transform: uppercase;
  margin-bottom: 11.5%;

  @media (max-width: 1215px) {
    margin-bottom: 8%;
  }


  @media (max-width: 1023px) {
    display: none;
  }
}

.home-hero__intro {
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 10%;

  @media (max-width: 1023px) {
    text-align: center;
    margin-bottom: 50px;
  }

  @media (max-width: 576px) {
    font-size: 23px;
  }
}

.home-hero__services {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  margin-bottom: 28%;

  @media (max-width: 1215px) {
    margin-bottom: 12%;
  }


  @media (max-width: 1023px) {
    margin-bottom: 32px;
  }
}

.home-hero__service {
  display: inline-block;
  font-size: 27px;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-accent);
  padding: 0 8px;


  @media (max-width: 576px) {
    font-size: 22px;
  }
}

.home-hero__button {

  @media (max-width: 576px) {
    width: 100%;
  }
}

/* Reasons */

.reasons__heading-container {
  padding-left: 120px;
  margin: 0 auto 80px;
  overflow: hidden;

  @media (max-width: 1023px) {
    margin-bottom: 50px;
  }

  @media (max-width: 768px) {
    padding-left: 60px;
  }

  @media (max-width: 435px) {
    padding-left: 45px;
  }
}

.reasons__heading {
  position: relative;
  display: inline;
  font-family: 'a_Alterna', sans-serif;
  font-weight: 900;
  font-size: 57px;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--color-white);
  -webkit-text-stroke: 1px var(--color-black);

  @media (max-width: 768px) {
    font-size: 42px;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0.3em;
    right: calc(100% + 24px);
    width: 40vw;
    height: 1px;
    background-color: var(--color-accent);


    @media (max-width: 768px) {
      right: calc(100% + 8px);
    }
  }

  br {
    display: none;


    @media (max-width: 1023px) {
      display: block;
    }
  }

  .text-accent {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    -webkit-text-stroke: 0;
  }
}

.reasons__items {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;

  @media (max-width: 576px) {
    gap: 40px;
  }
}

.reasons__item {
  width: calc((100% - (32px * 3)) / 4);

  @media (max-width: 1023px) {
    width: calc((100% - (32px)) / 2);
  }

  @media (max-width: 576px) {
    width: 100%;
  }

}

.reasons__item-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  min-height: 2em;
  text-align: center;
  margin-bottom: 8px;
}

.reasons__item-image {
  aspect-ratio: 294 / 250;
  margin-bottom: 8px;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.reasons__item-text {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

/* Steps */
.steps {
  overflow: unset;
}

.steps__columns {
  display: flex;
  align-items: stretch;
  gap: 52px;

  @media (max-width: 1023px) {
    display: block;
  }
}

.steps__column {
  flex: 1 1 50%;

  @media (max-width: 1023px) {
    width: 100%;
  }
}

.steps__sticky {
  position: sticky;
  position: -webkit-sticky;
  top: 40px;

  @media (max-width: 1023px) {
    position: static;
    margin-bottom: 42px;
  }
}

.steps__heading {
  font-family: 'a_Alterna', sans-serif;
  font-size: 67px;
  font-weight: 900;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--color-white);
  -webkit-text-stroke: 1px var(--color-black);
  padding-top: 20px;
  margin-bottom: 12px;

  @media (max-width: 1407px) {
    font-size: 50px;
  }

  @media (max-width: 1023px) {
    text-align: left;
    margin-bottom: 18px;
  }

  @media (max-width: 768px) {
    font-size: 42px;
  }

  .text-accent {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: inline-block;
    font-size: 132px;
    -webkit-text-stroke: 0;
    transform: rotate3d(1, 0, 0, 90deg);
    transform-origin: bottom;
    transition: .3s ease-in;

    @media (max-width: 1407px) {
      font-size: 100px;
    }
  }

  &.active .text-accent {
    transform: rotate3d(1, 0, 0, 0deg);
  }

  .indent {
    display: inline-block;
    padding-left: 1em;
    transform: rotate3d(1, 0, 0, 90deg);
    transform-origin: top;
    transition: .5s .3s ease-in;

    @media (max-width: 768px) {
      padding-left: 12px;
    }
  }

  &.active .indent {
    transform: rotate3d(1, 0, 0, 0deg);
  }
}

.steps__intro {
  width: fit-content;
  font-size: 26px;
  font-weight: 500;
  line-height: 1em;
  margin-left: auto;

  @media (max-width: 1407px) {
    font-size: 22px;
    font-weight: 600;
  }

  @media (max-width: 1023px) {
    width: 100%;
    text-align: right;
  }

  @media (max-width: 768px) {
    text-align-last: left;
  }
}

.steps__items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.steps__item {
  color: var(--color-white);
  background-color: var(--color-accent);
  padding: 28px;

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

.steps__item-row {
  display: flex;
  justify-content: space-between;
  gap: 52px;

  &:first-child {
    margin-bottom: 16%;
  }

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

.steps__item-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;

  @media (max-width: 768px) {
    font-size: 32px;
    font-weight: 700;
  }
}

.steps__item-intro {
  font-size: 20px;
  font-weight: 600;

  @media (max-width: 768px) {
    font-size: 18px;
  }
}

.steps__item-num {
  position: relative;
  flex-shrink: 0;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  background-color: var(--color-white);
  rotate: -3deg;
  transition: rotate .2s;

  @media (max-width: 768px) {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  span {
    rotate: 3deg;
  }
}

.steps__item-icon {
  color: var(--color-white);
  margin-top: auto;

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

.steps__item-text {
  font-size: 18px;
  font-weight: 400;
  text-align: right;

  @media (max-width: 768px) {
    font-size: 16px;
  }
}

/* Cases */

.cases {
  overflow: visible;

  @media (max-width: 1407px) {
    padding-top: 64px;
  }
}

.cases__columns {
  position: relative;
  display: flex;
  align-items: stretch;

  @media (max-width: 1407px) {
    padding-top: 42px;
  }

  @media (max-width: 768px) {
    display: block;
    padding-top: 0;
  }
}

.cases__left {
  width: calc((100vw - 100%) / 2 + 42%);
  margin-left: calc(-1 * (100vw - 100%) / 2 - 15px);

  @media (max-width: 768px) {
    width: 100%;
    margin-bottom: 52px;
    margin-left: 0;
  }
}

.cases__heading {
  position: absolute;
  top: 32px;
  left: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-white);
  z-index: 1;

  @media (max-width: 1407px) {
    color: var(--color-accent);
    top: 0;
    width: 100%;
    translate: 0 -100%;
    text-align: center;
  }

  @media (max-width: 768px) {
    top: 20px;
    translate: 0;
    color: var(--color-white);
  }

}

.cases__image {
  position: relative;
  aspect-ratio: 640 / 665;
  max-height: 600px;
  min-width: 100%;
  background-color: var(--color-accent);
  rotate: -2deg;

  img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 60vw;
    max-width: 834px;
    height: auto;
    object-fit: contain;
    rotate: 2deg;
    translate: 0 -50%;
  }

  @media (max-width: 768px) {
    width: 100vw;
    aspect-ratio: unset;
    padding-top: 100px;
    padding-bottom: 24px;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    rotate: 0deg;

    img {
      position: static;
      width: 100%;
      rotate: 0deg;
      translate: 0;
    }
  }
}

.cases__right {
  width: 58%;
  padding-left: 64px;

  @media (max-width: 768px) {
    width: 100%;
    padding-left: 0;
  }
}

.cases-swiper {
  overflow: hidden;
  padding-bottom: 70px;

  .swiper-pagination-bullet {
    background: url(../images/swiper-bullet.svg) no-repeat center top;
    background-size: 18px 18px;
    width: 24px;
    height: 24px;
    background-color: unset;
    border-radius: 0;
    opacity: 1;

    &[class*='active'] {
      background: url(../images/swiper-bullet-active.svg) no-repeat center bottom;
      background-size: 18px 18px;
    }
  }

  [class*="swiper-button"] {
    top: 45%;
  }

  .swiper-button-prev::after {
    content: url(../images/swiper-prev.svg);
  }

  .swiper-button-next::after {
    content: url(../images/swiper-next.svg);
  }


  .swiper-slide {
    position: relative;
    text-align: center;

    .cases-swiper-link {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .cases-swiper-link>.hidden {
      visibility: hidden;
    }

    .image-container {
      margin-bottom: 24px;
    }

    .image-container>img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .text-container {
      max-width: 406px;
      margin: 0 auto;
    }

    .title {
      font-size: 27px;
      font-weight: 600;
      line-height: 1em;
      color: var(--color-accent);
      margin-bottom: 12px;
    }

    .text {
      font-size: 18px;
      font-weight: 400;
      line-height: 1em;
    }
  }
}

/* Cards */
.cards__heading {
  font-family: 'a_Alterna', sans-serif;
  font-size: 67px;
  font-weight: 900;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--color-white);
  -webkit-text-stroke: 1px var(--color-black);
  padding-top: 20px;
  margin-bottom: 42px;

  @media (max-width: 1407px) {
    font-size: 50px;
  }

  @media (max-width: 768px) {
    font-size: 42px;
  }


  @media (max-width: 576px) {
    text-align: center;
  }
}

.cards__items {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 32px;
}

.cards__item {
  width: calc((100% - (24px * 2)) / 3);


  @media (max-width: 1023px) {
    width: calc(50% - 12px);
  }


  @media (max-width: 576px) {
    width: 100%;
  }
}

.cards__item-image {
  width: 100%;
  height: auto;
  aspect-ratio: 404 / 215;
  object-fit: cover;
  object-position: center;
}

.cards__item-row {
  display: flex;
  box-sizing: content-box;
  gap: 24px;
  padding: 8px 24px 0;

  @media (max-width: 1215px) {
    gap: 18px;
    padding: 8px 16px 0;
  }
}

.cards__item-num {
  position: relative;
  flex-shrink: 0;
  display: flex;
  width: 60px;
  height: 82px;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-accent);
  margin-top: -45px;
  rotate: -3deg;
  transition: rotate .2s;

  @media (max-width: 1215px) {
    width: 48px;
    height: 64px;
    font-size: 22px;
  }

  span {
    rotate: 3deg;
  }
}

.cards__item-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1em;

  @media (max-width: 1215px) {
    font-size: 20px;
  }
}

/* Team */
.team {
  position: relative;
}

.team__heading {
  position: absolute;
  visibility: hidden;

  @media (max-width: 576px) {
    visibility: visible;
    top: 40px;
    left: 50%;
    translate: -50% 0;
    font-family: 'AlegreyaSans', sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-white);
  }
}

.team__image-container {
  width: 100%;
}

.team__img {
  width: 100%;
  height: auto;
}

/* Contact */

.contact__heading {
  font-family: 'a_Alterna';
  font-size: 104px;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 112px;


  @media (max-width: 1215px) {
    font-size: 64px;
    margin-bottom: 80px;
  }

  @media (max-width: 768px) {
    font-size: 45;
    text-align: left;
    margin-bottom: 42px;
  }
}

.contact__columns {
  display: flex;
  gap: 50px;

  @media (max-width: 1023px) {
    gap: 32px;
  }


  @media (max-width: 768px) {
    flex-direction: column;
    gap: 50px;
  }
}

.contact__column {
  width: calc(50% - 25px);

  @media (max-width: 1023px) {
    &:first-child {
      width: calc(40% - 16px);
    }

    &:last-child {
      width: calc(60% - 16px);
    }
  }

  @media (max-width: 768px) {
    &:first-child {
      width: 100%;
    }

    &:last-child {
      width: 100%;
    }
  }
}

.contact__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: fit-content;
}

.contact__contacts-tel {
  font-size: 32px;
  font-weight: 400;

  @media (max-width: 1023px) {
    font-size: 28px;
  }
}

.contact__contacts-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 500;
}

.contact__contacts-whatsapp-icon {
  width: 24px;
  height: 24px;
}

.contact__contacts-email {
  font-size: 18px;
  font-weight: 400;
}

.contact__contacts-addr {
  font-size: 18px;
  font-weight: 400;
}

.contact__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form textarea,
.contact__form select {
  box-sizing: content-box;
  width: calc(100% - 24px);
  height: 1em;
  background-color: transparent;
  padding: 12px;
  border: none;
  border-bottom: 1px solid var(--color-accent);
  font-family: 'AlegreyaSans';
  font-size: 24px;
  font-weight: 200;
  line-height: 1em;
  resize: none;

  &::placeholder {
    color: rgb(117, 117, 117);
    ;
  }

  &:focus {
    outline: none;
  }
}

.contact__form select {
  appearance: none;
  background: url(../images/chevron-down.svg) no-repeat center right;
  color: rgb(117, 117, 117);
}

.contact__form input[type="submit"] {
  width: 100%;
  border: none;
  outline: none;
  margin-top: 20px;
}

.wpcf7-not-valid-tip {
  height: 0;
  overflow: visible;
  padding-top: 12px;
  padding-left: 12px;
}

.wpcf7-response-output {
  margin-top: 0px !important;
}

/* Footer */
.footer {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
}

.footer__image-container {
  overflow: hidden;
  margin-bottom: 6%;

  @media (max-width: 768px) {
    margin-bottom: 12%;
  }
}

.footer__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__columns {
  display: flex;
  align-items: end;
  gap: 50px;
  padding-bottom: 40px;

  @media (max-width: 576px) {
    gap: 24px;
  }
}

.footer__left,
.footer__right {
  position: relative;
  width: calc(50% - 25px);

  &::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 200%;
    background-color: var(--color-accent);
    z-index: -1;
  }
}


.footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;

  &::before {
    top: -40px;
    right: 0;
    width: 200%;
    height: 300%;
    transform-origin: top right;
    rotate: 16deg;
  }

  @media (max-width: 576px) {
    width: calc(35% - 12px);
    align-items: start;

    &::before {
      top: -20px;
      rotate: 12deg;
    }
  }
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: center;

  &::before {
    left: 0;
    width: 200%;
    height: 300%;
    transform-origin: top left;
    rotate: -16deg;
  }

  @media (max-width: 922px) {
    padding: 0 20px;

    &::before {
      rotate: -7deg;
    }
  }

  @media (max-width: 768px) {
    &::before {
      left: -40px;
    }
  }

  @media (max-width: 576px) {
    width: calc(75% - 12px);
    align-items: end;
    text-align: center;

    &::before {
      top: -10px;
      left: -20px;
      rotate: -12deg;
    }
  }
}

.footer__link:hover {
  color: var(--color-black);
  text-decoration: underline;
}

.footer__logo {
  margin-bottom: 40px;
}

.footer__logo-img {
  width: 185px;
  height: auto;

  @media (max-width: 576px) {
    width: 62px;
  }
}

.footer__menu {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;

  @media (max-width: 576px) {
    align-items: center;
  }
}

.footer__title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 18px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;

  @media (max-width: 576px) {
    align-items: center;
  }
}

.footer__contacts-tel {
  font-size: 16px;
  font-weight: 400;
}

.footer__contacts-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
}

.footer__contacts-whatsapp-icon {
  width: 24px;
  height: 24px;
}

.footer__contacts-email {
  font-size: 16px;
  font-weight: 400;
}

.footer__contacts-addr {
  font-size: 16px;
  font-weight: 400;
}

/* Case Hero */
.case-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  min-height: 600px;
  padding-top: 0;
  margin-top: -60px;

  @media (max-width: 768px) {
    padding-top: 24px;
    margin-top: 0;
    height: auto;
  }
}

.case-hero__fish {
  position: relative;
  height: calc(70% + 50px);
  flex-shrink: 1;
  width: fit-content;
  z-index: 1;

  @media (max-width: 768px) {
    height: 70vh;
  }
}

.case-hero__fish-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;

  @media (max-width: 768px) {
    translate: 18% 0;
  }
}

.case-hero__inner {
  flex-shrink: 0;
  width: 1073px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: -80px;
}

.case-hero__client {
  height: 0;

  @media (max-width: 1073px) {
    padding: 0 28px;
  }
}

.case-hero__client-img {
  position: relative;
  width: 100%;
  height: auto;
  animation: client-animation 1s ease-out 1.5s both;
  z-index: -1;
}

@keyframes client-animation {
  0% {
    translate: 0 0;
  }

  100% {
    translate: 0 -98%;
  }
}

.case-hero__row {
  display: flex;
  align-items: center;
  width: calc(100% + (100vw - 100%) / 2);
  min-height: 215px;
  background-color: var(--color-accent);
  padding: 65px 0px 50px;
}

.case-hero__container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  color: white;

  @media (max-width: 1023px) {
    flex-wrap: wrap;
    gap: 24px;
  }

  @media (max-width: 576px) {
    flex-direction: column;
    text-align: center;
  }
}

.case-hero__intro {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;

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

.case-hero__intro>.big {
  font-family: 'a_Alterna';
  font-size: 124px;
  line-height: 0.8em;
  font-weight: 700;
  letter-spacing: -4px;
}

.case-hero__button {
  flex-shrink: 0;
  margin-left: auto;

  @media (max-width: 1023px) {
    width: 100%;
  }
}

/* Page 404 */
.page-404__inner {
  height: 80vh;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-404__heading {
  font-size: 120px;
  font-weight: 800;
  line-height: 1em;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.page-404__message {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 24px;
}

.pswp img {
  padding: 5vw;
  object-fit: contain;
  transition: .2s all;
}