.stbase-contact-us-v2 {
  background: linear-gradient(to right, #f2f6fc 0, #f2f6fc 50%, #fff 50%, #fff 100%);
  color: #000;
  font-family: "Rubik", sans-serif;
}

.stbase-contact-us-v2 *,
.stbase-contact-us-v2 *::before,
.stbase-contact-us-v2 *::after {
  box-sizing: border-box;
}

.stbase-contact-us-v2__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1440px;
}

.stbase-contact-us-v2__form-column,
.stbase-contact-us-v2__locations-column {
  min-width: 0;
  padding: 120px 70px;
}

.stbase-contact-us-v2__form-column {
  background-color: #f2f6fc;
}

.stbase-contact-us-v2__locations-column {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stbase-contact-us-v2__content {
  width: 100%;
}

.stbase-contact-us-v2__eyebrow {
  color: #f2000c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stbase-contact-us-v2 h2 {
  color: #000;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.stbase-contact-us-v2__content > p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 16px 0 0;
}

.stbase-contact-us-v2__form {
  margin-top: 40px;
  width: 100%;
}

.stbase-contact-us-v2__thank-you {
  align-items: flex-start;
  border-top: 1px solid #828fa1;
  display: none;
  flex-direction: column;
  justify-content: center;
  margin-top: 28px;
  min-height: 300px;
}

.stbase-contact-us-v2.is-thank-you .stbase-contact-us-v2__form {
  display: none;
}

.stbase-contact-us-v2.is-thank-you .stbase-contact-us-v2__thank-you {
  display: flex;
}

.stbase-contact-us-v2__thank-you-icon {
  height: 24px;
  margin-bottom: 24px;
  width: 24px;
}

.stbase-contact-us-v2__thank-you .stbase-contact-us-v2__eyebrow {
  color: #34a34a;
  margin-bottom: 8px;
}

.stbase-contact-us-v2__thank-you h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.stbase-contact-us-v2__thank-you p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.stbase-contact-us-v2__done {
  align-items: center;
  background: #f2000c;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 24px;
  min-height: 48px;
  padding: 15px 32px;
}

.stbase-contact-us-v2__done:hover,
.stbase-contact-us-v2__done:focus {
  background: #8d0007;
}

.stbase-contact-us-v2 .contact-us-v2-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin: 0;
}

.stbase-contact-us-v2 .contact-us-v2-form p {
  margin: 0 0 24px;
  width: 100%;
}

.stbase-contact-us-v2 .contact-us-v2-form p:has(input[type="email"]),
.stbase-contact-us-v2 .contact-us-v2-form p:has(input[name="phone"]) {
  width: calc(50% - 16px);
}

