.contact-new {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 615px;
    padding: var(--sp) 0;
}

.home .contact-new {
    padding: 170px 0;
}

.contact-new__container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.case-template .contact-new__container {
    max-width: var(--container-width) !important;
}

.contact-new__content {
    width: 100%;
    max-width: 344px;
}

.contact-new.without-form {
    min-height: auto;
}
.contact-new.without-form .contact-new__content {
    max-width: none;
    padding: var(--sp);
    border-radius: 10px;
    border: 1px solid #292C37;
    background: linear-gradient(180deg, rgba(27, 29, 33, 0.50) 0%, rgba(19, 21, 27, 0.50) 100%);
    text-align: center;
}

.contact-new__title {
    margin-bottom: 24px;
}

.contact-new__btn {
    margin-top: 40px;
}

#contact-newFormAnchor {
    position: absolute;
    left: 0;
    top: -50px;
}

.contact-new__form {
    width: 100%;
    position: relative;
    flex: 1 1 auto;
    max-width: 560px;
    padding: 55px 50px 63px;
    border-radius: 10px;
    border: 1px solid #292C37;
    background: linear-gradient(180deg, rgba(27, 29, 33, 0.50) 0%, rgba(19, 21, 27, 0.50) 100%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    transform: translate3d(0, 0, 0);
    z-index: 2;
}

.contact-new__form-title {
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 140%;
    font-size: 24px;
}

.contact-new__form-title b,
.contact-new__form-title span {
    color: var(--accent);
}

.contact-new__form-subtitle {
    margin-bottom: 30px;
    line-height: 140%;
    color: #EFEFEF;
}

.contact-new__form .item {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    font-size: var(--s);
    line-height: 170%;
}

.contact-new__form .item:not(:last-child) {
    margin-bottom: 14px;
}

.contact-new__form .item__label {
    flex: 0 0 190px;
    padding: 4px 0;
    margin-right: 12px;
    font-weight: 500;
}

.contact-new__form .item__dropdown {
    flex: 1 1 auto;
    position: relative;
}

.contact-new__form .item__input {
    position: relative;
    flex: 1 1 auto;
    padding: 4px 11px;
    border: 2px solid transparent;
    border-bottom: 2px solid #292C37;
    background: transparent;
    font-family: var(--default-font-family);
    line-height: 170%;
    font-size: var(--s);
    color: #fff;
}

.contact-new__form .dropdown__input {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 48px;
  gap: 3px;
  z-index: 2;
  padding: 8px;
  padding-right: 30px;
  border-radius: 7px;
  border: 1px solid #292C37;
  background: linear-gradient(180deg, #070763  0%, #070763 100%);
}

.contact-new__form .dropdown__input::before {
    content: '';
    position: absolute;
    top: 50%;  
    right: 13px;
    transform: translateY(-50%); 
    width: 15px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8' fill='none'%3E%3Cpath d='M1 1L7.5 6L14 1' stroke='%236B6C71' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    transition: var(--transition);
}

.contact-new__form .dropdown._open .dropdown__input::before {
    transform: translateY(-50%) scale(-1);
}

.contact-new__form .dropdown__input li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 5px;
    border: 1px solid #292C37;
    background: linear-gradient(180deg, rgba(57, 60, 65, 0.50) 0%, rgba(19, 21, 27, 0.50) 100%);
    line-height: normal;
    color: #C2C4CA;
    font-size: 14px;
}

.contact-new__form .dropdown__input li._default {
    color: #6B6C71;
    font-size: 16px;
    border-color: transparent;
    background: transparent;
}

.contact-new__form .dropdown__input span.close {
  width: 11px;
  height: 10px;
  padding: 0;
  margin-left: 5px;
  border-radius: 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='10' viewBox='0 0 11 10' fill='none'%3E%3Cpath d='M1.29189 10L0.5 9.20811L4.70811 5L0.5 0.791894L1.29189 0L5.5 4.20811L9.70811 0L10.5 0.791894L6.29189 5L10.5 9.20811L9.70811 10L5.5 5.79189L1.29189 10Z' fill='%236B6C71'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: var(--transition);
  cursor: pointer;
}

.contact-new__form .dropdown__input span.close:hover {
  transform: scale(1.2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='10' viewBox='0 0 11 10' fill='none'%3E%3Cpath d='M1.29189 10L0.5 9.20811L4.70811 5L0.5 0.791894L1.29189 0L5.5 4.20811L9.70811 0L10.5 0.791894L6.29189 5L10.5 9.20811L9.70811 10L5.5 5.79189L1.29189 10Z' fill='%23C2C4CA'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-new__form .dropdown__content {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform: translateY(-48px);
  flex-direction: column;
  z-index: 2;
  padding-top: 56px;
  border-radius: 7px;
  border: 1px solid #292C37;
  background: linear-gradient(180deg, #13151B 0%, #222428 100%);
  z-index: 1;
}

.contact-new__form .dropdown._open .dropdown__content {
  display: flex;
}

.contact-new__form .dropdown__content input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.contact-new__form .dropdown__content label._disabled {
  pointer-events: none;
  opacity: 0.6;
}

.contact-new__form .dropdown__content label._disabled span > span {
  display: inline-block;
  padding: 0;
  font-size: 11px;
  color: #e36561;
}

.contact-new__form .dropdown__content span {
  cursor: pointer;
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #C2C4CA;
  font-size: 16px;
  transition: var(--transition);
}

.contact-new__form .dropdown__content span::before {
    content: '';
    position: absolute;
    top: 50%;  
    right: 13px;
    transform: translateY(-50%); 
    width: 16px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18' fill='none'%3E%3Cg clip-path='url(%23clip0_1916_3078)'%3E%3Cpath d='M15.6643 3.70557C16.1107 4.14502 16.1107 4.85869 15.6643 5.29814L6.52142 14.2981C6.07499 14.7376 5.34999 14.7376 4.90356 14.2981L0.332136 9.79815C-0.114293 9.35869 -0.114293 8.64502 0.332136 8.20557C0.778565 7.76611 1.50356 7.76611 1.94999 8.20557L5.71428 11.9075L14.05 3.70557C14.4964 3.26611 15.2214 3.26611 15.6679 3.70557H15.6643Z' fill='%23C2C4CA'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1916_3078'%3E%3Crect width='16' height='18' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    opacity: 0;
    transition: var(--transition);
}

.contact-new__form .dropdown__content input:checked ~ span {
    background: rgba(255, 255, 255, 0.10);
}

.contact-new__form .dropdown__content input:checked ~ span::before {
    opacity: 1;
}

.contact-new__form .btn {
    margin-top: 30px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: none;
    cursor: pointer;
}

.contact-new__form .success__text {
    opacity: 0;
    margin: 10px 0;
    transition: .3s ease;
    font-size: var(--s);
    color: #7e25fe;
    line-height: 1.4;
}

.contact-new__icon-1,
.contact-new__icon-2 {
    position: absolute;
    width: 80px;
    height: 80px;
}

.contact-new__icon-1 {
    top: 37%;
    left: 43%;
    transform: rotate(-30deg);
    background: url(contact-new__icon-1.webp) center/contain no-repeat;
    animation: 3s ease-in-out 0s infinite floating1;
}

.contact-new.without-form .contact-new__icon-1 {
    top: 13%;
    left: -2%;
}

.contact-new__icon-2 {
    bottom: 16%;
    right: -38px;
    transform: translate3d(0, 0, 0) rotate(150deg);
    background: url(contact-new__icon-2.webp) center/contain no-repeat;
    filter: blur(3px);
    z-index: 1;
    animation: 2s ease-in-out 2s infinite floating2;
}

.contact-new.without-form .contact-new__icon-2 {
    bottom: 0%;
    right: -9%;
}

@keyframes floating1 {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes floating2 {
    0% {
        transform: translate3d(0, 0, 0) rotate(150deg);
    }
    50% {
        transform: translate3d(0, -12px, 0) rotate(150deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(150deg);
    }
}

.contact-new__bg-1 {
	position: absolute;
	left: 0;
    bottom: 0;
    transform: translate(-66%, 41%);
    z-index: 1;
}

.contact-new__bg-2 {
	position: absolute;
	right: 0;
	top: 0;
    transform: translate(52%, 1%);
    z-index: 1;
}

@media (max-width: 992px) {
    .contact-new__container {
        flex-wrap: wrap;
        gap: 0;
    }

    .contact-new__content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 60px;
    }

    .contact-new__text {
        max-width: 420px;
        margin: 0 auto;
    }

    .contact-new__form {
        max-width: 100%;
    }
}

@media (max-width: 760px) {

    .home .contact-new {
        padding: 80px 0;
    }

    .contact-new {
        min-height: auto;
    }

    .contact-new__content {
        margin-bottom: 50px;
        text-align: left;
    }
    .contact-new.without-form .contact-new__content {
        padding: 50px 20px;
    }

    .contact-new__title {
        margin-bottom: 20px;
    }

    #contact-newFormAnchor {
        top: -70px;
    }

    .contact-new__form {
        padding: 25px 25px 0;
    }

    .contact-new__form-title {
        font-weight: 500;
    }

    .contact-new__form-subtitle {
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .contact-new__form .item {
        flex-wrap: wrap;
    }

    .contact-new__form .item:not(:last-child) {
        margin-bottom: 25px;
    }

    .contact-new__form .item__label {
        flex-basis: 100%;
        padding: 0;
        margin-right: 0;
        font-size: 16px;
    }

    .contact-new__form .item__input {
        padding-left: 0;
        border-bottom: 1px solid #292C37;
        font-size: 16px;
    }

    .contact-new__form .item__input::placeholder {
        color: #6B6C71;
    }

    .contact-new__form .item__dropdown {
        margin-top: 13px;
    }

    .contact-new__form .dropdown__input {
        padding: 8px;
    }

    .contact-new__form .btn {
        width: 100%;
        height: 48px;
        margin-top: 12px;
    }
}