/* Kontaktná stránka a formulár */
.contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px;
}
.contact-channels {
  display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none;
}
.contact-channels li {
  display: flex; align-items: center; gap: 14px;
}
.contact-channel-icon {
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--color-green-dark); background: var(--color-section-tinted); border: 1px solid var(--color-divider); border-radius: 50%;
}
.contact-channel-icon .icon {
  width: 22px; height: 22px;
}
.contact-channels small {
  display: block; font-size: 13px; line-height: 1.4; color: var(--color-muted);
}
.contact-channels a {
  font-size: 18px; font-weight: 900; line-height: 1.4; color: var(--color-green-dark);
}
.contact-channels a:hover {
  text-decoration: underline; text-underline-offset: 4px;
}

.contact-card {
  min-width: 0; padding: 40px; background: #fffefb; border: 1px solid var(--color-divider); border-radius: 28px; box-shadow: 0 6px 24px rgba(63, 51, 30, 0.05);
}
.contact-form-title, .contact-success h2 {
  margin: 0; font-family: var(--font-heading); font-size: 30px; line-height: 1.2; color: var(--color-green-dark);
}
.contact-form-note {
  margin: 6px 0 24px; font-size: 14px; color: var(--color-muted);
}
.contact-fields {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.contact-field {
  display: grid; align-content: start; gap: 7px; min-width: 0;
}
.contact-field-wide {
  grid-column: 1 / -1;
}
.contact-field label {
  font-size: 14px; font-weight: 800; color: var(--color-ink);
}
.contact-field input, .contact-field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--color-ink); background: #fff; border: 1px solid #d9cfbf; border-radius: 14px; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-field textarea {
  min-height: 160px; resize: vertical;
}
.contact-field input:focus, .contact-field textarea:focus {
  border-color: var(--color-green); outline: none; box-shadow: 0 0 0 3px rgba(90, 107, 84, 0.18);
}
.contact-field [aria-invalid="true"] {
  border-color: #b3261e;
}
.contact-field-error, .contact-form-error {
  margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: #b3261e;
}
.contact-form-error {
  margin-bottom: 20px; padding: 12px 16px; background: #fdecea; border-radius: 12px;
}
.contact-trap {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.contact-submit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px;
}
.contact-submit .button:disabled {
  cursor: wait; opacity: 0.65; transform: none;
}
.contact-legal {
  flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--color-muted);
}
.contact-legal a {
  text-decoration: underline; text-underline-offset: 3px;
}
.contact-success p {
  margin: 12px 0 24px;
}
.contact-success a:not(.button) {
  font-weight: 900; color: var(--color-green-dark);
}

/* Odznak reCAPTCHA je skrytý; upozornenie je v texte pod formulárom, ako to Google povoľuje. */
.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr); gap: 36px;
  }
}
@media (max-width: 760px) {
  .contact-card {
    padding: 24px; border-radius: 22px;
  }
  .contact-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form-title, .contact-success h2 {
    font-size: 26px;
  }
}
