body.contacts-page {
  color: var(--color-blue);
}

.section-contactos {
  padding-block: var(--size-200);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--size-700);
  align-items: center;
  min-height: 60vh;
}

/* Contact info */

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: var(--size-700);
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: var(--size-200);
}

.contact-group h2 {
  font-size: var(--text-s);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-group address {
  font-style: normal;
}

.contact-group p,
.contact-group address {
  font-size: var(--text-m);
  line-height: 1.5;
}

.contact-group a {
  color: inherit;
  text-underline-offset: 0.25rem;
}

.contact-group a:hover {
  opacity: 0.75;
}

/* Social links */

.contact-social-links {
  display: flex;
  gap: var(--size-400);
  align-items: center;
}

.contact-social-links a {
  display: flex;
  align-items: center;
  color: inherit;
}

.contact-social-links a:hover {
  opacity: 0.75;
}

/* Image */

body.contacts-page .overlay-wrapper {
  height: 100%;
  min-height: 380px;
  clip-path: polygon(10% 22%, 35% 0, 95% 15%, 85% 85%, 20% 100%, 5% 90%);
  filter: brightness(1.25) contrast(0.8);
}

body.contacts-page .overlay-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile */

@media (max-width: 50em) {
  .contacts-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .contacts-image-wrapper {
    min-height: 320px;
    clip-path: polygon(0 25%, 65% 0, 85% 15%, 100% 85%, 30% 100%, 10% 90%);
  }
}
