:root {
  --contact-ink: #071422;
  --contact-muted: #52665f;
  --contact-line: rgba(21, 47, 40, 0.14);
  --contact-soft: #eef8f4;
  --contact-green: #0f8b5f;
  --contact-green-dark: #075a3f;
  --contact-cyan: #0c91a4;
  --contact-panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--contact-ink);
  background:
    linear-gradient(180deg, rgba(235, 250, 244, 0.82), rgba(255, 255, 255, 0.95) 44%),
    #f8fbfa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--contact-green-dark);
  font-weight: 800;
}

.contact-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.contact-hero {
  padding: 58px 0 66px;
}

.contact-hero .contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-copy {
  padding-top: 16px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(15, 139, 95, 0.2);
  border-radius: 999px;
  background: #ddfaee;
  color: #076143;
  font-size: 13px;
  font-weight: 900;
}

.contact-copy h1 {
  max-width: 690px;
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-copy p {
  max-width: 650px;
  margin: 0;
  color: #24423a;
  font-size: 18px;
  line-height: 1.64;
}

.contact-routes {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-routes div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-left: 4px solid var(--contact-green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(15, 55, 44, 0.07);
}

.contact-routes strong {
  font-size: 15px;
}

.contact-routes span {
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.42;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  background: var(--contact-panel);
  box-shadow: 0 24px 70px rgba(15, 42, 34, 0.12);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--contact-line);
}

.form-head span,
.form-head small,
.contact-form label > span {
  color: var(--contact-muted);
  font-size: 12px;
  font-weight: 900;
}

.form-head h2 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.1;
}

.form-head small {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--contact-soft);
  color: var(--contact-green-dark);
}

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

.form-grid.two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--contact-ink);
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 139, 95, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 139, 95, 0.11);
  background: #fff;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  background: #f8fcfa;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--contact-green);
}

.consent span {
  color: #364d45;
  font-size: 13px;
  line-height: 1.45;
}

.turnstile-mount:empty {
  display: none;
}

#contactSubmit {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--contact-green-dark), var(--contact-green));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(15, 139, 95, 0.22);
}

#contactSubmit:disabled {
  cursor: wait;
  opacity: 0.68;
  box-shadow: none;
}

.contact-status,
.contact-success {
  padding: 12px 13px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.contact-status {
  border: 1px solid rgba(196, 64, 42, 0.22);
  background: #fff1ed;
  color: #9a2f22;
}

.contact-success {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(15, 139, 95, 0.22);
  background: #eafff5;
  color: #075a3f;
}

.contact-success strong {
  font-size: 15px;
}

.contact-success span {
  font-size: 13px;
}

.contact-footer {
  padding: 28px 0;
  border-top: 1px solid var(--contact-line);
  background: #071422;
  color: #eafff5;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span {
  margin-top: 5px;
  color: #a9beb8;
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner a {
  color: #dffdf1;
  text-decoration: none;
  font-size: 13px;
}

@media (max-width: 900px) {
  .contact-hero {
    padding: 38px 0 46px;
  }

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

  .contact-copy h1 {
    font-size: clamp(34px, 10vw, 52px);
  }
}

@media (max-width: 620px) {
  .contact-wrap {
    width: min(100% - 24px, 1120px);
  }

  .contact-form {
    padding: 16px;
  }

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

  .form-head {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-copy p {
    font-size: 16px;
  }

  .contact-copy h1 {
    font-size: clamp(31px, 8.4vw, 42px);
    line-height: 1.04;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .contact-copy h1 {
    font-size: clamp(29px, 8vw, 35px);
  }
}