.stbase-contact-us-v2 .contact-us-v2-form label,
.stbase-contact-us-v2 .contact-us-v2-form legend {
  color: #000;
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.stbase-contact-us-v2 .contact-us-v2-form fieldset {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  width: 100%;
}

.stbase-contact-us-v2 .contact-us-v2-form fieldset legend {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.stbase-contact-us-v2 .contact-us-v2-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
  appearance: none;
  background: transparent;
  border: 0 !important;
  border-bottom: 1px solid #c7ced8 !important;
  border-radius: 0;
  color: #000;
  display: block;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 16px;
  outline: 0;
  padding: 0;
  width: 100%;
}

.stbase-contact-us-v2 .contact-us-v2-form textarea {
  appearance: none;
  background: transparent;
  border: 1px solid #c7ced8 !important;
  border-radius: 4px;
  color: #000;
  display: block;
  font: inherit;
  font-size: 14px;
  height: 104px;
  line-height: 1.2;
  margin-top: 16px;
  outline: 0;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.stbase-contact-us-v2 .contact-us-v2-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus {
  border: 0 !important;
  border-bottom: 1px solid #303030 !important;
  box-shadow: none;
}

.stbase-contact-us-v2 .contact-us-v2-form textarea:focus {
  border: 1px solid #303030 !important;
  box-shadow: none;
}

.stbase-contact-us-v2 .contact-us-v2-form .wpcf7-list-item {
  margin: 0 16px 8px 0;
}

.stbase-contact-us-v2 .contact-us-v2-form .wpcf7-list-item label {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  gap: 8px;
}

.stbase-contact-us-v2 .contact-us-v2-form input[type="checkbox"],
.stbase-contact-us-v2 .contact-us-v2-form input[type="radio"] {
  accent-color: #f2000c;
  height: 20px;
  margin: 0;
  width: 20px;
}

.stbase-contact-us-v2 .contact-us-v2-form input[type="submit"],
.stbase-contact-us-v2 .contact-us-v2-form button[type="submit"] {
  background: #f2000c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 24px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  padding: 15px 56px 15px 32px;
  transition: background-color .2s ease;
}

.stbase-contact-us-v2 .contact-us-v2-form input[type="submit"]:hover,
.stbase-contact-us-v2 .contact-us-v2-form button[type="submit"]:hover {
  background-color: #8d0007;
}

.stbase-contact-us-v2 .contact-us-v2-form .wpcf7-not-valid-tip {
  color: #f2000c;
  font-size: 13px;
  margin-top: 6px;
}

.stbase-contact-us-v2 .contact-us-v2-form .wpcf7-response-output {
  border: 0;
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 0 0;
  padding: 0;
}

.stbase-contact-us-v2__email {
  color: #f2000c;
  display: inline-block;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.32;
  margin: 40px 0 40px;
  text-decoration: none;
}

.stbase-contact-us-v2__email:hover {
  text-decoration: underline;
}

.stbase-contact-us-v2__offices {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.stbase-contact-us-v2__office {
  color: #000;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}

.stbase-contact-us-v2__office img,
.stbase-contact-us-v2__office iframe {
  border-radius: 4px;
  display: block;
  height: 180px;
  margin-bottom: 16px;
  object-fit: cover;
  width: 100%;
}

.stbase-contact-us-v2__office iframe {
  border: 0;
  filter: grayscale(1) contrast(.72) brightness(1.08);
}

.stbase-contact-us-v2__office-name,
.stbase-contact-us-v2__office-phone,
.stbase-contact-us-v2__office-address {
  display: block;
}

.stbase-contact-us-v2__office-name,
.stbase-contact-us-v2__office-phone {
  font-size: 18px;
  line-height: 1.5;
}

.stbase-contact-us-v2__office-name {
  font-weight: 400;
}

.stbase-contact-us-v2__office-phone {
  color: #f2000c;
  font-weight: 700;
  text-decoration: none;
}

.stbase-contact-us-v2__office-address {
  color: #000;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
  margin-top: 4px;
  text-decoration: none;
}

.stbase-contact-us-v2 a.stbase-contact-us-v2__office-address:hover {
  color: #000;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .stbase-contact-us-v2__form-column,
  .stbase-contact-us-v2__locations-column {
    padding: 80px 45px;
  }

  .stbase-contact-us-v2__offices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stbase-contact-us-v2 {
    background: #fff;
  }

  .stbase-contact-us-v2__inner {
    grid-template-columns: 1fr;
  }

  .stbase-contact-us-v2__form-column,
  .stbase-contact-us-v2__locations-column {
    padding: 60px 25px;
  }

  .stbase-contact-us-v2 h2 {
    font-size: 30px;
  }

  .stbase-contact-us-v2__email {
    font-size: 25px;
  }

  .stbase-contact-us-v2__offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .stbase-contact-us-v2__offices {
    grid-template-columns: 1fr;
  }

  .stbase-contact-us-v2 .contact-us-v2-form p:has(input[type="email"]),
  .stbase-contact-us-v2 .contact-us-v2-form p:has(input[name="phone"]) {
    width: 100%;
  }
}
