* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  letter-spacing: -0.030em;
  list-style-type: none;
  text-decoration: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
  color: #000000;
}

a {
  color: #000000;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;

  padding: 32px 16px 0 16px;
}

.header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;

  width: 1200px;
}

.contacts {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  gap: 12px;
}

.button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 12px;
  gap: 8px;

  height: 24px;

  background: #EBEBEB;
  border-radius: 12px;

  transition: background .3s ease;
}

.button:hover {
  background: #E4E4E4;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
}

.section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 1200px;
}

.main {
  padding: 32px 16px 0 16px;
}

.main .section-container {
  gap: 32px;
}

.image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;

  width: 1200px;

  border-radius: 16px;

  overflow: hidden;
}

.image-list img {
  display: block;
  object-fit: cover;
}

.img-square {
  width: 236px;
  height: 236px;
}

.img-rect {
  width: 477px;
  height: 236px;
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 20px;
}

.details {
  padding: 80px 16px 32px 16px;
}

.details .section-container {
  gap: 12px;
}

.caption {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 32px;
  gap: 12px;

  width: 718px;
  height: 64px;

  background: rgba(255, 173, 32, 0.32);
  border: 1.5px solid rgba(255, 173, 32, 0.32);
  border-radius: 32px;

  font-weight: 600;
  font-size: 22px;
  line-height: 32px;

  color: #4A2F00;
}

.details-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  gap: 28px;

  width: 718px;

  border: 1.5px solid #E4E4E4;
  border-radius: 32px;
}

.details-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px 0px 32px;
  gap: 5px;

  width: 100%;

  border-bottom: 1.5px solid #E4E4E4;
}

.details-item:last-child {
  padding: 0px;

  border-bottom: 0;
}

.details-item h2 {
  padding: 0 0 11px 0;
}

.details-item-list {
  display: flex;
  flex-direction: row;

  width: 100%;
}

.details-item-list-contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

.wa-button {
  display: none;
  text-decoration: underline;
}

.details-item-list-wa {
  display: flex;

  justify-content: flex-end;
  align-items: center;
  padding: 30px 30px 30px 0px;
}

.details-item-list-wa img {
  display: block;
  width: 80px;
  height: auto;
}

h1 {
  font-weight: 600;
  font-size: 40px;
  line-height: 52px;
}

h2 {
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
}

.font-22-32 {
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
}

.font-20-24 {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
}

.font-16-24 {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.font-13-20 {
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 1199px) {
  header {
    padding: 16px 16px 0 16px;
  }

  .header-container {
    width: 100%;
    max-width: 718px;
  }

  .main {
    padding: 16px 16px 0 16px;
  }

  .section-container {
    width: 100%;
    max-width: 718px;
  }

  .button {
    width: 24px;
  }

  .button span {
    display: none;
  }

  .image-list {
    gap: 4px;

    width: 100%;
    max-width: 718px;
  }

  .image-list img:nth-child(7) {
    display: none;
  }

  .image-list img:nth-child(8) {
    display: none;
  }

  .img-square {
    width: calc((100vw - 36px) / 2);
    height: calc((100vw - 36px) / 2);
    max-width: 357px;
    max-height: 357px;
  }

  .img-rect {
    width: calc(100vw - 32px);
    height: calc((100vw - 36px) / 2);
    max-width: 718px;
    max-height: 357px;
  }

  .details {
    padding: 32px 16px 16px 16px;
  }

  .caption {
    width: 100%;
    max-width: 718px;
  }

  .details-list {
    width: 100%;
    max-width: 718px;
  }

  h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .font-22-32 {
    font-size: 18px;
    line-height: 26px;
  }

  .wa-button {
    display: flex;
  }

  .details-item-list-wa {
    display: none;
  }
}
