:root {
  --main-font: "Manrope", sans-serif;
  --unbounded-font: "Unbounded", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 360px;
  background: #fff;
  color: #201f21;
  font-family: var(--main-font);
}

main {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
textarea,
button,
select,
label {
  font-family: var(--main-font);
  border: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1254px;
  padding: 0 15px;
  margin: 0 auto;
}

.hero-global {
  background: url(../img/hero-bg.webp) no-repeat center / cover;
  background-attachment: fixed;
  position: relative;
}

.hero-global__inner {
  background-color: rgba(40, 35, 47, 0.5);
  position: relative;
  z-index: 10;
}

.header {
  transition: 0.3s;
  transition-delay: 1s;
}

.header._active {
  opacity: 0;
  transform: translateY(-100px);
}

.hero-global__black {
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  position: absolute;
  z-index: 2;
  background-color: #222222;
  transition: 1s;
}

.hero-global__black._active {
  height: 100%;
}

.header__block {
  padding: 24px 0 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.header__wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__label {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

.hero {
  padding: 248px 0 96px;
  margin-bottom: 96px;
}

.header__button {
  display: flex;
  align-items: center;
  padding: 16px 16px 16px 24px;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 150%;
  color: #25064d;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.header__button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 40px;
  transition: 0.5s;
  transition-delay: 1s;
}

.hero__nav._active {
  opacity: 0;
  transform: translateX(-50px)
}

.hero__link {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.6;
  transition: 0.3s;
}

.hero__link:hover {
  opacity: 1;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  transition: 0.5s;
  transition-delay: 1s;
}

.hero__bottom._active {
  opacity: 0;
  transform: translateY(100px);
}

.hero__text {
  font-weight: 500;
  font-size: 24px;
  line-height: 133%;
  color: #fff;
  margin-bottom: 0;
}

.hero__right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero__line {
  width: 112px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.hero__button {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: 0.3s;
}

.hero__button:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.projects {
  overflow: hidden;
  margin-bottom: 96px;
}

.main-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  transition: 0.5s;
  margin-bottom: 40px;
}

.main-top._active {
  opacity: 0;
  transform: translateY(-100px);
}

.main-top__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 133%;
  color: #201f21;
  margin-bottom: 0;
}

.main-top__count {
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 24px;
  line-height: 133%;
  text-align: right;
  color: #25064d;
}

.projects__top {
  display: block;
  position: relative;
  margin-bottom: 16px;
}

.projects__year {
  position: absolute;
  right: 16px;
  top: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: right;
  color: #fff;
}

.projects__slide {
  transition: 0.5s;
}

.projects__slide._active {
  opacity: 0;
  transform: translateX(-50px);
}

.projects__slide:nth-child(1) {
  transition-delay: 0.3s;
}

.projects__slide:nth-child(2) {
  transition-delay: 0.5s;
}

.projects__slide:nth-child(3) {
  transition-delay: 0.7s;
}

.projects__slide:nth-child(4) {
  transition-delay: 0.9s;
}

.projects__slide:nth-child(5) {
  transition-delay: 1.1s;
}

.projects__slide:nth-child(6) {
  transition-delay: 1.3s;
}

.projects__slider {
  overflow: visible;
}

.projects__caption {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #201f21;
}

.projects__arrow {
  position: absolute;
  top: 100px;
  width: 56px;
  height: 56px;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  transition: 0.5s;
  transition-delay: 1.5s;
}

.projects__arrow._active {
  opacity: 0;
  transform: scale(0);
}

.projects__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.projects__image {
    width: 100%;
    border-radius: 2px;
    height: 230px;
    object-fit: cover;
}

.projects__arrow.prev {
  left: -28px;
}

.projects__arrow.next {
  right: -28px;
}

.services {
  margin-bottom: 96px;
}

.services__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 40px;
  gap: 24px;
}

.services__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  transition: 0.5s;
}

.services__item._active {
  transform: translateY(100px);
  opacity: 0;
}

.services__item:nth-child(1) {
  transition-delay: 0.5s;
}

.services__item:nth-child(2) {
  transition-delay: 0.7s;
}

.services__item:nth-child(3) {
  transition-delay: 0.9s;
}

