/* ======================= MAIN STYLES ======================= */
*,
*::before,
*::after {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

html {
  box-sizing: border-box;
}

body {
  font-family: "Gilroy", sans-serif;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 18px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
p {
  font-family: "Gilroy", sans-serif;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 130%;
  font-family: "Gilroy-md", sans-serif;
}

p {
  line-height: 145%;
}

html,
body {
  scroll-behavior: smooth;
}

button {
  font-family: "Gilroy", sans-serif;
  color: var(--color-black);
}

.page {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100vh;
}

.container {
  max-width: 1380px;
  padding: 0 10px;
  margin: 0 auto;
}

footer {
  margin-top: auto;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.header__logo {
  position: relative;

  &::before {
    content: "";
    position: absolute;

    right: -50%;

    background: var(--color-green);
    border-right: 20px solid #033523;

    width: 2000px;
    height: 115px;

    z-index: -1;
    transform: skew(20deg);
  }
}

.header__logo > img {
  padding: 15px;
}

.header__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  margin-left: 40%;

  &::before {
    content: "";
    position: absolute;
    right: -100%;
    top: 0%;
    background: var(--color-gray);

    width: 100vw;
    height: 55px;

    z-index: -2;
  }
}

.header__top a {
  display: flex;
  align-items: center;
  gap: 5px;

  &:hover {
    text-decoration: underline;
  }
}

.header__top button {
  display: flex;
  align-items: center;
  background: #dcdcdc;
  padding: 17px 37.5px;
  gap: 10px;
}

.header__main > nav {
  display: flex;
  align-items: center;
  gap: 60px;
}

.header__main > nav > a:last-child {
  background: var(--color-green);
  padding: 18.5px 40px;
  color: var(--color-white);
}

.header__main {
  @media (max-width: 1068px) {
    display: none;
    position: absolute;
    flex-direction: column;
    left: 0%;
    right: 0%;
    top: 135px;
    padding: 20px;
    width: 100vw;
    height: 100vh;
    background: var(--color-black);
    font-size: 20px;
    font-weight: 600;

    z-index: 99;
  }
}

.header__main.active {
  display: flex;
}

/* HEAD */
.home__head .swiper-slide {
  height: 100vh !important;
  width: 100% !important;

  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;

  margin-top: -100px !important;

  @media (max-width: 1068px) {
    width: 100vw !important;
    height: 100vw !important;
  }
}

.home__head {
  position: relative;
  overflow: hidden;
}

.home__head-bottom {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 75%;
  z-index: 1;
}

.home__head-main {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    background: #efefef;
    right: -51%;
    top: -27%;

    width: 100vw;
    height: 370px;
    z-index: -1;

    transform: skew(35deg);
  }
}

@media (max-width: 622px) {
  .home__head-main::before {
    height: 560px;
    top: -40%;
  }
}

@media (max-width: 467px) {
  .home__head-main::before {
    height: 560px;
    top: -100%;
  }
}

@media (max-width: 1000px) {
  .home__head-main::before {
    width: 200vw;
  }
}

.home__head-main h1 {
  font-size: 38px;
  text-transform: uppercase;
  font-family: "Gilroy-bd", sans-serif;

  @media (max-width: 467px) {
    font-size: 24px;
  }
}

.home__head-main p,
.home__head-main h1 {
  width: 600px;

  @media (max-width: 586px) {
    width: auto;
  }

  @media (max-width: 622px) {
    margin-top: 0px;
  }
}

.home__head-main h1 {
  @media (max-width: 622px) {
    margin-top: -40px;
  }
}

.home__head-main h1 {
  @media (max-width: 323px) {
    margin-top: -60px;
  }
}

.home__head-main p {
  @media (max-width: 622px) {
    font-size: 14px;
  }
}

.home__head-right {
  margin-left: 100%;

  &::before {
    content: "";
    position: absolute;

    left: 172.5%;
    bottom: -200%;

    width: 100vw;
    height: 510px;

    border-left: 20px solid #033523;
    border-top: 20px solid #033523;

    background: var(--color-green);
    transform: skew(35deg);
    z-index: -1;
  }
}

/* .home__head .swiper-pagination {
  position: static !important;
  display: flex !important;

  z-index: 99;
  background: red !important;
} */

.home__head-right {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 135px;
  padding-bottom: 30px;

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

.home__head-nav {
  display: flex;

  gap: 40px;
}

.home__head-nav button {
  background: none;
}

.home__head-right > div {
  display: flex;
  align-items: center;
  width: 200px;
  margin-right: -30rem;
}

.home__head .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.2;
}

.home__head .swiper-pagination-bullet-active {
  opacity: 1;
}

/* About us */
.home__about-us {
  margin-top: 240px;

  position: relative;

  &::before {
    content: "";
    position: absolute;

    left: 35%;
    bottom: 30%;

    width: 100%;
    height: 100%;

    background: url("../assets/images/about-us-img.png");
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
  }
}

@media (max-width: 1377px) {
  .home__about-us::before {
    background: none;
  }
}

.home__about-us-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;

  @media (max-width: 1377px) {
    justify-content: center;
    align-items: center;
  }
}

