/* ==========================================================================
   GŁÓWNY KONTENER KONTAKTU
   ========================================================================== */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.75rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ==========================================================================
   UKŁAD RZĘDOWY (wzorem supcatalog) — karta: obraz 30% + treść, skeleton
   ========================================================================== */
@keyframes contact-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.contact-row--reverse {
  flex-direction: row-reverse;
}

.contact-row__image {
  flex: 1 1 0;
  max-width: 380px;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}

.contact-thumb {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;

}

.contact-skel-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: linear-gradient(90deg, #e8d5c4 25%, #f5e6d8 50%, #e8d5c4 75%);
  background-size: 200% 100%;
  animation: contact-shimmer 1.5s ease-in-out infinite;
}

.contact-row__content {
  flex: 1 1 0;
  max-width: 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1rem 2rem;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.contact-row--reverse .contact-row__content {
  padding: 1rem 2rem 1rem 1rem;
}

.contact-row__header {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.25rem;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.contact-row__text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.contact-row__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.contact-row__btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: #333;
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-row__btn:hover {
  background: #555;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 48rem) {
  .contact-row,
  .contact-row--reverse {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-row__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 360px;
  }

  .contact-row__content,
  .contact-row--reverse .contact-row__content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
  }
}