.services__item:nth-child(4) {
  transition-delay: 1.1s;
}

.services__wrapper {
  display: flex;
  flex-direction: column;
}

.services__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.services__caption {
  font-weight: 600;
  font-size: 22px;
  line-height: 109%;
  color: #201f21;
  margin-top: 0;
  margin-bottom: 16px;
}

.services__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #201f21;
  margin-bottom: 0;
}

.services__align {
  display: flex;
  justify-content: center;
  transition: 0.5s;
}

.services__align.second {
  margin-top: 40px;
}

.service__align._active {
  opacity: 0;
  transform: scale(0);
}

.services__more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #25064d;
  transition: 0.3s;
  padding: 15px;
  transition: 0.3s;
}

.services__more:hover {
  background: #25064d;
  color: #fff;
}

.services__more svg path {
  transition: 0.3s;
}

.services__more:hover svg path {
  stroke: #fff;
}

.clients {
  margin-bottom: 96px;
}

.clients__block {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  transition: 0.5s;
  align-items: center;
}

.clients__block._active {
  opacity: 0;
  transform: scale(0);
}

.contacts {
  margin-bottom: 96px;
}

.contacts__block {
  display: grid;
  grid-template-columns: 1fr 392px;
  gap: 24px;
}

.contacts__map {
  transition: 0.5s;
}

.contacts__map._active {
  transform: translateX(-100px);
  opacity: 0;
}

.contacts__map div {
  height: 100%;
}

.contacts__map iframe {
  display: block;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
}

.contacts__bottom {
  padding-top: 80px;
}

.contacts__address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 23px;
  border-left: 1px solid #e3e1e6;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #201f21;
  margin-bottom: 24px;
}

.contacts__main {
  border: 1px solid #e3e1e6;
  border-radius: 2px;
  padding: 23px;
}

.contacts__capsule {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contacts__phone {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #201f21;
  margin-bottom: 8px;
}

.contacts__time {
  font-weight: 400;
  font-size: 13px;
  line-height: 123%;
  color: #201f21;
}

.contacts__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  padding: 16px;
  background: #25064d;
  border-radius: 2px;
  transition: 0.3s;
}

.contacts__button:hover {
  background: rgba(37, 6, 77, 0.8);
}

.footer {
  padding: 40px 0 48px;
  background: #201f21;
}

.footer__top {
  display: grid;
  grid-template-columns: 392px auto 392px;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
}

.footer__link {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #fff;
}

.footer__link.second {
  text-align: right;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__year {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  opacity: 0.7;
  margin-bottom: 0;
}

.preloader {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #e4e3e5;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  transition: 0.5s;
}

.preloader.hidden {
  opacity: 0;
  z-index: -10;
}

.preloader__spinner {
  animation: spin-reverse 2s linear infinite;
}

@keyframes spin-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: minmax(300px, 600px);
  transition: 0.3s;
  z-index: -10;
  overflow: hidden;
  padding: 30px 16px;
}

.modal__bg {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.3s;
  opacity: 0;
  z-index: -10;
}

.modal__window {
  position: relative;
  background: #fff;
  padding: 64px 54px 64px 57px;
  max-width: 600px;
  width: 100%;
  transition: 0.3s;
  opacity: 0;
  z-index: -10;
  transform: translateY(100px);
}

.modal__window br {
  display: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0;
  background: none;
}

.modal.active {
  z-index: 1250;
  overflow-y: auto;
}

.modal.active .modal__window {
  z-index: 151;
  opacity: 1;
  transform: translateY(0);
}

.modal.active .modal__bg {
  z-index: 150;
  opacity: 1;
}

.modal__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 133%;
  color: #201f21;
  text-align: center;
  margin-bottom: 24px;
}

.modal__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  padding: 16px;
  background: #25064d;
  border-radius: 2px;
  transition: 0.3s;
}

.modal__input {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #201f21;
  padding: 15px;
  border: 1px solid #e3e1e6;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
  margin-bottom: 16px;
}

.services__image {
  height: 100%;
  object-fit: cover;
}

.clients__item img {
  width: 100%;
}

.contacts__wrapper {
  transition: 0.5s;
}