.home__about-us-wrapper > p {
  width: 665px;
  margin-top: 30px;
  font-size: 18px;

  @media (max-width: 711px) {
    width: auto;
  }
}

.home__about-us-wrapper > h2 {
  font-size: 38px;
  color: var(--color-green);
  text-transform: uppercase;
  font-family: "Gilroy-bd", sans-serif;
}

.home__about-us-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;

  @media (max-width: 1377px) {
    justify-content: center;
    align-items: center;
  }
}

.home__about-us-wrapper ul li {
  width: 665px;
  padding: 30px;

  display: flex;
  flex-direction: column;
  gap: 20px;

  border: 1px solid rgba(20, 20, 20, 0.2);

  @media (max-width: 711px) {
    width: auto;
  }
}

.home__about-us-wrapper ul li span {
  font-family: "Gilroy-md", sans-serif;
}

.home__about-us-wrapper ul li img {
  width: 60px;
  height: 60px;
}

.home__about-us-wrapper ul > div {
  display: flex;
  gap: 30px;

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

/* Advantages */
.home__advantages {
  margin-top: 60px;
}

.home__advantages-wrapper {
  width: 100%;
  padding: 20px;

  background: url("../assets/images/advantages.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;

  &::before {
    content: "";
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: #adcb0a;
    opacity: 0.1;
  }
}

.home__advantages-wrapper > ul {
  display: flex;
  justify-content: space-between;
  border: 1px solid #adcb0a;
  padding: 30px;

  @media (max-width: 980px) {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
  }
}

.home__advantages-wrapper > ul > li {
  width: 260px;
  text-align: center;
}

.home__advantages-wrapper > ul > li h2 {
  color: #033523;
  text-transform: uppercase;
  font-family: "Gilroy-bd", sans-serif;
  font-size: 38px;
}

.home__advantages-wrapper > ul > li p {
  font-size: 18px;
  margin-top: 10px;
}

/* Catalog */
.home__catalog {
  margin-top: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--color-green);

  position: relative;

  &::before {
    content: "";
    position: absolute;

    top: -11.5%;
    left: -50%;

    width: 100vw;
    height: 80px;

    transform: skew(35deg);

    background: var(--color-green);
  }

  &::after {
    content: "";
    position: absolute;

    bottom: -11.5%;
    left: 50%;

    width: 100vw;
    height: 80px;

    transform: skew(35deg);

    background: var(--color-green);
  }
}

.home__catalog-wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
}

.swiper-wrapper {
  margin-top: 80px;
  margin-bottom: 80px;
}

.home__catalog-slider .swiper-wrapper > li {
  width: 325px !important;
  height: 338px !important;
  text-align: center;
  cursor: pointer;
}
.home__catalog-slider ul > li img {
  width: 325px;
  height: 240px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.home__catalog-slider ul > li .slider-main-info {
  position: relative;

  &::before {
    content: "";
    position: absolute;

    left: 6%;

    width: 90%;
    height: 100px;
    background: var(--color-white);

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    z-index: -1;
  }
}

.home__catalog-slider ul > li > div > h4 {
  padding-top: 20px;
  font-size: 18px;
}

.home__catalog-slider ul > li > div > h5 {
  padding-top: 10px;
  color: var(--color-green);
  font-size: 18px;
}

.home__catalog-top {
  display: flex;
  justify-content: space-between;
}

.home__catalog-top > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 880px;
  color: var(--color-white);
}

@media (max-width: 1395px) {
  .home__catalog-top > div:first-child {
    width: auto;
  }
}

.home__catalog-top button {
  background: none;
  padding: 10px;
  border: 1px solid var(--color-white);
  border-radius: 50%;

  transition: all 0.2s linear;

  &:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.home__catalog-slider {
  @media (max-width: 1385px) {
    width: 1000px;
  }

  @media (max-width: 1044px) {
    width: 670px;
  }

  @media (max-width: 701px) {
    width: 330px;
  }
}

.home__catalog-slider .swiper-pagination {
  right: 0 !important;
  left: 30% !important;
}

.home__catalog-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.2;
}

.home__catalog-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Why we */
.home__why-we {
  margin-top: 160px;
}

.home__why-we-top {
  text-align: center;
}

.home__why-we-top > h2 {
  color: var(--color-green);
  font-size: 38px;
  text-transform: uppercase;
}

.home__why-we-top > p {
  margin-top: 30px;
}

