.custom-select {
  position: relative;
  width: 100%;
}
.custom-select select {
  display: none;
}
.custom-select__trigger {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  min-height: 2.5rem;
  position: relative;
}
.custom-select.open .custom-select__trigger {
  border-color: var(--primary-4);
}
.custom-select__value {
  color: var(--primary-7);
  flex: 1;
  line-height: 1.4;
  text-align: left;
}
.custom-select__value.selected {
  color: var(--primary-8);
}
.custom-select__arrow {
  align-items: center;
  color: var(--primary-7);
  display: flex;
  flex-shrink: 0;
  height: 1rem;
  justify-content: center;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  width: 1rem;
}
.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}
.custom-select__options {
  background: var(--gray-1);
  border: 0.0625rem solid var(--primary-7);
  border-radius: 0.5rem;
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem rgba(0, 0, 0, 0.1),
    0 0.25rem 0.375rem -0.125rem rgba(0, 0, 0, 0.05);
  left: 0;
  max-height: 17.5rem;
  opacity: 0;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  transform: translateY(-0.625rem);
  transition: all 0.3s ease;
  visibility: hidden;
  z-index: 100;
}
.custom-select.open .custom-select__options {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.custom-select__option {
  color: var(--primary-8);
  cursor: pointer;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  transition: background-color 0.2s ease;
}
.custom-select__option:first-child {
  color: var(--primary-7);
  cursor: default;
}
.custom-select__option:not(:first-child):hover {
  background-color: var(--primary-1);
}
.custom-select__option.selected {
  background-color: var(--primary-2);
  color: var(--primary-4);
  font-weight: 500;
}
.custom-select__options::-webkit-scrollbar {
  width: 0.375rem;
}
.custom-select__options::-webkit-scrollbar-track {
  background: var(--primary-1);
  border-radius: 0.25rem;
}
.custom-select__options::-webkit-scrollbar-thumb {
  background: var(--primary-7);
  border-radius: 0.25rem;
}
.custom-select__options::-webkit-scrollbar-thumb:hover {
  background: var(--primary-8);
}
[class*="__field"].error .custom-select__trigger {
  border-color: var(--error-4);
}
[class*="__field"].error .custom-select__trigger:focus {
  border-color: var(--error-4);
  box-shadow: 0 0 0 0.1875rem rgba(239, 68, 68, 0.1);
}
.custom-select.disabled .custom-select__trigger {
  background-color: var(--gray-2);
  border-color: var(--gray-5);
  color: var(--gray-5);
  cursor: not-allowed;
}
@media (max-width: 20em) {
  .custom-select__option,
  .custom-select__value {
    font-size: 1rem;
  }
}
@media (min-width: 20em) and (max-width: 120em) {
  .custom-select__option,
  .custom-select__value {
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  }
}
@media (min-width: 120em) {
  .custom-select__option,
  .custom-select__value {
    font-size: 1.125rem;
  }
}

.contact-form__wrapper {
  overflow: hidden;
}
.contact-form__content {
  display: flex;
  gap: 1.5rem;
}
.contact-form__left {
  background-color: var(--primary-5);
  border-radius: 0.5rem;
  display: flex;
  flex: 0 0 50%;
  flex-direction: column;
  padding: 2.25rem;
}
.contact-form__right {
  background-color: var(--primary-0);
  border: 0.0625rem solid var(--primary-2);
  border-radius: 0.5rem;
  flex: 1 1 50%;
  min-width: 0;
  padding: 2.25rem;
}
.contact-form__title {
  color: var(--gray-1);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-form__description {
  margin-bottom: 1.25rem;
}
.contact-form__description p{
  color: var(--primary-0);
  font-size: 1.125rem;
  line-height: 1.4;
}
.contact-form__description span {
  color: var(--primary-4);
}
.contact-form__direct {
  margin-top: auto;
}
.contact-form__direct h3 {
  color: var(--gray-1);
  font-weight: 700;
}
.contact-form__direct-title {
  color: var(--gray-1);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.dark-bg .contact-form__direct-description {
  color: var(--primary-7);
}
.contact-form__socials {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-form__social-item {
  margin-bottom: 0.75rem;
}
.contact-form__social-item:last-child {
  margin-bottom: 0;
}
.contact-form__social-link {
  align-items: center;
  color: var(--primary-0);
  display: inline-flex;
  font-size: 1.125rem;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.contact-form__social-link span {
  font-weight: 700;
  text-decoration: underline;
}
.contact-form__social-link span:hover {
  text-decoration: none;
}
.contact-form__social-link i {
  align-items: center;
  background-color: var(--gray-1);
  border-radius: 0.25rem;
  color: var(--primary-4);
  display: flex;
  font-size: 0.75rem;
  height: 1.5rem;
  justify-content: center;
  padding: 0.375rem;
  width: 1.5rem;
}
.contact-form__btn {
  margin-top: 1rem;
  text-decoration: underline;
}
.contact-form__btn:hover {
  text-decoration: none;
}
.contact-form__form {
  width: 100%;
}
.contact-form__row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-form__field {
  flex: 1;
}
.contact-form__field--full {
  margin-bottom: 1.5rem;
  width: 100%;
}
.contact-form__label {
  color: var(--primary-16);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.contact-form__input,
.contact-form__textarea {
  background-color: var(--gray-1);
  border: 0.0625rem solid var(--primary-7);
  font-size: 1rem;
  width: 100%;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--primary-4);
  outline: none;
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--primary-7);
}
.contact-form__textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.contact-form__privacy {
  margin-bottom: 2.5rem;
}
.contact-form__checkbox-label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  position: relative;
}
.contact-form__checkbox-input {
  cursor: pointer;
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}
.contact-form__checkbox-input:checked ~ .contact-form__checkbox-mark {
  background-color: var(--primary-4);
  border-color: var(--primary-4);
}
.contact-form__checkbox-input:checked ~ .contact-form__checkbox-mark:after {
  display: block;
}
.contact-form__checkbox-input:focus ~ .contact-form__checkbox-mark {
  box-shadow: 0 0 0 0.125rem rgba(0, 123, 255, 0.25);
}
.contact-form__checkbox-mark {
  background-color: var(--primary-0);
  border: 0.0625rem solid var(--primary-9);
  border-radius: 0.25rem;
  flex: 0 0 1.25rem;
  height: 1.25rem;
  margin-right: 0.625rem;
  margin-top: 0.125rem;
  min-width: 1.25rem;
  transition: all 0.2s ease;
}
.contact-form__checkbox-mark:after {
  border: solid #fff;
  border-width: 0 0.125rem 0.125rem 0;
  content: "";
  display: none;
  height: 0.75rem;
  left: 0.4375rem;
  position: absolute;
  top: 0.3125rem;
  transform: rotate(45deg);
  width: 0.375rem;
}
.contact-form__checkbox-text p {
  color: var(--primary-8);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-form__checkbox-text a {
  color: var(--primary-4);
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: underline;
}
.contact-form__checkbox-text a:hover {
  text-decoration: none;
}
.contact-form__link {
  color: var(--primary-4);
  font-size: 0.875rem;
  text-decoration: underline;
}
.contact-form__link:hover {
  text-decoration: none;
}
.contact-form__actions {
  display: flex;
  justify-content: flex-end;
}
.contact-form-popup .contact-form__content {
  gap: 0;
}
.contact-form-popup .contact-form__left {
  border-radius: 0;
}
.contact-form-popup .contact-form__right {
  border-radius: 0;
  padding-top: 6.25rem;
}
.contact-form-popup .popup__body {
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 0;
}
.contact-form-popup .popup__close {
  cursor: pointer;
  outline: none;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
}
.contact-form-popup .popup__close i {
  color: var(--primary-16);
  font-size: 0.875rem;
}
@media (max-width: 61.99875em) {
  .contact-form__content {
    flex-direction: column;
    gap: 0;
  }
  .contact-form__left {
    border-radius: 0.5rem 0.5rem 0 0;
    flex: 1;
  }
  .contact-form__right {
    border-radius: 0 0 0.5rem 0.5rem;
    flex: 1;
  }
}
@media (max-width: 47.99875rem) {
  .contact-form__row {
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 47.99875em) {
  .contact-form__left,
  .contact-form__right {
    padding: 1rem;
  }
  .contact-form-popup .contact-form__right {
    padding-top: 1.5rem !important;
  }
  .contact-form-popup .popup__close i {
    color: var(--gray-1);
  }
}
@media (max-width: 20em) {
  .contact-form__right p {
    margin-bottom: 0.75rem;
  }
  .contact-form__right p:first-of-type {
    margin-bottom: 1.5rem;
  }
  .contact-form__direct h3 {
    font-size: 1rem;
  }
}
@media (min-width: 20em) and (max-width: 120em) {
  .contact-form__right p {
    margin-bottom: clamp(0.75rem, 0.6rem + 0.75vw, 1.5rem);
  }
  .contact-form__right p:first-of-type {
    margin-bottom: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  }
  .contact-form__direct h3 {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  }
}
@media (min-width: 120em) {
  .contact-form__right p {
    margin-bottom: 1.5rem;
  }
  .contact-form__right p:first-of-type {
    margin-bottom: 2.5rem;
  }
  .contact-form__direct h3 {
    font-size: 1.5rem;
  }
}
