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

:root {
  --primaryColor: #0d0d12;
  --blockRadius: 30px;
}

html,
body {
  font-family: 'Inter', sans-serif;
  color: var(--primaryColor);
  color: #0d0d12;
  background-color: #FFF6E0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}


.hidden {
  display: none;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 52px;
  width: 200px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--primaryColor);
  box-shadow: 0px 1px 2px rgba(13, 13, 18, 0.06);
  padding: 5px 16px;
  border-radius: 16px;
}

.btn--outline {
  border: 1px solid #dfe1e6;
  background-color: #fff;
}

.btn--primary {
  background-color: var(--primaryColor);
  color: white;
}

.btn--square {
  width: 48px;
  height: 48px;
  border: 1px solid #dfe1e6;
  background-color: #fff;
}

/* hero */
.hero {
  padding-top: 40px;
  padding-bottom: 40px;
  background-image: url('../images/header-grid-mobile.png');
  background-repeat: no-repeat;
  background-position: -20px 0px;
  background-size: 691px auto;
}

.hero--inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero--logo {
  margin-bottom: 20px;
}

.hero--title {
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero--text {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero--actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.hero--actions .btn {
  width: 100%;
}

.hide-mobile {
  display: none;
}

@media screen and (min-width: 769px) {
  .hide-mobile {
    display: block;
  }

  .hero {
    padding-top: 140px;
    background-image: url('../images/header-grid.png');
    background-size: 1440px auto;
    background-position: center 110px;
  }
  .hero--logo {
    margin-bottom: 40px;
  }
  .hero--title {
    font-size: 64px;
  }
  .hero--text {
    font-size: 18px;
  }

  .hero--actions {
    flex-direction: row;
  }

  .hero--actions .btn {
    width: 200px;
  }
}

/* projects */
.projects {
  padding: 12px 0;
}
.projects--inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1070px;
  margin: 0 auto;
}
.project {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dfe1e7;
  box-shadow: 0px 4px 8px -1px rgba(13, 13, 18, 0.02);
  border-radius: 28px;
  padding: 20px;
  height: 467px;
}

.project--logo {
  display: none;
  width: 100px;
  height: 100px;
  /*border: 1px solid #dfe1e6;*/
  background-color: #fff;
  /*box-shadow: 0px 1px 2px rgba(13, 13, 18, 0.06);*/
  /*border-radius: 16px;*/
  overflow: hidden;
  margin-bottom: 16px;
}

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

.project--title {
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.3em;
  margin-bottom: 8px;
}

.project--text {
  font-size: 18px;
  color: #666d80;
  line-height: 1.5;
  margin-bottom: 24px;
}

.project--btn {
  width: 100%;
  margin-bottom: 24px;
}

.project--info {
  flex-grow: 0;
  flex-shrink: 0;
}
.project--asset {
  height: 200px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  flex-grow: 0;
  flex-shrink: 0;
  margin-top: auto;
}

.project--asset img,
.project--asset video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .projects--inner {
    gap: 24px;
  }
  .project {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }
  .pin-spacer:nth-child(even) .project {
    flex-direction: row-reverse;
  }

  .project--info {
    flex: 1;
  }
  .project--asset {
    flex: 1;
    height: 350px;
  }
  .project--logo {
    display: block;
  }

  .project--btn {
    width: auto;
  }
}

@media screen and (min-width: 1100px) {
  .project {
    padding: 24px;
    height: 448px;
  }
  .project--info {
    padding: 24px;
    width: 480px;
  }
  .project--asset {
    flex: inherit;
    height: 400px;
    width: 520px;
  }
  .project--title {
    font-size: 48px;
  }
}


/* news */


/* news */
.news {
  padding: 20px 0;
}
.news--inner {
  background: #cbdbfb;
  box-shadow: 0px 4px 8px -1px rgba(13, 13, 18, 0.02);
  border-radius: var(--blockRadius);
  padding: 40px 16px;
}

.news--title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.news--text {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.news--slide {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid #dfe1e7;
  box-shadow: 0px 1px 2px rgba(13, 13, 18, 0.06);
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.news--label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6em;
  border-radius: 6px;
  padding: 3px 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-slide--title {
  font-size: 24px;
  line-height: 1.3em;
  margin-bottom: 24px;;
}


.swiper-controls {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 25px;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  transform: none;
  display: flex;
  width: 64px;
  height: 52px;
  border: 1px solid #dfe1e6;
  box-shadow: 0px 1px 2px rgba(13, 13, 18, 0.06);
  border-radius: 16px;
  background-color: #fff;

  margin: 0 !important;
}

.swiper-button-next {
  transform: rotate(180deg);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif !important;
  color: var(--primaryColor);
}

.swiper-button-prev:after {
  content: '<-' !important;
}

.swiper-button-next:after {
  content: '<-' !important;
}

@media screen and (min-width: 992px) {
  .news {
    padding: 40px 0 144px;
  }
  .news--title {
    margin-bottom: 24px;
  }
 
  .news-swiper {
    position: relative;
  }
  .swiper {
    width: 100%;
  }
  .swiper-controls {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 24px;;
  }
}

/* footer */

.footer {
  max-width: 100%;
  background-color: #0d0d12;
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer--logo {
  margin-bottom: 24px;
}

.footer-company {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer--social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.footer--social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #272835;
  box-shadow: 0px 5px 10px -2px rgba(13, 13, 18, 0.04),
    0px 4px 8px -1px rgba(13, 13, 18, 0.02);
}

@media screen and (min-width: 768px) {
  .footer {
    padding: 104px 0px;
    background-image: url('../images/footer-grid.png');
    background-position: top center;
    background-size: 1812px auto;
    background-repeat: no-repeat;
  }
}