.home__why-we-wrapper ul {
  display: flex;
  margin-top: 60px;
  gap: 30px;

  @media (max-width: 1315px) {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.home__why-we-wrapper ul > li {
  width: 430px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.2);

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

.home__why-we-wrapper ul > li p {
  margin-top: 20px;
}

.home__why-we-wrapper iframe {
  margin-top: 35px;

  @media (max-width: 875px) {
    height: 320px;
  }

  @media (max-width: 426px) {
    height: 280px;
  }
}


/* Contacts */
.home__contacts {
  margin-top: 120px;
}

.home__contacts-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: var(--color-green);
  padding: 60px;

  position: relative;

  &::before {
    content: "";
    position: absolute;

    top: -11.5%;
    left: 0%;

    width: 50%;
    height: 80px;

    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);

    background: var(--color-green);
  }

  &::after {
    content: "";
    position: absolute;

    bottom: -11.5%;
    right: 0%;

    width: 50%;
    height: 80px;

    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);

    background: var(--color-green);
  }
}

.home__contacts-left {
  width: 640px;
  color: var(--color-white);

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

.home__contacts-left > p {
  margin-top: 20px;
}

.home__contacts-right form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home__contacts-right form > input,
.home__contacts-right form > textarea {
  padding: 20px;
  background: var(--color-white);
  width: 440px;

  &::placeholder {
    opacity: 0.4;
    font-size: 18px;
  }

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

.home__contacts-right form > textarea {
  height: 120px;
  resize: none;
  font-family: "Gilroy-md", sans-serif;
}

.home__contacts-right form > button {
  padding: 18px;
  background: none;
  border: 2px solid var(--color-white);
  color: var(--color-white);

  transition: all 0.2s linear;

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

/* Our clients */
.home__our-clients {
  margin-top: 120px;
}

.home__our-clients-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 300px !important;
  height: 100px !important;
  padding: 40px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--color-gray);
}

.swiper-slide img {
  width: 225px;
  height: 80px;
  object-fit: contain;
}

.home__our-clients-slider {
  @media (max-width: 1385px) {
    width: 1000px;
  }

  @media (max-width: 1044px) {
    width: 670px;
  }

  @media (max-width: 701px) {
    width: 330px;
  }
}

.home__our-clients-slider .swiper-pagination {
  position: static !important;
  float: left !important;
  width: auto;
  margin-top: 60px;
}

.home__our-clients-slider .swiper-pagination-bullet {
  background: var(--color-black);
  opacity: 0.2;
}

.home__our-clients-slider .swiper-pagination-bullet-active {
  background: var(--color-green);
  opacity: 1;
}

.home__our-client-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 60px;
}

.home__our-client-top > div:first-child {
  width: 880px;
}

.home__our-clients-navigation {
  display: flex;
  gap: 10px;
}

.home__our-clients-navigation button {
  padding: 10px;
  border: 1px solid var(--color-green);
  border-radius: 50%;
  background: none;

  transition: all 0.2s linear;

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

/* footer */
.footer {
  margin-top: 190px;
  background: var(--color-green);
  padding: 40px 0;

  position: relative;

  &::before {
    content: "";
    position: absolute;

    top: -11.5%;
    left: -50%;

    width: 100vw;
    height: 80px;

    clip-path: polygon(0 0, 93% 0, 100% 100%, 0% 100%);

    background: var(--color-green);
  }
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
  color: var(--color-white);

  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  @media (max-width: 555px) {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 40px;
  }
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  color: var(--color-white);
  gap: 20px;
}

.footer__logo > p {
  width: 300px;
  margin-top: 30px;
}

.footer__wrapper nav {
  display: flex;
  flex-direction: column;
  gap: 20px;

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

.footer__wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__wrapper ul > li {
  width: 200px;

  @media (max-width: 593px) {
    width: auto;
  }
}

.footer__wrapper ul > li a {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;

  @media (max-width: 593px) {
    width: auto;
  }
}

.footer__wrapper iframe {
  border: none;

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

.swiper-slide > .home__catalog-info {
  display: none !important;
}

.swiper-slide.active .home__catalog-preview {
  display: none !important;
}

.swiper-slide.active > .home__catalog-info {
  display: block !important;
  background: var(--color-white);
  height: 338px;
  border-radius: 20px;
  padding: 20px;
}

.swiper-slide.active > .home__catalog-info li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.swiper-slide.active > .home__catalog-info ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.swiper-slide.active > .home__catalog-info li > p {
  font-size: 12px;
}

.swiper-slide.active > .home__catalog-info .home__catalog-link {
  margin-top: 60px;
}

.swiper-slide.active > .home__catalog-info .home__catalog-link a {
  padding: 20px 60px;
  background: var(--color-green);
  color: var(--color-white);

  margin-top: 20px;
}

.model-window {
  display: none;
}

.model-window.active {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;

  width: 100vw;
  height: 100%;

  background: rgba(20, 20, 20, 0.5);
}

.model-window-wrapper {
  width: 500px;
  height: 300px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
