.contact-field-hint {
  display: none;
  margin-top: 8px;
  padding-left: 2px;
  font-size: 13px;
  line-height: 1.5;
}

.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.contact-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
}

.contact-success-panel-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.contact-success-panel {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgb(226 232 240);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
  padding: 28px 24px;
  text-align: center;
}

.contact-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(5 150 105);
  background: rgb(209 250 229);
}

.contact-success-title {
  margin: 0;
  color: rgb(15 23 42);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-success-message {
  margin: 10px 0 0;
  color: rgb(100 116 139);
  font-size: 15px;
  line-height: 1.8;
}

.contact-success-button {
  margin-top: 20px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgb(16 185 129);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.contact-success-button:hover {
  background: rgb(5 150 105);
}

.contact-field-hint.is-error {
  display: block;
  color: rgb(225 29 72);
}

.contact-field-hint.is-valid {
  display: block;
  color: rgb(5 150 105);
}

.contact-field-input.is-error {
  border-color: rgb(251 113 133) !important;
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.9), rgba(255, 255, 255, 0.98));
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.08);
}

.contact-field-input.is-valid {
  border-color: rgb(52 211 153) !important;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(255, 255, 255, 0.98));
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

.contact-service-time-icon {
  background: rgb(254 243 199);
}

.contact-captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-captcha-input-wrap {
  width: 100px;
  min-width: 100px;
}

.contact-captcha-input-wrap input {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-captcha-image-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;
  outline: none;
}

.contact-captcha-image-wrap:hover .contact-captcha-tooltip,
.contact-captcha-image-wrap:focus-visible .contact-captcha-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-captcha-image {
  display: block;
  width: 96px;
  height: 48px;
  border: 1px solid rgb(226 232 240);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  object-fit: cover;
  pointer-events: none;
}

.contact-captcha-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 2;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(38, 38, 38, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.contact-captcha-side-hint {
  display: none;
  margin-top: 0;
  margin-left: 6px;
  min-width: 120px;
  white-space: nowrap;
}

.contact-captcha-hint {
  margin-top: 8px;
  color: rgb(148 163 184);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .contact-captcha-row {
    flex-wrap: wrap;
  }

  .contact-captcha-input-wrap {
    min-width: 0;
  }

  .contact-captcha-image-wrap,
  .contact-captcha-image {
    width: 96px;
    min-width: 96px;
  }

  .contact-captcha-side-hint {
    min-width: 0;
    white-space: normal;
    margin-left: 0;
  }
}