.popup {
    height: 100vh;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 100%;
    z-index: 2000;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    background: rgba(0, 8, 84, 0.35);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: none;
  }
  
  .popup.active {
    display: block;
  }
  
  .popup__body {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px 20px;
  }
  
  .popup.open {
    opacity: 1;
    pointer-events: all;
  }
  
  .popup__content {
    width: 100%;
    max-width: 1110px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    scale: 0.3;
    transition: scale 0.4s ease;
    background-color: rgb(243, 246, 251);
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.1);
  }
  
  .popup.open .popup__content {
    scale: 1;
  }
  
  .close-popup {
    position: absolute;
    top: 15px;
    right: 0;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.4s linear;
    transition: -webkit-transform 0.4s linear;
    transition: transform 0.4s linear;
    transition: transform 0.4s linear, -webkit-transform 0.4s linear;
  }
  
  .close-popup:hover {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .popup-review .popup__content {
    padding: 50px;
    max-width: 550px;
    gap: 0;
    color: #363636B2;
    background-color: #ffffff;
  }
  
  .popup-review .close-popup {
    top: 24px;
    right: 24px;
  }
  
  .popup-review p {
    color: #363636B2;
  }
  
  .popup-review__title {
    margin-bottom: 8px;
    width: 100%;
    font-weight: 500;
    font-size: 40px;
    line-height: 110%;
    text-align: center;
    color: #99563D;
  }
  
  .popup-review__subtitle {
    margin-bottom: 32px;
    width: 100%;
    text-align: center;
  }
  
  .popup-review__note {
    margin-bottom: 25px;
  }
  
  .popup-review__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .popup-review .btn {
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
  }
  
  .popup-review input,
  .select,
  .textarea,
  .popup-review__rating {
    position: relative;
    padding: 16px 20px;
    border-radius: 5px;
    color: #363636B2;
    background-color: #F3F2F2;
    border: none;
  }
  
  .popup-review input::placeholder,
  .select::placeholder,
  .textarea::placeholder {
    color: #363636B2;
  }
  
  .textarea {
    height: 150px;
  }
  
  .select {
    position: relative;
    background: #F3F2F2 url("/netcat_template/template/default/img/icons/select.svg") top 20px right 20px no-repeat;
  }
  .select__open {
    cursor: pointer;
  }
  .select__dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    padding: 20px 0 20px 20px;
    width: 100%;
    background-color: #F3F2F2;
    border-radius: 5px;
    overflow: hidden;
    display: none;
    opacity: 0;
  }
  
  .select__list {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 138px;
    overflow-y: auto;
  }
  
  .select__dropdown.opened {
    display: block;
    opacity: 1;
    z-index: 10;
  }
  
  .select__item {
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  
  .select__item::before {
    display: none;
  }
  
  .select__item:hover {
    color: #3A6CF1;
  }
  
  .popup-review__rating p {
    margin-bottom: 0;
  }
  
  .popup-review .privacy-policy {
    display: flex;
    gap: 13px;
  }
  
  .popup-review .privacy-policy a {
    text-decoration: underline;
    color: #363636;
  }
  
  .popup-review__rating {
    display: flex;
    justify-content: space-between;
  }
  
  .reviews__stars {
    display: flex;
  }
  
  .reviews__stars span {
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: url("/netcat_template/template/default/img/icons/star-empty.svg") center no-repeat;
  }
  
  .reviews__stars span.active {
    background: url("/netcat_template/template/default/img/icons/star.svg") center no-repeat;
  }



  

  .popup-call__content.popup__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    box-sizing: border-box;
    width: 100%;
    max-width: 550px;
    min-width: 0;
    height: auto;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    color: #363636;
    text-align: left;
}

.popup-call__close.close-popup {
    position: static;
    grid-area: 1 / 1;
    align-self: start;
    justify-self: end;
    z-index: 1;
    display: flex;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform: translate(20px, -20px);
    transition: background-color 0.2s;
}

.popup-call__close svg {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.popup-call__header {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-call__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    padding-right: 30px;
}

.popup-call__badge {
    padding: 8px 14px;
    border-radius: 55px;
    background: rgba(79, 124, 241, 0.08);
    color: #4f7cf1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.popup-call__intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-call__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

.popup-call__subtitle {
    max-width: 340px;
    color: rgba(54, 54, 54, 0.8);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.popup-call__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-call__phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-call__phone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(79, 124, 241, 0.08);
    color: #363636;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.popup-call__phone-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 5px;
    background: #3a6cf1;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
}

.popup-call__phone-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.popup-call__phone-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.popup-call__phone-label {
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.6;
}

.popup-call__phone-number {
    color: #3a6cf1;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.2s;
}

.popup-call__messengers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(79, 124, 241, 0.08);
}

.popup-call__messengers-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.popup-call__telegram {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    background: #27a7e7;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s;
}

.popup-call__telegram svg {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 15px;
}

.popup-call__phone:focus-visible {
    background: #3a6cf1;
    color: #fff;
}

.popup-call__phone:focus-visible .popup-call__phone-icon {
    background: #fff;
    color: #3a6cf1;
}

.popup-call__phone:focus-visible .popup-call__phone-number {
    color: #fff;
}

@media (hover: hover) {
    .popup-call__phone:hover {
        background: #3a6cf1;
        color: #fff;
        text-decoration: none;
    }

    .popup-call__phone:hover .popup-call__phone-icon {
        background: #fff;
        color: #3a6cf1;
    }

    .popup-call__phone:hover .popup-call__phone-number {
        color: #fff;
    }

    .popup-call__telegram:hover {
        background: #1996d5;
        color: #fff;
        text-decoration: none;
    }

    .popup-call__close:hover {
        background: rgba(79, 124, 241, 0.12);
    }
}

@media (max-width: 575px) {
    .popup-call__content.popup__content {
        gap: 16px;
        padding: 20px;
    }

    .popup-call__close.close-popup {
        transform: none;
    }

    .popup-call__header {
        gap: 12px;
    }

    .popup-call__badges {
        gap: 4px;
        padding-right: 40px;
    }

    .popup-call__badge {
        padding: 6px 9px;
        font-size: 12px;
    }

    .popup-call__intro {
        gap: 8px;
    }

    .popup-call__title {
        font-size: 24px;
    }

    .popup-call__subtitle {
        max-width: 230px;
        font-size: 14px;
    }

    .popup-call__contacts {
        gap: 12px;
    }

    .popup-call__phones {
        gap: 6px;
    }

    .popup-call__phone {
        gap: 12px;
        padding: 8px;
    }

    .popup-call__phone-icon {
        padding: 12px;
    }

    .popup-call__phone-icon svg {
        width: 20px;
        height: 20px;
    }

    .popup-call__phone-label {
        font-size: 12px;
        line-height: 1.2;
    }

    .popup-call__phone-number {
        font-size: 18px;
    }

    .popup-call__messengers {
        gap: 12px;
        padding-top: 12px;
    }

    .popup-call__messengers-text {
        font-size: 14px;
    }

    .popup-call__telegram {
        padding: 12px 16px;
        font-size: 14px;
    }

    .popup-call__telegram svg {
        width: 14px;
        height: 12px;
    }
}