.cta.cta {
  padding: clamp(20px, 4.1667vw, 60px);
  overflow: hidden;
  background: #ffffff;
  color: #000000;
}

.cta .cta_container {
  display: block;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.cta .cta_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: #dce4e5;
}

.cta .cta_content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
  padding: 60px;
}

.cta .cta_title {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  color: #000000;
  font-family: "Roboto Flex", Arial, sans-serif;
  font-optical-sizing: auto;
  font-stretch: 35%;
  font-variation-settings: "GRAD" 0, "XOPQ" 80, "XTRA" 421, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 550, "YTUC" 760, "wdth" 35, "opsz" 70;
  font-size: 100px;
  font-weight: 500;
  line-height: 0.85;
  text-transform: uppercase;
}

.cta .cta_title_line {
  display: block;
  white-space: nowrap;
}

.cta .cta_title_line_accent {
  color: #aa2b21;
}

.cta .contact_form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.cta .form_group {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #ffffff;
}

.cta .form_field {
  position: relative;
  width: 100%;
  min-height: 56px;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
}

.cta .form_field:first-child {
  border-radius: 15px 15px 0 0;
}

.cta .form_field:last-child {
  border-radius: 0 0 15px 15px;
}

.cta .form_field input,
.cta .form_field textarea {
  display: block;
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 25px 24px 7px;
  resize: none;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #000000;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: none;
}

.cta .form_field label {
  position: absolute;
  top: 17px;
  left: 24px;
  color: #000000;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.cta .form_field label span {
  color: rgba(0, 0, 0, 0.35);
}

.cta .form_field input:focus,
.cta .form_field textarea:focus {
  box-shadow: none;
}

.cta .form_field:focus-within {
  z-index: 1;
  box-shadow: inset 0 -1px 0 #0a0907;
}

.cta .form_field input:focus + label,
.cta .form_field input:not(:placeholder-shown) + label,
.cta .form_field textarea:focus + label,
.cta .form_field textarea:not(:placeholder-shown) + label {
  top: 5px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  line-height: 1.2;
}

.cta .form_field.has_error input,
.cta .form_field.has_error textarea {
  box-shadow: none;
  color: #aa2b21;
}

.cta .form_field.has_error {
  z-index: 1;
  box-shadow: none;
}

.cta .form_field.has_error label,
.cta .form_field.has_error label span {
  color: #aa2b21;
}

.cta .form_field.has_error:focus-within {
  box-shadow: inset 0 -1px 0 #0a0907;
}

.cta .form_error {
  margin: 0;
  padding: 4px 24px 7px;
  background: #ffffff;
  color: #aa2b21;
  font-size: 11px;
  line-height: 1.3;
}

.cta .form_error:empty {
  display: none;
}

.cta .form_field .form_error,
.cta .form_error_consent {
  display: none !important;
}

.cta .form_messengers {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: -20px 0 0;
  padding: 0 24px;
  color: #000000;
}

.cta .form_messengers_title {
  flex: 0 0 auto;
  margin: 0;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.cta .form_messengers_list {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.cta .form_checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  cursor: pointer;
  user-select: none;
}

.cta .form_checkbox input {
  appearance: none;
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.cta .form_checkbox input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  opacity: 0;
  transform: rotate(45deg);
}

.cta .form_checkbox input:checked {
  border-color: #ca2316;
  background: var(--button-red);
}

.cta .form_checkbox input:checked::after {
  opacity: 1;
}

.cta .form_checkbox span {
  font-size: 16px;
  line-height: 1.3;
}

.cta .form_actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 40px 20px;
  margin-top: auto;
}

.cta .contact_form.has_errors .form_actions {
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr) auto;
  margin-top: 0;
}

.cta .form_errors_summary {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding: 0;
  color: #aa2b21;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.cta .form_errors_summary:empty {
  display: none;
}

.cta .form_actions .button {
  grid-column: 1;
  min-width: 191px;
  min-height: 61px;
  align-self: center;
  padding: 18px 40px;
  border-radius: 14px;
  background: var(--button-red);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.4;
  cursor: pointer;
}

.cta .form_actions .button:hover,
.cta .form_actions .button:focus-visible {
  background: var(--button-red-hover);
}

.cta .contact_form.has_errors .form_actions .button,
.cta .contact_form.has_errors .form_consent {
  grid-row: 2;
}

.cta .form_consent {
  grid-column: 2;
  align-items: flex-start;
  color: rgba(0, 0, 0, 0.5);
}

.cta .form_consent input {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.cta .form_consent input::after {
  top: 1px;
  left: 5px;
  width: 4px;
  height: 9px;
}

.cta .form_consent span {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  line-height: 1.3;
}

.cta .form_consent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.cta .form_consent a:hover {
  color: #aa2b21;
  text-decoration: underline;
}

.cta .form_consent.has_error,
.cta .form_consent.has_error span {
  color: #aa2b21;
}

.cta .form_error_consent,
.cta .form_success {
  grid-column: 2;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #aa2b21;
  font-size: 11px;
  line-height: 1.3;
}

.cta .form_success {
  min-height: 0;
  color: #275d34;
}

.cta .form_success:empty {
  display: none;
}

.cta .cta_media {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

.cta .cta_media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta .cta_media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #dce4e5 0%, rgba(220, 228, 229, 0) 61.51%);
  pointer-events: none;
}

@media (max-width: 1180px) {
  .cta .cta_card {
    min-height: 640px;
  }

  .cta .cta_content {
    gap: 32px;
    padding: 40px;
  }

  .cta .contact_form {
    gap: 32px;
  }

  .cta .form_messengers {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: -12px;
  }

  .cta .form_actions {
    grid-template-columns: 1fr;
    align-items: start;
    column-gap: 0;
    row-gap: 24px;
  }

  .cta .form_actions .button,
  .cta .form_consent,
  .cta .form_error_consent,
  .cta .form_success {
    grid-column: 1;
    grid-row: auto;
  }

  .cta .contact_form.has_errors .form_actions {
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .cta .contact_form.has_errors .form_actions .button {
    grid-row: 2;
  }

  .cta .contact_form.has_errors .form_consent {
    grid-row: 3;
  }
}

@media (max-width: 900px) {
  .cta.cta {
    padding: 20px;
  }

  .cta .cta_card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cta .cta_content {
    gap: 32px;
    padding: 40px 32px;
  }

  .cta .cta_title {
    font-size: 60px;
  }

  .cta .contact_form {
    gap: 32px;
  }

  .cta .cta_media {
    min-height: 440px;
  }

  .cta .cta_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .cta .cta_media::after {
    background: linear-gradient(180deg, #dce4e5 0%, rgba(220, 228, 229, 0) 45%);
  }

  .cta .form_actions .button {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 620px) {
  .cta.cta {
    padding: 16px;
  }

  .cta .cta_card {
    border-radius: 16px;
  }

  .cta .cta_content {
    padding: 32px 20px;
  }

  .cta .cta_title {
    font-size: clamp(50px, 15vw, 60px);
  }

  .cta .form_field input,
  .cta .form_field textarea,
  .cta .form_field label,
  .cta .form_messengers_title,
  .cta .form_checkbox span {
    font-size: 14px;
  }

  .cta .form_messengers {
    padding: 0;
  }

  .cta .form_messengers_list {
    gap: 12px 16px;
  }

  .cta .form_actions {
    row-gap: 32px;
  }

  .cta .form_actions .button {
    width: 100%;
  }

  .cta .cta_media {
    min-height: 320px;
  }
}
.contact_form[aria-busy="true"] button[type="submit"] {
  pointer-events: none;
  cursor: wait;
}
