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

body {
  display: flex;
  flex-direction: column;

  width: 100dvw;
  height: 100dvh;

  font-family: 'Rubik', serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;

  color: #000;
  background: #fff;
  overflow: hidden;
}

.main {
  display: flex;
  height: 100%;
}

.image {
  position: relative;

  flex-basis: 50%;
  height: 100%;
}

.image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  flex-basis: 50%;

  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;

  padding: 100px;
  overflow-y: auto;
}

.logo {
	position: absolute;
	top: 0;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;

  max-width: 745px;
  margin: 92px 0 60px;
}

.addresses {
  --n: 4;

  display: grid;
  grid-template-columns: repeat(var(--n), auto);
  gap: 16px 32px;

  margin-top: 48px;
}

.subtitle {
  grid-column: 1 / 5;
  margin-top: 28px;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

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

.item > a {
  color: #628366;
  text-decoration: none;
}

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

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

.text {
	max-width: 600px;
}

.text > a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.socials {
  display: flex;
  align-items: center;
  gap: 32px;

  margin-bottom: 24px;
}

.link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;

  font: inherit;
  line-height: 0.7;
  text-decoration: none;

  color: #000;
}

.link > p {
	font-size: 14px;
}

.button {
  padding: 9.5px 11px;
  border: 1px solid #929292;
	border-radius: 4px;

  background: #fff;
	cursor: pointer;
}

.phone {
  font-weight: 500;
  text-decoration: none;
  color: #000;
}

.phone + .phone {
  margin-top: -12px;
}

@media (max-width: 1470px) {
  .addresses {
    --n: 3;
  }

  .subtitle {
    grid-column: 1 / 4;
  }
}

@media (max-width: 1024px) {
  body {
    height: 100%;
    min-height: 100dvh;
    font-size: 14px;
    overflow-y: auto;
  }

  .main {
    flex-direction: column;
  }

  .image {
    aspect-ratio: 1;
  }

  .content {
    padding: 40px 12px;
  }

  .logo {
    left: 12px;
  }

  .logo > svg {
    width: 64px;
    height: 64px;
  }

  .title {
    font-size: 20px;
  }

	.subtitle {
		font-size: 14px;
	}

  .text-block {
    gap: 8px;
    margin-block: 0;
  }

  .addresses {
    margin-top: 16px;
  }

  .subtitle {
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .addresses {
    --n: 2;
  }

  .subtitle {
    grid-column: 1 / 3;
  }

  .item {
    letter-spacing: -0.1px;
  }

  .item:nth-child(2n) {
    white-space: nowrap;
  }
}
