/* Základní layout: ../css/common.css */

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(hsla(0, 0%, 4%, 0.88), hsla(0, 0%, 4%, 0.9)),
    url("../images/kontankt_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}

.contact-hero {
  padding: 170px 0 72px;
  text-align: center;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 5.8rem);
  letter-spacing: 0.07em;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 1.22rem;
  color: var(--muted);
}

.contact-section {
  padding: 28px 0 92px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
}

.contact-grid h2 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  background: hsl(0 0% 7% / 0.5);
  border-radius: 8px;
  margin-bottom: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: hsl(0 0% 32%);
  background: hsl(0 0% 10% / 0.7);
  box-shadow: 0 10px 24px hsl(0 0% 0% / 0.25);
}

.icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: hsl(0 0% 90%);
  background: hsl(0 0% 10%);
  border: 1px solid hsl(0 0% 18%);
  flex-shrink: 0;
}

.label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-card a {
  text-decoration: none;
  color: var(--fg);
  font-size: 0.98rem;
}

.contact-note {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: hsl(0 0% 7% / 0.45);
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  max-width: 460px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-note:hover {
  transform: translateY(-1px);
  border-color: hsl(0 0% 28%);
  background: hsl(0 0% 9% / 0.7);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form label {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: hsl(0 0% 7% / 0.45);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: hsl(0 0% 45%);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: hsl(0 0% 42%);
  box-shadow: 0 0 0 2px hsl(0 0% 100% / 0.08);
  background: hsl(0 0% 10% / 0.65);
}

.contact-form button {
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  background: hsl(0 0% 82%);
  color: hsl(0 0% 8%);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  background: hsl(0 0% 98%);
  box-shadow: 0 8px 20px hsl(0 0% 0% / 0.35);
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.form-status {
  min-height: 1.2em;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status.success {
  color: hsl(132 56% 74%);
}

.form-status.error {
  color: hsl(0 82% 74%);
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}
