/* Контакты — светлая страница, три колонки как на Tilda */

.contacts-title .container,
.contacts .container{
  max-width: 1100px;
}


.contacts-title.page-hero {
  padding: 170px 0 36px;
}

.contacts {
  padding: 8px 0 0;
  background: #fff;
  color: #1a1a1a;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}

.contacts__heading {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.contacts__heading--address {
  margin-top: 40px;
}

.contacts__rows {
  display: grid;
  gap: 10px;
}

.contacts__line {
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a1a;
}

.contacts__line a {
  color: #1a1a1a;
  transition: color var(--transition);
}

.contacts__line a:hover {
  color: #cd9b3b;
}

.contacts__role {
  color: #1a1a1a;
}

.contacts__line--email {
  margin-top: 8px;
}

.contacts__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contacts__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  transition: background var(--transition);
}

.contacts__text {
  max-width: 280px;
  font-size: 15px;
  line-height: 1.65;
  color: #1a1a1a;
}

.contacts__note {
  font-size: 14px;
  color: #555;
  margin-top: 14px;
}

.contacts__form-text {
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
  margin-bottom: 22px;
  max-width: 260px;
}

.contacts__form {
  display: grid;
  gap: 18px;
  max-width: 300px;
}

.contacts__field {
  display: grid;
  gap: 6px;
}

.contacts__field-label {
  font-size: 13px;
  color: #333;
}

.contacts__field input {
  border: 0;
  border-bottom: 1px solid #1a1a1a;
  background: transparent;
  padding: 6px 0;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  border-radius: 0;
  outline: none;
}

.contacts__field input:focus {
  border-bottom-color: #cd9b3b;
}

.contacts__submit {
  margin-top: 6px;
  padding: 13px 20px;
  background: #1a1a1a;
  color: #fff;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition);
}

.contacts__submit:hover {
  background: #cd9b3b;
}

.contacts__map {
  margin-top: 56px;
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
}

.contacts__map iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
  filter: grayscale(100%);
}

@media (max-width: 1199px) {
  .contacts-title .container, .contacts .container {
    max-width: 900px;
  }
}

@media (max-width: 900px) {
  .contacts__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "left work"
        "left form";
    gap: 40px;
  }

  .contacts__col:nth-child(1) {
    grid-area: left;
  }

  .contacts__col:nth-child(2) {
    grid-area: work;
  }

  .contacts__col:nth-child(3) {
    grid-area: form;
  }

  .contacts-title .container, .contacts .container {
    max-width: 600px;
  }
}

@media (max-width: 500px) {
  .contacts-title.page-hero {
    padding: 120px 0 36px;
  }
  
  .contacts-title .container, .contacts .container {
    max-width: 300px;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
            "left"
            "work"
            "form";
    gap: 40px;
  }
}