/* =========================
   CONTACT – layout
   ========================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

/* Mobile */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}


/* =========================
   LEFT COLUMN
   ========================= */

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}


/* =========================
   CONTENT FROM CMS
   ========================= */

.contact-content {
  font-size: 16px;
  line-height: 1.6;
}

.contact-content h2,
.contact-content h3 {
  margin-top: 0;
}

.contact-content p {
  margin: 0 0 12px;
}


/* =========================
   FORM
   ========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

/* input + textarea – jawnie, bez dziedziczenia */
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Zgody (reużywają globalnych klas .consent) */
.contact-consents {
  display: grid;
  gap: 8px;
}

/* checkbox nie ma dziedziczyć stylów .contact-form input */
.contact-form input.consent-input {
  padding: 0;
  width: 18px;
  height: 18px;
  border: 0;
}

.contact-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000;
}

/* TYLKO przycisk formularza */
.contact-form > button {
  margin-top: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form > button:hover {
  opacity: 0.9;
}


/* =========================
   RIGHT COLUMN – MAP
   ========================= */

.contact-right {
  width: 100%;
}

.contact-map {
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 8px;
  background: #f2f2f2;
}

.contact-profiles {
  margin-top: 16px;
}

.contact-profiles__label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted, #666);
  margin-bottom: 8px;
}

.contact-profiles__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong, #ccc);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text, #111);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}

.contact-profile-link::before {
  content: "📍";
  font-size: 0.95em;
}

.contact-profile-link:hover {
  border-color: var(--color-accent, #CD9D45);
  color: var(--color-accent, #CD9D45);
}


/* =========================
   MOBILE POLISH
   ========================= */

@media (max-width: 600px) {
  .contact-layout {
    gap: 32px;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    height: 300px;
  }
}
