:root {
  --ink: #132019;
  --moss: #5f9b45;
  --mist: #f4f7f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #e8efe3 0%, #f8faf6 45%, #e7efe8 100%);
}

.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 6vw 64px;
  display: grid;
  gap: 30px;
}

.back-link {
  color: #385648;
  text-decoration: none;
  font-weight: 600;
}

.contact-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 34px rgba(11, 21, 18, 0.1);
}

.contact-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.contact-hero__content h1 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.contact-hero__content p {
  margin: 0 0 16px;
  color: #425449;
  line-height: 1.6;
}

.contact-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-hero__quick a {
  text-decoration: none;
  color: #255f41;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecf4e8;
}

.contact-form-wrap {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 34px rgba(11, 21, 18, 0.08);
}

.contact-map {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 34px rgba(11, 21, 18, 0.08);
}

.contact-map h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.contact-map p {
  margin: 0 0 14px;
  color: #425449;
}

.contact-map__frame {
  border: 1px solid #d6e0d5;
  border-radius: 14px;
  overflow: hidden;
}

.contact-map__frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #385348;
}

.field--wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #d6e0d5;
  border-radius: 12px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn {
  grid-column: 1 / -1;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--moss);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.hint {
  color: #66756b;
  font-size: 0.8rem;
}

.status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: #335646;
  font-size: 0.9rem;
}

.status--error {
  color: #9a3a3a;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 800px) {
  .contact-page {
    padding: 24px 5vw 52px;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }

  .contact-form-wrap {
    padding: 18px;
  }

  .contact-map {
    padding: 18px;
  }

  .contact-map__frame iframe {
    height: 320px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
