button {
  border: none;
}

[class*="_sprite-"]:before {
  content: "";
  display: block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  flex-shrink: 0;
  width: var(--iw, 16px);
  aspect-ratio: 1/1;
  transition: all 0.3s;
  background-color: var(--ic, #35373a);
}

._sprite-cross:before {
  -webkit-mask-image: url("../assets/img/icons/cross.svg");
  mask-image: url("../assets/img/icons/cross.svg");
}

._sprite-cross-simple:before {
  -webkit-mask-image: url("../assets/img/icons/cross-simple.svg");
  mask-image: url("../assets/img/icons/cross-simple.svg");
}

@media screen and (max-width: 767px) {
  .static-form .consent-checkbox>p {
    margin-top: 6px;
  }
}

@media screen and (max-width: 639px) {
  input {
    font-size: 12.5px;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    padding: 0 9px;
    height: 31px;
    margin: 0 0 10px;
  }

  .wpcf7 div.wpcf7-response-output {
    font-size: 12.5px;
    bottom: -30px;
  }
}

.static-form .consent-checkbox .wpcf7-list-item label {
  position: relative;
  display: block;
  min-height: 20px;
}

.static-form .consent-checkbox input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  margin: 0;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
}

.static-form .consent-checkbox .wpcf7-list-item-label {
  position: relative;
  display: block;
  padding: 0 0 5px 20px;
  cursor: pointer;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.4px;
  z-index: 1;
}

.static-form .consent-checkbox .wpcf7-list-item-label:before,
.static-form .consent-checkbox .wpcf7-list-item-label:after {
  pointer-events: none;
}

.static-form .consent-checkbox .wpcf7-list-item-label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 1px solid #cfcfd2;
  background-color: #fff;
  box-sizing: border-box;
  z-index: 1;
}

.static-form .consent-checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label:before {
  background-color: #fff;
  border-color: #1555a0;
}

.static-form .consent-checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  aspect-ratio: 5/9;
  width: 5px !important;
  height: auto !important;
  border: solid #1555a0;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  z-index: 2;
  box-sizing: border-box;
}

.static-form .consent-checkbox .consent-privacy-link {
  position: relative;
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: underline;
  color: inherit;
}

.static-form .consent-checkbox .consent-privacy-link:hover {
  text-decoration: underline;
}

.static-form .consent-checkbox .wpcf7-list-item {
  margin: 0;
}

.forth-form {
  margin-top: 20px;
}

@media screen and (max-width: 1023px) {
  .forth-form p>span:first-of-type {
    max-width: unset !important;
  }

  .static-form .consent-checkbox .wpcf7-list-item-label {
    padding: 0 0 5px 20px;
  }
}

@media screen and (max-width: 767px) {
  .field p .wpcf7-form-control-wrap {
    width: 100%;
  }

  .forth-form p>span:first-of-type {
    width: 100% !important;
    max-width: unset !important;
  }
}

.static-form .consent-checkbox .consent-privacy-link,
.wpcf7-form .consent-privacy-link {
  text-decoration: underline;
}

.static-form .consent-checkbox .consent-privacy-link:hover,
.wpcf7-form .consent-privacy-link:hover {
  text-decoration: underline;
}

.static-form * {
  margin: 0;
  padding: 0;
  color: inherit;
  box-sizing: border-box;
}