.contacts__wrapper._active {
  transform: translateX(-100px);
  opacity: 0;
}

.footer__bottom {
  display: flex;
  justify-content: center;
}

.footer__pill {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  opacity: 0.7;
}

.page-hero {
  padding: 96px 0 72px;
}

.page-hero--single {
  padding-bottom: 88px;
}

.page-hero__inner {
  max-width: 860px;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

.page-hero__back:hover {
  color: #fff;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
}

.page-hero__title {
  font-weight: 600;
  font-size: 48px;
  line-height: 110%;
  color: #fff;
  margin-bottom: 16px;
  max-width: 920px;
}

.page-hero__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  max-width: 720px;
}

.projects-archive {
  padding: 96px 0;
}

.projects-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.projects-archive__item {
  min-width: 0;
}

.projects-archive__link {
  display: block;
  height: 100%;
}

.projects-archive__excerpt {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  font-size: 15px;
  line-height: 160%;
  color: rgba(32, 31, 33, 0.75);
}

.projects-archive__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background: #e4e3e5;
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 24px;
  line-height: 133%;
  color: #25064d;
}

.project-empty {
  max-width: 808px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #e3e1e6;
  border-radius: 2px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #201f21;
}

.project-single {
  padding: 96px 0;
}

.project-single__layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-single__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.project-single__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(32, 31, 33, 0) 0%, rgba(32, 31, 33, 0.12) 100%);
  pointer-events: none;
}

.project-single__image {
  width: 100%;
  border-radius: 2px;
  aspect-ratio: 1.61 / 1;
  object-fit: cover;
  object-position: center 62%;
}

.project-gallery-slider__main {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.project-gallery-slider__slide {
  background: #e4e3e5;
}

.project-gallery-slider__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.61 / 1;
  object-fit: cover;
  object-position: center 62%;
}

.project-gallery-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
  transition: 0.3s;
}

.project-gallery-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.project-gallery-slider__arrow.prev {
  left: 24px;
}

.project-gallery-slider__arrow.next {
  right: 24px;
}

.project-gallery-slider__thumbs {
  margin-top: 16px;
  overflow: hidden;
}

.project-gallery-slider__thumb {
  width: 148px !important;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0.55;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.3s;
}

.project-gallery-slider__thumb:hover,
.project-gallery-slider__thumb.swiper-slide-thumb-active {
  opacity: 1;
  border-color: #25064d;
}

.project-gallery-slider__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  object-position: center 58%;
}

.project-overview,
.project-story,
.project-gallery,
.project-pager,
.project-related {
  display: block;
}

.project-overview__header,
.project-story__header,
.project-gallery__header,
.project-related__header {
  max-width: 760px;
  margin-bottom: 24px;
}

.project-overview__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #25064d;
}

.project-overview__title,
.project-cta__title {
  font-weight: 600;
  font-size: 32px;
  line-height: 118%;
  color: #201f21;
  margin-bottom: 0;
}

.project-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-overview__card {
  padding: 24px;
  border: 1px solid #e3e1e6;
  border-radius: 2px;
  background: linear-gradient(180deg, #faf9fb 0%, #f3f0f8 100%);
  min-height: 144px;
}

.project-overview__card--wide {
  grid-column: span 2;
}

.project-overview__card--text {
  justify-content: space-between;
}

.project-overview__label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(37, 6, 77, 0.7);
}

.project-overview__value {
  display: block;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #201f21;
}

.project-overview__description {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: rgba(32, 31, 33, 0.85);
}

.project-overview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-overview__tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(37, 6, 77, 0.08);
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #25064d;
}

.project-single__content {
  border: 1px solid #e3e1e6;
  border-radius: 2px;
  padding: 40px 48px;
  background: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: #201f21;
  max-width: 808px;
  width: 100%;
  margin: 0 auto;
}

.project-single__content h2,
.project-single__content h3,
.project-single__content h4 {
  font-weight: 600;
  line-height: 133%;
  color: #201f21;
}

.project-single__content p,
.project-story__text p {
  margin-bottom: 18px;
}

.project-single__content>*:last-child {
  margin-bottom: 0;
}

