/* Shared contact-page form presentation.
   The offer banner is intentionally not part of this shared form stylesheet. */
.v2-contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  text-align: left;
  box-sizing: border-box;
}
.v2-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.v2-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.v2-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}
.v2-form-group label .req,
.v2-form-group label .req-dot {
  color: #dc2626;
  font-size: 14px;
  vertical-align: top;
  margin-left: 3px;
  line-height: 1;
}
.v2-form-group input,
.v2-form-group select,
.v2-form-group textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f5f5f5;
  border: 1.5px solid #f0f0f0;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: #111;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.v2-form-group input:focus,
.v2-form-group select:focus,
.v2-form-group textarea:focus {
  border-color: #e8590c;
  background: #fff;
}
.v2-form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.v2-form-submit {
  width: 100%;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}
.v2-form-submit:hover {
  background: #333;
  transform: translateY(-2px);
}
.v2-form-submit--orange {
  background: #e8590c;
}
.v2-form-submit--orange:hover {
  background: #c94d0a;
}
.v2-contact-error {
  display: none;
  font-size: 13px;
  color: #dc2626;
  font-weight: 600;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 10px;
}
.v2-contact-success {
  display: none;
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}
.v2-contact-success.show {
  display: block;
}

/* The contact page's hero card treatment, applied to service-page heroes. */
.service-page #hero .v2-contact-card {
  grid-area: form;
  width: 100%;
  max-width: 540px;
  min-width: 0;
  justify-self: end;
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.18);
}
.service-page #hero .hero-headline,
.service-page #hero .hero-subheadline {
  min-width: 0;
}
.service-page #hero .v2-form-group {
  margin-bottom: 16px;
}
.service-page #hero .v2-form-group input,
.service-page #hero .v2-form-group select,
.service-page #hero .v2-form-group textarea {
  padding: 14px 16px;
  font-size: 14px;
}
.service-page #hero .v2-form-group textarea {
  min-height: 130px;
}
.service-page #hero .v2-form-submit {
  background: #e8590c;
  color: #fff;
  padding: 16px;
  font-size: 15px;
  margin-top: 8px;
}
.service-page #hero .v2-form-submit:hover {
  background: #c94e0a;
}

@media (max-width: 1024px) {
  .service-page #hero .v2-contact-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin: 8px auto 0;
  }
}
@media (max-width: 600px) {
  .v2-form-row {
    grid-template-columns: 1fr;
  }
  .service-page #hero .v2-contact-card {
    padding: 22px 20px;
  }
}