.premia * {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.fls-button,
input[type="submit"].fls-button {
  padding: 5px 10px !important;
  min-height: 50px !important;
  border-radius: 10px !important;
  background-color: #fcc000 !important;
  cursor: pointer !important;
  color: #000 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  transition: all 0.3s !important;
  box-sizing: border-box !important;
}

.fls-button--blue {
  color: #fff !important;
  background-color: #7eb3e3 !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field__input {
  font: unset !important;
  color: rgba(0, 0, 0, 0.5) !important;
  font-size: 16px;
  padding: 7px 17px !important;
  border-radius: 10px !important;
  border: 1px solid #000 !important;
  background-color: #fff !important;
  height: 50px !important;
  margin-bottom: 0 !important;
}

.contact-section__field {
  margin-bottom: 0;
}

.field__input::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

[class*="__container"] {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.select {
  min-width: 0;
  position: relative;
  font: unset !important;
}

.select__body {
  position: relative;
}

.select__title {
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  position: relative;
  padding: 0;
}

.select__value {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #000;
  padding: 5px 17px;
  height: 50px;
  border-radius: 10px;
  color: rgba(0, 0, 0, 0.5);
  min-width: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Assistant";
}

.select__value>* {
  flex: 1 1 auto;
}

.select__value:after {
  content: "";
  -webkit-mask-image: url("https://lp.premiaspine.com/wp-content/themes/premiaspine/assets/img/icons/triangle.svg");
  mask-image: url("https://lp.premiaspine.com/wp-content/themes/premiaspine/assets/img/icons/triangle.svg");
  display: block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.3s ease 0s;
  width: 13px;
  height: 7px;
  background-color: rgba(0, 0, 0, 0.5);
  aspect-ratio: auto;
}

.select__content {
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.select__options {
  position: absolute;
  border-radius: 0 0 10px 10px;
  width: 100%;
  border: 1px solid #000;
  border-top: none;
  left: 0;
  background-color: #fff;
  overflow: hidden;
  min-width: 0;
  top: 100%;
  box-sizing: border-box;
}

.select__scroll {
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  height: var(--content-height);
}

.select__scroll .simplebar-vertical {
  right: 10px !important;
  height: 100% !important;
}

.select__option {
  color: rgba(0, 0, 0, 0.5);
  width: 100%;
  cursor: pointer;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  padding: 6px 17px;
  font-family: "Assistant";
  transition: all 0.3s;
}

[data-simplebar] {
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.simplebar-wrapper {
  overflow: hidden;
  width: inherit;
  height: inherit;
  max-width: inherit;
  max-height: inherit;
}

.simplebar-mask {
  direction: inherit;
  position: absolute;
  overflow: hidden;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: auto !important;
  height: auto !important;
  z-index: 0;
}

.simplebar-offset {
  direction: inherit !important;
  box-sizing: inherit !important;
  resize: none !important;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

.simplebar-content-wrapper {
  direction: inherit;
  box-sizing: border-box !important;
  position: relative;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.simplebar-content-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.simplebar-content:before,
.simplebar-content:after {
  content: " ";
  display: table;
}

.simplebar-placeholder {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
  box-sizing: inherit !important;
  height: 100%;
  width: 100%;
  max-width: 1px;
  position: relative;
  float: left;
  max-height: 1px;
  overflow: hidden;
  z-index: -1;
  padding: 0;
  margin: 0;
  pointer-events: none;
  flex-grow: inherit;
  flex-shrink: 0;
  flex-basis: 0;
}

.simplebar-height-auto-observer {
  box-sizing: inherit;
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 1000%;
  width: 1000%;
  min-height: 1px;
  min-width: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.simplebar-track {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.simplebar-scrollbar {
  position: absolute;
  left: 0;
  right: 0;
  min-height: 10px;
}

.simplebar-scrollbar:before {
  position: absolute;
  content: "";
  background: black;
  border-radius: 7px;
  left: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s 0.5s linear;
}

.simplebar-track.simplebar-vertical {
  top: 0;
  width: 11px;
}

.simplebar-scrollbar:before {
  top: 2px;
  bottom: 2px;
  left: 2px;
  right: 2px;
}

.simplebar-track.simplebar-horizontal {
  left: 0;
  height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  right: auto;
  left: 0;
  top: 0;
  bottom: 0;
  min-height: 0;
  min-width: 10px;
  width: auto;
}

.text-block,
.form-sidebar h2 {
  position: relative;
  padding-left: 26px;
}

.text-block::before,
.form-sidebar h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 87px;
  background-color: #fcc000;
}

.text-block__title,
.form-sidebar h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.text-block__title.--wide {
  line-height: 1.6;
}

.premia__contact {
  margin-bottom: 67px;
}

.contact-section__text-block:not(:last-child) {
  margin-bottom: 62px;
}

.contact-section__form {
  display: flex;
  flex-direction: column;
}

.contact-section__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 65px;
  max-width: 863px;
  margin: 0 auto;
  width: 100%;
}

.contact-section__button,
input[type="submit"].contact-section__button {
  font-size: 28px;
  min-height: 72px;
  width: 100%;
  max-width: 458px;
  align-self: center;
  margin: 0 auto;
  margin-top: 30px;
}

.contact-section__checkbox {
  margin-top: 16px;
  min-width: 0;
}

.static-form .contact-section__checkbox.consent-checkbox .wpcf7-list-item-label {
  font-weight: 400;
  white-space: normal;
}

/* Спиннер справа от кнопки Submit. Кнопка (max-width: 458px) центрируется
   внутри <p>, поэтому <p> делаем опорой для абсолютного позиционирования.
   Селектор с .contact-us нужен, чтобы перебить правило
   `.contact-us p .wpcf7-spinner { right: 0 }` из all.css. */
.contact-section__form p:has(> .contact-section__button) {
  position: relative;
}

.contact-section__button+.wpcf7-spinner,
.contact-us p .contact-section__button+.wpcf7-spinner {
  position: absolute;
  bottom: 14px;
  /* left: calc(50% + 241px); правый край кнопки (458px / 2) + отступ 12px */
  right: calc(25% + 20px);
  margin: 0;
}

@media (max-width: 560px) {

  .contact-section__button+.wpcf7-spinner,
  .contact-us p .contact-section__button+.wpcf7-spinner {
    /* кнопка здесь на всю ширину — спиннер внутри её правого края */
    left: auto;
    right: 12px;
  }
}

@media (max-width: 47.99875em) {

  .fls-button,
  input[type="submit"].fls-button {
    font-size: 18px !important;
    cursor: pointer !important;
  }

  .text-block__title,
  .form-sidebar h2 {
    font-size: 28px;
  }

  .text-block__title.--wide {
    line-height: 1.65;
  }

  .text-block,
  .form-sidebar h2 {
    padding-left: 14px;
  }

  .text-block::before,
  .form-sidebar h2::before {
    width: 3px;
    height: 50px;
  }

  .premia__contact {
    margin-bottom: 16px;
  }

  .contact-section__text-block:not(:last-child) {
    margin-bottom: 30px;
  }

  .contact-section__form {
    gap: 24px;
  }

  .contact-section__button,
  input[type="submit"].contact-section__button {
    margin-top: 24px;
  }

  .contact-section__fields {
    gap: 15px;
  }

  .contact-section__button,
  input[type="submit"].contact-section__button {
    font-size: 24px;
    min-height: 50px;
  }

  .static-form .consent-checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label:after {
    width: 4px !important;
  }
}

@media (max-width: 37.49875em) {
  .contact-section__fields {
    grid-template-columns: 1fr;
  }

  .contact-section__field:nth-child(1) {
    grid-row: 1;
  }

  .contact-section__field:nth-child(2) {
    grid-row: 4;
  }

  .contact-section__field:nth-child(3) {
    grid-row: 2;
  }

  .contact-section__field:nth-child(4) {
    grid-row: 5;
  }

  .contact-section__field:nth-child(5) {
    grid-row: 3;
  }

  .contact-section__field:nth-child(6) {
    grid-row: 6;
  }
}

@media (any-hover: hover) {

  .fls-button:hover:not(:disabled),
  input[type="submit"].fls-button:hover:not(:disabled) {
    background-color: #000 !important;
    color: #fcc000 !important;
  }

  .select__option:hover {
    background: #eeece9;
  }
}

@media screen and (min-width: 767px) {
  .contact-section__checkbox p {
    display: flex;
    justify-content: center;
  }

  .form-show-btn {
    display: none !important;
  }
}

@media screen and (max-width: 499.98px) {
  .static-form .contact-section__checkbox.consent-checkbox .wpcf7-list-item-label {
    font-size: 10px;
    line-height: 1.2;
  }
}

.premia__contact .contact-section__form .wpcf7 {
  max-width: 863px;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.contact-section__field>p,
.contact-section__field>p>.wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 0;
}

.contact-section__field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-section__field .field__input:focus {
  border-color: #000 !important;
  outline: none;
}

.contact-section .wpcf7-response-output {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.contact-section__field .wpcf7-not-valid-tip {
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: calc(100% - 50px);
  color: #dc3232 !important;
  background-color: #fff !important;
  padding: 0 5px !important;
  font-size: 16px !important;
  border: none !important;
  pointer-events: none;
  z-index: 10;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.contact-section__field:has(.wpcf7-not-valid) .field__input::placeholder {
  color: transparent;
}

.contact-section__field .field__input.wpcf7-not-valid {
  border-color: #dc3232 !important;
}

.contact-section__field .field__input:focus {
  border-color: #000 !important;
  outline: none;
}

.contact-section__checkbox .wpcf7-not-valid-tip {
  display: none !important;
}

.contact-section__checkbox .wpcf7-not-valid .wpcf7-list-item-label {
  color: #dc3232 !important;
  transition: color 0.2s ease;
}

.--select-open {
  z-index: 10 !important;
}

.--select-open .select__value {
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.--select-open .select__value::after {
  transform: rotate(-180deg);
}

.select--show-top.--select-open .select__value {
  border-radius: 0 0 10px 10px;
  border-bottom-color: #000;
  border-top: none;
}

.select--show-top .select__options {
  bottom: 100%;
  top: auto;
  border-radius: 10px 10px 0 0;
  border-top: 1px solid #000;
  border-bottom: none;
}

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) .select:not(.--select-open) .select__value {
  border-color: #dc3232;
}

/* Скидання стилів з (min-width: 767px), щоб вони не застосовувалися в сайдбарі */
.form-sidebar .contact-section__checkbox p {
  display: block !important;
}

/* Правила з max-width: 1023px (застосовуються і на менших екранах) */
.form-sidebar .forth-form p>span:first-of-type {
  max-width: unset !important;
}

.form-sidebar .consent-checkbox .wpcf7-list-item-label {
  padding: 0 0 5px 20px !important;
}

.form-sidebar .consent-checkbox>p {
  margin-top: 6px !important;
}

.form-sidebar .field p .wpcf7-form-control-wrap {
  width: 100% !important;
}

.form-sidebar .forth-form p>span:first-of-type {
  width: 100% !important;
  max-width: unset !important;
}

.form-sidebar .fls-button,
.form-sidebar input[type="submit"].fls-button {
  font-size: 18px !important;
  cursor: pointer !important;
}

.form-sidebar .text-block__title,
.form-sidebar h2 {
  font-size: 28px !important;
}

.form-sidebar .text-block__title.--wide {
  line-height: 1.65 !important;
}

.form-sidebar .text-block,
.form-sidebar h2 {
  padding-left: 14px !important;
}

.form-sidebar .text-block::before,
.form-sidebar h2::before {
  width: 3px !important;
  height: 100% !important;
}

.form-sidebar h2 {
  margin-bottom: 24px !important;
}

.form-sidebar .premia__contact {
  margin-bottom: 16px !important;
}

.form-sidebar .contact-section__text-block:not(:last-child) {
  margin-bottom: 30px !important;
}

.form-sidebar .contact-section__form {
  gap: 0 !important;
}

.form-sidebar .contact-section__fields {
  gap: 15px !important;
}

.form-sidebar .contact-section__button,
.form-sidebar input[type="submit"].contact-section__button {
  margin-top: 24px !important;
  font-size: 24px !important;
  height: 50px !important;
}

.form-sidebar .contact-section__fields {
  grid-template-columns: 1fr;
}

.form-sidebar .contact-section__field:nth-child(1) {
  grid-row: 1;
}

.form-sidebar .contact-section__field:nth-child(2) {
  grid-row: 4;
}

.form-sidebar .contact-section__field:nth-child(3) {
  grid-row: 2;
}

.form-sidebar .contact-section__field:nth-child(4) {
  grid-row: 5;
}

.form-sidebar .contact-section__field:nth-child(5) {
  grid-row: 3;
}

.form-sidebar .contact-section__field:nth-child(6) {
  grid-row: 6;
}

.form-sidebar .contact-section__field {
  font-size: 16px !important;
  font-family: "Assistant";
  font-weight: 400;
}

.form-sidebar .contact-section__field input::placeholder {
  font-weight: 400;
}

.form-sidebar .contact-section__checkbox.consent-checkbox .wpcf7-list-item-label {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.form-sidebar .consent-checkbox,
.contact-us .consent-checkbox,
.form-sidebar .wpcf7-form-control-wrap[data-name="first_name"] .wpcf7-not-valid-tip {
  display: block !important;
}

.head-contact_form {
  width: 48.18%;
  display: flex;
  align-items: flex-end;
  flex-direction: row-reverse;
  margin: 0 2.2% 0 0;
  box-sizing: border-box;
}

.head-contact_form * {
  box-sizing: border-box;
}

.top-section .wpcf7 {
  width: 67.15%;
}

.head-contact_form {
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  color: #fff;
  z-index: 21;
  padding: 10px 66px;
  box-sizing: border-box;
  height: 242px;
  transition: all 0.2s ease-in-out;
}

.head-contact_form>h2 {
  display: none;
}

.head-contact_form h3 {
  color: #fff;
  margin: 6px 0 10px;
  font-size: 24px;
  font-weight: 400;
}

.head-contact_form .wpcf7 {
  width: 100%;
  position: relative;
}

.head-contact_form .fields-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.head-contact_form .fields-row .field {
  width: 16.67%;
  position: relative;
}

.head-contact_form .fields-row br {
  display: none;
}

.head-contact_form .fields-row input[type="text"],
.head-contact_form .fields-row input[type="tel"],
.head-contact_form .fields-row input[type="email"],
.head-contact_form .fields-row textarea,
.head-contact_form .fields-row select {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  padding: 0 17px;
  color: #808080;
  font-size: 16px;
  resize: none;
  border: none !important;
  box-sizing: border-box;
  margin: 0;
  display: block;
}

.head-contact_form .fields-row textarea {
  line-height: 50px;
}

.head-contact_form .fields-row input[type="text"]::placeholder,
.head-contact_form .fields-row input[type="tel"]::placeholder,
.head-contact_form .fields-row input[type="email"]::placeholder,
.head-contact_form .fields-row textarea::placeholder,
.head-contact_form .fields-row select::placeholder {
  color: #808080;
}

.head-contact_form .fields-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 33px;
}

.head-contact_form .fields-row .field:has(select) {
  position: relative;
}

.head-contact_form .fields-row .field:has(select):after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-3px);
  pointer-events: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #808080 transparent transparent transparent;
  display: none !important;
}

.head-contact_form .fields-row input[type="submit"] {
  width: 100%;
  font-weight: 700;
  box-sizing: border-box;
  margin: 0;
  text-transform: lowercase;
}

.top-form-el .field .error-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 16px;
  color: #f00;
  box-sizing: border-box;
  padding: 0 17px;
  background: #fff;
  pointer-events: none;
  border-radius: 10px;
  z-index: 10;
  display: none;
  align-items: center;
}

.top-form-el .field:has(input:focus) .error-text,
.top-form-el .field:has(select:focus) .error-text {
  display: none !important;
}

.top-form-el .wpcf7-response-output {
  display: none !important;
}

.head-contact_form .fields-row .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: calc(100% - 35px);
  margin: -12px 0 0;
}

.head-contact_form .note {
  font-size: 14px;
  white-space: wrap;
  max-width: 100%;
  display: flex;
  text-align: left;
  align-items: center;
}

.head-contact_form p {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.head-contact_form p span {
  width: 100%;
}

.head-contact_form .consent-checkbox p span {
  width: auto;
}

.form-show-btn {
  position: fixed;
  width: calc(100% - 40px);
  max-width: 305px;
  left: 50%;
  transform: translateX(-50%);
  top: calc(var(--header-height) + 10px);
  z-index: 50;
  font-size: 14px !important;
  font-weight: 700 !important;
  min-height: 35px !important;
  border-radius: 100px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s !important;
}

.form-show-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.head-contact_form p span:has(select) {
  width: 100%;
}

.head-contact_form {
  position: fixed;
  top: var(--header-height) !important;
  left: 0;
  height: 105px;
  background: linear-gradient(180deg, #093a80 0%, #020c1a 100%) !important;
  padding-block: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.head-contact_form .wpcf7 {
  padding-inline: 65px;
  max-width: 1870px;
  margin: 0 auto;
}

@media only screen and (max-width: 1860px) {
  .head-contact_form {
    padding: 10px 30px;
  }

  .head-contact_form h3 {
    margin: 6px 0 10px;
    font-size: 24px;
  }

  .head-contact_form .fields-row {
    gap: 18px;
  }

  .head-contact_form .fields-row input[type="text"],
  .head-contact_form .fields-row input[type="tel"],
  .head-contact_form .fields-row input[type="email"],
  .head-contact_form .fields-row textarea,
  .head-contact_form .fields-row select {
    font-size: 16px;
  }

  .head-contact_form .fields-row select {
    padding-right: 33px;
  }

  .head-contact_form .fields-row input[type="submit"] {
    border-radius: 10px;
    padding: 0 10px;
    font-weight: 700;
    font-size: 25px;
  }

  .head-contact_form .fields-row .wpcf7-spinner {
    right: -34px;
    margin: -12px 0 0;
  }

  .head-contact_form .note {
    font-size: 14px;
    line-height: 1;
  }
}

@media only screen and (max-width: 1500px) {
  .head-contact_form {
    padding: 0 30px 23px;
    height: 202px;
  }

  .head-contact_form h3 {
    margin: 6px 0 10px;
    font-size: 20px;
  }

  .head-contact_form .fields-row {
    gap: 10px;
  }

  .head-contact_form .fields-row .field {
    width: 16.67%;
  }

  .head-contact_form .fields-row input[type="text"],
  .head-contact_form .fields-row input[type="tel"],
  .head-contact_form .fields-row input[type="email"],
  .head-contact_form .fields-row textarea,
  .head-contact_form .fields-row select {
    height: 40px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
  }

  .head-contact_form .fields-row textarea {
    line-height: 40px;
  }

  .top-form-el .field .error-text {
    font-size: 14px;
    padding: 0 10px;
  }

  .head-contact_form .fields-row select {
    padding-right: 25px;
  }

  .head-contact_form .fields-row .field:has(select):after {
    right: 10px;
    transform: translateY(-5px);
    border-width: 6px 5px 0 5px;
  }

  .head-contact_form .fields-row input[type="submit"] {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 10px;
    font-size: 22px;
    font-weight: 700;
  }

  .head-contact_form .fields-row .wpcf7-spinner {
    right: -34px;
    margin: -12px 0 0;
  }

  .head-contact_form .note {
    font-size: 12px;
    line-height: 1;
  }

  .head-contact_form {
    padding-block: 8px;
  }

  .head-contact_form .wpcf7 {
    padding-inline: 20px;
  }
}

@media only screen and (max-width: 1500px) {
  .head-contact_form {
    padding-left: 0 !important;
  }
}

@media screen and (max-width: 1130px) {
  input {
    font-size: 16px;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    margin: 0 0 20px;
  }

  textarea {
    font-size: 16px;
    margin: 0 0 20px;
  }

  .head-contact_form {
    width: 52.18%;
  }

  .top-section .wpcf7 {
    width: 53.49%;
  }
}

@media only screen and (max-width: 1100px) {
  .head-contact_form .wpcf7 {
    padding-left: 10px !important;
  }
}

@media screen and (max-width: 1023px) {
  .head-contact_form {
    padding: 8px 15px;
    height: auto;
    padding-left: 15px !important;
  }

  .head-contact_form h3 {
    margin: 0 0 5px;
    font-size: 15px;
    line-height: 23px;
    text-align: left;
    mix-blend-mode: normal;
  }

  .head-contact_form .fields-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 15px;
  }

  .head-contact_form .fields-row .field {
    width: auto;
  }

  .head-contact_form .fields-row .field:has(input[type="submit"]) {
    width: 100%;
    grid-column: 1 / -1;
  }

  .head-contact_form .fields-row input[type="text"],
  .head-contact_form .fields-row input[type="tel"],
  .head-contact_form .fields-row input[type="email"],
  .head-contact_form .fields-row textarea,
  .head-contact_form .fields-row select {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 5.5px;
  }

  .head-contact_form .fields-row textarea {
    line-height: 30px;
  }

  .top-form-el .field .error-text {
    font-size: 12px;
  }

  .head-contact_form .fields-row select {
    padding-right: 25px;
  }

  .head-contact_form .fields-row input[type="submit"] {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 18px !important;
  }

  .head-contact_form .fields-row .wpcf7-spinner {
    right: -34px;
    margin: -12px 0 0;
  }

  .head-contact_form .note {
    font-size: 10px;
    line-height: 1.4;
    text-align: left;
    max-width: 205px;
  }

  .head-contact_form {
    z-index: 20;
  }

  .head-contact_form .wpcf7 {
    padding-inline: 15px;
  }
}

@media screen and (max-width: 980px) {
  .head-contact_form {
    width: 100%;
    flex-direction: column;
    margin: 0;
  }

  .top-section .wpcf7 {
    width: 100%;
  }

  .top-section .wpcf7 div.wpcf7-response-output {
    bottom: -25px;
  }
}

@media screen and (max-width: 767px) {
  .head-contact_form h3 {
    text-align: left;
    margin-bottom: 3px;
    line-height: 1.3;
    max-width: 230px;
  }

  .head-contact_form {
    background: none;
    margin: 0 -15px;
    width: calc(100% + 30px);
    padding: 30px 15px 4px;
    height: auto;
    position: relative;
  }

  .static-form .consent-checkbox>p {
    margin-top: 4px;
  }

  .head-contact_form {
    justify-content: start;
    top: calc(var(--header-height) + 10px) !important;
  }

  .head-contact_form .wpcf7 {
    padding-top: 14px;
  }

  .head-contact_form .consent-checkbox .wpcf7-list-item-label {
    line-height: 0.9 !important;
    padding-bottom: 0 !important;
  }
}

@media screen and (max-width: 639px) {
  .top-section .wpcf7 div.wpcf7-response-output {
    bottom: -25px;
  }

  .head-contact_form {
    height: 210px;
  }
}

@media screen and (max-width: 1023px) {
  .head-contact_form .fields-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .forth-form p>span:first-of-type {
    max-width: unset !important;
  }

  .head-contact_form .consent-checkbox .wpcf7-list-item-label,
  .head-contact_form .consent-checkbox .consent-privacy-link {
    font-size: 10px;
    line-height: 1.1;
    text-align: left;
  }

  .static-form .consent-checkbox .wpcf7-list-item-label {
    padding: 0 0 5px 20px;
  }

  .head-contact_form .note {
    max-width: 100%;
    line-height: 1.2;
    margin-bottom: 9px;
  }
}

@media screen and (max-width: 767px) {
  .field p .wpcf7-form-control-wrap {
    width: 100%;
  }

  .top-form-el .wpcf7-checkbox .wpcf7-list-item-label {
    max-width: 100%;
  }

  .head-contact_form p {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .head-contact_form .fields-row .field {
    width: 100%;
  }

  .head-contact_form .fields-row {
    grid-template-columns: repeat(2, 1fr);
    justify-items: flex-start;
    row-gap: 8px;
  }

  .head-contact_form .consent-checkbox .wpcf7-list-item-label {
    padding-top: 1px;
    padding-left: 15px;
  }

  .head-contact_form .consent-checkbox {
    margin-top: 5px !important;
  }

  .head-contact_form .consent-checkbox .wpcf7-list-item-label:before {
    width: 10px;
    height: 10px;
  }

  .head-contact_form .consent-checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label:after {
    top: 3px;
    left: 3px;
    width: 5px;
    height: auto;
  }

  .head-contact_form .field:has(.hero-submit) {
    margin-top: 5px;
  }

  .head-contact_form p {
    margin: 0;
    width: 100%;
    display: block;
  }

  .head-contact_form p>br {
    display: none;
  }

  .forth-form p>span:first-of-type {
    width: 100% !important;
    max-width: unset !important;
  }

  .head-contact_form .consent-checkbox .wpcf7-list-item-label,
  .head-contact_form .consent-checkbox .consent-privacy-link {
    font-size: 10px !important;
    line-height: 1.4;
    text-align: left;
  }
}

.head-contact_form .consent-checkbox {
  display: flex;
  margin: 12px 0 0;
}

.head-contact_form .consent-checkbox .wpcf7-list-item-label,
.head-contact_form .consent-checkbox .consent-privacy-link {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

@media screen and (min-width: 1023px) {
  .head-contact_form h3 {
    display: none;
  }
}

._sprite-cross:before {
  -webkit-mask-image: url("https://lp.premiaspine.com/wp-content/themes/premiaspine/assets/img/icons/cross.svg");
  mask-image: url("https://lp.premiaspine.com/wp-content/themes/premiaspine/assets/img/icons/cross.svg");
}

.hero-submit,
input[type="submit"].hero-submit {
  height: 40px !important;
}

.top-form-el .field .error-text {
  line-height: 1;
}

.head-contact_form {
  height: max-content !important;
  max-height: 100dvh;
}

.form-hide {
  background-color: transparent;
  position: absolute;
  top: 13px;
  right: 27px;
  --ic: #fff;
  --iw: 23px;
}

.head-contact_form .wpcf7 .select__title {
  background: transparent;
}

.head-contact_form .wpcf7 .select__value {
  border: none;
  font-size: 16px;
  padding: 5px 16px;
  border-radius: 10px !important;
}

.head-contact_form .wpcf7 .select__options {
  border: none !important;
  top: calc(100% + 7px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px !important;
  padding: 19px 0 12px !important;
}

.head-contact_form .wpcf7 .select__body {
  font-size: 0;
}

@media (max-width: 1500px) {
  .form-hide {
    top: 9px;
    right: -18px;
  }

  .head-contact_form .wpcf7 .select__value {
    height: 40px;
    font-size: 14px;
  }

  .head-contact_form .wpcf7 .select__option {
    font-size: 14px;
  }
}

@media (max-width: 1023px) {
  .head-contact_form .wpcf7 .select__value {
    height: 30px;
    font-size: 12px;
    border-radius: 5.5px !important;
    padding: 5px 4px 5px 10px;
  }

  .head-contact_form .wpcf7 .select__option {
    padding: 6px 10px;
  }

  .head-contact_form .wpcf7 .select__options {
    border-radius: 5.5px !important;
    padding: 0px !important;
  }

  .head-contact_form .wpcf7 .select__value::after {
    width: 7px;
    height: 4px;
  }

  .head-contact_form .wpcf7 .select__option {
    font-size: 12px;
  }

  .form-hide {
    top: 15px;
    right: 15px;
    --ic: #fff;
    --iw: 17px;
  }

  .form-hide::before {
    -webkit-mask-image: url("https://lp.premiaspine.com/wp-content/themes/premiaspine/assets/img/icons/cross-simple.svg");
    mask-image: url("https://lp.premiaspine.com/wp-content/themes/premiaspine/assets/img/icons/cross-simple.svg");
  }

  .head-contact_form h3,
  .head-contact_form .note {
    padding-right: 42px;
  }

  .contact-section__button,
  input[type="submit"].contact-section__button {
    max-width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  .form-hide {
    top: 9px;
    right: 0;
  }

  .head-contact_form {
    width: calc(100vw - 40px) !important;
    left: 20px;
    border-radius: 25px !important;
    margin: 0;
    padding: 8px 15px 9px !important;
  }

  .head-contact_form .wpcf7 {
    padding: 0;
  }
}

.head-contact_form .field .error-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 16px;
  color: #f00;
  box-sizing: border-box;
  padding: 0 17px;
  background: #fff;
  pointer-events: none;
  border-radius: 10px;
  z-index: 10;
  display: none;
  align-items: center;
}

.head-contact_form .field:has(.wpcf7-not-valid) .error-text {
  display: flex !important;
}

.head-contact_form .field:has(select:focus) .error-text {
  display: none !important;
}

.head-contact_form .request-appointment-section p span {
  width: 100%;
}

@media only screen and (max-width: 1500px) {
  .head-contact_form .field .error-text {
    font-size: 14px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 1023px) {
  .head-contact_form .field .error-text {
    font-size: 12px;
  }
}

.head-contact_form .field .error-text {
  line-height: 1;
}

.error-text {
  line-height: 1.1 !important;
}

#header.active-style-sticky .acclaim-label {
  display: none !important;
}

p:has(> .form-hide) {
  position: static !important;
}

.head-contact_form .wpcf7-form-control-wrap {
  margin: 0;
}

.head-contact_form .wpcf7-not-valid-tip {
  display: none !important;
}

.head-contact_form:not(.fixed) {
  opacity: 0;
  visibility: hidden;
}

.wrap-head-contact_form {
  top: 0 !important;
}

.thnx-button {
  display: block !important;
  margin-top: 95px;
}

@media screen and (max-width: 900px) {
  .thnx-button {
    margin-top: 75px;
  }
}

@media screen and (max-width: 639px) {
  .thnx-button {
    margin-top: 55px;
  }
}

/* ---------------------------------------------------------------------------
   Лоадер отправки CF7.
   Собственный CSS плагина отключён темой (wp_dequeue_style('contact-form-7')),
   поэтому базовые стили родного спиннера перенесены сюда. CF7 сам вставляет
   <span class="wpcf7-spinner"> после каждой кнопки submit и во время отправки
   вешает на форму класс `submitting`. Позиционирование спиннера для отдельных
   форм (шапка, лендинг, контакты) задано в all.css и выше в этом файле.
--------------------------------------------------------------------------- */
.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  vertical-align: middle;
  background-color: #23282d;
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 12px;
  position: relative;
}

form.submitting .wpcf7-spinner {
  visibility: visible;
}

.wpcf7-spinner::before {
  content: "";
  position: absolute;
  background-color: #fbfbfc;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 100%;
  transform-origin: 8px 8px;
  animation-name: cf7-spinner-spin;
  animation-duration: 1000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7-spinner::before {
    animation-name: cf7-spinner-blink;
    animation-duration: 2000ms;
  }
}

@keyframes cf7-spinner-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cf7-spinner-blink {
  from {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Заблокированная кнопка: на время отправки (cf7.js) и пока не отмечен
   обязательный чекбокс согласия (собственная логика CF7). */
.wpcf7-form .wpcf7-submit:disabled,
.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Форма в шапке: правило `.head-contact_form p span { width: 100% }` выше
   в этом файле растягивает подложку спиннера — возвращаем фиксированный
   размер кружка. */
.head-contact_form p .wpcf7-spinner {
  width: 24px;
}