.project-story__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-story__item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.project-story__item--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.project-story__item--reverse .project-story__content {
  order: 2;
}

.project-story__item--reverse .project-story__media {
  order: 1;
}

.project-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border-radius: 2px;
  background: #faf9fb;
  border: 1px solid #e3e1e6;
}

.project-story__label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #25064d;
}

.project-story__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 120%;
  color: #201f21;
  margin-bottom: 18px;
}

.project-story__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: rgba(32, 31, 33, 0.9);
}

.project-story__media {
  overflow: hidden;
  border-radius: 2px;
}

.project-story__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.project-result__inner {
  padding: 40px 48px;
  border-radius: 2px;
  background: linear-gradient(135deg, #201f21 0%, #25064d 100%);
}

.project-result .project-overview__eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.project-result__text {
  max-width: 760px;
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  color: #fff;
}

.project-result__text p:last-child {
  margin-bottom: 0;
}

.project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.project-gallery__item {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 2px;
}

.project-gallery__item--large {
  grid-column: span 8;
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 58%;
}

.project-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 40px 48px;
  border-radius: 2px;
  background: linear-gradient(180deg, #faf9fb 0%, #f1ecf8 100%);
  border: 1px solid #e3e1e6;
}

.project-cta__text {
  max-width: 620px;
  margin: 16px 0 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: rgba(32, 31, 33, 0.85);
}

.project-cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-pager__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-pager__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  padding: 28px;
  border-radius: 2px;
  border: 1px solid #e3e1e6;
  background: #fff;
  transition: 0.3s;
}

.project-pager__item:hover {
  background: #25064d;
  border-color: #25064d;
}

.project-pager__direction {
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(32, 31, 33, 0.6);
  transition: 0.3s;
}

.project-pager__title {
  margin-top: 28px;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #201f21;
  transition: 0.3s;
}

.project-pager__item:hover .project-pager__direction,
.project-pager__item:hover .project-pager__title {
  color: #fff;
}

.projects-archive__link .projects__image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 58%;
}

.project-related__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
  align-items: start;
}

.project-related__card {
  min-width: 0;
  width: auto !important;
}

.project-related__link {
  display: block;
}

.project-related__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: #e4e3e5;
  aspect-ratio: 1.25 / 1;
}

.project-related__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 0.5s ease;
}

.project-related__year {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #fff;
  text-shadow: 0 1px 12px rgba(32, 31, 33, 0.35);
}

.project-related__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--unbounded-font);
  font-weight: 300;
  font-size: 20px;
  line-height: 133%;
  color: #25064d;
}

.project-related__name {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: #201f21;
  transition: color 0.3s ease;
}

.project-related__link:hover .project-related__image {
  transform: scale(1.04);
}

.project-related__link:hover .project-related__name {
  color: #25064d;
}

.project-single__button {
  width: auto;
  min-width: 280px;
}

.services-archive {
  padding: 100px 0 80px;
}

.service-single {
  padding: 100px 0;
}

.service-single__image {
  margin-bottom: 35px;
}

@media (max-width: 1300px) {
  .projects__arrow {
    top: 120px;
  }

  .projects__arrow.prev {
    left: 5px;
  }

  .projects__arrow.next {
    right: 5px;
  }

  .footer__top {
    grid-template-columns: 260px auto 260px;
  }

  .footer__bottom {
    grid-template-columns: 260px auto 260px;
  }
}

