.contact-site {
  margin: 0;
  background: #f7f9f8;
  color: #17283d;
  font-family: "Segoe UI", Arial, sans-serif;
}

.contact-page,
.contact-page * {
  box-sizing: border-box;
}

.contact-page {
  --contact-green: #087239;
  --contact-deep-green: #075326;
  --contact-red: #d81015;
  --contact-ink: #17283d;
  --contact-muted: #566273;
  overflow: hidden;
  background: #f7f9f8;
}

.contact-page .contact-hero {
  position: relative;
  display: flex;
  min-height: clamp(205px, 26vw, 270px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(110deg, #f8fafb 0%, #f0f6f2 100%);
}

.contact-page .contact-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f8fafb 0%, rgba(248,250,251,.98) 42%, rgba(248,250,251,.82) 62%, rgba(248,250,251,.12) 100%);
  content: "";
}

.contact-page .contact-hero::after {
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: -34%;
  left: -3%;
  height: 45%;
  transform: rotate(-2.2deg);
  border-top: 9px solid var(--contact-green);
  border-bottom: 9px solid var(--contact-red);
  content: "";
}

.contact-page .contact-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: min(38%, 430px);
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.contact-page .contact-hero-content {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 24px 38px;
  text-align: left;
}

.contact-page .contact-eyebrow {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-bottom: 6px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--contact-green);
  color: #fff;
  font-size: .94rem;
  font-weight: 800;
}

.contact-page .contact-hero h1 {
  margin: 0;
  color: var(--contact-deep-green);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.contact-page .contact-hero h1 span {
  color: var(--contact-red);
}

.contact-page .contact-hero-content > p {
  margin: 6px 0 0;
  color: #243244;
  font-size: clamp(.95rem, 1.5vw, 1.13rem);
  font-weight: 650;
  line-height: 1.5;
}

.contact-page .contact-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, calc(100% - 40px));
  gap: 20px;
  margin: -22px auto 0;
  padding-bottom: 26px;
}

.contact-page .contact-alert {
  margin: 0;
  padding: 13px 18px;
  border: 1px solid;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 650;
}

.contact-page .contact-alert--success {
  border-color: #b7e5c4;
  background: #effaf2;
  color: #176637;
}

.contact-page .contact-alert--error {
  border-color: #f0c2c2;
  background: #fff4f4;
  color: #a21b1b;
}

.contact-page .contact-card,
.contact-page .contact-location {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e6eaed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22,39,55,.11);
}

.contact-page .contact-details {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(150deg, #fff 0%, #f7fbf8 100%);
}

.contact-page .contact-details-icon,
.contact-page .contact-location-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-green);
  box-shadow: 0 6px 14px rgba(8,114,57,.2);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
}

.contact-page .contact-details h2,
.contact-page .contact-location h2 {
  margin: 10px 0 7px;
  color: var(--contact-green);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.contact-page .contact-details > p,
.contact-page .contact-location p {
  margin: 0;
  color: #475569;
  font-size: .9rem;
  line-height: 1.55;
}

.contact-page .contact-details > p::after {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 12px;
  background: var(--contact-green);
  content: "";
}

.contact-page .contact-detail-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.contact-page .contact-detail-list > * {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #263547;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-page .contact-detail-list a:hover {
  color: var(--contact-green);
  text-decoration: underline;
}

.contact-page .contact-detail-list > * > span {
  flex: 0 0 18px;
  color: #159447;
  font-size: 1rem;
  text-align: center;
}

.contact-page .contact-form {
  display: grid;
  align-content: center;
  gap: 11px;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  overflow: visible;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  animation: none;
}

.contact-page .contact-form::before,
.contact-page .contact-form::after {
  display: none;
}

.contact-page .contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-page .contact-field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.contact-page .contact-field label {
  margin: 0;
  color: #263547;
  font-size: .83rem;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
}

.contact-page .contact-field label span {
  color: var(--contact-red);
}

.contact-page .contact-field input,
.contact-page .contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cfd7e0;
  border-radius: 8px;
  background: #fff;
  color: var(--contact-ink);
  font: inherit;
  font-size: .85rem;
  line-height: 1.45;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-page .contact-field textarea {
  min-height: 82px;
  resize: vertical;
}

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
  color: #8792a0;
  opacity: 1;
}

.contact-page .contact-field input:hover,
.contact-page .contact-field textarea:hover {
  transform: none;
  border-color: #9daaba;
  background: #fff;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field textarea:focus {
  transform: none;
  border-color: #16813f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22,129,63,.12);
  outline: 0;
}

