.contact-hero {
  padding: 32px 0 6px;
}

.page-header + div {
  padding: 30px 0;
}

/* miniMap zoom control */
.leaflet-mini-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
}
.leaflet-mini-zoom button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0;
  background: rgba(4, 8, 12, 0.85);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.leaflet-mini-zoom button:active {
  transform: translateY(1px);
}
.leaflet-mini-zoom button svg {
  width: 14px;
  height: 14px;
}

.contact-hero p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 360px;
  align-items: start;
}

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

/* Form styling */
.form {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
}

@media (max-width: 620px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--fg);
}

.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="datetime-local"],
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--fg) 8%, transparent);
  background: transparent;
  color: var(--fg);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.form__status {
  margin-left: 6px;
  min-height: 1.2rem;
  outline: none;
}

.form__status--ok {
  color: #8ad07a;
  font-weight: 700;
}

.form__status--error {
  color: #ff7b7b;
  font-weight: 700;
}

/* Sidebar */
.contact-info {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 14px;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p,
.contact-info li {
  color: var(--muted);
  margin: 6px 0;
}

.contact-info a {
  color: var(--accent);
}

.map-compact {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: #071014;
  display: grid;
  place-items: center;
  color: var(--muted);
  margin-top: 10px;
}

.small-meta {
  font-size: 0.9rem;
  color: var(--muted);
}
