.contact-page {
  background: #f6f3eb;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.25rem);
  background:
    radial-gradient(circle at 83% 20%, rgba(216, 167, 81, 0.24), transparent 24rem),
    linear-gradient(135deg, #173f38 0%, #2f5d50 58%, #547769 100%);
  color: #fff;
}

.contact-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.035), 0 0 0 8rem rgba(255, 255, 255, 0.025);
  content: "";
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.contact-hero .breadcrumb {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-hero .breadcrumb a {
  color: #fff;
}

.contact-hero .eyebrow {
  color: #f4c86c;
}

.contact-hero h1 {
  max-width: 780px;
  margin: 0.15rem 0 1rem;
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact-hero__lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.contact-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 2rem;
  position: sticky;
  top: 2rem;
}

.contact-details h2,
.contact-form-card h2 {
  margin: 0.2rem 0 0.85rem;
  color: #173f38;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.contact-details p,
.form-heading p {
  color: #52645d;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 0.85rem;
}

.contact-method {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(47, 93, 80, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.66);
  color: #214c42;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 93, 80, 0.35);
  background: #fff;
}

.contact-method__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: #e5eee9;
  color: #2f5d50;
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-method strong,
.contact-method span span {
  display: block;
}

.contact-method strong {
  margin-bottom: 0.15rem;
  color: #173f38;
}

.contact-method span span {
  font-size: 0.95rem;
}

.contact-note {
  padding: 1.35rem;
  border-left: 4px solid #d19a3f;
  border-radius: 0 1rem 1rem 0;
  background: #fff8e9;
}

.contact-note h3 {
  margin: 0 0 0.45rem;
  color: #573f1d;
  font-size: 1.05rem;
}

.contact-note p {
  margin: 0;
  color: #65573f;
  font-size: 0.95rem;
}

.contact-form-card {
  padding: clamp(1.4rem, 4vw, 2.75rem);
  border: 1px solid rgba(36, 76, 65, 0.12);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 65, 56, 0.12);
}

.form-heading {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e4e9e6;
}

.form-heading p:last-child {
  margin-bottom: 0;
}

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

.form-field {
  min-width: 0;
}

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

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #173f38;
  font-weight: 750;
}

.form-field label > span:not(.optional) {
  color: #a13d34;
}

.form-field .optional {
  color: #68766f;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #b9c7c1;
  border-radius: 0.75rem;
  background: #fbfcfb;
  color: #1e332d;
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.form-field input {
  min-height: 3.25rem;
  padding: 0.72rem 0.85rem;
}

.form-field textarea {
  min-height: 10rem;
  padding: 0.85rem;
  resize: vertical;
}

.form-field input[type="file"] {
  padding: 0.62rem;
  background: #f7faf8;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #7f9b91;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: #2f6b5c;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 107, 92, 0.16);
}

.field-help {
  margin: 0.45rem 0 0;
  color: #68766f;
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-submit {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-top: 0.35rem;
}

.form-submit .button {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
}

.form-submit p {
  max-width: 32rem;
  margin: 0;
  color: #68766f;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d8978f;
  border-radius: 0.8rem;
  background: #fff1ef;
  color: #7d2921;
  font-weight: 650;
  line-height: 1.5;
}

.form-alert:focus {
  outline: 3px solid rgba(161, 61, 52, 0.24);
  outline-offset: 3px;
}

.form-trap {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.thank-you-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.thank-you-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(36, 76, 65, 0.12);
  border-radius: 1.75rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(32, 65, 56, 0.12);
}

.thank-you-mark {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #dfeee6;
  color: #2f6b5c;
  font-size: 2.2rem;
  font-weight: 800;
}

.thank-you-card h1 {
  margin: 0.25rem 0 1rem;
  color: #173f38;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.thank-you-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: #52645d;
  font-size: 1.08rem;
  line-height: 1.7;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

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

  .contact-details {
    position: static;
  }
}

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

  .form-field--wide {
    grid-column: auto;
  }

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

  .form-submit .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-method,
  .form-field input,
  .form-field textarea {
    transition: none;
  }
}
