.header-right {
  display: flex;
  gap: 20px;
}

/* Стили для блока контактов */
#contact-block {
    display: none;
}

@media (min-width: 1500px) {
    #contact-block {
        display: block;
    }

    #contact-block .contact-info {
        display: inline-block;
        text-align: right;
    }

    #contact-block .contact-email {
        display: block;
        font-weight: 400;
        font-size: 16px;
        text-transform: uppercase;
        color: #23252b;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    #contact-block .contact-phone-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    #contact-block .contact-phone {
        font-weight: 400;
        font-size: 16px;
        text-transform: uppercase;
        color: #23252b;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    #contact-block .whatsapp-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    #contact-block .whatsapp-icon:hover {
        transform: scale(1.1);
        color: #128C7E;
    }

    #contact-block .contact-cta {
        display: block;
        font-weight: 400;
        font-size: 12px;
        text-decoration: underline;
        text-decoration-skip-ink: none;
        text-align: right;
        color: #23252b;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    #contact-block .contact-cta:hover {
        opacity: 0.7;
    }
}

/* Попап модального окна */
#callbackModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

#callbackModal.active {
    display: flex;
}

#callbackModal .callback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

#callbackModal .callback-content {
    position: relative;
    background-color: #ffffff;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#callbackModal .callback-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

#callbackModal .callback-close:hover {
    opacity: 0.7;
}

#callbackModal .callback-title {
    font-weight: 500;
    font-size: 24px;
    text-transform: uppercase;
    color: #23252b;
    margin-bottom: 10px;
    margin-top: 0;
}

#callbackModal .callback-subtitle {
    font-weight: 400;
    font-size: 16px;
    color: #23252b;
    margin-bottom: 40px;
    line-height: 1.5;
}

#callbackForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#callbackForm .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#callbackForm .form-group {
    position: relative;
}

#callbackForm .form-group input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #d1d1d1;
    font-size: 16px;
    color: #999;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

#callbackForm .form-group input:focus {
    border-bottom-color: #23252b;
}

#callbackForm .form-group input::placeholder {
    color: #999;
}

#callbackForm .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

#callbackForm .form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #23252b;
}

#callbackForm .form-checkbox label {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

#callbackForm .form-checkbox label a {
    color: #6c757d;
    text-decoration: underline;
}

#callbackForm .form-submit {
    background-color: #23252b;
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
    letter-spacing: 1px;
}

#callbackForm .form-submit:hover {
    background-color: #3a3c44;
}

/* Мобильная версия */
@media (max-width: 768px) {
    #callbackModal .callback-content {
        padding: 40px 30px;
        width: 95%;
        max-width: none;
    }

    #callbackModal .callback-close {
        top: -45px;
        right: 0;
        width: 30px;
        height: 30px;
    }

    #callbackModal .callback-close svg {
        width: 24px;
        height: 24px;
    }

    #callbackModal .callback-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    #callbackModal .callback-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    #callbackForm .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


/* Блок уведомлений внутри формы */
.form-notification {
    display: none;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-notification-show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-notification-content {
    color: #23252b;
}

.form-notification-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-notification-success .form-notification-content {
    color: #155724;
}

.form-notification-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-notification-error .form-notification-content {
    color: #721c24;
}

/* Мобильная версия уведомлений */
@media (max-width: 768px) {
    .form-notification {
        padding: 12px 15px;
        font-size: 13px;
        margin-bottom: 15px;
    }
}
.work_thumb a {
  opacity: 1 !important;
}
.work_thumb a:hover {
  opacity: .9 !important;
}

@media (max-width: 1000px) {
li.level-1 > ul li:last-child {
    border-bottom: unset;
  }
}