/* 3H contact page — industrial / architectural direction. */

.threeh-contact-hero,
.threeh-contact-main,
.threeh-contact-map {
  width: 100%;
}

/* Legacy hero fallback only. The page is migrated to the reusable 3H Page Title element. */
.threeh-contact-hero {
  padding: clamp(48px, 5.4vw, 76px) var(--threeh-gutter);
  border-bottom: 4px solid var(--threeh-yellow);
  background: var(--threeh-navy);
  color: #fff;
}

.threeh-contact-hero__inner,
.threeh-contact-main__grid,
.threeh-contact-map__inner {
  width: 100%;
  max-width: var(--threeh-container) !important;
  margin-inline: auto;
}

.threeh-contact-hero__inner {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.threeh-contact-hero__title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fff;
}

.threeh-contact-hero__lead {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}

.threeh-contact-main {
  padding: clamp(56px, 6vw, 84px) var(--threeh-gutter);
  border-bottom: 1px solid #d8dee8;
  background: #f3f5f7;
}

.threeh-contact-main__grid {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.threeh-contact-info,
.threeh-contact-map__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.threeh-contact-info {
  padding-top: 22px;
  border-top: 4px solid var(--threeh-navy);
}

.threeh-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--threeh-blue);
}

.threeh-contact__eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--threeh-yellow);
}

.threeh-contact__eyebrow--light {
  color: rgba(255, 255, 255, .78);
}

.threeh-contact__title,
.threeh-contact-form__title {
  margin: 0;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--threeh-navy);
}

.threeh-contact__intro,
.threeh-contact-form__intro {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--threeh-muted);
}

.threeh-contact__cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 28px;
  border-top: 1px solid #cfd6e0;
  border-left: 1px solid #cfd6e0;
}

.threeh-contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 132px;
  gap: 7px;
  padding: 22px 22px 20px;
  border: 0;
  border-right: 1px solid #cfd6e0;
  border-bottom: 1px solid #cfd6e0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.threeh-contact-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 4px;
  height: 28px;
  background: var(--threeh-yellow);
}

.threeh-contact-card__label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--threeh-blue);
}

.threeh-contact-card__value,
.threeh-contact-card__phone,
.threeh-contact-card__social {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: #26344f !important;
}

.threeh-contact-card__phone,
.threeh-contact-card__social {
  display: inline-flex;
  width: auto !important;
  padding: 0;
  text-decoration: none;
}

.threeh-contact-card__phone:hover,
.threeh-contact-card__social:hover {
  color: var(--threeh-blue) !important;
}

.threeh-contact-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid #cbd3df;
  border-top: 4px solid var(--threeh-navy);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.threeh-contact-form__title {
  margin-top: 10px;
}

.threeh-contact-form__intro {
  margin-top: 8px;
}

.threeh-contact-form__shortcode {
  width: 100%;
  margin-top: 22px;
}

.threeh-contact-form .dawp-form-container,
.threeh-contact-form .dawp-contact-form-el {
  width: 100%;
}

.threeh-contact-form .dawp-form-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.threeh-contact-form .dawp-form-col {
  min-width: 0;
  flex: 1 1 0;
}

.threeh-contact-form .dawp-form-group {
  width: 100%;
  margin: 0 0 12px;
}

.threeh-contact-form .dawp-form-group label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .01em;
  color: #26344f;
}

.threeh-contact-form .required {
  color: var(--threeh-red);
}

.threeh-contact-form .dawp-input,
.threeh-contact-form .dawp-select,
.threeh-contact-form .dawp-textarea,
.threeh-contact-form .dawp-captcha-input {
  width: 100%;
  border: 1px solid #bdc7d4;
  border-radius: 0 !important;
  outline: 0;
  background: #fff;
  box-shadow: none !important;
  font-size: 12.5px !important;
  font-weight: 400;
  color: var(--threeh-text);
  box-sizing: border-box;
  transition: border-color .18s ease, background .18s ease;
}

.threeh-contact-form .dawp-input,
.threeh-contact-form .dawp-select {
  height: 42px !important;
  min-height: 42px !important;
  padding: 8px 11px !important;
}

.threeh-contact-form .dawp-textarea {
  height: 104px !important;
  min-height: 104px !important;
  padding: 10px 11px !important;
  line-height: 1.5 !important;
  resize: vertical;
}

.threeh-contact-form .dawp-input:focus,
.threeh-contact-form .dawp-select:focus,
.threeh-contact-form .dawp-textarea:focus,
.threeh-contact-form .dawp-captcha-input:focus {
  border-color: var(--threeh-navy);
  outline: 1px solid var(--threeh-navy);
  background: #fff;
  box-shadow: none !important;
}

.threeh-contact-form .dawp-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
  padding: 10px 20px !important;
  border: 1px solid var(--threeh-navy);
  border-left: 5px solid var(--threeh-yellow);
  border-radius: 0;
  background: var(--threeh-navy);
  box-shadow: none;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.threeh-contact-form .dawp-form-submit:hover {
  transform: none;
  border-color: var(--threeh-blue);
  border-left-color: var(--threeh-yellow);
  background: var(--threeh-blue);
  color: #fff;
}

.threeh-contact-form .dawp-captcha-wrap {
  margin: 2px 0 12px !important;
}

.threeh-contact-form .dawp-captcha-input {
  width: 125px;
  height: 38px !important;
  min-height: 38px !important;
  padding: 7px 10px !important;
}

.threeh-contact-form .dawp-form-response {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.55;
}

.threeh-contact-form .dawp-form-response.success {
  border: 1px solid #82b699;
  background: #eef7f2;
  color: #17633a;
}

.threeh-contact-form .dawp-form-response.error {
  border: 1px solid #dc9ca1;
  background: #fff3f3;
  color: #a8242d;
}

.threeh-contact-map {
  padding: clamp(56px, 6vw, 84px) var(--threeh-gutter) clamp(64px, 7vw, 96px);
  background: #fff;
}

.threeh-contact-map__inner {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}

.threeh-contact-map__heading {
  max-width: 780px;
  padding-top: 20px;
  border-top: 4px solid var(--threeh-navy);
}

.threeh-contact-map__heading .threeh-contact__title {
  margin-top: 12px;
}

.threeh-contact-map__heading .threeh-contact__intro {
  margin-top: 8px;
}

.threeh-contact-map__frame {
  width: 100%;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #bfc8d5;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.threeh-contact-map__frame iframe,
.threeh-contact-map__inner > iframe {
  display: block;
  width: 100% !important;
  height: clamp(540px, 44vw, 640px) !important;
  min-height: 540px !important;
  margin-top: 30px;
  border: 1px solid #bfc8d5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

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

  .threeh-contact-form {
    max-width: 860px;
  }
}

@media (max-width: 767px) {
  .threeh-contact-hero,
  .threeh-contact-main,
  .threeh-contact-map {
    padding-inline: 20px;
  }

  .threeh-contact-hero__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .threeh-contact__cards {
    grid-template-columns: 1fr;
  }

  .threeh-contact-form {
    padding: 24px 18px;
  }

  .threeh-contact-form .dawp-form-row {
    display: block;
  }

  .threeh-contact-map__frame iframe,
  .threeh-contact-map__inner > iframe {
    height: 440px !important;
    min-height: 440px !important;
  }
}
