@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
  --white: #f6f5f3;
  --black: #000000;
  --grey: #eeecea;
  --primary-red: #730705;
}

html {
  font-size: 16px;
}

body {
  font-family: Montserrat, sans-serif;
}

h1 {
  font-weight: 600;
  letter-spacing: 1px;
}

h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  text-transform: uppercase;
}

.bold {
  font-weight: 700;
}

.semi-bold {
  font-weight: 600;
}

.light {
  font-weight: 300;
}

.span-union {
  display: inline-block;
}

ul {
  padding-left: 20px;
}

.list-style-none {
  list-style: none;
  padding-left: 0;
}

p {
  font-size: 18px;
  line-height: 24px;
}

.italic {
  font-style: italic;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-red {
  background-color: var(--primary-red);
  color: var(--white);
}

.bg-white {
  background-color: var(--white);
  color: var(--primary-red);
}

.bg-grey {
  background-color: var(--grey);
  color: var(--primary-red);
}

.wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 128px 64px;
}

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

.header {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.not-found {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.not-found h1 {
  font-size: 48px;
  line-height: 48px;
}

.not-found a {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--white);
}

.not-found p {
  font-size: 24px;
  font-weight: 600;
}

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

.title h1 {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: 1px;
  font-weight: 700;
}

.title div {
  background-color: var(--primary-red);
  width: 48px;
  height: 4px;
  margin-top: 24px;
}

.notice {
  font-size: 14px;
  line-height: 20px;
  color: var(--black);
  opacity: 0.6;
}

.bg-red .title div {
  background-color: var(--white);
}

.description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  width: 100%;
}

.desicion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 160px;
}

.desicion-title {
  font-size: 32px;
  line-height: 48px;
}

.desicions {
  display: flex;
  gap: 48px;
}

.desicion {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 48px;
  border-left: 2px solid var(--primary-red);
  padding-left: 48px;
}

.desicion-text {
  font-size: 20px;
  line-height: 38px;
  color: var(--black);
  text-transform: uppercase;
}

.number-m {
  font-size: 32px;
  line-height: 32px;
  font-weight: 700;
}

.number-l {
  font-size: 64px;
  line-height: 64px;
  font-weight: 700;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 32px;
  margin-top: 64px;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.project-image-wrapper {
  transition: transform 0.3s ease;
}

.project-image-wrapper:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.project-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tag {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  padding: 4px 8px;
  border: 1px solid var(--primary-red);
  border-radius: 24px;
}

.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  margin-top: 64px;
}

.client-logo {
  margin: 0 auto;
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.logo-small {
  width: 90px;
}

.logo-big {
  height: 60px;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 64px;
}

.process-line {
  width: 100%;
  height: 1px;
  background-color: var(--white);
}

.process-step {
  display: grid;
  grid-template-columns: 270px 1fr 1fr 1fr;
  gap: 32px;
  text-transform: uppercase;
}

.process-title-wrapper {
  display: flex;
  flex-direction: column;
}

.process-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
}

.timeline-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dot-line-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 24px;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-red);
}

.timeline-line {
  height: 1px;
  width: calc(100% - 22px);
  background-color: var(--primary-red);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-title {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}

.timeline-description {
  color: var(--black);
  font-size: 14px;
  line-height: 22px;
}

.cooperation-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 64px;
}

.cooperation-card {
  display: flex;
  align-items: start;
  padding: 32px 0;
  gap: 64px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.cooperation-card:last-child {
  border-bottom: none;
}

.cooperation-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  width: 420px;
}

.cooperation-description {
  font-size: 18px;
  line-height: 24px;
  font-weight: 300;
  color: var(--black);
  width: 100%;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.matters-title {
  font-size: 64px;
  font-style: italic;
  line-height: 96px;
  font-weight: 400;
}

.footer-description {
  text-align: center;
}

.footer-contacts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 64px;
  border-top: 1px solid var(--white);
}

.footer-icons {
  display: flex;
  gap: 32px;
}

.footer-icon:hover {
  opacity: 0.7;
}

@media (max-width: 960px) {
  .wrapper {
    padding: 64px 24px;
  }

  .header {
    flex-direction: column;
  }

  .header svg {
    transform: rotate(90deg);
  }

  h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .display-row {
    flex-direction: column;
  }

  .description-wrapper {
    margin-top: 32px;
  }

  .title h1 {
    font-size: 32px;
    line-height: 32px;
  }

  .desicions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .desicion {
    width: 100%;
    padding-left: 16px;
  }

  .desicion-title {
    font-size: 24px;
    line-height: 36px;
  }

  .desicion-wrapper {
    margin-top: 32px;
  }

  .desicion {
    padding-left: 24px;
    gap: 24px;
  }

  .desicion-text {
    font-size: 16px;
    line-height: 28px;
  }

  .number-l {
    font-size: 32px;
    line-height: 32px;
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
  }

  .project-image {
    height: 260px;
  }

  .clients {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 32px;
  }

  .client-logo {
    height: 80px;
  }

  .timeline-wrapper {
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
  }

  .dot-line-wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .timeline-line {
    width: 1px;
    height: 100%;
  }

  .timeline-card {
    flex-direction: row;
  }

  .process {
    gap: 32px;
    margin-top: 32px;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .cooperation-wrapper {
    margin-top: 32px;
  }

  .cooperation-card {
    flex-direction: column;
    gap: 16px;
  }

  .cooperation-title {
    width: 100%;
  }

  .footer-contacts {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding-top: 32px;
  }
}
