@charset "utf-8";

.dogcat-contact {
  color: #1c2540;
  background: #fff;
}

.dogcat-contact-layout .l-primary {
  min-width: 0;
}

.dogcat-contact *,
.dogcat-contact *::before,
.dogcat-contact *::after {
  box-sizing: border-box;
}

.dogcat-contact__inner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 0 80px;
}

.dogcat-contact__hero {
  overflow: hidden;
  margin: 0 0 48px;
  background: #071d72;
}

.dogcat-contact__hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 29, 114, .42);
  content: "";
  pointer-events: none;
}

.dogcat-contact__hero .p-company-header__content {
  z-index: 2;
  padding: 0 24px;
  color: #fff;
}

.dogcat-contact__hero .p-company-header__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.dogcat-contact__hero .p-company-header__sub {
  margin: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .14em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.dogcat-contact__hero .p-company-header__img img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 45%;
}

.dogcat-contact__header {
  margin-bottom: 40px;
}

.dogcat-contact__header p:not(.dogcat-contact__eyebrow) {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.9;
}

.dogcat-contact .wpcf7 form {
  margin: 0;
}

.dogcat-contact__field {
  margin: 0;
  padding: 23px 24px;
  border-top: 1px solid #d9def1;
}

.dogcat-contact__field-label {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  cursor: default;
}

.dogcat-contact__field:last-of-type {
  border-bottom: 1px solid #d9def1;
}

.dogcat-contact__label {
  display: block;
  padding-top: 10px;
  color: #071d72;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.dogcat-contact__required {
  display: inline-block;
  margin-left: 10px;
  color: #173dad;
  font-size: 11px;
  font-weight: 700;
}

.dogcat-contact__field .wpcf7-form-control-wrap,
.dogcat-contact__field .dogcat-contact__control,
.dogcat-contact__field input,
.dogcat-contact__field textarea,
.dogcat-contact__field select {
  display: block;
  width: 100%;
}

.dogcat-contact__field input,
.dogcat-contact__field textarea,
.dogcat-contact__field select {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #bfc8df;
  border-radius: 4px;
  color: #1c2540;
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.dogcat-contact__field textarea {
  min-height: 180px;
  resize: vertical;
}

.dogcat-contact__field input:focus,
.dogcat-contact__field textarea:focus,
.dogcat-contact__field select:focus {
  border-color: #173dad;
  outline: 2px solid rgba(23, 61, 173, .15);
}

.dogcat-contact__note {
  margin: 22px 0 28px;
  padding: 0 24px;
  color: #586178;
  font-size: 13px;
  line-height: 1.8;
}

.dogcat-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
}

.dogcat-contact .wpcf7 .dogcat-contact__actions input[type="button"],
.dogcat-contact .wpcf7 .dogcat-contact__actions input[type="submit"] {
  flex: 0 0 220px;
  width: 220px;
  max-width: 100%;
  min-width: 220px;
  min-height: 50px;
  height: 50px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid #071d72 !important;
  border-radius: 4px;
  background: #071d72;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.dogcat-contact .wpcf7 .dogcat-contact__actions input[type="button"]:hover,
.dogcat-contact .wpcf7 .dogcat-contact__actions input[type="submit"]:hover {
  background: #173dad;
}

.dogcat-contact .wpcf7 .dogcat-contact__actions input.wpcf7c-btn-back[type="button"] {
  background: #fff !important;
  color: #071d72 !important;
}

.dogcat-contact .wpcf7 .dogcat-contact__actions input.wpcf7c-btn-back[type="button"]:hover {
  background: #f2f5ff !important;
}

.dogcat-contact .wpcf7c-preview {
  padding: 0;
  border: 0;
  background: transparent;
}

.dogcat-contact .wpcf7c-preview h2 {
  margin: 0 0 8px;
  color: #071d72;
  font-size: 24px;
}

.dogcat-contact .wpcf7c-preview-lead {
  margin: 0 0 25px;
  font-size: 15px;
}

.dogcat-contact .wpcf7c-preview dl {
  margin: 0 0 25px;
  border-top: 0;
  border-bottom: 1px solid #d9def1;
}

.dogcat-contact .wpcf7c-preview-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 24px;
  border-top: 1px solid #d9def1;
}

.dogcat-contact .wpcf7c-preview-row dt,
.dogcat-contact .wpcf7c-preview-row dd {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.8;
}

.dogcat-contact .wpcf7c-is-preview .dogcat-contact__note {
  display: none;
}

.dogcat-contact .wpcf7c-preview-row dt {
  color: #071d72;
  font-weight: 700;
}

.dogcat-contact .wpcf7c-preview-row dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dogcat-contact .wpcf7-not-valid-tip {
  margin-top: 7px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .dogcat-contact__inner {
    width: 100%;
    padding: 0 0 36px;
  }

  .dogcat-contact__hero {
    margin-bottom: 36px;
  }

  .dogcat-contact__hero .p-company-header__img img {
    height: 250px;
  }

  .dogcat-contact__hero .p-company-header__title {
    font-size: 28px;
  }

  .dogcat-contact__field,
  .dogcat-contact__field-label,
  .dogcat-contact .wpcf7c-preview-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dogcat-contact__field,
  .dogcat-contact .wpcf7c-preview-row {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dogcat-contact__note {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dogcat-contact__label {
    padding-top: 0;
  }

  .dogcat-contact .wpcf7 .dogcat-contact__actions input[type="button"],
  .dogcat-contact .wpcf7 .dogcat-contact__actions input[type="submit"] {
    flex-basis: 100%;
    width: 100%;
  }
}