@media (max-width: 1000px) {
  .clients__block {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .projects-archive__grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-overview__grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-story__item,
  .project-story__item--reverse {
    grid-template-columns: 1fr;
  }

  .project-story__item--reverse .project-story__content,
  .project-story__item--reverse .project-story__media {
    order: initial;
  }

  .project-gallery__item {
    grid-column: span 6;
  }

  .project-gallery__item--large {
    grid-column: span 12;
  }

  .project-cta {
    grid-template-columns: 1fr;
  }

  .project-pager__title {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .services__block {
    grid-template-columns: 1fr;
  }

  .contacts__block {
    grid-template-columns: 1fr;
  }

  .contacts__wrapper {
    order: -1;
  }

  .contacts__bottom {
    padding-top: 20px;
  }

  .contacts__map {
    height: 400px;
  }

  .contacts {
    margin-bottom: 50px;
  }

  .project-pager__grid {
    grid-template-columns: 1fr;
  }

  .project-related__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 800px) {
  .projects__arrow {
    top: 171px;
    width: 40px;
    height: 40px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .footer__link {
    text-align: center;
    order: -3;
  }

  .footer__link.second {
    order: -2;
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .project-story__title {
    font-size: 26px;
  }

  .project-result__text {
    font-size: 21px;
  }

  .project-gallery-slider__arrow {
    width: 44px;
    height: 44px;
  }

  .project-gallery-slider__arrow.prev {
    left: 16px;
  }

  .project-gallery-slider__arrow.next {
    right: 16px;
  }
}

@media (max-width: 700px) {
  .header__label {
    display: none;
  }

  .hero__bottom {
    grid-template-columns: 1fr;
  }

  .hero__line {
    width: 100%;
  }

  .hero {
    padding: 100px 0 50px;
  }

  .page-hero {
    padding: 80px 0 56px;
  }

  .page-hero--single {
    padding-bottom: 72px;
  }

  .page-hero__title {
    font-size: 36px;
  }

  .project-overview__title,
  .project-cta__title {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .header__block {
    flex-direction: column;
  }

  .header__button {
    width: 100%;
    justify-content: center;
  }

  .hero__text {
    font-size: 20px;
  }

  .hero__nav {
    gap: 16px 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .hero__right {
    flex-direction: column;
  }

  .hero {
    margin-bottom: 50px;
  }

  .page-hero__text {
    font-size: 16px;
  }

  .main-top__title {
    font-size: 20px;
  }

  .main-top__count {
    font-size: 20px;
  }

  .main-top {
    margin-bottom: 24px;
  }

  .services__item {
    grid-template-columns: 1fr;
  }

  .services__image {
    width: 100%;
    height: auto;
  }

  .services__caption {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .services__text {
    font-size: 15px;
  }

  .services__top {
    margin-bottom: 16px;
  }

  .services {
    margin-bottom: 50px;
  }

  .projects__arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .projects {
    margin-bottom: 50px;
  }

  .projects-archive {
    padding: 50px 0;
  }

  .projects-archive__grid {
    grid-template-columns: 1fr;
  }

  .project-single {
    padding: 50px 0;
  }

  .project-single__layout {
    gap: 24px;
  }

  .project-overview__grid {
    grid-template-columns: 1fr;
  }

  .project-overview__card,
  .project-overview__card--wide {
    grid-column: span 1;
    min-height: 0;
  }

  .project-overview__title,
  .project-cta__title {
    font-size: 24px;
  }

  .project-single__content {
    padding: 24px 20px;
  }

  .project-story__content,
  .project-result__inner,
  .project-cta {
    padding: 24px 20px;
  }

  .project-story__title {
    font-size: 22px;
  }

  .project-result__text {
    font-size: 18px;
  }

  .project-gallery__grid {
    gap: 16px;
  }

  .project-gallery__item,
  .project-gallery__item--large {
    grid-column: span 12;
  }

  .project-related__grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .project-related__thumb {
    aspect-ratio: 1.35 / 1;
  }

  .project-gallery__item img,
  .project-story__media img {
    min-height: 240px;
  }

  .project-gallery-slider__thumb {
    width: 104px !important;
  }

  .project-gallery-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .project-gallery-slider__arrow.prev {
    left: 12px;
  }

  .project-gallery-slider__arrow.next {
    right: 12px;
  }

  .project-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-single__button {
    width: 100%;
    min-width: 0;
  }

  .services__block {
    gap: 40px;
  }

  .clients__block {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .clients {
    margin-bottom: 50px;
  }

  .footer {
    padding: 40px 0;
  }

  .modal__window {
    padding: 50px 20px;
  }

  .modal__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .footer__pill {
    text-align: center;
  }

  .footer__pill.la {
    display: none;
  }
}
@media (min-width:768px) {
    .header__logo img {
        width: 180px;
        height: 115px;
        object-fit: cover;
    }
}

.service-single__image._anim-items img{width:100%}