/* ---------------------------------------------
   Site additions: language switcher + contact forms
   (kept separate from the TemplateMo stylesheet)
--------------------------------------------- */

/* Language switcher */
.header-area .main-nav .nav li.lang-switch {
  padding-left: 10px;
  padding-right: 0;
}
.header-area .main-nav .nav li.lang-switch .lang-pill {
  display: inline-block;
  padding: 0 12px;
  line-height: 28px;
  border: 1px solid currentColor;
  border-radius: 14px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .header-area .main-nav .nav li.lang-switch {
    padding-left: 0 !important;
  }
}

/* Honeypot anti-spam field: invisible to people, filled in by bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ form textarea (the template only styled inputs) */
#free-quote textarea {
  width: 100%;
  height: 120px;
  border-radius: 23px;
  background-color: #f9ebff;
  border: none;
  outline: none;
  padding: 15px;
  font-size: 14px;
  color: #2a2a2a;
  font-weight: 600;
  margin-bottom: 15px;
  resize: vertical;
}
#free-quote textarea::placeholder {
  color: #2a2a2a;
}

/* Visible focus for keyboard users */
#contact-form input:focus,
#contact-form textarea:focus,
#free-quote input:focus,
#free-quote textarea:focus {
  box-shadow: 0 0 0 2px #983b8e;
}

/* Submit state + result message */
.js-contact-form button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.form-status {
  margin-top: 15px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  min-height: 1px;
}
.form-status.is-success { color: #2e7d32; }
.form-status.is-error   { color: #c62828; }

/* Ukrainian pages: the template's "Capitalize Every Word" style is not used in Ukrainian */
html[lang="uk"] .main-button a,
html[lang="uk"] .second-button a,
html[lang="uk"] .section-heading h2 {
  text-transform: none;
}

/* reCAPTCHA v3: hide the floating badge (allowed by Google when the notice text is shown under the form) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #7a7a7a;
}
.recaptcha-notice a { color: #983b8e; text-decoration: underline; }

/* Submenu: the template has a fixed 160px width and 40px row height,
   so longer items ("Питання й відповіді") wrapped and the second line was cut off */
.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  white-space: nowrap;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    width: auto;
    min-width: 160px;
  }
}
