.contact-section {
  padding-block: clamp(42px, 5vw, 76px);
  background: #fbfcfa;
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-form-card {
  padding: clamp(24px, 3.6vw, 40px);
  background: #ffffff;
  border: 1px solid #e6ece8;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(16, 42, 34, 0.05);
}

.contact-form-card h1,
.contact-details h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  margin-bottom: 7px;
  color: #2c3e38;
  font-size: 14px;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5e0db;
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-field textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8b9c96;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(17, 104, 82, 0.12);
}

.contact-field .field-validation-error {
  display: block;
  margin-top: 5px;
  color: #a4342b;
  font-size: 13px;
}

.contact-alert {
  margin-bottom: 20px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.contact-alert-ok {
  background: #e7f6ee;
  border: 1px solid #b7e4c7;
  color: #0e5a36;
}

.contact-alert-error {
  background: #fdf1ef;
  border: 1px solid #ebc7c2;
  color: #84241e;
}

.contact-alert-error ul {
  margin: 0;
  padding-left: 18px;
}

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

.contact-form-card .form-turnstile {
  margin-bottom: 18px;
}

.contact-terms {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-terms a {
  color: var(--brand);
  font-weight: 600;
  text-underline-offset: 3px;
}

.contact-submit {
  width: 100%;
  cursor: pointer;
}

.contact-info-list {
  display: grid;
  gap: 22px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.contact-badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-badge-pin {
  background: #edf3ff;
  color: #3a6fd8;
}

.contact-badge-mail {
  background: #e8f5ee;
  color: #16795b;
}

.contact-badge-phone {
  background: #e7f6fa;
  color: #1685a1;
}

.contact-info-body strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.contact-info-body p,
.contact-info-body a {
  margin: 0;
  color: #546660;
  font-size: 14.5px;
  line-height: 1.58;
  text-decoration: none;
}

.contact-info-body a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.contact-map {
  overflow: hidden;
  border: 1px solid #dce6e1;
  border-radius: 14px;
  background: #eef2ef;
  box-shadow: 0 6px 20px rgba(16, 42, 34, 0.06);
}

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

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

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