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

:root {
  --font-family: "Poppins", sans-serif;
  --color-dark: #1b1a1a;
  --color-text: #403e3b;
  --color-gray: #645c55;
  --color-light: #ffffff;
  --color-bg: #ece7e4;
  --color-bg-light: #f7f7f7;
  --color-bg-dark: #cec4bc;
  --container-width: 1440px;
  --transition: .3s ease;
  --font-weight-regular: 400;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-light);
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.button {
  padding: 11px 20px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.button--primary {
  background: var(--color-dark);
  color: var(--color-light);
}

.button--primary:hover {
  opacity: .9;
}

.button--secondary {
  background: transparent;
  color: var(--color-dark);
}

.button--text {
  background: transparent;
  color: var(--color-dark);
}

.header {
  padding: 22px 0;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px; 
}

.header__link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-dark);
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 14px;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header__link:hover {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  background: var(--color-bg);
}

.hero__content {
  display: flex;
  align-items: center;
  gap: 120px;
}

.hero__info {
  flex: 1;
}

.hero__image {
  flex: 1;
}

.hero__subtitle {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.hero__title {
  margin-bottom: 30px;
  font-size: 64px;
  font-weight: 400;
  line-height: 110%;
  color: var(--color-dark);
}

.hero__text {
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 150%;
  color: var(--color-text);
}

.hero__image img {
  display: block;
  width: 100%;
  height: auto;
}

.about {
  padding: 100px 0;
}

.about__content {
  max-width: 770px;
  margin: 0 auto;
  display: flex;
  gap: 100px;
}

.about__title {
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 119%;
  color: var(--color-text);
}

.about__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about__text {
  font-size: 16px;
  line-height: 150%;
  color: var(--color-text);
}

.person-card {
  display: flex;
  align-items: center;
  gap: 30px;
}

.person-card__image {
  width: 84px;
  height: 84px;
  border: 3px solid #cec4bc;
  border-radius: 50%;
  object-fit: cover;
}

.person-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.person-card__name {
  font-size: 17px;
  font-weight: 400;
  line-height: 153%;
  color: var(--color-dark);
}

.person-card__position {
  font-size: 14px;
  color: var(--color-gray);
}

.banner {
  position: relative;
}

.banner__image {
  width: 100%;
  display: block;
}

.banner__content {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  max-width: 300px;
}

.banner__title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.banner__text {
  font-size: 16px;
  line-height: 150%;
  color: var(--color-gray);
}

.banner--left .banner__content {
  left: 60px;
  right: auto;
}

.process {
  padding: 120px 0;
}

.process__header {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}

.process__subtitle {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #645c55;
}

.process__title {
  font-size: 39px;
  font-weight: 400;
  line-height: 108%;
  color: #1b1a1a;
}

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

.process-card {
  text-align: center;
}

.process-card__icon {
  display: block;
  margin: 0 auto 16px;
}

.process-card__title {
  margin-bottom: 10px;

  font-size: 17px;
  font-weight: 400;
  line-height: 153%;
  color: #403e3b;
}

.process-card__text {
  font-size: 16px;
  line-height: 150%;
  color: #645c55;
}

.clients {
  padding: 100px 0;
  background: #403e3b;
}

.clients__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.clients__info {
  max-width: 460px;
}

.clients__subtitle {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 143%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ece7e4;
}

.clients__title {
  margin-bottom: 16px;
  font-weight: var(--font-weight-regular);
  font-size: 32px;
  line-height: 119%;
  color: #fff;
}

.clients__text {
  font-size: 15px;
  line-height: 160%;
  color: #ece7e4;
}

.clients__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  align-items: center;
  justify-items: center;
}

.clients__logo {
  display: block;
  max-width: 100%;
}

.projects {
  padding: 120px 0;
  background: #f7f7f7;
}

.projects__header {
  max-width: 600px;
  margin-bottom: 42px;
}

.projects__title {
  margin-bottom: 12px;
  font-size: 39px;
  font-weight: 400;
  line-height: 108%;
  color: #1b1a1a;
}

.projects__text {
  font-size: 24px;
  line-height: 125%;
  color: #645c55;
}

.projects__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.project-card {
  position: relative;
}

