/* A shorter, centered contact card on phones. */
@media (max-width: 600px) {
  body:is(.home-pl, .home-en) .contact-layout.wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 18px 20px;
  }

  body:is(.home-pl, .home-en) .contact-sketch {
    margin: 0;
  }

  body:is(.home-pl, .home-en) .contact-sketch img {
    display: block;
    width: 170px;
    max-height: 92px;
    margin-inline: auto;
    object-fit: contain;
  }

  body:is(.home-pl, .home-en) .contact-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    text-align: center;
  }

  body:is(.home-pl, .home-en) .contact-copy h2 {
    max-width: 18ch;
    margin: 0 auto;
    font-size: clamp(1.75rem, 7.5vw, 2rem) !important;
    line-height: 1.16 !important;
    text-align: center;
    text-wrap: pretty;
  }

  body:is(.home-pl, .home-en) .contact-copy .button {
    width: 100%;
    min-height: 52px;
    margin: 0;
    justify-content: center;
  }

  body:is(.home-pl, .home-en) .contact-copy .button::after {
    content: none;
  }
}

/* Center the enquiry action beneath its heading on laptop and desktop. */
@media (min-width: 901px) {
  body:is(.home-pl, .home-en) .contact-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body:is(.home-pl, .home-en) .contact-copy h2 {
    max-width: none;
  }
}