.contact-page .contact-field input:valid:not(:placeholder-shown),
.contact-page .contact-field textarea:valid:not(:placeholder-shown) {
  border-color: #cfd7e0;
  background: #fff;
}

.contact-page .contact-submit {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 1px 0 0;
  padding: 10px 16px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #087239, #35b90c);
  box-shadow: 0 5px 12px rgba(8,114,57,.2);
  color: #fff;
  font-size: .91rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-page .contact-submit::before,
.contact-page .contact-submit::after {
  display: none;
}

.contact-page .contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8,114,57,.26);
}

.contact-page .contact-submit:focus-visible,
.contact-page .contact-map-link:focus-visible,
.contact-page .contact-social-links a:focus-visible {
  outline: 3px solid rgba(24,119,242,.5);
  outline-offset: 3px;
}

.contact-page .contact-location {
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  gap: 0;
  padding: 12px;
}

.contact-page .contact-location-copy {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: center;
  gap: 12px;
  padding: 10px 18px 10px 8px;
}

.contact-page .contact-location-icon {
  width: 46px;
  height: 46px;
  font-size: 1.75rem;
}

.contact-page .contact-location h2 {
  margin: 2px 0 5px;
  font-size: 1.15rem;
}

.contact-page .contact-location p {
  font-size: .84rem;
}

.contact-page .contact-map-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--contact-red);
  box-shadow: 0 4px 10px rgba(216,16,21,.18);
  color: #fff;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.contact-page .contact-map-link:hover {
  transform: translateY(-1px);
  background: #b90d12;
}

.contact-page .contact-location iframe {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 190px;
  border: 0;
  border-left: 1px solid #dfe6e2;
  border-radius: 12px;
}

.contact-page .contact-social {
  position: relative;
  padding: 14px 20px 18px;
  border-radius: 18px;
  background: linear-gradient(105deg, #e5f8ec, #f2fbf4);
  text-align: center;
}

.contact-page .contact-social h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 12px;
  color: var(--contact-green);
  font-size: 1.04rem;
  font-weight: 850;
}

.contact-page .contact-social h2::before,
.contact-page .contact-social h2::after {
  width: min(24vw, 180px);
  height: 1px;
  background: #20834b;
  content: "";
}

.contact-page .contact-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.contact-page .contact-social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: var(--contact-green);
  box-shadow: 0 4px 10px rgba(20,54,31,.14);
  color: #fff;
  font-size: 1.28rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-page .contact-social-links a:nth-child(1) { background: #111; }
.contact-page .contact-social-links a:nth-child(2) { background: #df1017; }
.contact-page .contact-social-links a:nth-child(3) { background: #1877f2; }
.contact-page .contact-social-links a:nth-child(4) { background: #20bd5a; }

.contact-page .contact-social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(20,54,31,.2);
}

@media (max-width: 760px) {
  .contact-page .contact-hero {
    min-height: 230px;
  }

  .contact-page .contact-hero-image {
    width: min(48%, 220px);
    object-position: center;
  }

  .contact-page .contact-hero::before {
    background: linear-gradient(90deg, rgba(248,250,251,.96), rgba(248,250,251,.9) 54%, rgba(248,250,251,.45));
  }

  .contact-page .contact-hero-content {
    padding: 28px 18px 38px;
    text-align: center;
  }

  .contact-page .contact-content {
    width: min(100% - 28px, 560px);
    gap: 15px;
    margin-top: -18px;
  }

  .contact-page .contact-card,
  .contact-page .contact-location {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 17px;
  }

  .contact-page .contact-details {
    padding: 20px 22px;
  }

  .contact-page .contact-details-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .contact-page .contact-details h2 {
    margin-top: 8px;
  }

  .contact-page .contact-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-form {
    gap: 10px;
    padding: 18px 22px 22px;
  }

  .contact-page .contact-location {
    padding: 10px;
  }

  .contact-page .contact-location-copy {
    padding: 10px 8px 16px;
  }

  .contact-page .contact-location iframe {
    min-height: 220px;
    border-left: 0;
  }

  .contact-page .contact-social {
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .contact-page .contact-hero {
    min-height: 220px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .contact-page .contact-hero-content > p {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    font-size: .88rem;
  }

  .contact-page .contact-content {
    width: calc(100% - 24px);
  }

  .contact-page .contact-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .contact-page .contact-details,
  .contact-page .contact-form {
    padding-right: 17px;
    padding-left: 17px;
  }

  .contact-page .contact-detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .contact-page .contact-location iframe {
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