.project-card__image {
  display: block;
  width: 100%;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

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

.project-card__subtitle {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 143%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #645c55;
}

.project-card__title {
  font-size: 23px;
  font-weight: var(--font-weight-regular);
  line-height: 130%;
  color: #403e3b;
}

.projects .button--primary {
  align-self: flex-start;
}

.button--secondary {
  display: block;
  margin: 0 auto;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.03em;
  color: #1b1a1a;
}

.team {
  padding: 120px 0;
}

.team__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

.team__info {
  max-width: 380px;
}

.team__title {
  margin-bottom: 14px;
  font-weight: var(--font-weight-regular);
  font-size: 32px;
  line-height: 119%;
  color: #403e3b;
}

.team__text {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 160%;
  color: #645c55;
}

.team__list {
  width: 773px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 32px 48px;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  opacity: 0;
  transition: opacity .3s ease;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.person-card__image {
  width: 84px;
  height: 84px;
  border: 3px solid #cec4bc;
  border-radius: 50%;
}

.person-card__content {
  display: flex;
  flex-direction: column;
}

.person-card__name {
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 153%;
  color: #1b1a1a;
}

.person-card__position {
  font-size: 14px;
  color: #645c55;
}

.contact {
  padding: 100px 0;
  background: #cec4bc;
}

.contact__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact__info {
  max-width: 580px;
}

.contact__subtitle {
  margin-bottom: 8px;
  font-weight: var(--font-weight-regular);
  font-size: 14px;
  line-height: 143%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #645c55;
}

.contact__title {
  font-size: 40px;
  font-weight: var(--font-weight-regular);
  line-height: 105%;
  color: #1b1a1a;
}

.contact .button--text {
  flex-shrink: 0;
}

.footer {
  padding: 60px 0;
  background: #f7f7f7;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

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

.footer__logo {
  margin-bottom: 20px;
}

.footer__copyright,
.footer__rights {
  font-size: 14px;
  line-height: 143%;
  color: #645c55;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, var(--container-width));
  }

  .header__content {
    position: relative;
  }

  .header__burger {
    display: block;
    position: relative;
    z-index: 101;
  }

  .header__nav {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    right: 0;
    display: none;
    padding: 24px;
    background: var(--color-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .header__nav--open {
    display: block;
  }

  .header__list {
    flex-direction: column;
    gap: 20px;
  }

  .header__link {
    display: block;
    font-size: 17px;
  }

  .hero__content {
    flex-direction: column;
    gap: 40px;
  }

  .hero__info {
    width: 100%;
  }

  .hero__image {
    width: 100%;
  }

  .hero__title {
    font-size: 44px;
  }

  .about {
    padding: 70px 0;
  }

  .about__content {
    max-width: none;
    flex-direction: column;
    gap: 30px;
  }

  .banner__content {
    left: 24px;
    right: 24px;
    max-width: none;
  }

  .banner--left .banner__content {
    left: 24px;
    right: 24px;
  }

  .process {
    padding: 80px 0;
  }

  .process__header {
    margin-bottom: 40px;
  }

  .process__title {
    font-size: 34px;
  }

  .process__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clients {
    padding: 70px 0;
  }

  .clients__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .clients__info {
    max-width: none;
  }

  .clients__logos {
    width: 100%;
    gap: 32px;
  }

  .projects {
    padding: 80px 0;
  }

  .projects__title {
    font-size: 34px;
  }

  .projects__text {
    font-size: 20px;
  }

  .projects__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card__overlay {
    padding: 24px;
  }

  .team {
    padding: 80px 0;
  }

  .team__content {
    flex-direction: column;
    gap: 50px;
  }

  .team__info {
    max-width: none;
  }

  .team__list {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact {
      padding: 70px 0;
  }

  .contact__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .contact__title {
    font-size: 34px;
  }


  .footer {
    padding: 40px 0;
  }

  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}


@media (max-width: 480px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__text {
    margin-bottom: 28px;
  }

  .about {
    padding: 60px 0;
  }

  .about__title {
    font-size: 28px;
  }

  .process__title,
  .projects__title {
    font-size: 30px;
  }

  .clients__logos {
    grid-template-columns: 1fr;
  }

  .project-card__overlay {
    padding: 20px;
  }

  .team__list {
    gap: 24px;
  }

  .person-card {
    gap: 16px;
  }

  .person-card__image {
    width: 68px;
    height: 68px;
  }

  .contact__title {
    font-size: 30px;
  }
}