/*Выравнивание главного меню*/

/* Прижимаем меню вправо и заставляем быть в одну строку */
.sp-megamenu-parent {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 0 !important;
}

.sp-megamenu-parent > li {
    flex-shrink: 0 !important;
}

.sp-megamenu-parent > li > a {
    font-size: 13px !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
}

/* Убираем лишние пустые пункты меню */
.sp-menu-item:empty {
    display: none !important;
}


@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1233px !important;
    }
}
/* Меню белый текст на темном фоне */
#sp-header {
    background: linear-gradient(to bottom, #2c3e50, #1a252f) !important;
    border-bottom: 2px solid #e67e22 !important;
}

.sp-megamenu-parent > li > a {
    color: #ecf0f1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.sp-megamenu-parent > li > a:hover {
    color: #f39c12 !important;
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.current-item > a {
    color: #f39c12 !important;
}

#sp-logo h1.logo a {
    color: #ffffff !important;
    font-size: 28px !important;
}
/* Активный пункт */
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.current-item > a {
    color: #ddbe8d !important;
    background-color: rgba(12, 8, 1, 0.3) !important;
    border-radius: 4px !important;
    border-bottom: 3px solid #f39c12 !important;
}

/* Hover */
.sp-megamenu-parent > li > a:hover {
    color: #f39c12 !important;
    background-color: rgba(243, 156, 18, 0.1) !important;
    border-radius: 4px !important;
    border-bottom: 3px solid #f39c12 !important;
}
/*HTML Самый первый модуль на главной*/
.first-module-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(255 255 255 / 52%) 0%, rgb(241 238 238 / 46%) 100%);
    padding: 1rem 0;
    transition: background 0.8s ease;
    /* Более плавный переход как в модуле */
}
.first-module-fullwidth:hover {
    background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
}
.first-content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}
.first-logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}
.first-logo {
    max-width: 500px;
    height: auto;
    display: inline-block;
    position: relative;
    z-index: 2;
}
.first-logo::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0) 100%);
    transform: scaleY(-1);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}
.first-lead {
    font-size: 1.25rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 600;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
/* Стили для иконок услуг */
.first-service-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}
/* Обновленный контейнер для услуг и формы */
.first-services-and-form-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    align-items: stretch;
}
.first-services-compact {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.first-service-row {
    background: linear-gradient(135deg, #ffffff14 0%, #d4d5d742 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 2rem;
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.first-service-row:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
}
.first-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.first-service-content h3 {
    color: #355170;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}
.first-service-content h3:hover {
    text-decoration: underline;
    text-decoration-color: #2A6EBB;
    text-decoration-thickness: 2px;
}
.first-service-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 1.125rem;
    text-align: justify;
    flex: 1;
}
/* Стили для формы обратной связи */
.first-feedback-form-container {
    flex: 1;
    position: sticky;
    top: 20px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 300px;
    max-width: 350px;
}
.first-feedback-form {
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d1 100%);
    padding: 22px;
    border-radius: 0.375rem;
    box-shadow: 0 6px 18px rgba(49, 131, 171, 0.61);
    color: #0b2333;
    width: 100%;
    margin: 0;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
}
.first-feedback-form:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
    box-shadow: 0 8px 24px rgba(49, 131, 171, 0.8);
}
.first-feedback-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.first-feedback-form .form-header {
    text-align: center;
    margin-bottom: 20px;
}
.first-feedback-form .form-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: #0b2333;
    font-weight: 600;
}
.first-feedback-form .form-header p {
    margin: 0;
    font-size: 1rem;
    color: #6b7280;
}
.first-feedback-form .input-group {
    margin-bottom: 16px;
}
.first-feedback-form .input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0b2333;
}
.first-feedback-form .input-group input,
.first-feedback-form .input-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
.first-feedback-form .input-group input:focus,
.first-feedback-form .input-group textarea:focus {
    outline: none;
    border-color: #0b63d4;
    box-shadow: 0 0 0 3px rgba(11, 99, 212, 0.2);
}
/* Обновленные стили для капчи */
.first-feedback-form .captcha-group {
    margin-bottom: 16px;
}
.first-feedback-form .captcha-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.first-feedback-form .captcha-question {
    flex: 0.8;
    padding: 10px 6px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 0.875rem;
    color: #333;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    max-width: 100px;
}
.first-feedback-form .captcha-group input {
    flex: 2.2;
    min-width: 120px;
    padding: 10px 8px;
}
.first-feedback-form .refresh-captcha {
    background: #0b63d4;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: inherit;
    flex-shrink: 0;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.first-feedback-form .refresh-captcha:hover {
    background: #094f9e;
}
.first-feedback-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 8px;
}
.first-feedback-form .checkbox-group input {
    margin-top: 3px;
}
.first-feedback-form .checkbox-group label {
    font-size: 0.813rem;
    line-height: 1.4;
    color: #0b2333;
}
.first-feedback-form .checkbox-group a {
    color: #0b63d4;
    text-decoration: none;
}
.first-feedback-form .checkbox-group a:hover {
    text-decoration: underline;
}
.first-feedback-form .submit-btn {
    width: 100%;
    background: #0b63d4;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: auto;
}
.first-feedback-form .submit-btn:hover {
    background: #094f9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 99, 212, 0.3);
}
.first-feedback-form .fas {
    margin-right: 2px;
}
/* Стили для кнопки "Позвонить сейчас" */
.first-call-now-btn {
    width: 100%;
    background: #6b7280;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: inherit;
}
.first-call-now-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}
/* Стили для видео после отправки */
.first-video-container {
    display: none;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}
.first-video-container video {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.first-video-message {
    margin-top: 15px;
    font-size: 1rem;
    color: #2A6EBB;
    font-weight: 600;
}
/* Остальные стили основного модуля */
.first-features-compact {
    background: linear-gradient(39deg, #ffffff4f 0%, #cad0d570 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    width: 100%;
}
.first-features-compact:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.first-features-content h3 {
    color: #2A6EBB;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}
.first-features-list {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}
.first-feature-column {
    flex: 1;
    display: flex;
    justify-content: center;
}
.first-feature-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 300px;
}
.first-features-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: left;
    white-space: nowrap;
}
.first-features-list li:before {
    content: "•";
    color: #2A6EBB;
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
    font-size: 1.5rem;
}
.first-features-list li:last-child {
    border-bottom: none;
}
/* Стили для кнопки с анимированным градиентом */
.first-contact-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #2A6EBB, #4A90E2, #2A6EBB);
    background-size: 200% 100%;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(42, 110, 187, 0.3);
    line-height: 1.6;
    animation: gradientMove 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}
.first-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 110, 187, 0.4);
    animation-duration: 1.5s;
}
@keyframes gradientMove {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* Стили для модального окна - ОБНОВЛЕННЫЕ */
.first-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.first-modal-content {
    background-color: #e9eaebe3;
    /* Новый цвет фона */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    border-radius: 12px;
    width: 85%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.first-close {
    color: #aaa;
    float: right;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.first-close:hover {
    color: #333;
}
.first-modal-content h3 {
    color: #2A6EBB;
    margin-top: 0;
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.3;
    padding-right: 30px;
    font-weight: 600;
}
.first-contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.first-contact-option {
    display: flex;
    align-items: center;
    padding: 0.9rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    line-height: 1.2;
}
.first-contact-option:hover {
    background: #e9f2fb;
    border-color: #2A6EBB;
    transform: translateX(5px);
}
.first-contact-icon {
    width: 36px;
    height: 36px;
    margin-right: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.first-contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.first-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex-grow: 1;
}
/* Новые стили для меток и значений контактов как в кастомной форме */
.first-contact-label {
    font-weight: 600;
    /* Вместо тега strong */
    color: #d35400;
    /* Оранжевый цвет */
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}
.first-contact-value {
    color: #666;
    font-size: 0.85rem;
}
/* Адаптивность */
@media (max-width: 1024px) {
    .first-content-wrapper {
        padding: 0 30px;
    }
    .first-logo {
        max-width: 450px;
    }
    .first-service-content p {
        line-height: 1.6;
    }
    .first-feature-column ul {
        max-width: 280px;
    }
}
@media (max-width: 768px) {
    .first-content-wrapper {
        padding: 0 20px;
    }
    .first-logo {
        max-width: 350px;
    }
    .first-services-and-form-container {
        flex-direction: column;
    }
    .first-service-row {
        padding: 1.5rem;
    }
    .first-feedback-form-container {
        position: static;
        max-width: 100%;
        min-width: unset;
    }
    .first-features-list {
        flex-direction: column;
        gap: 1rem;
    }
    .first-feature-column ul {
        max-width: 100%;
    }
    .first-features-list li {
        white-space: normal;
    }
    .first-contact-button {
        padding: 1rem;
        font-size: 1.125rem;
    }
    .first-modal-content {
        width: 90%;
        max-width: 320px;
        padding: 1.2rem;
    }
    .first-features-list li {
        line-height: 1.6;
        padding: 0.5rem 0 0.5rem 1.5rem;
    }
    .first-contact-options {
        gap: 0.7rem;
    }
    .first-contact-option {
        padding: 0.8rem;
    }
    /* Адаптация капчи для мобильных */
    .first-feedback-form .captcha-container {
        flex-direction: row;
        gap: 8px;
    }
    .first-feedback-form .captcha-question {
        width: auto;
        min-width: 90px;
    }
    .first-feedback-form .captcha-group input {
        width: auto;
    }
    .first-feedback-form .refresh-captcha {
        width: auto;
    }
}
@media (max-width: 480px) {
    .first-logo {
        max-width: 280px;
    }
    .first-service-content p {
        font-size: 1rem;
        text-align: left;
        line-height: 1.6;
    }
    .first-contact-option {
        padding: 0.7rem;
    }
    .first-contact-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.7rem;
    }
    .first-modal-content {
        width: 95%;
        max-width: 300px;
        padding: 1rem;
    }
    .first-modal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    /* Видео на мобильных */
    .first-video-container {
        margin: 15px auto;
    }
    .first-video-message {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    @media (max-width: 360px) {
        .first-feedback-form .captcha-container {
            flex-direction: column;
            gap: 8px;
        }
        .first-feedback-form .captcha-question,
        .first-feedback-form .captcha-group input,
        .first-feedback-form .refresh-captcha {
            width: 100%;
        }
    }
}
/* Дополнительные медиа-запросы для очень маленьких экранов */
@media (max-height: 600px) {
    .first-modal-content {
        max-height: 90vh;
        overflow-y: auto;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (max-height: 400px) {
    .first-modal-content {
        max-height: 95vh;
        padding: 0.8rem;
    }
    .first-contact-options {
        gap: 0.5rem;
    }
    .first-contact-option {
        padding: 0.6rem;
    }
}
/*HTML Наши клиенты получают*/
.nkp-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 70px 0;
}

/* Фон на всю ширину ТОЛЬКО для компьютеров */
@media (min-width: 768px) {
    .nkp-fullwidth {
        background: linear-gradient(135deg, rgb(255 255 255 / 0%) 0%, rgb(241 238 238 / 24%) 100%);
        padding: 35px 0 50px 0;
        transition: background 0.8s ease;
    }

    .nkp-fullwidth:hover {
        background: linear-gradient(135deg, rgb(255 255 255 / 39%) 0%, rgb(241 238 238 / 46%) 100%);
    }
}

.nkp-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2c3e50;
}

.nkp-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Уменьшен размер заголовка еще больше */
.nkp-title {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    /* Уменьшено с 1.6rem, 3.5vw, 2.8rem */
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #2c3e50;
}

.nkp-title-line {
    height: 5px;
    width: 70px;
    background: #007bff;
    margin: 12px auto 0;
    /* Уменьшен отступ сверху */
    border-radius: 10px;
}

/* Увеличено расстояние между карточками еще больше */
.nkp-row {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-bottom: 60px;
    align-items: center;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .nkp-row {
        flex-direction: row;
    }

    .nkp-row:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.nkp-col-img {
    flex: 1;
    width: 100%;
    max-width: 420px;
    position: relative;
}

/* Внешняя рамка (светлая, повернутая) - с градиентом на основе #f0f8ff */
.nkp-outer-frame {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f0ff 50%, #d9e8ff 100%);
    border-radius: 28px;
    border: 1px solid #c6d9ff;
    transform: rotate(1deg);
    transition: all 0.4s ease;
    z-index: 1;
    opacity: 0.9;
}

/* Основная рамка с изображением */
.nkp-img-container {
    background: linear-gradient(135deg, #ffffff 0%, #f1faff 100%);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 20px -8px rgba(34, 105, 240, 0.3);
    transition: all 0.4s ease;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Увеличена картинка */
.nkp-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

/* Анимации при наведении */
.nkp-col-img:hover .nkp-outer-frame {
    transform: rotate(0deg);
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 50%, #e0ecff 100%);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(192, 216, 255, 0.6);
}

.nkp-col-img:hover .nkp-img-container {
    transform: scale(1.02);
    box-shadow: 0 12px 25px -10px rgba(240, 64, 34, 0.38);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 40%, #ddddddad 100%);
}

.nkp-col-img:hover .nkp-img {
    transform: scale(1.05);
}

.nkp-col-text {
    flex: 1.2;
}

.nkp-item-title {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-transform: uppercase;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.nkp-row:hover .nkp-item-title {
    color: #007bff;
}

/* Увеличен размер текста подзаголовков */
.nkp-item-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 25px;
}

.nkp-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

@media (min-width: 640px) {
    .nkp-list {
        grid-template-columns: 1fr 1fr;
    }
}

.nkp-list-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 12px 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #9cbee1c9;
    cursor: pointer;
}

.nkp-list-item:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Изменен стиль галочки при наведении */
.nkp-check {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

/* При наведении на пункт: галочка белая, кружок синий */
.nkp-list-item:hover .nkp-check {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Стили для цветных текстов в мессенджерах */
.telegram-text {
    color: #0088cc;
    font-weight: 600;
}

.whatsapp-text {
    color: #25D366;
    font-weight: 600;
}

.max-text {
    color: #9c27b0;
    font-weight: 600;
}

.nkp-btn {
    display: inline-flex;
    align-items: center;
    background: #007bff;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 6px 12px -3px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
}

.nkp-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 123, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Стили для заключительной фразы */
.nkp-final-phrase {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -10px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.nkp-final-phrase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

.nkp-final-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.01em;
}

.nkp-final-text span {
    color: #007bff;
    position: relative;
    display: inline-block;
}

.nkp-final-text span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    border-radius: 2px;
}

@keyframes gradientMove {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Стили для модального окна как в первом модуле */
.nkp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.nkp-modal-content {
    background-color: #e9eaebe3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    border-radius: 12px;
    width: 85%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nkp-close {
    color: #aaa;
    float: right;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: relative;
    z-index: 1;
    background: none;
    border: none;
    padding: 0;
}

.nkp-close:hover {
    color: #333;
}

.nkp-modal-content h3 {
    color: #2A6EBB;
    margin-top: 0;
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.3;
    padding-right: 30px;
    font-weight: 600;
}

.nkp-contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nkp-contact-option {
    display: flex;
    align-items: center;
    padding: 0.9rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    line-height: 1.2;
}

.nkp-contact-option:hover {
    background: #e9f2fb;
    border-color: #2A6EBB;
    transform: translateX(5px);
    text-decoration: none;
    color: #333;
}

.nkp-contact-icon {
    width: 36px;
    height: 36px;
    margin-right: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nkp-contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nkp-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex-grow: 1;
}

.nkp-contact-label {
    font-weight: 600;
    color: #d35400;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.nkp-contact-value {
    color: #666;
    font-size: 0.85rem;
}

/* Анимация при загрузке */
@keyframes nkp-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nkp-row {
    animation: nkp-fadeInUp 0.5s ease-out;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .nkp-container {
        padding: 0 30px;
    }

    .nkp-final-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .nkp-fullwidth {
        width: 100%;
        margin-left: 0;
        background: transparent !important;
        padding: 10px 0 50px 0;
    }

    .nkp-container {
        padding: 0 20px;
    }

    .nkp-header {
        margin-bottom: 40px;
    }

    .nkp-title {
        font-size: 1.4rem;
    }

    .nkp-row {
        gap: 35px;
        margin-bottom: 45px;
    }

    .nkp-col-img {
        max-width: 100%;
    }

    .nkp-outer-frame {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 25px;
        transform: rotate(0.8deg);
    }

    .nkp-img-container {
        padding: 6px;
        min-height: 280px;
    }

    .nkp-img {
        max-height: 260px;
    }

    .nkp-item-desc {
        font-size: 1rem;
        line-height: 1.5;
    }

    .nkp-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nkp-list-item {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .nkp-final-phrase {
        margin-top: 50px;
        padding: 25px 15px;
    }

    .nkp-final-text {
        font-size: 1.4rem;
    }

    .nkp-modal-content {
        width: 90%;
        max-width: 320px;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nkp-container {
        padding: 0 15px;
    }

    .nkp-title {
        font-size: 1.2rem;
    }

    .nkp-item-title {
        font-size: 1.1rem;
    }

    .nkp-item-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .nkp-outer-frame {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 22px;
        transform: rotate(0.5deg);
    }

    .nkp-img-container {
        min-height: 250px;
        padding: 5px;
    }

    .nkp-img {
        max-height: 240px;
    }

    .nkp-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .nkp-final-phrase {
        margin-top: 40px;
        padding: 20px 12px;
    }

    .nkp-final-text {
        font-size: 1.2rem;
    }

    .nkp-modal-content {
        width: 95%;
        max-width: 300px;
        padding: 1rem;
    }

    .nkp-modal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .nkp-contact-option {
        padding: 0.7rem;
    }

    .nkp-contact-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.7rem;
    }
}

/*Этапы главная страница*/
:root {
        --primary-color: #3a4f63;
        --primary-light: #4d6277;
        --primary-dark: #2e3e50;
        --accent-color: #22b8f0;
        --text-light: #ffffff;
        --text-dark: #333333;
        --bg-light: #ecf4f594;
        --shadow: 0 0 12px rgba(34, 184, 240, 0.5);
        --shadow-hover: 0 0 18px rgba(34, 184, 240, 0.7);
        --border-color: #3a4f63;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Arial', sans-serif;
    }

    .stagess-module-fullwidth {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
        background-color: var(--bg-light);
        padding: 15px 0;
    }

    .stagess-container {
        max-width: 1600px;
        margin: 25px auto;
        padding: 0 40px;
    }

    .stagess-title {
        text-align: center;
        margin-bottom: 25px;
        color: var(--primary-dark);
        font-size: 2rem;
        font-weight: 700;
    }

    .stagess-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px 30px;
    }

    .stage-itemm {
        position: relative;
        width: calc(33.333% - 20px);
        min-width: 0;
        background-color: var(--bg-light);
        box-shadow: var(--shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
    }

    .stage-itemm:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .stage-headerr {
        background-color: var(--primary-color);
        color: var(--text-light);
        padding: 10px 15px;
        position: relative;
        z-index: 1;
    }

    .stage-headerr::after {
        content: '';
        position: absolute;
        top: 0;
        right: -15px;
        width: 15px;
        height: 100%;
        background-color: var(--primary-color);
        clip-path: polygon(0 0, 0 100%, 100% 50%);
        z-index: 2;
    }

    .stage-labell {
        display: inline-block;
        background-color: var(--accent-color);
        color: var(--text-light);
        padding: 3px 8px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .stage-titlee {
        font-size: 15px;
        font-weight: 700;
    }

    .stage-content-with-bgg {
        padding: 12px 15px;
        color: var(--text-dark);
        background: linear-gradient(140deg, #ffffffde 0%, #e6e6e78f 100%);
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    /* Фоновое изображение без анимации по умолчанию */
    .stage-content-with-bgg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('https://znak-reg-brend.ru/images/logo/znak-reg-brend-00.png');
        background-size: 40% auto;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.08;
        transition: opacity 0.3s ease;
        z-index: 0;
        filter: grayscale(80%) brightness(1.2);
    }

    /* Анимация вращения ТОЛЬКО для активного элемента */
    .stage-itemm:hover .stage-content-with-bgg::before {
        animation: rotateBackground 1.2s ease-in-out;
        opacity: 0.12;
    }

    /* Ключевые кадры для анимации */
    @keyframes rotateBackground {
        0% {
            transform: rotateY(0deg);
        }
        100% {
            transform: rotateY(360deg);
        }
    }

    .stage-descriptionn {
        margin-bottom: 12px;
        line-height: 1.4;
        font-size: 13px;
        flex-grow: 1;
        position: relative;
        z-index: 1;
    }

    .stage-link {
        display: inline-block;
        background-color: var(--accent-color);
        color: var(--text-light);
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 12px;
        transition: background-color 0.3s ease;
        align-self: flex-start;
        margin-top: auto;
        position: relative;
        z-index: 1;
    }

    .stage-link:hover {
        background-color: #1ca3d8;
    }

    /* Адаптивность */
    @media (max-width: 1024px) {
        .stagess-container {
            padding: 0 30px;
        }
    }

    @media (max-width: 768px) {
        .stagess-module-fullwidth {
            background-color: transparent;
        }
        
        .stagess-container {
            max-width: 100%;
            padding: 0 20px;
        }
        
        .stagess-wrapper {
            gap: 20px;
        }
        
        .stage-itemm {
            width: calc(50% - 10px);
            background-color: rgba(255, 255, 255, 0.95);
        }
        
        .stage-headerr::after {
            right: -12px;
            width: 12px;
        }
        
        .stage-headerr {
            padding: 8px 12px;
        }
        
        .stage-content-with-bgg {
            padding: 10px 12px;
            background-color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .stage-content-with-bgg::before {
            background-size: 50% auto;
            opacity: 0.06;
        }
        
        .stage-itemm:hover .stage-content-with-bgg::before {
            opacity: 0.1;
        }
        
        .stage-labell {
            font-size: 10px;
            padding: 2px 6px;
        }
        
        .stage-titlee {
            font-size: 13px;
        }
        
        .stage-descriptionn {
            font-size: 11px;
            line-height: 1.3;
        }
        
        .stage-link {
            font-size: 10px;
            padding: 4px 8px;
        }
    }

    @media (max-width: 480px) {
        .stagess-module-fullwidth {
            margin-left: 0;
            width: 100%;
            padding: 10px 0;
            background-color: transparent;
        }
        
        .stagess-container {
            padding: 0 15px;
        }
        
        .stagess-wrapper {
            gap: 15px;
        }
        
        .stage-itemm {
            width: calc(50% - 7.5px);
            background-color: rgba(255, 255, 255, 0.95);
        }
        
        .stage-headerr::after {
            right: -10px;
            width: 10px;
        }
        
        .stage-headerr {
            padding: 6px 10px;
        }
        
        .stage-content-with-bgg {
            padding: 8px 10px;
            background-color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .stage-content-with-bgg::before {
            background-size: 60% auto;
            opacity: 0.05;
        }
        
        .stage-itemm:hover .stage-content-with-bgg::before {
            opacity: 0.08;
        }
        
        .stage-labell {
            font-size: 9px;
            padding: 2px 4px;
            margin-bottom: 3px;
        }
        
        .stage-titlee {
            font-size: 11px;
        }
        
        .stage-descriptionn {
            font-size: 9px;
            line-height: 1.2;
            margin-bottom: 8px;
        }
        
        .stage-link {
            font-size: 9px;
            padding: 3px 6px;
        }
    }

    @media (max-width: 360px) {
        .stage-itemm {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.95);
        }
        
        .stage-headerr::after {
            right: -10px;
            width: 10px;
        }
    }
    
/*HTML Услуги кружочки*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.services-containerrr {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.services-titlee {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: bold;
}

.services-gridd {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-itemm {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.service-itemm:hover {
    transform: scale(1.05);
}

.service-iconn {
    width: 150px;
    /* Уменьшенный размер в полтора раза (было 150px) */
    height: 150px;
    /* Уменьшенный размер в полтора раза (было 150px) */
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(34, 184, 240, 0.3);
    transition: box-shadow 0.3s ease;
}

.service-itemm:hover .service-iconn {
    box-shadow: 0 8px 25px rgba(34, 184, 240, 0.5);
}

.service-iconn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-namee {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    /* Фиксированная высота для выравнивания */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-descriptionn {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    /* Фиксированная высота для выравнивания */
    height: 63px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .services-gridd {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .service-namee {
        font-size: 16px;
    }

    .service-descriptionn {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .services-gridd {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .service-iconn {
        width: 80px;
        height: 80px;
    }

    .service-namee {
        font-size: 14px;
        height: 50px;
    }

    .service-descriptionn {
        font-size: 12px;
        height: 72px;
    }
}

@media (max-width: 480px) {
    .services-gridd {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-iconn {
        width: 70px;
        height: 70px;
    }
}

/*HTML Есть вопросы?*/
.feedback-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Скрываем на мобильных по умолчанию */
    display: none;
}

/* Показываем только на десктопах */
@media (min-width: 769px) {
    .feedback-widget {
        display: block;
    }
}

.feedback-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 124, 186, 0.15);
    width: 300px;
    max-width: calc(100vw - 40px);
    border: 1px solid rgba(0, 124, 186, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: none;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.feedback-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://znak-reg-brend.ru/images/znak-reg-brend.png');
    background-size: 140px 140px;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
}

.feedback-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, rgba(248, 250, 252, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
}

.feedback-form.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.feedback-header {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.feedback-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feedback-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.feedback-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.feedback-content {
    padding: 16px;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 3;
}

.feedback-text {
    color: #374151;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 16px 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.feedback-submit {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    position: relative;
    overflow: hidden;
}

.feedback-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2.5s infinite;
    animation-delay: 0.5s;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.feedback-submit:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4), 0 0 15px rgba(0, 124, 186, 0.3);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

.feedback-toggle {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    visibility: hidden;
}

.feedback-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
    z-index: 1;
}

.feedback-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4), 0 0 20px rgba(0, 124, 186, 0.3);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

.feedback-toggle.appear {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-toggle.hide {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    visibility: hidden;
}

.feedback-toggle.alarm {
    animation: alarmShake 0.8s ease-in-out, alarmGlowGreen 3s ease-in-out;
}

@keyframes alarmShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-3px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(3px);
    }
}

@keyframes alarmGlowGreen {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    }

    20%,
    60% {
        box-shadow:
            0 0 10px rgba(76, 175, 80, 0.8),
            0 0 20px rgba(76, 175, 80, 0.6),
            0 0 30px rgba(76, 175, 80, 0.4),
            0 4px 20px rgba(0, 124, 186, 0.4);
    }

    40% {
        box-shadow:
            0 0 15px rgba(76, 175, 80, 1),
            0 0 30px rgba(76, 175, 80, 0.8),
            0 0 45px rgba(76, 175, 80, 0.6),
            0 6px 25px rgba(0, 124, 186, 0.5);
    }
}

.hidden-callback-button {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Убираем медиа-запрос для мобильных, так как виджет теперь полностью скрыт */
@media (max-width: 768px) {
    .feedback-widget {
        display: none !important;
    }
}

/*HTML Баннер 1*/
.module-banner-wrapper {
    width: 100%;
    background: transparent;
    padding: 10px 0;
    position: relative;
}

.module-banner {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: visible;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* На десктопах - баннер на всю ширину с контейнером */
@media (min-width: 768px) {
    .module-banner-wrapper {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .module-banner {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
        box-sizing: border-box;
    }
    
    .banner-image {
        width: 100%;
        max-width: 100%;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .module-banner {
        padding: 0 30px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
    .module-banner-wrapper {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 5px 0;
    }
    
    .module-banner {
        padding: 0 20px;
    }
    
    .banner-image {
        width: 100%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .module-banner {
        padding: 0 15px;
    }
}


/*HTML Решили уйти?*/
.exit-intent-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

.exit-intent-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.exit-intent-content:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.background-image {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background-image: url('https://znak-reg-brend.ru/images/znak-reg-brend.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    border-radius: 10px;
}

.background-loaded .background-image {
    opacity: 0.1;
    animation: rotateVertical 25s linear infinite;
}

.exit-intent-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
}

.exit-intent-close:hover {
    color: #000;
}

.exit-intent-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.exit-intent-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.exit-intent-text {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.exit-intent-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.exit-intent-button {
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.exit-intent-button:not(.exit-intent-button-secondary) {
    background: linear-gradient(-45deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite, breathe 2s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), 0 4px 15px rgba(33, 150, 243, 0.3);
}

.exit-intent-button:hover {
    transform: translateY(-2px) scale(1.05);
    text-decoration: none;
    color: white;
}

.exit-intent-button:not(.exit-intent-button-secondary):hover {
    animation: gradientShift 1.5s ease infinite, pulse 1s ease infinite;
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5), 0 6px 20px rgba(33, 150, 243, 0.4);
}

.exit-intent-button-secondary {
    background: linear-gradient(45deg, #757575, #9E9E9E);
    box-shadow: 0 4px 15px rgba(117, 117, 117, 0.3), 0 2px 8px rgba(117, 117, 117, 0.2);
}

.exit-intent-button-secondary:hover {
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4), 0 3px 12px rgba(117, 117, 117, 0.3);
}

.warning-text {
    font-size: 0.9em;
    color: #ff5722;
    margin-top: 20px;
    font-style: italic;
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5), 0 6px 20px rgba(33, 150, 243, 0.4);
    }

    50% {
        box-shadow: 0 15px 45px rgba(255, 107, 107, 0.7), 0 8px 25px rgba(33, 150, 243, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    }

    100% {
        box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5), 0 6px 20px rgba(33, 150, 243, 0.4);
    }
}

@keyframes rotateVertical {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake-animation {
    animation: shake 0.5s;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .exit-intent-content {
        margin: 20% auto;
        padding: 20px;
        width: 95%;
    }

    .background-loaded .background-image {
        opacity: 0.05;
    }

    .exit-intent-title {
        font-size: 1.8em;
    }

    .exit-intent-subtitle {
        font-size: 1em;
    }

    .exit-intent-text {
        font-size: 1.1em;
    }

    .exit-intent-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }

    .exit-intent-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/*HTML Связаться с нами Телефон телеграм ватсап*/
.contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-toggle {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 124, 186, 0.15);
    transition: all 0.3s ease;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.contact-toggle:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4), 0 0 20px rgba(0, 124, 186, 0.3);
    transform: translateY(-2px) scale(1.05);
    color: #ffffff;
}

.contact-toggle.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Анимация блеска */
@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.contact-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
    z-index: 1;
}

/* Текст поверх эффектов */
.contact-toggle span {
    position: relative;
    z-index: 2;
}

/* Анимация тряски и свечения */
@keyframes alarmShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-3px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(3px);
    }
}

@keyframes alarmGlowGreen {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    }

    20%,
    60% {
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.8), 0 0 20px rgba(76, 175, 80, 0.6), 0 0 30px rgba(76, 175, 80, 0.4), 0 4px 20px rgba(0, 124, 186, 0.4);
    }

    40% {
        box-shadow: 0 0 15px rgba(76, 175, 80, 1), 0 0 30px rgba(76, 175, 80, 0.8), 0 0 45px rgba(76, 175, 80, 0.6), 0 6px 25px rgba(0, 124, 186, 0.5);
    }
}

.contact-toggle.alarm {
    animation: alarmShake 0.8s ease-in-out, alarmGlowGreen 3s ease-in-out;
}

/* Мобильная версия */
@media (max-width: 480px) {
    .contact-widget {
        bottom: 40px;
        right: 2px;
    }

    .contact-toggle {
        font-size: 12px;
        padding: 10px 16px;
    }

    .contact-toggle.alarm {
        animation: alarmShake 0.8s ease-in-out, alarmGlowGreen 3s ease-in-out;
    }
}

/* Форма контактов */
.contact-form {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://znak-reg-brend.ru/images/znak-reg-brend.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.contact-form.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-form h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    text-align: center;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    text-decoration: none;
}

.contact-option img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    border-radius: 4px;
}

.contact-option span {
    font-weight: 500;
    font-size: 14px;
}

/* Кнопка закрытия */
.close-form {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-form:hover {
    background: #f0f0f0;
    color: #666;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .contact-widget {
        bottom: 0;
        left: 0;
        right: auto;
        width: 100%;
    }

    .contact-toggle {
        font-size: 16px;
        padding: 15px 20px;
        border-radius: 0;
        width: 100%;
        height: 38px;
        text-align: center;
        box-shadow: 0 -4px 20px rgba(0, 124, 186, 0.2);
    }

    .contact-toggle:hover {
        transform: translateY(0);
    }

    .contact-toggle.alarm {
        animation: alarmGlow 2s ease-in-out infinite;
    }

    .contact-form {
        bottom: 60px;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .contact-toggle {
        font-size: 14px;
        padding: 12px 16px;
    }

    .contact-form {
        left: 10px;
        right: 10px;
        padding: 15px;
    }

    .contact-form h3 {
        font-size: 16px;
    }

    .contact-option {
        padding: 10px 12px;
    }

    .contact-option span {
        font-size: 13px;
    }
}

/* Оверлей для мобильных */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 769px) {
    .overlay {
        display: none;
    }
}

/*HTML Регистрация Защита Патентный поиск*/
.services-container-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 50px 0;
}

/* Внутренний контейнер с ограничением ширины */
.services-inner-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Оригинальные стили для мобильных */
.services-containner-original {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 10px auto !important;
    font-family: Arial, sans-serif;
}

.service-colummn {
    width: 30%;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: justify;
    box-shadow: 0 0 10px rgba(34, 184, 240, 0.4);
    overflow: hidden;
    background-color: #ffffff59;
    /* Эффект при наведении ТОЛЬКО на компьютерах */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении ТОЛЬКО на компьютерах */
@media (min-width: 1025px) {
    .service-colummn:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 240, 240, 0.5) 50%, rgba(221, 221, 221, 0.5) 100%);
    }
}

.service-tittle {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 3px 3px -3px #22b8f0;
    background: linear-gradient(to bottom, rgb(224, 221, 221), rgba(224, 221, 221, 0.3));
}

.service-descrippt {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #555;
    padding: 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 3px 3px -3px #22b8f0;
}

.service-addittion {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #666;
    font-style: italic;
    padding: 0 20px;
}

.button-container {
    margin-top: auto;
    text-align: center;
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -3px 3px -3px #22b8f0;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #22b8f0;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(34, 184, 240, 0.6);
    transition: all 0.3s ease;
}

/* Улучшенный эффект при наведении для кнопок ТОЛЬКО на компьютерах */
@media (min-width: 1025px) {
    .contact-button:hover {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }
}

/* Медиа-запросы для адаптивности - ТОЧНО КАК В ИСХОДНОМ КОДЕ */
@media screen and (max-width: 992px) {
    .service-colummn {
        width: 45%;
    }
}

/* Специальный медиа-запрос для iPad */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .services-container-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0;
    }
    
    .services-inner-container {
        padding: 0 30px;
    }
    
    .services-containner-original {
        margin: 10px auto !important;
    }
    
    .service-colummn {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .services-container-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0;
    }
    
    .services-inner-container {
        padding: 0 15px;
    }
    
    .services-containner-original {
        margin: 10px auto !important;
    }
    
    .service-colummn {
        width: 100%;
    }
}

/* Для очень маленьких экранов (опционально) */
@media screen and (max-width: 480px) {
    .services-inner-container {
        padding: 0 10px;
    }
    
    .service-tittle {
        padding: 15px;
        font-size: 18px;
    }
    
    .service-descrippt {
        padding: 0 15px 15px 15px;
    }
    
    .service-addittion {
        padding: 0 15px;
    }
    
    .button-container {
        padding: 15px 15px 20px 15px;
    }
}


/*HTML Регистрация Защита Патентный поиск Цены*/
.pricing-container-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 50px 0;
}

/* Внутренний контейнер с ограничением ширины */
.pricing-inner-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Оригинальные стили для контейнера */
.pricing-containner-original {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 10px auto !important;
    font-family: Arial, sans-serif;
}

/* Колонки - такие же как во втором модуле */
.pricing-column-fullwidth {
    width: 30%;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    box-shadow: 0 0 10px rgba(34, 184, 240, 0.4);
    overflow: hidden;
    background-color: #ffffff59;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении ТОЛЬКО на компьютерах */
@media (min-width: 1025px) {
    .pricing-column-fullwidth:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 240, 240, 0.5) 50%, rgba(221, 221, 221, 0.5) 100%);
    }
}

/* Заголовок карточки */
.pricing-header-fullwidth {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 3px 3px -3px #22b8f0;
    background: linear-gradient(to bottom, #2c3e50, #1a2530);
}

/* Контент карточки */
.pricing-content-fullwidth {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Цена */
.pricing-price-fullwidth {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
}

/* Описание */
.pricing-description-fullwidth {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
    padding-bottom: 15px;
    position: relative;
}

.pricing-description-fullwidth:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    box-shadow: 0 1px 2px 0 rgba(34, 184, 240, 0.5);
    background-color: rgba(34, 184, 240, 0.2);
}

/* Список преимуществ */
.pricing-features-fullwidth {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    padding: 0;
}

.pricing-features-fullwidth li {
    padding: 12px 0;
    position: relative;
    color: #555;
}

.pricing-features-fullwidth li:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    box-shadow: 0 1px 2px 0 rgba(34, 184, 240, 0.5);
    background-color: rgba(34, 184, 240, 0.2);
}

/* Контейнер для кнопки */
.button-container {
    margin-top: auto;
    text-align: center;
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -3px 3px -3px #22b8f0;
}

/* Кнопка */
.pricing-button-fullwidth {
    display: inline-block;
    padding: 10px 20px;
    background-color: #22b8f0;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(34, 184, 240, 0.6);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Улучшенный эффект при наведении для кнопок ТОЛЬКО на компьютерах */
@media (min-width: 1025px) {
    .pricing-button-fullwidth:hover {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }
}

/* Медиа-запросы для адаптивности - такие же как во втором модуле */
@media screen and (max-width: 992px) {
    .pricing-column-fullwidth {
        width: 45%;
    }
}

/* Специальный медиа-запрос для iPad */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .pricing-container-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0;
    }
    
    .pricing-inner-container {
        padding: 0 30px;
    }
    
    .pricing-containner-original {
        margin: 10px auto !important;
    }
    
    .pricing-column-fullwidth {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .pricing-container-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0;
    }
    
    .pricing-inner-container {
        padding: 0 15px;
    }
    
    .pricing-containner-original {
        margin: 10px auto !important;
    }
    
    .pricing-column-fullwidth {
        width: 100%;
    }
}

/* Для очень маленьких экранов (опционально) */
@media screen and (max-width: 480px) {
    .pricing-inner-container {
        padding: 0 10px;
    }
    
    .pricing-header-fullwidth {
        padding: 15px;
        font-size: 18px;
    }
    
    .pricing-content-fullwidth {
        padding: 15px;
    }
    
    .pricing-price-fullwidth {
        font-size: 24px;
    }
}

/*HTML Карусель*/
/* Стили для карусели изображений */
.image-carousel-container {
    width: 100vw;
    margin: 40px auto;
    margin-left: calc(-50vw + 50%);
    /* Выход за пределы контейнера */
    width: 100vw;
    padding: 0 10px;
}

.image-carousel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(34, 184, 240, 0.3);
    /* Мягкая размытая тень по всему периметру */
}

/* Контейнер Swiper на всю ширину */
.swiper-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px;
    /* Только внутренние отступы для контента */
    box-sizing: border-box;
}

.image-carousel .swiper-wrapper {
    display: flex;
    align-items: center;
}

.image-carousel .swiper-slide {
    width: auto !important;
    height: 100px;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.image-carousel .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-carousel .swiper-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.image-carousel .swiper-slide:hover img {
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .image-carousel {
        height: 150px;
        margin-left: calc(-50vw + 50%);
        /* Выход за пределы контейнера */
        width: 100vw;
    }

    .image-carousel .swiper-slide {
        width: 120px;
        height: 80px;
    }

    .swiper-container {
        padding: 0 1px;
        /* Меньше отступы на мобильных */
        margin-left: calc(-50vw + 50%);
        /* Выход за пределы контейнера */
    }

    .swiper-slide {
        margin-right: 10px;
        margin-left: calc(-50vw + 50%);
        /* Выход за пределы контейнера */
    }

    .swiper-slide img {
        height: 150px;
        /* Меньше высота на мобильных */
    }
}

@media (max-width: 480px) {
    .image-carousel {
        height: 80px;
    }

    .image-carousel .swiper-slide {
        width: 80px;
        height: 60px;
        margin-right: 8px;
    }

    .swiper-container {
        padding: 0 10px;
    }

    .swiper-slide {
        margin-right: 8px;
    }

    .swiper-slide img {
        height: 120px;
    }
}

/* Скрытие карусели до загрузки */
.image-carousel {
    display: none;
    box-sizing: border-box;
}

.image-carousel.loaded {
    display: block;
}

/* Индикатор загрузки */
.carousel-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/*HTML Виды услуг по регистрации товарного знака*/
.vidyuslugreg-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 50px 0;
}

.vidyuslugreg-container-fullwidth {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.vidyuslugreg-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.vidyuslugreg-service-card {
    background: linear-gradient(135deg, rgb(255 255 255 / 64%) 10%, rgb(204 206 207 / 56%) 100%);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

.vidyuslugreg-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 240, 240, 0.5) 50%, rgba(221, 221, 221, 0.5) 100%);
}

.vidyuslugreg-service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto auto auto;
    display: block;
    fill: var(--primary-dark);
    transition: fill 0.3s ease, filter 0.3s ease;
}

.service-iconc img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: 0 auto 20px;
    display: block;
}

.service-card:hover .service-iconc img {
    transform: scale(1.05);
}

/* Специальный стиль для карточек с изображениями */
.service-card .service-iconc:has(img) {
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
}

.vidyuslugreg-service-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 5px;
}

.vidyuslugreg-service-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    padding: 0 5px;
}

.vidyuslugreg-service-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: auto;
    width: calc(100% - 10px);
    box-sizing: border-box;
    margin-left: 5px;
    margin-right: 5px;
}

.vidyuslugreg-service-button:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    text-decoration: none;
    color: white;
}

/* Планшеты iPad и аналогичные */
@media (max-width: 1024px) and (min-width: 769px) {
    .vidyuslugreg-container-fullwidth {
        padding: 0 30px;
    }

    .vidyuslugreg-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 30px;
    }

    .vidyuslugreg-service-card {
        padding: 20px 12px;
        min-height: 280px;
    }

    .vidyuslugreg-service-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 12px;
    }

    .vidyuslugreg-service-title {
        font-size: 16px;
        text-align: center;
        margin-bottom: 15px;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0 3px;
    }

    .vidyuslugreg-service-description {
        font-size: 13px;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 20px;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0 3px;
    }

    .vidyuslugreg-service-button {
        padding: 10px 12px;
        font-size: 13px;
        width: calc(100% - 6px);
        margin-left: 3px;
        margin-right: 3px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .vidyuslugreg-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0;
    }

    .vidyuslugreg-container-fullwidth {
        padding: 0 15px;
    }

    .vidyuslugreg-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Девятая карточка по центру на мобильных */
    .vidyuslugreg-service-card:nth-child(9) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .vidyuslugreg-service-card {
        padding: 15px 10px;
        min-height: 250px;
    }

    .vidyuslugreg-service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }

    .vidyuslugreg-service-title {
        font-size: 15px;
        margin-bottom: 12px;
        text-align: center;
        line-height: 1.4;
        padding: 0 2px;
    }

    .vidyuslugreg-service-description {
        font-size: 13px;
        margin-bottom: 15px;
        text-align: justify;
        line-height: 1.5;
        padding: 0 2px;
    }

    .vidyuslugreg-service-button {
        padding: 8px 10px;
        font-size: 13px;
        width: calc(100% - 4px);
        margin-left: 2px;
        margin-right: 2px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .vidyuslugreg-container-fullwidth {
        padding: 0 10px;
    }

    .vidyuslugreg-services-grid {
        gap: 10px;
    }

    /* Девятая карточка по центру на маленьких экранах */
    .vidyuslugreg-service-card:nth-child(9) {
        grid-column: 1 / -1;
        max-width: 60%;
        margin: 0 auto;
    }

    .vidyuslugreg-service-card {
        padding: 12px 8px;
        min-height: 220px;
    }

    .vidyuslugreg-service-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .vidyuslugreg-service-title {
        font-size: 14px;
        text-align: center;
        line-height: 1.3;
        padding: 0 2px;
    }

    .vidyuslugreg-service-description {
        font-size: 12px;
        text-align: justify;
        padding: 0 2px;
    }

    .vidyuslugreg-service-button {
        width: calc(100% - 4px);
        margin-left: 2px;
        margin-right: 2px;
    }
}

/*HTML для Услуг*/
.services-module {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
}

/* Горизонтальная карточка товарных знаков */
.trademark-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5aa0;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trademark-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trademark-title {
    font-size: 22px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
}

.trademark-title::before {
    content: "➢";
    margin-right: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.trademark-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.trademark-subsection {
    margin-bottom: 0;
}

.trademark-subsection-title {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
}

.trademark-subsection-title::before {
    content: "◆";
    margin-right: 10px;
    color: #2c5aa0;
    flex-shrink: 0;
    margin-top: 2px;
}

.trademark-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.trademark-list li {
    padding: 2px 0;
    /* Уменьшенный отступ */
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    width: 100%;
    text-align: left;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
}

.trademark-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

/* Основная сетка для остальных карточек */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #2c5aa0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
}

.service-title::before {
    content: "➢";
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.service-content {
    width: 100%;
}

.service-subsection {
    margin-bottom: 12px;
}

.service-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 15px;
    font-weight: bold;
    color: #444;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
}

.subsection-title::before {
    content: "◆";
    margin-right: 8px;
    color: #2c5aa0;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.service-list li {
    padding: 1.5px 0;
    /* Уменьшенный отступ */
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    width: 100%;
    text-align: left;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
}

.service-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

.service-description {
    font-size: 14px;
    line-height: 1.2;
    /* Уменьшенный межстрочный интервал */
    text-align: left;
    width: 100%;
}

.advantages-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-choose-us,
.our-advantages {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 15px;
    text-align: center;
}

.advantage-item {
    margin-bottom: 10px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.advantage-item:last-child {
    margin-bottom: 0;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    text-align: left;
    width: 100%;
}

.advantage-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.conclusion {
    background: rgba(152, 155, 156, 0.9);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.5;
    background-image: url(https://znak-reg-brend.ru/images/bg.position.png);
}

.conclusion strong {
    color: rgb(253, 253, 253);
}

@media (max-width: 768px) {
    .trademark-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-module {
        padding: 20px 15px;
    }

    .trademark-card {
        padding: 20px;
    }

    .service-card {
        padding: 15px;
    }

    .why-choose-us,
    .our-advantages {
        padding: 18px;
    }

    .advantages-section {
        padding: 20px;
    }
}

/*HTML Услуги кружочки в линию*/
/* Оборачивающий контейнер для растягивания на всю ширину */
.krugi-line-module-wrapper {
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, rgb(255 255 255 / 68%) 0%, rgb(241 238 238 / 60%) 100%);
    padding: 30px 0;
    transition: background 0.8s ease;
}

.krugi-line-module-wrapper:hover {
    background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
}

.krugi-line-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    overflow-x: hidden;
    background: transparent;
}

.krugi-line-services-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 700;
}

.krugi-line-services-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 60px;
    padding: 0 5px;
    width: 100%;
}

.krugi-line-service-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.krugi-line-service-item:hover {
    text-decoration: none;
    color: inherit;
}

/* Увеличиваем размер кружочков для больших экранов */
.krugi-line-service-icon {
    width: clamp(65px, 10vw, 120px);
    height: clamp(65px, 10vw, 120px);
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    margin: 0 auto 8px;
    display: block;
    flex-shrink: 0;
}

.krugi-line-service-icon.krugi-line-auto-scale {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px rgba(34, 184, 240, 0.6),
        0 0 10px rgba(34, 184, 240, 0.4),
        0 0 6px rgba(0,0,0,0.1);
}

.krugi-line-service-item:hover .krugi-line-service-icon {
    transform: scale(1.15);
    box-shadow: 
        0 0 27px rgba(34, 184, 240, 0.7),
        0 0 13px rgba(34, 184, 240, 0.5),
        0 0 8px rgba(0,0,0,0.2);
}

.krugi-line-service-title {
    font-size: clamp(12px, 1.6vw, 18px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    padding: 0 2px;
    color: #333;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность для больших экранов */
@media (min-width: 1400px) {
    .krugi-line-container {
        padding: 0 40px;
    }
    
    .krugi-line-services-container {
        gap: 15px;
        padding: 0 15px;
    }
    
    .krugi-line-service-icon {
        width: 120px;
        height: 120px;
    }
    
    .krugi-line-service-title {
        font-size: 18px;
        min-height: 40px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .krugi-line-services-container {
        gap: 12px;
        padding: 0 12px;
    }
    
    .krugi-line-service-icon {
        width: 105px;
        height: 105px;
    }
    
    .krugi-line-service-title {
        font-size: 16px;
        min-height: 36px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .krugi-line-container {
        padding: 0 30px;
    }
    
    .krugi-line-services-container {
        gap: 10px;
        padding: 0 10px;
    }
    
    .krugi-line-service-icon {
        width: 90px;
        height: 90px;
    }
    
    .krugi-line-service-title {
        font-size: 14px;
        min-height: 32px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .krugi-line-container {
        padding: 0 30px;
    }
    
    .krugi-line-services-container {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 15px 8px;
        padding: 0 8px;
        margin-top: 40px;
    }
    
    .krugi-line-service-item {
        flex: 0 0 calc(25% - 8px);
        max-width: calc(25% - 8px);
        margin-bottom: 20px;
    }
    
    .krugi-line-service-icon {
        width: 85px;
        height: 85px;
        margin-bottom: 8px;
    }
    
    .krugi-line-service-title {
        font-size: 13px;
        line-height: 1.2;
        min-height: 30px;
    }
}

@media (max-width: 767px) {
    .krugi-line-module-wrapper {
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        background: linear-gradient(135deg, rgb(255 255 255 / 68%) 0%, rgb(241 238 238 / 60%) 100%);
    }
    
    .krugi-line-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .krugi-line-container {
        padding: 0 15px;
    }
    
    .krugi-line-services-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .krugi-line-services-container {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 12px 4px;
        padding: 0 4px;
        margin-top: 30px;
    }
    
    .krugi-line-service-item {
        flex: 0 0 calc(25% - 4px);
        max-width: calc(25% - 4px);
        margin-bottom: 15px;
    }
    
    .krugi-line-service-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 6px;
    }
    
    .krugi-line-service-title {
        font-size: 11px;
        line-height: 1.1;
        padding: 0 1px;
        min-height: 26px;
    }
}

@media (max-width: 360px) {
    .krugi-line-services-container {
        gap: 8px 2px;
        padding: 0 2px;
    }
    
    .krugi-line-service-item {
        flex: 0 0 calc(25% - 2px);
        max-width: calc(25% - 2px);
        margin-bottom: 12px;
    }
    
    .krugi-line-service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 4px;
    }
    
    .krugi-line-service-title {
        font-size: 10px;
        line-height: 1.0;
        min-height: 22px;
    }
}

/*HTML Контакты футер*/
.contacts-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: auto;
    background-image: url(https://znak-reg-brend.ru/images/bg.position.png);
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    /* Более равномерное распределение */
    gap: 40px;
    align-items: stretch;
}

.contacts-info-block {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /* Равномерно распределяет с одинаковыми отступами */
    height: 100%;
}

.contacts-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Для планшетов (iPad) - 768px и выше до 2048px */
@media (min-width: 769px) and (max-width: 2048px) {
    .contacts-info-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .contacts-item-details {
        flex: 1;
        /* Занимает всю доступную ширину */
        text-align: left;
        /* Выравнивание по левому краю для лучшей читаемости */
    }
}

@media (max-width: 768px) {
    .contacts-info-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .contacts-item-details {
        text-align: center;
        /* Дополнительно центрирует текст */
    }
}

.contacts-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contacts-icon {
    width: 20px;
    height: 20px;
}

.contacts-item-details {
    flex: 1;
    line-height: 1.6;
}

.contacts-item-details strong {
    color: #3498db;
    font-size: 16px;
}

.contacts-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.contacts-map-block {
    flex: 0 0 60%;
    /* Карта занимает 60% ширины */
    width: 100%;
    overflow: hidden;
}

.contacts-map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    background-color: #f8f9fa;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.map-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.map-loading p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

#yandex-map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Скрываем элемент "Создать свою карту" */
.contacts-map-container .ymaps-2-1-79-map-copyrights-promo {
    display: none !important;
}

.contacts-map-container [class*="map-copyrights-promo"] {
    display: none !important;
}

.contacts-map-container [class*="promo"] {
    display: none !important;
}

/* Стили для кастомной кнопки "Как добраться" */
.custom-route-button {
    position: absolute;
    top: 10px;
    left: 70px;
    /* Сдвигаем правее от кнопок масштабирования */
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-route-button:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.custom-route-button:active {
    background: #e0e0e0;
    transform: translateY(1px);
}

.route-icon {
    width: 14px;
    height: 14px;
    fill: #333;
}

@media (max-width: 768px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contacts-icon-wrapper {
        align-self: center;
    }

    .contacts-map-container {
        height: 280px;
    }

    .contacts-container {
        overflow-x: hidden;
    }

    .contacts-map-block {
        width: 100%;
        max-width: 100%;
    }

    .custom-route-button {
        font-size: 11px;
        padding: 6px 10px;
        left: 60px;
        /* На мобильных устройствах чуть ближе */
    }
}

@media (max-width: 480px) {
    .contacts-footer {
        padding: 30px 0 15px;
    }

    .contacts-info-block {
        gap: 20px;
    }

    .contacts-map-container {
        height: 250px;
    }

    .custom-route-button {
        left: 55px;
        /* На очень маленьких экранах еще ближе */
        font-size: 10px;
        padding: 5px 8px;
    }
}

@media (min-width: 1200px) {
    .contacts-layout {
        grid-template-columns: 1fr 2.5fr;
    }

    .contacts-map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contacts-footer {
        padding: 30px 0 15px;
    }

    .contacts-info-block {
        gap: 20px;
    }

    .contacts-map-container {
        height: 250px;
    }
}

@media (min-width: 1200px) {
    .contacts-layout {
        grid-template-columns: 1fr 2.5fr;
    }

    .contacts-map-container {
        height: 400px;
    }
}

/* Специально для больших мониторов 1800px и выше */
@media (min-width: 1800px) {
    .contacts-container {
        max-width: 1800px;
        /* Увеличиваем максимальную ширину контейнера */
        padding: 0 40px;
        /* Увеличиваем боковые отступы */
    }

    .contacts-layout {
        grid-template-columns: 1fr 2.5fr;
        gap: 80px;
        /* Увеличиваем расстояние между блоками */
        max-width: none;
        /* Убираем ограничение ширины */
    }

    .contacts-map-container {
        height: 450px;
        /* Увеличиваем высоту карты */
        width: 100% !important
    }

    .contacts-info-item {
        margin-bottom: 25px;
        /* Увеличиваем отступы между элементами */
    }

    .contacts-item-details strong {
        font-size: 18px;
        /* Немного увеличиваем размер шрифта */
    }

    .contacts-map-container iframe,
    .contacts-map-container .map,
    .contacts-map-container>div {
        width: 100% !important;
        height: 100% !important;
        border: none;
    }
}

/* Для очень больших мониторов 2560px и выше */
@media (min-width: 2560px) {
    .contacts-container {
        max-width: 2200px;
        padding: 0 60px;
    }

    .contacts-layout {
        gap: 120px;
        /* Еще больше расстояние между блоками */
    }

    .contacts-map-container {
        height: 500px;
    }
}

.copyright-footer {
    text-align: center;
    padding: 20px 0 0 0;
    font-size: 14px;
    color: #666;
}

.copyright-footer p {
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .copyright-footer {
        font-size: 12px;
        padding: 15px 0;
    }
}

/*HTML Бегущая строка c Логотипом*/
.running-line {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    overflow: hidden;
    background-color: #f0f0f0;
    padding: 0 0 10px 0;
}

.running-content {
    display: flex;
    align-items: center;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.running-content img {
    height: 50px;
    width: auto;
    margin-right: 50px;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Для адаптивности */
@media (max-width: 768px) {
    .running-content img {
        height: 30px;
        margin-right: 30px;
    }
}

/*HTML Слайдер*/
.first-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.first-slider-container {
    position: relative;
    height: 60vh;
    min-height: 300px;
    overflow: hidden;
}

.first-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-slide.active {
    opacity: 1;
}

.first-slide-content {
    position: relative;
    z-index: 10;
    max-width: 1600px;
    padding: 0 40px;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out 0.3s;
}

.first-slide.active .first-slide-content {
    opacity: 1;
    transform: translateY(0);
}

.first-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(0 0 0 / 41%), rgb(0 0 0 / 38%), rgb(0 0 0 / 24%));
    z-index: 1;
}

.first-slide h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.first-slide h2 {
    font-size: 2, 9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.first-slide p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.first-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.first-btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.first-slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.first-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.first-slider-dot.active {
    background: white;
}

.first-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.first-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.first-slider-arrow.prev {
    left: 2rem;
}

.first-slider-arrow.next {
    right: 2rem;
}

/* Адаптивность */
@media (min-width: 768px) {
    .first-slide h2 {
        font-size: 2.75rem;
    }

    .first-slide p {
        font-size: 1.5rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .first-slider-container {
        height: 60vh;
        min-height: 400px;
    }

    .first-slide h2 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .first-slide p {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .first-btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .first-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .first-slider-arrow.prev {
        left: 1rem;
    }

    .first-slider-arrow.next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .first-slider-container {
        height: 50vh;
        min-height: 350px;
    }

    .first-slide h2 {
        font-size: 1.75rem;
    }

    .first-slide p {
        font-size: 0.9rem;
        line-height: 1.1;
    }
}

/*HTML Преимущества регистрации товарного знака*/
.trademark-benefits-fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 10px 0 50px 0;
}

.benefits-container-fullwidth {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.benefits-header {
  text-align: center;
  margin-bottom: 40px;
}

.benefits-title {
  font-size: 25px;
  font-weight: 800;
  color: #2e3e50;
  margin: 0;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.benefits-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2e3e50, #2e3e50);
  border-radius: 2px;
}

.benefits-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.benefits-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.benefits-image img:hover {
  transform: scale(1.02);
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgb(255 255 255 / 64%) 10%, rgb(237 240 241 / 44%) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3B82F6;
    border-right: 4px solid #4d8ef7;
    transition: all 0.3s ease;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, rgb(255 255 255 / 86%) 10%, rgb(237 240 241 / 77%) 100%);
}

.benefit-item.expanded {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  border-left-color: #1E3A8A;
}

.benefit-icon {
  flex-shrink: 0;
  padding: 8px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  height: fit-content;
}

.benefit-text h3 {
  color: #1E3A8A;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.benefit-preview {
  color: #6B7280;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.benefit-preview strong,
.benefit-full-text strong {
  color: #1E3A8A;
  font-weight: 700;
}

.benefit-full-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.benefit-item.expanded .benefit-full-text {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 8px;
}

.benefit-item.expanded .benefit-preview {
  display: none;
}

.benefit-full-text p {
  color: #6B7280;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px 0;
  text-align: justify;
}

.benefit-full-text p:last-of-type {
  margin-bottom: 0;
}

.read-full-article {
  text-align: right !important;
  margin-top: 8px !important;
}

.read-full-article a {
  color: #3B82F6;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  transition: all 0.3s ease;
}

.read-full-article a:hover {
  color: #1E3A8A;
  text-decoration: underline;
}

.read-full-article a::after {
  content: ' →';
  font-weight: 400;
  transition: transform 0.2s ease;
}

.read-full-article a:hover::after {
  transform: translateX(3px);
}

.expand-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.expand-btn:hover {
  color: #1E3A8A;
  transform: translateX(2px);
}

.expand-arrow {
  transition: transform 0.3s ease;
}

.benefit-item.expanded .expand-arrow {
  transform: rotate(180deg);
}

.benefit-item.expanded .expand-text::after {
  content: " меньше";
}

/* Адаптивность */
@media (max-width: 1024px) {
  .benefits-container-fullwidth {
    padding: 0 30px;
  }
  
  .benefits-title {
    font-size: 28px;
  }
}

@media (max-width: 968px) {
  .benefits-header {
    margin-bottom: 35px;
  }
  
  .benefits-title {
    font-size: 26px;
  }
  
  .benefits-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }
  
  .benefits-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 8px 18px;
  }
  
  .benefit-icon {
    align-self: center;
    padding: 7px;
  }
  
  .benefit-text h3 {
    font-size: 17px;
    margin: 0 0 7px 0;
  }
  
  .benefit-preview,
  .benefit-full-text p {
    font-size: 14px;
    text-align: left;
  }
  
  .benefit-preview {
    margin: 0 0 7px 0;
  }
  
  .benefit-item.expanded .benefit-full-text {
    margin-bottom: 7px;
  }
  
  .read-full-article {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .trademark-benefits-fullwidth {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 8px 0 40px 0;
  }
  
  .benefits-container-fullwidth {
    padding: 0 15px;
  }
  
  .benefits-header {
    margin-bottom: 30px;
  }
  
  .benefits-title {
    font-size: 24px;
  }
  
  .benefits-content-wrapper {
    gap: 25px;
  }
  
  .benefits-content {
    gap: 6px;
  }
  
  .benefit-item {
    padding: 7px 16px;
    gap: 12px;
  }
  
  .benefit-icon {
    padding: 6px;
  }
  
  .benefit-text h3 {
    font-size: 16px;
    margin: 0 0 6px 0;
  }
  
  .benefit-preview {
    margin: 0 0 6px 0;
  }
  
  .benefit-item.expanded .benefit-full-text {
    margin-bottom: 6px;
  }
  
  .benefit-preview,
  .benefit-full-text p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .trademark-benefits-fullwidth {
    padding: 5px 0 30px 0;
  }
  
  .benefits-container-fullwidth {
    padding: 0 10px;
  }
  
  .benefits-header {
    margin-bottom: 25px;
  }
  
  .benefits-title {
    font-size: 22px;
  }
  
  .benefits-title::after {
    width: 60px;
    height: 3px;
  }
  
  .benefits-content {
    gap: 5px;
  }
  
  .benefit-item {
    padding: 6px 14px;
    gap: 10px;
  }
  
  .benefit-icon {
    padding: 5px;
  }
  
  .benefit-text h3 {
    font-size: 15px;
    margin: 0 0 5px 0;
  }
  
  .benefit-preview {
    margin: 0 0 5px 0;
  }
  
  .benefit-item.expanded .benefit-full-text {
    margin-bottom: 5px;
  }
  
  .benefit-preview,
  .benefit-full-text p {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .benefits-container-fullwidth {
    padding: 0 8px;
  }
  
  .benefit-item {
    padding: 5px 12px;
    gap: 8px;
  }
  
  .benefit-icon {
    padding: 4px;
  }
}

/*HTML Баннер 2*/
.full-width-banner {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.banner-image {
    width: 100vw;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Добавляем стили для кликабельности */
.clickable-banner {
    cursor: pointer;
}

.clickable-banner:hover {
    opacity: 0.95;
}

/* Убираем возможные отступы от родительских элементов */
.full-width-banner * {
    box-sizing: border-box;
}

/*Контакты и Модальное окно с картой Яндекс*/
.contact-container {
    max-width: 960px;
    margin: 2px auto;
    padding: 20px;
    background-color: #ffffff4d;
    border-radius: 8px;
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.2), inset -3px -3px 5px rgb(173 169 169 / 41%);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
    /* Тонкая граница + легкая внутренняя тень */
    border: 1px solid #c7c2c2;
    box-shadow: inset 3px 3px 5px rgb(137 134 134 / 31%), inset -3px -3px 5px rgb(211 208 208 / 38%);
    
    /* Добавляем место для логотипа справа */
    position: relative;
    padding-right: 50px;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.5);
    border-color: #d0d0d0;
}

.icon {
    flex: 0 0 40px;
    margin-right: 15px;
}

.icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* УБРАЛ transition: opacity - оригинальные иконки остаются видимыми */
}

/* Логотип (псевдоэлемент) для ВСЕХ элементов */
.contact-item::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('https://znak-reg-brend.ru/images/icons/znak-reg-brend-00.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Показываем логотип при наведении на ЛЮБОЙ .contact-item */
.contact-item:hover::after {
    opacity: 1;
}

.info {
    flex: 1;
}

.info a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.info a:hover {
    color: #0066cc;
}

/* Стили только для ссылки адреса */
.address-link {
    cursor: pointer;
}

.address-link:hover {
    color: #22b8f0 !important;
}

.view-map {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #0066cc;
    transition: all 0.2s ease;
}

.address-link:hover .view-map {
    color: #990000;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .contact-container {
        padding: 15px;
    }

    .contact-item {
        padding: 8px;
        padding-right: 40px;
    }

    .icon {
        flex: 0 0 30px;
        margin-right: 10px;
    }

    .info a {
        font-size: 14px;
    }

    .view-map {
        font-size: 12px;
    }

    .contact-item::after {
        width: 20px;
        height: 20px;
        right: 10px;
    }
}

/*HTML Опишите задачу для Формы обратной связи*/
.task-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 20px auto;
}

.task-description {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(34, 184, 240, 0.25);
    max-width: 600px;
    margin: 0 15px;
    text-align: center;
}

.task-description p {
    margin: 0;
}

.task-description p:first-child {
    margin-bottom: 0.5em;
    /* Уменьшенный отступ между параграфами */
}

.side-image {
    width: 53px;
    height: auto;
}

/* Анимация вращения вокруг вертикальной оси */
.rotating-image {
    animation: rotateY 4s infinite linear;
    transform-style: preserve-3d;
}

@keyframes rotateY {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@media (max-width: 600px) {
    .task-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .task-description {
        font-size: 18px;
        /* Немного уменьшил для мобильных */
        margin: 15px 0;
    }

    .side-image {
        width: 50px;
    }

    .left-image {
        margin-bottom: 10px;
    }

    .right-image {
        display: none;
        /* Скрываем правое изображение на мобильных */
    }
}

/*HTML О нас для О нас*/
:root {
    --primary-dark: #1e3f73;
}

.intro-module {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
}

.intro-section {
    background: transparent;
    padding: 35px 0;
    margin-bottom: 35px;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
}

.intro-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    color: #555;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #2c5aa0;
}

.mission-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
}

.mission-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.mission-description {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    color: #555;
    padding-left: 20px;
    border-left: 4px solid #2c5aa0;
}

@media (max-width: 768px) {
    .intro-module {
        padding: 20px 15px;
    }

    .intro-section {
        padding: 25px 0;
        margin-bottom: 25px;
    }

    .company-name {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .intro-description {
        font-size: 15px;
    }

    .mission-description {
        font-size: 15px;
    }

    .mission-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
}

.image-stack-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto 10px auto;
}

.image-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Специальные стили для первого изображения */
/* Добавляем анимацию для первого изображения */
.image-item.first-image {
    max-width: 37%;
    margin: 0 auto;
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    position: relative;
    z-index: 1;
    /* Добавляем плавный переход */
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: all 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Было 0.8s, стало 1.6s */
}

.image-item.first-image:hover {}

/* Класс для анимации при скролле */
.image-item.first-image.bounce-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: bounceEffect 2s ease-out;
    /* Было 1s, стало 2s */
}

@keyframes bounceEffect {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }

    50% {
        transform: scale(1.1) translateY(-10px);
        /* Промежуточное состояние длится дольше */
        opacity: 0.8;
    }

    70% {
        transform: scale(0.95) translateY(5px);
        opacity: 0.9;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Контейнер для полноширинных изображений */
.fullwidth-images-container {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

/* Стили для полноширинных изображений */
.image-item.fullwidth-image {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    /* Убираем скругления для полной ширины */
    margin: 0;
    overflow: hidden;
    position: relative;
    min-height: 0;
    /* Позволяет контейнеру схлопываться если изображение скрыто */
}

/* Скрытые изображения не занимают место */
.image-item.fullwidth-image[style*="display: none"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* .image-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
/* Убираем вертикальное смещение для полноширинных изображений */
.image-item.fullwidth-image:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Для полноширинных изображений уменьшаем масштабирование */
.image-item.fullwidth-image:hover img {
    transform: scale(1.02);
}

/* Адаптивность */
@media (max-width: 768px) {
    .image-stack-container {
        gap: 10px;
        margin-bottom: 20px;
    }

    .image-item {
        border-radius: 6px;
    }

    .image-item.first-image {
        max-width: 70%;
    }

    /* Менее интенсивная анимация на мобильных */
    @keyframes bounceScale {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.08);
        }

        100% {
            transform: scale(1);
        }
    }

    .fullwidth-images-container {
        gap: 15px;
    }

    .image-item.fullwidth-image:hover img {
        transform: scale(1.01);
    }
}

.fullwidth-images-container {
    gap: 15px;

    @media (min-width: 1400px) {
        .fullwidth-images-container {
            gap: 25px;
        }
    }
}

/* На мобильных устройствах отключаем масштабирование для полноширинных изображений */
.image-item.fullwidth-image:hover img {
    transform: scale(1.01);
}

/* Дополнительные стили для очень больших экранов */
@media (min-width: 1400px) {
    .fullwidth-images-container {
        gap: 25px;
    }
}

/*Этапы для Этапов*/
.etapy-fullwidth-module {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* ИЗМЕНЕНО: фон как в модуле сервисов - полупрозрачный градиент с альфа-каналом */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.52) 0%, rgba(241, 238, 238, 0.46) 100%);
    transition: background 0.8s ease;
    margin-bottom: 20px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 30px 0;
}

.etapy-fullwidth-module:hover {
    /* ИЗМЕНЕНО: ховер как в модуле сервисов */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(245, 245, 245, 0.7) 50%, rgba(235, 235, 235, 0.65) 100%);
}

.etapy-fullwidth-container {
    max-width: 1600px;
    margin: 5px auto;
    padding: 0 15px;
    /* ИЗМЕНЕНО: прозрачный фон вместо белого с cf */
    background: transparent;
    padding: 30px 20px;
}

@media (min-width: 768px) {
    .etapy-fullwidth-container {
        padding: 30px 40px;
    }
}

.etapy-tovarnogo-znaka-module {
    max-width: 1000px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.etapy-tovarnogo-znaka-header {
    text-align: center;
    margin-bottom: 50px;
}

.etapy-tovarnogo-znaka-header h2 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .etapy-tovarnogo-znaka-header h2 {
        font-size: 1.8em;
    }
}

.etapy-tovarnogo-znaka-header p {
    font-size: 1.2em;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.etapy-tovarnogo-znaka-timeline {
    position: relative;
}

.etapy-tovarnogo-znaka-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
    border-radius: 2px;
}

.etapy-tovarnogo-znaka-step {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.etapy-tovarnogo-znaka-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    z-index: 2;
}

.etapy-tovarnogo-znaka-step-content {
    flex: 1;
    /* ИЗМЕНЕНО: фон как в карточках сервисов - градиент с прозрачностью */
    background: linear-gradient(135deg, #ffffffad 0%, #d1d1d1 100%);
    border-radius: 15px;
    padding: 30px;
    /* ИЗМЕНЕНО: тень как в карточках сервисов */
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.etapy-tovarnogo-znaka-step-content:hover {
    transform: translateY(-5px);
    /* ИЗМЕНЕНО: ховер как в карточках сервисов - другая тень */
    box-shadow: 0 0 12px rgb(240 64 34 / 38%);
    /* ИЗМЕНЕНО: фон при ховере как в карточках сервисов */
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
}

.etapy-tovarnogo-znaka-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.etapy-tovarnogo-znaka-text {
    flex: 1;
    z-index: 2;
    position: relative;
}

.etapy-tovarnogo-znaka-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.etapy-tovarnogo-znaka-step-content:hover .etapy-tovarnogo-znaka-image {
    opacity: 0.15;
}

.etapy-tovarnogo-znaka-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.etapy-tovarnogo-znaka-step-content:hover .etapy-tovarnogo-znaka-image img {
    filter: grayscale(50%);
}

/* Анимация вращения изображения */
@keyframes spinOnce {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.etapy-tovarnogo-znaka-image.spin img {
    animation: spinOnce 0.8s ease-in-out;
}

.etapy-tovarnogo-znaka-text h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Увеличенный вступительный текст в неразвернутой карточке */
.etapy-tovarnogo-znaka-preview {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 450;
    letter-spacing: 0.01em;
    word-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

.etapy-tovarnogo-znaka-expanded {
    display: none;
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.etapy-tovarnogo-znaka-expanded.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.etapy-tovarnogo-znaka-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.etapy-tovarnogo-znaka-expand-btn {
    background: #ecf0f1;
    color: #2c3e50;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.etapy-tovarnogo-znaka-expand-btn:hover {
    background: #bdc3c7;
    transform: translateY(-2px);
}

.etapy-tovarnogo-znaka-expand-btn.active {
    background: #e74c3c;
    color: white;
}

.etapy-tovarnogo-znaka-read-btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95em;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
    opacity: 0;
    transform: translateX(-20px);
}

.etapy-tovarnogo-znaka-read-btn.show {
    opacity: 1;
    transform: translateX(0);
    display: inline-block;
}

.etapy-tovarnogo-znaka-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

.etapy-tovarnogo-znaka-footer {
    margin-top: 60px;
    text-align: left;
}

.etapy-tovarnogo-znaka-cta {
    background: linear-gradient(135deg, rgba(0, 170, 238, 0.9) 0%, #0056b3 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.etapy-tovarnogo-znaka-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background-image: url('https://znak-reg-brend.ru/images/logo/znak-reg-brend-00.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.etapy-tovarnogo-znaka-cta:hover::before {
    opacity: 0.3;
}

.etapy-tovarnogo-znaka-cta > * {
    position: relative;
    z-index: 2;
}

.etapy-tovarnogo-znaka-cta h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.etapy-tovarnogo-znaka-cta p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.95;
}

.etapy-tovarnogo-znaka-cta-btn {
    background: white;
    color: #0056b3;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.etapy-tovarnogo-znaka-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #2A6EBB;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .etapy-fullwidth-container {
        padding: 20px 25px;
    }
}

@media (max-width: 768px) {
    /* ИЗМЕНЕНО: для мобильных сбрасываем фон модуля */
    .etapy-fullwidth-module {
        background: transparent !important;
        padding: 0 !important;
    }
    
    .etapy-fullwidth-container {
        padding: 20px 15px;
    }
    
    .etapy-tovarnogo-znaka-header h2 {
        font-size: 1.8em;
    }

    .etapy-tovarnogo-znaka-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .etapy-tovarnogo-znaka-timeline::before {
        display: none;
    }

    .etapy-tovarnogo-znaka-step-content {
        margin-top: 20px;
        padding: 25px;
    }

    .etapy-tovarnogo-znaka-content-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .etapy-tovarnogo-znaka-image {
        width: 80px;
        height: 80px;
        align-self: center;
        opacity: 0.15;
    }

    .etapy-tovarnogo-znaka-actions {
        flex-direction: column;
        gap: 10px;
    }

    .etapy-tovarnogo-znaka-expand-btn,
    .etapy-tovarnogo-znaka-read-btn {
        width: 100%;
        text-align: center;
    }

    .etapy-tovarnogo-znaka-cta {
        padding: 30px 20px;
        text-align: center;
    }

    .etapy-tovarnogo-znaka-cta-btn {
        margin-bottom: 155px;
    }

    .etapy-tovarnogo-znaka-cta::before {
        width: 150px;
        height: 150px;
        opacity: 0.15;
        right: auto;
        left: 50%;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
    }

    .etapy-tovarnogo-znaka-cta {
        filter: contrast(1.1) brightness(1.05);
    }
}

@media (max-width: 480px) {
    .etapy-tovarnogo-znaka-header h2 {
        font-size: 1.5em;
    }
    
    .etapy-tovarnogo-znaka-image {
        width: 60px;
        height: 60px;
    }

    .etapy-tovarnogo-znaka-cta {
        text-align: center;
    }

    .etapy-tovarnogo-znaka-cta-btn {
        margin-bottom: 115px;
    }

    .etapy-tovarnogo-znaka-cta::before {
        width: 120px;
        height: 120px;
        opacity: 0.15;
        right: auto;
        left: 50%;
        top: auto;
        bottom: 15px;
        transform: translateX(-50%);
    }
}
/*HTML */
.search-module-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.fullscreen-controls {
    background: transparent;
    border: none;
    padding: 5px 10px;
    text-align: right;
}

.fullscreen-controls-bottom {
    background: transparent;
    border: none;
    padding: 5px 10px;
    text-align: right;
    margin-top: 5px;
}

.fullscreen-btn {
    background: rgba(0, 123, 255, 0.9);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(0, 86, 179, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.search-module-container {
    width: 100%;
    height: 1200px;
    border: 1px solid #ccc;
    position: relative;
    box-sizing: border-box;
}

.search-module-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Стили для полноэкранного режима */
.fullscreen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    z-index: 9999;
    background: white;
}

.fullscreen-mode .fullscreen-controls {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

/* Скрываем нижнюю кнопку в полноэкранном режиме */
.fullscreen-mode .fullscreen-controls-bottom {
    display: none;
}

.fullscreen-mode .fullscreen-btn {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.fullscreen-mode .fullscreen-btn:hover {
    background: rgba(200, 35, 51, 0.9);
    transform: translateY(-1px);
}

.fullscreen-mode .search-module-container {
    height: calc(100vh - 50px) !important;
    margin-top: 50px;
    border: none;
}

/*Этапы модуль внизу*/
.etapy-vnizu-module {
    margin: 20px 0;
    padding: 0;
}

.etapy-vnizu-module h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.etapy-vnizu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.etapy-vnizu-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.etapy-vnizu-item:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.etapy-vnizu-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.etapy-vnizu-icon img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.etapy-vnizu-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.etapy-vnizu-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.etapy-vnizu-content h4 a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.etapy-vnizu-content h4 a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.etapy-vnizu-content p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.etapy-vnizu-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #4a90e2;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-end;
    width: fit-content;
}

.etapy-vnizu-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    color: #fff !important;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .etapy-vnizu-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .etapy-vnizu-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }

    .etapy-vnizu-icon img {
        max-width: 50px;
        max-height: 50px;
    }

    .etapy-vnizu-content h4 {
        font-size: 16px;
    }

    .etapy-vnizu-btn {
        align-self: center;
    }

    .etapy-vnizu-module h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .etapy-vnizu-item {
        padding: 12px;
        gap: 12px;
    }

    .etapy-vnizu-icon {
        width: 60px;
        height: 60px;
    }

    .etapy-vnizu-icon img {
        max-width: 40px;
        max-height: 40px;
    }

    .etapy-vnizu-content h4 {
        font-size: 15px;
    }

    .etapy-vnizu-content p {
        font-size: 13px;
    }

    .etapy-vnizu-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/*Модуль общее о компании на главной*/
.glav-trademark-services {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 40px 0;
    background: #ecf4f594;
    box-sizing: border-box;
}

.glav-services-container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.glav-service-item {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(209, 209, 209, 0.5) 100%);
    border-radius: 8px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.glav-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 240, 240, 0.5) 50%, rgba(221, 221, 221, 0.5) 100%);
}

.glav-service-paragraph {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: justify;
}

.glav-service-paragraph:last-child {
    margin-bottom: 0;
}

.glav-service-icon {
    color: #1E3A8A;
    font-size: 18px;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.glav-service-text {
    flex: 1;
}

.glav-service-text strong {
    color: #1E3A8A;
    font-weight: 600;
}

/* Стилизация для текста без strong */
.glav-highlight {
    color: #1E3A8A;
    font-weight: 600;
}

/* Стилизация для центрирования модуля */
.glav-module-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 0 20px;
}

/* Адаптация для больших мониторов (1820px и больше) */
@media (min-width: 1820px) {
    .glav-services-container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .glav-module-container {
        max-width: 1600px;
        margin: 30px auto 0;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .glav-trademark-services {
        padding: 30px 0;
    }

    .glav-services-container {
        padding: 0 15px;
    }

    .glav-service-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .glav-service-paragraph {
        font-size: 14px;
        margin-bottom: 12px;
        align-items: flex-start;
    }

    .glav-service-icon {
        font-size: 16px;
        margin-right: 10px;
        margin-top: 2px;
    }

    .glav-module-container {
        margin-top: 20px;
        padding: 0 15px;
    }
}

/*Цены стоимость*/
.glav-price-services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.glav-price-service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glav-price-service-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.glav-price-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.glav-price-service-header:hover {
    border-bottom-color: #e0e0e0;
}

.glav-price-service-header h3 {
    margin: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.glav-price-service-price {
    font-size: 20px;
    font-weight: bold;
    color: #2c5aa0;
    margin: 0 20px;
}

.glav-price-toggle-btn {
    background: #2c5aa0;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.glav-price-toggle-btn:hover {
    background: #1e3f73;
}

.glav-price-service-details {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.glav-price-service-details.active {
    display: block;
}

.glav-price-breakdown {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.glav-price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.glav-price-item.glav-price-total {
    border-top: 2px solid #2c5aa0;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: bold;
    color: #2c5aa0;
}

.glav-price-sub-services {
    margin-top: 15px;
}

.glav-price-sub-service {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.glav-price-sub-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.glav-price-sub-service-header:hover {
    background: #e9ecef;
}

.glav-price-sub-service-header span:first-child {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.glav-price-sub-price {
    font-weight: bold;
    color: #2c5aa0;
    margin: 0 15px;
}

.glav-price-sub-toggle {
    width: 20px;
    height: 20px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.glav-price-sub-toggle.active {
    transform: rotate(45deg);
}

.glav-price-sub-service-details {
    display: none;
    padding: 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.glav-price-sub-service-details.active {
    display: block;
}

.glav-price-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.glav-price-additional-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.glav-price-info-block {
    margin-bottom: 15px;
}

.glav-price-info-block h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.glav-price-info-block p {
    margin: 5px 0;
    color: #666;
}

.glav-price-disclaimer {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .glav-price-services {
        padding: 15px;
    }

    .glav-price-service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .glav-price-service-header h3 {
        font-size: 16px;
    }

    .glav-price-service-price {
        margin: 0;
        font-size: 18px;
    }

    .glav-price-sub-service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .glav-price-sub-price {
        margin: 0;
    }

    .glav-price-item {
        flex-direction: column;
        gap: 5px;
    }

    .glav-price-item span:last-child {
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .glav-price-service-header {
        padding: 15px;
    }

    .glav-price-service-details {
        padding: 0 15px 15px;
    }

    .glav-price-breakdown {
        padding: 12px;
    }

    .glav-price-sub-service-header {
        padding: 12px;
    }

    .glav-price-sub-service-details {
        padding: 12px;
    }
}

/*Цены стоимость 2 вар с поиском*/
.ip-pricing-module-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(209, 209, 209, 0.5) 100%);
    transition: background 0.8s ease;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.ip-pricing-module-fullwidth:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 240, 240, 0.6) 50%, rgba(221, 221, 221, 0.6) 100%);
}

.ip-pricing-container {
    max-width: 1600px;
    margin: 5px auto;
    padding: 0 15px;
    background: #ffffffcf;
    padding: 30px 20px;
}

@media (min-width: 768px) {
    .ip-pricing-container {
        padding: 0 40px;
    }
}

.ip-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 7px;
}

.ip-title {
    font-size: 24px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.ip-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #3498db;
}

.ip-view-toggle {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.ip-view-btn {
    padding: 8px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #7f8c8d;
    transition: all 0.2s;
}

.ip-view-btn.active {
    background: #f8f9fa;
    color: #3498db;
    font-weight: 500;
}

.ip-view-btn:first-child {
    border-right: 1px solid #e0e0e0;
}

.ip-table-view {
    width: 100%;
    border-collapse: collapse;
    display: table;
}

.ip-table-header {
    background: linear-gradient(135deg, #ebebeb 0%, #d1d1d147 100%);
    border-bottom: 2px solid #e0e0e0;
}

.ip-table-header th {
    padding: 15px;
    text-align: left;
    font-weight: 500;
    color: #2d3030;
    font-size: 14px;
}

.ip-table-row {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.ip-table-row:hover {
    background: #f8f9fa;
}

.ip-table-row td {
    padding: 15px;
    vertical-align: top;
}

.ip-service-name {
    font-weight: 500;
    color: #2c3e50;
    min-width: 200px;
    background: linear-gradient(135deg, #d1d2d3b8 0%, #d1d1d147 100%);
}

.ip-service-category {
    display: inline-block;
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
}

.ip-price-details {
    font-size: 14px;
    color: #1b1c1c;
}

.ip-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.ip-total-price {
    font-weight: 500;
    color: #2c3e50;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
}

.ip-time-badge {
    color: #7f8c8d;
    font-size: 13px;
}

.ip-order-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.ip-order-btn:hover {
    background: #2980b9;
}

.ip-cards-view {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ip-service-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.ip-card-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.ip-service-title {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.ip-card-body {
    padding: 15px;
    flex-grow: 1;
}

.ip-card-footer {
    padding: 12px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ip-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.ip-search-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 8px 15px;
    width: 300px;
    transition: all 0.3s;
}

.ip-search-box:focus-within {
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

.ip-search-input {
    border: none;
    background: transparent;
    padding: 8px;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.ip-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.ip-category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ip-filter-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #34495e;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.ip-filter-btn:hover {
    background: #f8f9fa;
}

.ip-filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.ip-contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.ip-contact-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.ip-contact-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://znak-reg-brend.ru/images/znak-reg-brend.png');
    background-size: 140px 140px;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
}

.ip-contact-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, rgba(248, 250, 252, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
}

.ip-contact-modal-title {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ip-contact-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ip-contact-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.ip-contact-options {
    padding: 16px;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ip-pricing-container {
        padding: 20px 15px;
    }

    .ip-table-view th,
    .ip-table-view td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .ip-service-name {
        min-width: 150px;
    }

    .ip-order-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .ip-view-toggle {
        margin-left: auto;
    }

    .ip-controls {
        flex-direction: column;
        gap: 10px;
    }

    .ip-search-box {
        width: 100%;
    }

    .ip-category-filters {
        overflow-x: auto;
        padding-bottom: 5px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .ip-filter-btn {
        white-space: nowrap;
    }

    /* Для горизонтального положения iPad */
    @media (orientation: landscape) {

        .ip-table-view th,
        .ip-table-view td {
            padding: 8px 6px;
            font-size: 12px;
        }

        .ip-service-name {
            min-width: 120px;
        }
    }
}

/* Стили для кнопок контактов в ценах в модальном окне */
.ip-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.ip-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2.5s infinite;
    animation-delay: 0.5s;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.ip-contact-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.ip-contact-btn.call {
    background: linear-gradient(135deg, #007cba 0%, #0056b37a 100%);
}

.ip-contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128c7e70 100%);
}

.ip-contact-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0056b37a 100%);
}

.ip-contact-btn.request {
    background: linear-gradient(135deg, #fdb2a1a3 0%, #bbebe5 100%);
    color: #374151;
    border: 1px solid #e0e0e0;
}

.ip-contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.ip-note {
    font-style: italic;
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .ip-table-view {
        display: block;
        width: 100%;
    }

    .ip-table-view thead {
        display: none;
    }

    .ip-table-view tbody,
    .ip-table-view tr,
    .ip-table-view td {
        display: block;
        width: 100%;
    }

    .ip-table-view tr {
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }

    .ip-table-view td {
        padding: 12px 15px 12px 50%;
        text-align: right;
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }

    .ip-table-view td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 12px;
        font-weight: 500;
        color: #2c3e50;
        text-align: left;
        font-size: 13px;
    }

    .ip-service-name {
        background: linear-gradient(135deg, #d1d2d3b8 0%, #d1d1d147 100%);
        padding: 15px !important;
        text-align: left !important;
        font-weight: 500;
        display: block;
    }

    .ip-service-name:before {
        display: none;
    }

    .ip-service-category {
        display: inline-block;
        margin-top: 8px;
    }

    .ip-order-btn {
        width: 100%;
        margin-top: 10px;
    }

    .ip-controls {
        flex-direction: column;
    }

    .ip-search-box {
        width: 100%;
    }

    .ip-view-toggle {
        width: 100%;
        justify-content: center;
    }

    .ip-view-btn[data-view="cards"] {
        display: none;
    }

    .ip-cards-view {
        display: none !important;
    }

    .ip-contact-modal-content {
        width: 85%;
        padding: 20px;
    }
}

/* Основной эффект приподнимания для горизонтального меню */
.sp-megamenu-parent>li>a,
.nav>li>a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.sp-megamenu-parent>li:hover>a,
.nav>li:hover>a {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Для вертикального меню */
.sp-module .nav-pills>li:hover>a,
.sp-module .nav-list>li:hover>a {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Дополнительные стили для плавности */
.sp-megamenu-parent>li,
.nav>li {
    transition: all 0.3s ease;
}

/* Стили для изображений в подменю */
/* Базовые стили для всех пунктов подменю */
.dropdown-menu li a,
.sp-dropdown .sp-dropdown-items li a,
.nav-child li a {
    position: relative;
    padding-left: 45px !important;
    display: flex;
    align-items: center;
    min-height: 36px;
}

.dropdown-menu li a::before,
.sp-dropdown .sp-dropdown-items li a::before,
.nav-child li a::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Изображения для конкретных пунктов по ссылкам */
/* Магазин товарных знаков */
a[href*="magazin-tovarnykh-znakov"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/magazin-tovarnykh-znakov"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-market3.png') !important;
}

/* Поиск товарных знаков и патентов */
a[href*="poisk-tovarnykh-znakov-i-patentov"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/poisk-tovarnykh-znakov-i-patentov"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-poisk-tovarnogo-znaka.png') !important;
}

/* Этапы регистрации товарных знаков */
a[href*="etapy-registratsii-tovarnyh-znakov"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/etapy-registratsii-tovarnyh-znakov"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-etapy.png') !important;
}

/* Виды услуг по регистрации товарных знаков */
a[href*="vse-uslugi-po-registratsii-tovarnogo-znaka"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/vse-uslugi-po-registratsii-tovarnogo-znaka"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/vse-uslugi-brend-online.png') !important;
}

/* Все услуги Бренд Онлайн */
a[href*="vse-uslugi-brend-onlajn"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/vse-uslugi-brend-onlajn"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/vse-uslugi-brend-online1.png') !important;
}

/* Патентный поиск и регистрация патента */
a[href*="patentnyj-poisk-i-registratsiya-patenta"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/patentnyj-poisk-i-registratsiya-patenta"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/patentniy-poisk2-brend-online.png') !important;
}

/* Форма обратной связи */
a[href*="registratsiya-tovarnogo-znaka-svyaz"]::before,
a[href="/kontakty-znak-reg-brend/registratsiya-tovarnogo-znaka-svyaz"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/obratnaya_svyaz_brend-online.png') !important;
}

/* Поиск товарных знаков и патентов */
a[href*="poisk-po-klassam-mktu"]::before,
a[href="/registratsiya-tovarnogo-znaka-uslugi/poisk-po-klassam-mktu"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-poisk-mktu.png') !important;
}

/* Дополнительные селекторы для разных шаблонов Joomla Изображения для конкретных пунктов по ссылкам */
.dropdown-menu a[href*="magazin-tovarnykh-znakov"]::before,
.sp-dropdown a[href*="magazin-tovarnykh-znakov"]::before,
.nav-child a[href*="magazin-tovarnykh-znakov"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-market3.png') !important;
}

.dropdown-menu a[href*="poisk-tovarnykh-znakov-i-patentov"]::before,
.sp-dropdown a[href*="poisk-tovarnykh-znakov-i-patentov"]::before,
.nav-child a[href*="poisk-tovarnykh-znakov-i-patentov"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-poisk-tovarnogo-znaka.png') !important;
}

.dropdown-menu a[href*="etapy-registratsii-tovarnyh-znakov"]::before,
.sp-dropdown a[href*="etapy-registratsii-tovarnyh-znakov"]::before,
.nav-child a[href*="etapy-registratsii-tovarnyh-znakov"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-etapy.png') !important;
}

.dropdown-menu a[href*="vse-uslugi-po-registratsii-tovarnogo-znaka"]::before,
.sp-dropdown a[href*="vse-uslugi-po-registratsii-tovarnogo-znaka"]::before,
.nav-child a[href*="vse-uslugi-po-registratsii-tovarnogo-znaka"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/vse-uslugi-brend-online.png') !important;
}

.dropdown-menu a[href*="vse-uslugi-brend-onlajn"]::before,
.sp-dropdown a[href*="vse-uslugi-brend-onlajn"]::before,
.nav-child a[href*="vse-uslugi-brend-onlajn"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/vse-uslugi-brend-online1.png') !important;
}

.dropdown-menu a[href*="patentnyj-poisk-i-registratsiya-patenta"]::before,
.sp-dropdown a[href*="patentnyj-poisk-i-registratsiya-patenta"]::before,
.nav-child a[href*="patentnyj-poisk-i-registratsiya-patenta"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/patentniy-poisk2-brend-online.png') !important;
}

.dropdown-menu a[href*="registratsiya-tovarnogo-znaka-svyaz"]::before,
.sp-dropdown a[href*="registratsiya-tovarnogo-znaka-svyaz"]::before,
.nav-child a[href*="registratsiya-tovarnogo-znaka-svyaz"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/obratnaya_svyaz_brend-online.png') !important;
}

.dropdown-menu a[href*="poisk-po-klassam-mktu"]::before,
.sp-dropdown a[href*="poisk-po-klassam-mktu"]::before,
.nav-child a[href*="poisk-po-klassam-mktu"]::before {
    background-image: url('https://znak-reg-brend.ru/images/icons-submenu/znak-reg-brend-poisk-mktu.png') !important;
}

/* Основные стили для страницы услуг */
.vse-uslugi-services-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.vse-uslugi-services-page .vse-uslugi-lead {
    font-size: 1.2em;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Сетка услуг */
.vse-uslugi-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.vse-uslugi-service-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vse-uslugi-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.vse-uslugi-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.vse-uslugi-service-item h2 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.vse-uslugi-service-item p {
    margin-bottom: 15px;
    color: #555;
}

.vse-uslugi-service-item ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.vse-uslugi-service-item ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #444;
}

.vse-uslugi-service-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1em;
}

/* Выделение ключевых слов */
.vse-uslugi-service-item strong {
    color: #667eea;
    font-weight: 600;
}

/* Обычное выделение жирным */
.vse-uslugi-service-item b {
    color: #2c3e50;
    font-weight: 600;
}

/* Секция преимуществ */
.vse-uslugi-why-choose-us {
    margin: 50px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.vse-uslugi-why-choose-us h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.vse-uslugi-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.vse-uslugi-advantage {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vse-uslugi-advantage:hover {
    transform: translateY(-3px);
}

.vse-uslugi-advantage h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.vse-uslugi-advantage p {
    color: #666;
    font-size: 0.95em;
}

.vse-uslugi-advantage strong {
    color: #667eea;
    font-weight: 600;
}

/* Призыв к действию */
.vse-uslugi-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.vse-uslugi-cta-section h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
}

.vse-uslugi-cta-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
    opacity: 0.95;
}

.vse-uslugi-cta-section b {
    color: #fff;
    font-weight: 600;
}

.vse-uslugi-cta-section strong {
    color: #fff;
    font-weight: 600;
}

/* FAQ секция вопросы и ответы кратко */
.vse-uslugi-faq-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 50px 0;
}

/* Фон на всю ширину ТОЛЬКО для компьютеров (ширина от 768px) - как в модуле Наши сервисы */
@media (min-width: 768px) {
    .vse-uslugi-faq-fullwidth {
        background: linear-gradient(135deg, rgb(255 255 255 / 52%) 0%, rgb(241 238 238 / 46%) 100%);
        padding: 30px 0;
        transition: background 0.8s ease;
    }
    
    .vse-uslugi-faq-fullwidth:hover {
        background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
    }
}

.vse-uslugi-faq-container-fullwidth {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.vse-uslugi-faq-container-fullwidth h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6em;
}
.vse-uslugi-faq-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff7a 0%, #efecec24 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    margin-bottom: 15px;
    min-height: auto;
}

.vse-uslugi-faq-item:hover {
    box-shadow: 0 0 12px rgb(240 64 34 / 38%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 40%, #ddddddad 100%);
    transform: translateY(-5px);
}
.vse-uslugi-faq-item h3 {
    background: linear-gradient(135deg, #a3a4a557 0%, #cdcccc80 100%);
    padding: 20px;
    margin: 0;
    color: #2c3e50;
    font-size: 1.1em;
    border-bottom: 1px solid #e0e0e0;
    transition: color 0.3s ease;
}

.vse-uslugi-faq-item:hover h3 {
    color: #0b63d4;
}

.vse-uslugi-faq-item h3 strong {
    color: #667eea;
    font-weight: 600;
}

.vse-uslugi-faq-item h3::before {
    content: "Вопрос: ";
    color: #28a745;
    font-weight: 600;
}

.vse-uslugi-faq-item p {
    padding: 20px;
    margin: 0;
    color: #555;
    transition: color 0.3s ease;
}

.vse-uslugi-faq-item p strong {
    color: #667eea;
    font-weight: 600;
}

.vse-uslugi-faq-item p::before {
    content: "Ответ: ";
    color: #dc3545;
    font-weight: 600;
}

.que-answ-button-container-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 0 0 10px 0;
    margin-top: -30px; /* Уменьшаем отступ сверху */
}

/* Внутренний контейнер для центрирования */
.que-answ-button-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.que-answ-custom-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.que-answ-custom-button:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    text-decoration: none;
    color: white;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .vse-uslugi-faq-container-fullwidth {
        padding: 0 30px;
    }
    
    .que-answ-button-inner {
        padding: 0 30px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .vse-uslugi-faq-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0 40px 0;
    }
    
    /* На мобильных убираем фон на всю ширину */
    .vse-uslugi-faq-fullwidth {
        background: transparent !important;
    }
    
    .vse-uslugi-faq-container-fullwidth {
        padding: 0 15px;
    }
    
    .vse-uslugi-faq-container-fullwidth h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .vse-uslugi-faq-item h3 {
        padding: 15px;
        font-size: 1em;
    }
    
    .vse-uslugi-faq-item p {
        padding: 15px;
    }
    
    .que-answ-button-container-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 0 30px 0;
        margin-top: -20px;
    }
    
    .que-answ-button-inner {
        padding: 0 15px;
    }
    
    .que-answ-custom-button {
        padding: 10px 20px;
        font-size: 0.95em;
        margin-top: 15px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .vse-uslugi-faq-container-fullwidth {
        padding: 0 10px;
    }
    
    .vse-uslugi-faq-container-fullwidth h2 {
        font-size: 1.2em;
    }
    
    .vse-uslugi-faq-item h3 {
        padding: 12px;
        font-size: 0.95em;
    }
    
    .vse-uslugi-faq-item p {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .que-answ-button-inner {
        padding: 0 10px;
    }
    
    .que-answ-custom-button {
        padding: 10px 18px;
        font-size: 0.9em;
        margin-top: 10px;
    }
}

/* Анимации при загрузке */
@keyframes vse-uslugi-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vse-uslugi-faq-item {
    animation: vse-uslugi-fadeInUp 0.6s ease-out;
}

.vse-uslugi-faq-item:nth-child(even) {
    animation-delay: 0.1s;
}

.vse-uslugi-faq-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/*HTML Все услуги Бренд Онлайн на Главной*/
.ip-protection-module {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 50px 0;
}

.ip-container-fullwidth {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.ip-hero {
    background: linear-gradient(135deg, #217bcbf0 0%, #38c3d5c2 100%);
    color: white;
    padding: 20px 30px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ip-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.ip-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.ip-contact p strong {
    color: #ffffff;
}

.ip-hero p strong {
    color: #ffffff;
}

/* Стили для первых шести карточек услуг */
.ip-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.ip-service-card {
    background: linear-gradient(135deg, #ffffffd9 0%, #e8e8e8d9 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Заголовки первых шести карточек - цвет #3c5a7a и центрирование */
.ip-service-card h3 {
    color: #3c5a7a !important; /* Новый цвет заголовков */
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center !important; /* Центрирование заголовка */
    padding: 0 10px;
    flex-shrink: 0; /* Запрещаем сжатие заголовка */
}

.ip-service-card p {
    margin-bottom: 20px;
    color: #666;
    text-align: justify;
}

.ip-service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1; /* Позволяет списку занимать доступное пространство */
}

.ip-service-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.ip-service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.ip-service-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    flex-shrink: 0; /* Запрещаем сжатие мета-информации */
}

.ip-service-meta .meta-label {
    color: #667eea;
    font-weight: 600;
}

/* Раздел "Наши преимущества" */
.ip-advantages {
    background: linear-gradient(135deg, rgb(255 255 255 / 52%) 0%, rgb(241 238 238 / 46%) 100%);
    padding: 50px 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: background 0.8s ease;
}

.ip-advantages:hover {
    background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
}

.ip-advantages h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2rem;
}

.ip-advantages h3 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.ip-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточки преимуществ */
.ip-advantage-item {
    background: linear-gradient(135deg, #ffffffad 0%, #d1d1d1 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ip-advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 12px rgb(240 64 34 / 38%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
}

.ip-advantage-item h4 {
    color: #667eea;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.ip-advantage-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Контактная секция с увеличенными контактами */
.ip-contact {
    background: linear-gradient(135deg, #217bcbf0 0%, #38c3d5c2 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
}

.ip-contact h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.ip-contact p {
    margin-bottom: 30px; /* Увеличен отступ для лучшего разделения */
    opacity: 0.9;
    font-size: 1.1rem;
}

.ip-contact-info {
    display: flex;
    justify-content: center;
    gap: 50px; /* Увеличен промежуток между контактами */
    flex-wrap: wrap;
    margin-top: 20px;
}

.ip-contact-item {
    display: flex;
    align-items: center;
    gap: 15px; /* Увеличен промежуток между иконкой и текстом */
    padding: 15px 25px; /* Увеличены отступы */
    background: rgba(255, 255, 255, 0.15); /* Легкий фон для выделения */
    border-radius: 10px; /* Закругленные углы */
    transition: all 0.3s ease;
    min-width: 280px; /* Минимальная ширина для лучшего вида */
}

.ip-contact-item:hover {
    background: rgba(255, 255, 255, 0.25); /* Более светлый фон при наведении */
    transform: translateY(-3px); /* Легкий подъем при наведении */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Тень при наведении */
}

.ip-contact-item span {
    font-size: 1.8rem; /* Увеличен размер иконок */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; /* Фиксированная ширина для иконок */
}

.ip-contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600; /* Более жирный шрифт */
    font-size: 1.3rem; /* Увеличен размер текста */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Легкая тень для лучшей читаемости */
    letter-spacing: 0.5px; /* Небольшой межбуквенный интервал */
}

.ip-contact-item a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px; /* Более толстое подчеркивание */
}

/* Планшеты iPad и аналогичные */
@media (max-width: 1200px) and (min-width: 769px) {
    .ip-container-fullwidth {
        padding: 0 40px;
    }
    
    .ip-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .ip-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .ip-contact-info {
        gap: 30px;
    }
    
    .ip-contact-item {
        min-width: 250px;
        padding: 12px 20px;
    }
}

/* Ноутбуки среднего размера */
@media (max-width: 1400px) and (min-width: 1201px) {
    .ip-container-fullwidth {
        padding: 0 50px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .ip-protection-module {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0;
    }
    
    .ip-container-fullwidth {
        padding: 0 10px;
    }
    
    .ip-hero {
        padding: 15px 15px;
        margin-bottom: 30px;
    }
    
    .ip-hero h2 {
        font-size: 2rem;
    }
    
    .ip-services {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ip-advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ip-contact-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .ip-contact-item {
        min-width: auto;
        width: 100%;
        max-width: 350px;
        padding: 12px 20px;
        justify-content: center;
    }
    
    .ip-service-card {
        padding: 20px 15px;
    }
    
    .ip-advantage-item {
        padding: 30px 15px;
    }
    
    .ip-advantages {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .ip-contact {
        padding: 25px 15px;
    }
    
    .ip-contact-item a {
        font-size: 1.2rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .ip-container-fullwidth {
        padding: 0 8px;
    }
    
    .ip-hero {
        padding: 12px 10px;
        margin-bottom: 25px;
    }
    
    .ip-hero h2 {
        font-size: 1.8rem;
    }
    
    .ip-hero p {
        font-size: 1rem;
    }
    
    .ip-service-card {
        padding: 18px 12px;
    }
    
    .ip-advantage-item {
        padding: 18px 12px;
    }
    
    .ip-contact {
        padding: 20px 10px;
    }
    
    .ip-services,
    .ip-advantages-grid {
        gap: 15px;
    }
    
    .ip-contact-item {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .ip-contact-item span {
        font-size: 1.5rem;
    }
    
    .ip-contact-item a {
        font-size: 1.1rem;
    }
}

/* Большие мониторы (более 1600px) */
@media (min-width: 1601px) {
    .ip-container-fullwidth {
        max-width: 1800px;
        padding: 0 80px;
    }
}

/* Средние мониторы (1200-1600px) */
@media (min-width: 1201px) and (max-width: 1600px) {
    .ip-container-fullwidth {
        padding: 0 50px;
    }
}

/*HTML Вопросы и ответы FAQ*/
.faq-section-fullwidth {    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 10px 0 50px 0;
}

/* Фон на всю ширину ТОЛЬКО для компьютеров (ширина от 768px) */
@media (min-width: 768px) {
    .faq-section-fullwidth {
        background: linear-gradient(135deg, rgb(255 255 255 / 52%) 0%, rgb(241 238 238 / 46%) 100%);
        padding: 30px 0;
        transition: background 0.8s ease;
    }

    .faq-section-fullwidth:hover {
        background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
    }
}

.faq-container-fullwidth {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.faq-container-fullwidth h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6em;
}

/* Стили для поисковой строки */
.faq-search-container {
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-wrapper {
    position: relative;
    margin-bottom: 15px;
}

#faq-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#faq-search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 2px 15px rgba(0, 123, 255, 0.2);
}

.faq-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.faq-search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-search-clear:hover {
    background-color: #f0f0f0;
    color: #333;
}

.faq-results-counter {
    text-align: right;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    display: none;
}

#faq-count {
    font-weight: 700;
    color: #007bff;
}

/* Стили карточек FAQ */
.faq-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff7a 0%, #efecec24 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    margin-bottom: 15px;
    min-height: auto;
}

.faq-item.hidden {
    display: none;
}

.faq-item.highlighted {
    border-left: 4px solid #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3f9ff 100%);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.25);
}

.faq-item:hover {
    box-shadow: 0 0 12px rgb(240 64 34 / 38%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 40%, #ddddddad 100%);
    transform: translateY(-5px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #dddfe157 0%, #e3e3e380 100%);
    margin: 0;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: #0b63d4;
}

.faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.1em;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
}

.faq-question h3 strong {
    color: #667eea;
    font-weight: 600;
}

.faq-toggle {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 70px;
}

.faq-toggle:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    padding: 25px 30px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.faq-answer p strong {
    color: #667eea;
    font-weight: 600;
}

.faq-item.active .faq-toggle {
    background: #28a745;
}

.faq-item.active .faq-toggle::after {
    content: " ▲";
}

.faq-toggle::after {
    content: " ▼";
    transition: transform 0.3s ease;
}

/* Стили для подсветки найденного текста */
.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
    box-shadow: 0 0 3px rgba(255, 193, 7, 0.5);
}

/* Сообщение "ничего не найдено" */
.faq-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    margin-top: 20px;
}

.faq-no-results p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Анимации при загрузке */
@keyframes faq-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: faq-fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(even) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .faq-container-fullwidth {
        padding: 0 30px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .faq-section-fullwidth {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 0 40px 0;
    }

    /* На мобильных убираем фон на всю ширину */
    .faq-section-fullwidth {
        background: transparent !important;
    }

    .faq-container-fullwidth {
        padding: 0 15px;
    }

    .faq-container-fullwidth h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .faq-search-container {
        margin-bottom: 20px;
    }

    #faq-search-input {
        padding: 12px 45px 12px 15px;
        font-size: 0.95rem;
    }

    .faq-search-icon {
        right: 15px;
        font-size: 1.1rem;
    }

    .faq-search-clear {
        right: 15px;
    }

    .faq-results-counter {
        text-align: center;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .faq-question h3 {
        padding-right: 0;
        font-size: 1em;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer.active {
        padding: 20px;
    }

    .faq-toggle {
        align-self: flex-end;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .faq-container-fullwidth {
        padding: 0 10px;
    }

    .faq-container-fullwidth h2 {
        font-size: 1.2em;
    }

    .faq-search-container {
        margin-bottom: 15px;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-question h3 {
        font-size: 0.95em;
    }

    .faq-answer {
        padding: 0 15px;
    }

    .faq-answer.active {
        padding: 15px;
    }

    .faq-answer p {
        font-size: 0.9em;
    }

    .faq-toggle {
        padding: 6px 14px;
        font-size: 0.85em;
        min-width: 65px;
    }
}

/*Поиск МКТУ*/
* {
    box-sizing: border-box;
}

.mktu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.search-input-container {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 15px 120px 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
}

.search-buttons {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.search-btn,
.reset-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.reset-btn {
    background: #6c757d;
}

.search-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.reset-btn:hover {
    background: #545b62;
    transform: scale(1.05);
}

.search-options {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    align-items: center;
}

.selected-classes-info {
    background: rgba(0, 123, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #007bff;
}

.search-in-selected {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.search-in-selected:hover {
    background: #218838;
}

.search-results {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.search-results.active {
    display: block;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.results-count {
    font-weight: bold;
    color: #007bff;
}

.next-match-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.next-match-btn:hover {
    background: #218838;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid #007bff;
}

.result-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.result-icon {
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: white;
}

.result-content {
    flex: 1;
}

.result-class {
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}

.result-match {
    color: #6c757d;
    font-size: 14px;
}

.class-numbers-section {
    margin-bottom: 20px;
}

.class-numbers-header {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #495057;
}

.class-numbers-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.numbers-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.numbers-tab.active {
    background: #007bff;
    color: white;
}

.class-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.class-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    color: #495057;
    border: 3px solid transparent;
    position: relative;
}

.class-number:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.class-number.selected {
    background: #28a745;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.class-number.found {
    background: #ffc107;
    color: #212529;
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

.class-number.found::after {
    content: attr(data-class-name);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #212529;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0.9;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.section-tabs {
    display: flex;
    margin-bottom: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.tab-button {
    flex: 1;
    padding: 20px 30px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #495057;
    transition: all 0.3s;
}

.tab-button.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.tab-button:hover:not(.active) {
    background: #e9ecef;
}

.section-content {
    display: none;
}

.section-content.active {
    display: block;
}

.class-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.class-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.class-card.highlighted {
    border-color: #007bff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.class-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
}

.class-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.class-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.class-title {
    font-size: 20px;
    font-weight: bold;
    color: #495057;
}

.expand-icon {
    font-size: 20px;
    color: #007bff;
    transition: transform 0.3s;
}

.class-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.class-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.class-card.expanded .class-content {
    max-height: 2000px;
    padding: 30px;
}

.class-section {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid;
}

.class-section.explanation {
    background: #f0f8ff;
    border-left-color: #007bff;
}

.class-section.includes {
    background: #f0fff0;
    border-left-color: #28a745;
}

.class-section.excludes {
    background: #fff5f5;
    border-left-color: #dc3545;
}

.class-section.items {
    background: #fff9f0;
    border-left-color: #ffc107;
}

.class-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.class-section.explanation h4 {
    color: #007bff;
}

.class-section.includes h4 {
    color: #28a745;
}

.class-section.excludes h4 {
    color: #dc3545;
}

.class-section.items h4 {
    color: #e67e22;
}

.class-section p {
    line-height: 1.6;
    color: #495057;
    margin-bottom: 10px;
}

.highlight {
    background-color: #ffeb3b;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #212529;
    animation: highlightPulse 1s ease-in-out;
}

@keyframes highlightPulse {
    0% {
        background-color: #ffeb3b;
    }

    50% {
        background-color: #ff9800;
    }

    100% {
        background-color: #ffeb3b;
    }
}

.no-results {
    text-align: center;
    padding: 60px 40px;
    color: #6c757d;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-results h3 {
    color: #495057;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .mktu-container {
        padding: 15px;
    }

    .search-section {
        padding: 20px;
    }

    .search-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        padding: 15px 20px;
        margin-bottom: 10px;
    }

    .search-buttons {
        position: static;
        transform: none;
        justify-content: center;
    }

    .class-numbers {
        gap: 6px;
    }

    .class-number {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .tab-button {
        padding: 15px 20px;
        font-size: 14px;
    }

    .class-header {
        padding: 20px;
    }

    .class-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .class-title {
        font-size: 16px;
    }

    .result-item {
        padding: 12px;
    }

    .result-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/*Меню футер*/
.menu-foot-footer-links-container {
    width: 100%;
    padding: 30px 0;
    background-image: url(https://znak-reg-brend.ru/images/bg.position.png);
    background-color: #27333E;
    background-repeat: repeat;
    background-position: center;
    border-bottom: 3px solid #003166;
    margin-top: 0px;
}

.menu-foot-footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.menu-foot-footer-column {
    flex: 1;
    min-width: 200px;
}

.menu-foot-footer-column h4 {
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.menu-foot-footer-column ul {
    list-style: none;
    padding: 0;
}

.menu-foot-footer-column ul li {
    margin-bottom: 7px;
}

.menu-foot-footer-column ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1em;
}

.menu-foot-footer-column ul li a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Планшеты (iPad) - два столбика в два ряда */
@media (max-width: 1024px) and (min-width: 769px) {
    .menu-foot-footer-links-container {
        padding: 25px 0;
    }

    .menu-foot-footer-content {
        gap: 15px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .menu-foot-footer-column {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

/* Телефоны - два столбика в два ряда с уменьшенным шрифтом */
@media (max-width: 768px) {
    .menu-foot-footer-links-container {
        padding: 20px 0;
    }

    .menu-foot-footer-content {
        gap: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .menu-foot-footer-column {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }

    .menu-foot-footer-column h4 {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .menu-foot-footer-column ul li a {
        font-size: 12px;
        line-height: 1.3;
    }

    .menu-foot-footer-column ul li {
        margin-bottom: 5px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .menu-foot-footer-content {
        margin-left: 8px;
        margin-right: 8px;
        gap: 8px;
    }

    .menu-foot-footer-column h4 {
        font-size: 0.9em;
    }

    .menu-foot-footer-column ul li a {
        font-size: 11px;
    }
}

/*Кнопка Больше вопросов и ответов*/
.que-answ-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3vh;
    /* Можно заменить на нужную высоту, например, 200px */
    margin: 0;
}

.que-answ-custom-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, #4a90e2, #22b8f0);
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.que-answ-custom-button:hover {
    background: linear-gradient(to right, #3a80d2, #12a8e0);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.que-answ-custom-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*HTML Цитаты */
.trademark-content {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 34px 0px auto;
}

/*Обычная цитата */
.trademark-keyphrase {
    border-left: 4px solid #2a5885;
    padding: 15px 20px;
    margin: 25px 0px 0px;
    background-color: #f8f9fac9;
    font-style: italic;
    color: #2a5885;
    font-size: 1.1em;
    text-align: left;
}

/* Широкая цитата (на всю ширину модульного пространства) */
.long-trademark-keyphrase {
    border-left: 4px solid #2a5885;
    padding: 15px 20px;
    margin: 25px 0px 0px;
    background-color: #f8f9fa;
    font-style: italic;
    color: #2a5885;
    font-size: 1.1em;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.trademark-keyphrase strong,
.long-trademark-keyphrase strong {
    color: #d35400;
}

.trademark-conclusion {
    font-style: italic;
    text-align: right;
    color: #666;
    margin-bottom: 25px;
}

/*Высота поля Коментарий*/
.wjcallbackform textarea {
    height: 8em !important;
    min-height: 8em !important;
}

/*Продающая страница*/
:root {
    --accent: #0b63d4;
    --accent-dark: #094f9e;
    --muted: #6b7280;
    --bg: #f6f8fb
}

.rtzbody {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    line-height: 1.45;
    color: #0b2333;
    margin: 0;
    background: var(--bg)
}

/* ИСПРАВЛЕННЫЙ КОНТЕЙНЕР - фон на всю ширину, контент внутри границ */
.rtz-fullwidth-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    background: #e5e7e9b5;
    padding: 1.2rem 0;
    position: relative;
    overflow: hidden;
}

/* ДОБАВЛЕНО: Ограничиваем максимальную ширину для предотвращения переполнения */
.rtz-fullwidth-container>.rtzcontainer {
    max-width: 100%;
    overflow: hidden;
}

/* Увеличиваем максимальную ширину контейнера как в первом модуле */
.rtzcontainer {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2px 40px;
    box-sizing: border-box;
}

.rtzheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.rtznav {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex: 1;
    max-width: fit-content;
    margin: 0 auto;
}

/* Увеличиваем шрифт навигации и изолируем стиль */
.rtznav-item {
    font-size: 17px;
    color: #0b2333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.rtznav-item:hover {
    color: var(--accent);
}

/* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ГЛАВНОГО ГЕРОЙ БЛОКА */
.rtzhero {
    background:#ffffff5c;
    border-radius: 12px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
    box-shadow: 0 6px 24px rgb(130 131 133 / 94%);
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Контейнер для левой части главного блока */
.rtz-hero-left {
    display: flex;
    flex-direction: column;
}

/* Контейнер для карточек в левой части */
.rtz-features-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Контейнер для правой части главного блока */
.rtz-hero-right {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Изображение над формой */
.rtz-hero-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

/* Форма обратной связи */
.rtz-hero-right .custom-feedback-form {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgb(82 84 84 / 61%);
    color: #0b2333;
    width: 100%;
    margin: 0;
    position: sticky;
    top: 20px;
    box-sizing: border-box;
}

.rtzh1 {
    font-size: 28px;
    margin: 0 0 12px;
    line-height: 1.3
}

.rtzh2 {
    font-size: 26px;
    margin: 24px 0 18px;
    text-align: center;
}

.rtzsub {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5
}

.rtzcta {
    display: flex;
    gap: 12px
}

/* Обновленные стили кнопок - унифицированные */
.rtzbtn {
    background: var(--accent);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    border: 0;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 99, 212, 0.3);
}

.rtzbtn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 99, 212, 0.4);
    color: #fff;
}

.rtzbtn-ghost {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.rtzbtn-ghost:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 99, 212, 0.3);
}

.rtzfeatures {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%
}

.rtzcard {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgb(121 123 124 / 80%);
    width: 100%;
    box-sizing: border-box;
}

.rtzsmall {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5
}

.rtzsteps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 1px;
    width: 100%
}

.rtzstep {
    background: linear-gradient(180deg, #fff, #fbfdff);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #eef3fb;
    box-shadow: 0 6px 18px rgb(82 84 84 / 61%);
    box-sizing: border-box;
}

.rtzprice {
    font-size: 24px;
    font-weight: 700;
    margin: 0
}

/* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ВЫРАВНИВАНИЯ ВЫСОТЫ */
.rtzgrid-2 {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    margin-top: 22px;
    width: 100%;
    align-items: start;
    box-sizing: border-box;
}

/* Контейнер для левой части с карточками и изображением */
.rtz-left-container {
    display: flex;
    flex-direction: column;
}

/* Обертка для карточек процесса */
.rtz-steps-wrapper {
    flex: 1;
}

/* Контейнер для изображения */
.rtz-process-image-container {
    width: 100%;
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(49, 131, 171, 0.61);
    position: relative;
}

/* Карточка "Прозрачная стоимость" */
.rtzgrid-2 aside.rtzcard {
    display: flex;
    flex-direction: column;
}

/* Внутренний контент карточки стоимости */
.rtz-price-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Контейнер для логотипа внизу */
.rtz-logo-container {
    margin-top: auto;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f4fb;
}

.rtzul.benef {
    margin: 0;
    padding-left: 20px
}

.rtzsticky-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: var(--accent);
    color: #fff;
    padding: 12px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(11, 38, 51, 0.12);
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer
}

/* Обновленные стили для FAQ с анимацией при наведении */
.rtzfaq .q {
    cursor: pointer;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #eef3fb;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 5px 4px 7px rgba(49, 131, 171, 0.61);
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

.rtzfaq .q:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49, 131, 171, 0.7);
}

.rtzfaq .answer {
    display: none;
    margin-top: 8px
}

.rtzfaq .more-btn {
    text-align: center;
    margin-top: 12px
}

.rtzconsult-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap
}

.rtzconsult-actions a {
    white-space: nowrap
}

/* Увеличиваем ширину aside блоков */
.rtzhero aside {
    min-width: 420px
}

.rtzgrid-2 aside {
    min-width: 380px
}

/* Стили для изображения процесса - ИСПРАВЛЕНО */
.rtz-process-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.rtz-process-image-desktop {
    display: block;
}

.rtz-process-image-mobile {
    display: none;
}

/* Кнопка "Смотреть коммерческое предложение" на изображении */
.rtz-kp-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(11, 99, 212, 0.9);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.rtz-kp-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Стили для модального окна КП - ИСПРАВЛЕНА ВИДИМОСТЬ */
.rtz-kp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.rtz-kp-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.rtz-kp-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.rtz-kp-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.rtz-kp-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.rtz-kp-download {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transition: all 0.3s ease;
}

.rtz-kp-download:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Стили для кнопки "Цены подробно" в карточке */
.rtz-price-detail-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: var(--accent);
    border: none;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    float: right;
    box-shadow: 0 4px 12px rgba(11, 99, 212, 0.3);
}

.rtz-price-detail-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 99, 212, 0.4);
    color: white;
}

/* Стили для логотипа в карточке стоимости */
.rtz-logo {
    max-width: 130px;
    height: auto;
    display: inline-block;
}

/* Стили для кнопки "Еще вопросы" */
.rtz-more-questions-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rtz-more-questions-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(11, 99, 212, 0.3);
}

/* Стили для навигации на мобильных устройствах - НОВОЕ */
.rtznav-mobile {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.rtznav-mobile .rtznav-item {
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Стили для заголовков в детальном разделе - НОВОЕ */
.rtz-seo-section h3 {
    font-size: 22px;
    color: #0b2333;
    margin: 25px 0 15px;
    font-weight: 500;
    line-height: 1.3;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
}

.rtz-seo-section h4 {
    font-size: 18px;
    color: var(--accent-dark);
    margin: 20px 0 12px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width:1200px) {
    .rtzcontainer {
        padding: 28px 30px
    }

    .rtzhero {
        grid-template-columns: 1fr 380px;
        gap: 24px
    }

    .rtzgrid-2 {
        grid-template-columns: 1fr 350px;
        gap: 24px
    }
}

@media (max-width:980px) {
    .rtzhero {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .rtzgrid-2 {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .rtzsteps {
        grid-template-columns: 1fr
    }

    .rtzhero aside {
        order: -1;
        min-width: auto
    }

    .rtzgrid-2 aside {
        min-width: auto
    }

    /* Адаптация для планшетов */
    .rtz-left-container {
        height: auto;
    }

    .rtzgrid-2 aside.rtzcard {
        height: auto;
    }

    /* Скрываем изображение на планшетах и мобильных */
    .rtz-hero-image {
        display: none;
    }

    .rtz-hero-right .custom-feedback-form {
        margin-top: 0;
        position: static;
    }
}

@media (max-width:768px) {
    .rtzcontainer {
        padding: 20px
    }

    .rtzhero {
        padding: 20px
    }

    .rtzcard {
        padding: 18px
    }

    .rtzh1 {
        font-size: 24px
    }

    .rtzh2 {
        font-size: 22px
    }

    /* Переключаем изображения на мобильных */
    .rtz-process-image-desktop {
        display: none;
    }

    .rtz-process-image-mobile {
        display: block;
    }

    .rtz-process-image-container {
        margin-top: 20px;
    }

    /* Скрываем логотип на мобильных */
    .rtz-logo-container {
        display: none;
    }

    /* Центрируем кнопку на мобильных */
    .rtz-price-detail-btn {
        float: none;
        display: block;
        text-align: center;
        margin: 15px auto 0;
    }

    /* Адаптируем кнопку КП для мобильных */
    .rtz-kp-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Адаптируем модальное окно для мобильных */
    .rtz-kp-modal-content {
        width: 95%;
        height: 90vh;
        margin: 5% auto;
    }

    .rtz-kp-download {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Адаптируем FAQ для мобильных */
    .rtzfaq .q:hover {
        transform: translateY(-2px);
    }

    /* Адаптация навигации для мобильных - НОВОЕ */
    .rtznav {
        display: none;
    }

    .rtznav-mobile {
        display: grid;
    }

    .rtzheader {
        padding: 12px 0;
    }
}

@media (max-width:480px) {
    .rtzcontainer {
        padding: 16px
    }

    .rtzhero {
        padding: 16px
    }

    .rtzcard {
        padding: 14px
    }

    .rtzh1 {
        font-size: 22px
    }

    .rtzh2 {
        font-size: 20px
    }

    .rtz-process-image-container {
        margin-top: 15px;
    }

    /* Уменьшаем шрифт навигации на очень маленьких экранах */
    .rtznav-item {
        font-size: 15px;
    }

    .rtz-kp-modal-content {
        height: 85vh;
        margin: 10% auto;
    }

    /* Адаптация заголовков для мобильных - НОВОЕ */
    .rtz-seo-section h3 {
        font-size: 20px;
        margin: 20px 0 12px;
    }

    .rtz-seo-section h4 {
        font-size: 17px;
        margin: 18px 0 10px;
    }
}

/* СТИЛИ ФОРМЫ ОБРАТНОЙ СВЯЗИ — ИНТЕГРИРОВАННЫЕ */
.custom-feedback-form .form-header {
    text-align: center;
    margin-bottom: 20px;
}

.custom-feedback-form .form-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #0b2333;
}

.custom-feedback-form .form-header p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.custom-feedback-form .input-group {
    margin-bottom: 16px;
}

.custom-feedback-form .input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #0b2333;
}

.custom-feedback-form .input-group input,
.custom-feedback-form .input-group textarea {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.custom-feedback-form .input-group input:focus,
.custom-feedback-form .input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11, 99, 212, 0.2);
}

/* Стили для капчи */
.custom-feedback-form .captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-feedback-form .captcha-question {
    flex: 1;
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-feedback-form .captcha-group input {
    flex: 2;
    width: auto;
}

.custom-feedback-form .refresh-captcha {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-feedback-form .refresh-captcha:hover {
    background: var(--accent-dark);
}

.custom-feedback-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 8px;
}

.custom-feedback-form .checkbox-group input {
    margin-top: 3px;
}

.custom-feedback-form .checkbox-group label {
    font-size: 13px;
    line-height: 1.4;
    color: #0b2333;
}

.custom-feedback-form .checkbox-group a {
    color: var(--accent);
    text-decoration: none;
}

.custom-feedback-form .checkbox-group a:hover {
    text-decoration: underline;
}

.custom-feedback-form .submit-btn {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-feedback-form .submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 99, 212, 0.3);
}

.custom-feedback-form .fas {
    margin-right: 6px;
}

/* Стили для кнопки "Позвонить сейчас" */
.rtz-call-now-btn {
    width: 100%;
    background: #2ac904;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    /* Небольшой отступ сверху */
}

.rtz-call-now-btn:hover {
    background: #30e306;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Адаптация капчи для мобильных */
@media (max-width: 768px) {
    .custom-feedback-form .captcha-container {
        flex-direction: column;
        gap: 8px;
    }

    .custom-feedback-form .captcha-question {
        width: 100%;
    }

    .custom-feedback-form .captcha-group input {
        width: 100%;
    }

    .custom-feedback-form .refresh-captcha {
        width: 100%;
    }
}
/* HTML Наши сервисы меньший*/
.oservm-module-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: transparent; /* Прозрачный фон для мобильных по умолчанию */
}

/* Фон на всю ширину ТОЛЬКО для компьютеров (ширина от 768px) */
@media (min-width: 768px) {
    .oservm-module-wrapper {
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        background: linear-gradient(135deg, rgb(255 255 255 / 52%) 0%, rgb(241 238 238 / 46%) 100%);
        padding: 5px 0;
        transition: background 0.8s ease;
    }
    
    .oservm-module-wrapper:hover {
        background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
    }
}

.oservm-our-services-module {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    background: transparent; /* Прозрачный фон */
}

/* Убираем проблемные стили из модуля */
.oservm-module-fullwidth {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: transparent; /* Прозрачный фон */
}

/* Стили для карточек сервисов */
.oservm-service-icon-wrapper {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem !important; /* Уменьшено в 2 раза */
}

.oservm-service-icon-img {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oservm-service-icon-img img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 45px;
    height: auto;
    transform-origin: center;
}

.oservm-card:hover .oservm-service-icon-img img {
    transform: rotate(360deg);
}

.oservm-card:not(:hover) .oservm-service-icon-img img {
    transform: rotate(0deg);
}

.oservm-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 95%;
    background: linear-gradient(135deg, #ffffffad 0%, #d1d1d1 100%); /* Градиент сохранен */
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 0.75rem; /* Уменьшено в 2 раза */
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    margin-bottom: 4px; /* Уменьшено в 2 раза */
    min-height: 140px; /* Уменьшено еще */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.oservm-card:hover {
    box-shadow: 0 0 12px rgb(240 64 34 / 38%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%); /* Градиент сохранен */
    transform: translateY(-5px);
}

.oservm-card-title {
    color: #2c3e50;
    font-size: 0.9rem; /* Уменьшено */
    font-weight: 500;
    margin-bottom: 0.375rem; /* Уменьшено в 2 раза */
    transition: color 0.3s ease;
    line-height: 1.1;
    min-height: 30px; /* Уменьшено в 2 раза */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.oservm-card:hover .oservm-card-title {
    color: #0b63d4;
}

/* Контейнер для кнопки - фиксированное положение */
.oservm-card-button-container {
    margin-top: auto;
    padding-top: 0.25rem; /* Уменьшено в 2 раза */
    text-align: center;
}

/* Стили для кнопки-ссылки */
.oservm-service-link {
    display: inline-block;
    color: #0b63d4;
    font-weight: 500;
    font-size: 0.75rem; /* Уменьшено */
    padding: 4px 8px; /* Уменьшено в 2 раза */
    border: 1px solid rgba(11, 99, 212, 0.2);
    border-radius: 3px; /* Уменьшено */
    background: rgba(11, 99, 212, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.oservm-service-link:hover {
    background: rgba(11, 99, 212, 0.1);
    border-color: rgba(11, 99, 212, 0.3);
    transform: translateX(5px);
    color: #0b63d4;
    text-decoration: none;
}

.oservm-card:hover .oservm-service-link {
    background: rgba(11, 99, 212, 0.1);
    border-color: rgba(11, 99, 212, 0.3);
    transform: translateX(5px);
}

.oservm-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    overflow-x: hidden;
    background: transparent; /* Прозрачный фон контейнера */
}

@media (min-width: 768px) {
    .oservm-container {
        padding: 0 40px;
    }
}

/* Стили для секции */
.oservm-section {
    padding: 1.5rem 0; /* Уменьшено еще */
    background: transparent; /* Прозрачный фон секции */
}

@media (min-width: 768px) {
    .oservm-section {
        padding: 2rem 0; /* Увеличено для десктопов */
    }
}

.oservm-section-title {
    font-size: 1.5rem; /* Уменьшено */
    font-weight: 600;
    margin-bottom: 0.5rem; /* Уменьшено */
    text-align: center;
    color: #2c3e50;
}

@media (min-width: 768px) {
    .oservm-section-title {
        font-size: 1.75rem; /* Уменьшено */
    }
}

.oservm-section-subtitle {
    text-align: center;
    color: #383737;
    margin-bottom: 1rem; /* Уменьшено еще */
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem; /* Уменьшено */
}

@media (min-width: 768px) {
    .oservm-section-subtitle {
        font-size: 0.95rem; /* Уменьшено */
    }
}

.oservm-grid {
    display: grid;
    gap: 0.75rem; /* Уменьшено еще */
}

.oservm-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .oservm-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.05rem; /* Увеличен на 40% (0.75 * 1.4 = 1.05) для планшетов */
    }
}

@media (min-width: 1024px) {
    .oservm-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.125rem; /* Увеличен на 50% (0.75 * 1.5 = 1.125) для десктопов */
    }
    
    /* Уменьшаем ширину карточек на 10% (половина от 20%) для десктопов */
    .oservm-grid-3 > .oservm-card {
        width: 90%; /* Уменьшили ширину на 10% */
        margin: 2px auto; /* Центрируем карточки */
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .oservm-container {
        padding: 0 30px;
    }
}

@media (max-width: 767px) {
    .oservm-container {
        padding: 0 20px;
    }
    
    /* Для мобильных - сброс стилей фона */
    .oservm-module-wrapper {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        background: transparent !important;
        padding: 0 !important;
    }
    
    .oservm-section {
        padding: 1rem 0; /* Уменьшено еще */
    }
    
    .oservm-card {
        min-height: 120px; /* Уменьшено еще для мобильных */
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .oservm-section {
        padding: 0.875rem 0; /* Уменьшено еще */
    }
    
    .oservm-card {
        padding: 0.625rem; /* Уменьшено еще */
        min-height: 110px; /* Уменьшено еще */
    }
    
    .oservm-service-icon-wrapper {
        min-height: 35px;
        margin-bottom: 0.125rem !important; /* Уменьшено еще */
    }
    
    .oservm-service-icon-img {
        width: 35px;
        height: 35px;
    }
    
    .oservm-service-icon-img img {
        max-height: 30px;
    }
    
    .oservm-card-title {
        font-size: 0.8rem; /* Уменьшено */
        min-height: 25px; /* Уменьшено еще */
        margin-bottom: 0.25rem; /* Уменьшено еще */
    }
    
    .oservm-service-link {
        padding: 3px 6px; /* Уменьшено еще */
        font-size: 0.7rem; /* Уменьшено */
    }
}
/*HTML Наши сервисы крупный*/
.oserv-module-wrapper {
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.oserv-our-services-module {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
}

/* Убираем проблемные стили из модуля */
.oserv-module-fullwidth {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Стили для карточек сервисов */
.oserv-service-icon-wrapper {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem !important;
}

.oserv-service-icon-img {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oserv-service-icon-img img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 70px;
    height: auto;
    transform-origin: center;
}

.oserv-card:hover .oserv-service-icon-img img {
    transform: rotate(360deg);
}

.oserv-card:not(:hover) .oserv-service-icon-img img {
    transform: rotate(0deg);
}

.oserv-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 97%;
    background: linear-gradient(135deg, #ffffffad 0%, #d1d1d1 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 1.5rem;
    box-shadow: 0 0 12px rgb(34 105 240 / 30%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    margin-bottom: 8px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.oserv-card:hover {
    box-shadow: 0 0 12px rgb(240 64 34 / 38%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
    transform: translateY(-5px);
}

/* Контейнер для контента карточки */
.oserv-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.oserv-card-title {
    color: #2c3e50;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.oserv-card:hover .oserv-card-title {
    color: #0b63d4;
}

.oserv-card-text {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.9rem;
    flex-grow: 1;
}

/* Контейнер для кнопки - фиксированное положение */
.oserv-card-button-container {
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
}

/* Стили для кнопки-ссылки */
.oserv-service-link {
    display: inline-block;
    color: #0b63d4;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 16px;
    border: 1px solid rgba(11, 99, 212, 0.2);
    border-radius: 4px;
    background: rgba(11, 99, 212, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.oserv-service-link:hover {
    background: rgba(11, 99, 212, 0.1);
    border-color: rgba(11, 99, 212, 0.3);
    transform: translateX(5px);
    color: #0b63d4;
    text-decoration: none;
}

.oserv-card:hover .oserv-service-link {
    background: rgba(11, 99, 212, 0.1);
    border-color: rgba(11, 99, 212, 0.3);
    transform: translateX(5px);
}

.oserv-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .oserv-container {
        padding: 0 40px;
    }
}

/* Стили для секции */
.oserv-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .oserv-section {
        padding: 1.5rem 0;
    }
}

.oserv-section-bg-card {
    background: linear-gradient(135deg, #ffffffad 0%, #d1d1d1 100%);
    transition: background 0.8s ease;
}

.oserv-section-bg-card:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
}

.oserv-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
    color: #2c3e50;
}

@media (min-width: 768px) {
    .oserv-section-title {
        font-size: 2rem;
    }
}

.oserv-section-subtitle {
    text-align: center;
    color: #383737;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .oserv-section-subtitle {
        font-size: 1.05rem;
    }
}

.oserv-grid {
    display: grid;
    gap: 1.25rem;
}

.oserv-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .oserv-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .oserv-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .oserv-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .oserv-container {
        padding: 0 20px;
    }
    
    .oserv-module-wrapper {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .oserv-section {
        padding: 2rem 0;
    }
    
    .oserv-card {
        min-height: 300px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .oserv-section {
        padding: 1.5rem 0;
    }
    
    .oserv-card {
        padding: 1.25rem;
        min-height: 280px;
    }
    
    .oserv-service-icon-wrapper {
        min-height: 70px;
    }
    
    .oserv-service-icon-img {
        width: 70px;
        height: 70px;
    }
    
    .oserv-service-icon-img img {
        max-height: 60px;
    }
    
    .oserv-card-title {
        font-size: 1.1rem;
    }
    
    .oserv-card-text {
        font-size: 0.85rem;
    }
}
 /*Убрать теги*/
 /* УДАЛЯЕМ лишние элементы после цитаты и сокращаем расстояние */
#mod-custom149 > div:last-child,
#mod-custom149 div:empty,
#mod-custom149 pre,
#mod-custom149 br {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* Убираем отступы от всей секции с цитатой */
#sp-bottom-bottom10 #sp-bottom10 .sp-column .sp-module:nth-child(1) {
    margin-bottom: -30px !important;
    padding-bottom: 0 !important;
}

/* ПОДНИМАЕМ блок "Комплексная защита" ВПЛОТНУЮ к цитате */
#mod-custom166 {
    margin-top: -30px !important;
    position: relative;
    z-index: 1;
}

/* Можно еще сильнее сократить расстояние */
#sp-bottom-bottom10 .row {
    margin-top: -20px !important;
}
/* HTML Заголовок H1 для Сервисы*/
.info-module-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.info-module {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
}
.info-module-content {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}
.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.info-section {
    padding: 1.25rem 0;
}
.info-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #2c3e50;
    line-height: 1.2;
}
.info-subtitle {
    text-align: center;
    color: #495057;
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    line-height: 1.4;
}
/* Адаптивность */
@media (max-width: 1024px) {
    .info-container {
        padding: 0 30px;
    }
}
@media (max-width: 767px) {
    .info-container {
        padding: 0 20px;
    }
    .info-section {
        padding: 1rem 0;
    }
    .info-main-title {
        font-size: 1.3rem;
    }
    .info-subtitle {
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    .info-section {
        padding: 0.875rem 0;
    }
    .info-main-title {
        font-size: 1.1rem;
        margin-bottom: 0.375rem;
    }
    .info-subtitle {
        font-size: 0.8rem;
    }
    .info-container {
        padding: 0 15px;
    }
}
/*HTML Заголовок H1 для МКТУ*/
/* Общие стили */
.mktu-info-module-wrapper.oservm-module-wrapper {
    position: relative;
    width: 100%;
    background: transparent;
    /* Прозрачный фон для мобильных по умолчанию */
    overflow: visible !important;
    /* ВАЖНО: убираем обрезку */
}
/* Фон на всю ширину ТОЛЬКО для компьютеров (ширина от 768px) */
@media (min-width: 768px) {
    .mktu-info-module-wrapper.oservm-module-wrapper {
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        background: linear-gradient(135deg, rgb(255 255 255 / 52%) 0%, rgb(241 238 238 / 46%) 100%);
        padding: 10px 0;
        /* Еще уменьшил отступы */
        transition: background 0.8s ease;
        overflow: visible !important;
        /* ВАЖНО: убираем обрезку */
    }
    .mktu-info-module-wrapper.oservm-module-wrapper:hover {
        background: linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(245 245 245 / 70%) 50%, rgb(235 235 235 / 65%) 100%);
    }
}
/* Сброс для мобильных */
@media (max-width: 767px) {
    .mktu-info-module-wrapper.oservm-module-wrapper {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        background: transparent !important;
        padding: 0 !important;
        overflow: visible !important;
    }
}
/* УБИРАЕМ OVERFLOW ВО ВСЕХ РОДИТЕЛЬСКИХ КОНТЕЙНЕРАХ */
.mktu-info-module .mktu-module-content.oservm-module-fullwidth {
    overflow: visible !important;
}
.mktu-info-module .mktu-section.oservm-section {
    overflow: visible !important;
}
.mktu-info-module .mktu-container.oservm-container {
    overflow: visible !important;
}
/* Основные стили модуля МКТУ */
.mktu-info-module .mktu-section {
    padding: 0.5rem 0;
    /* Уменьшил еще */
    position: relative;
    /* Для правильного позиционирования подсказок */
    overflow: visible !important;
    /* Убираем обрезку */
}
@media (min-width: 768px) {
    .mktu-info-module .mktu-section {
        padding: 0.6rem 0;
        /* Уменьшил еще */
    }
}
.mktu-info-module .mktu-main-title {
    font-size: 1.3rem;
    /* Уменьшил еще */
    font-weight: 600;
    margin-bottom: 0.3rem;
    /* Уменьшил еще */
    text-align: center;
    color: #2c3e50;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .mktu-info-module .mktu-main-title {
        font-size: 1.5rem;
        /* Уменьшил еще */
        margin-bottom: 0.4rem;
        /* Уменьшил еще */
    }
}
/* Сетка карточек ДЛЯ МОБИЛЬНЫХ: 2 КОЛОНКИ */
.mktu-info-module .mktu-features-grid {
    display: grid;
    gap: 0.4rem;
    /* Уменьшил еще */
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
    overflow: visible !important;
    /* Убираем обрезку */
}
/* На мобильных (до 767px) - 2 колонки */
@media (max-width: 767px) {
    .mktu-info-module .mktu-features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 колонки на мобильных */
        gap: 0.4rem;
    }
    .mktu-info-module .mktu-features-grid>.mktu-feature {
        width: 100%;
        /* На мобильных занимают всю ширину колонки */
        margin: 0 auto;
    }
}
@media (min-width: 768px) {
    .mktu-info-module .mktu-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
       
    }
}
@media (min-width: 1024px) {
    .mktu-info-module .mktu-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
        
    }
    .mktu-info-module .mktu-features-grid>.mktu-feature {
        width: 90%;
        margin: 2px auto;
    }
}
/* Стили карточек - ИСПРАВЛЕН Z-INDEX */
.mktu-info-module .mktu-feature {
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffffad 0%, #d1d1d1 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 0.35rem 0.6rem;
   
    box-shadow: 0 0 8px rgb(34 105 240 / 25%);
    transition: box-shadow 0.2s, background 0.3s ease-in-out, z-index 0.3s ease;
    min-height: 40px;
   
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: help;
    overflow: visible !important;
   
    z-index: 10;
    
}
/* Активная карточка - ВСЕГДА ПОВЕРХ ДРУГИХ */
.mktu-info-module .mktu-feature.active {
    z-index: 1000 !important;
    /* ОЧЕНЬ ВЫСОКИЙ Z-INDEX ДЛЯ АКТИВНОЙ КАРТОЧКИ */
    position: relative;
}
.mktu-info-module .mktu-feature:hover {
    box-shadow: 0 0 10px rgb(240 64 34 / 30%);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
    transform: translateY(-2px);
    z-index: 100;
    /* При наведении поднимаем выше, но не выше активной */
}
/* Контент карточки */
.mktu-info-module .mktu-feature-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    /* Уменьшил еще */
    color: #2c3e50;
    z-index: 2;
    width: 100%;
    min-height: 100%;
}
.mktu-info-module .mktu-check {
    color: #28a745;
    font-size: 0.75rem;
    /* Уменьшил еще */
    min-width: 18px;
    /* Уменьшил еще */
    flex-shrink: 0;
    line-height: 1;
}
.mktu-info-module .mktu-feature-text {
    flex-grow: 1;
    line-height: 1.1;
    /* Уменьшил еще */
}
/* Всплывающие подсказки - ВСЕГДА СНИЗУ КАРТОЧКИ ДЛЯ ВЕРХНЕГО РЯДА */
.mktu-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: rgba(44, 62, 80, 0.97);
    color: white;
    padding: 8px 10px;
    
    border-radius: 6px;
    font-size: 0.9rem;
    
    line-height: 1.3;
    
    width: 240px;
    
    max-width: 90vw;
    /* Ограничиваем ширину на мобильных */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    /* ЕЩЕ ВЫШЕ, ЧЕМ У АКТИВНОЙ КАРТОЧКИ */
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    text-align: center;
    overflow: visible !important;
}
/* Стрелочка для подсказки ВСЕГДА СВЕРХУ (подсказка снизу) */
.mktu-tooltip::after {
    content: '';
    position: absolute;
    top: -12px;
    /* Стрелочка всегда сверху */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(44, 62, 80, 0.97) transparent;
}
/* Показываем подсказку при клике - ВСЕГДА СНИЗУ */
.mktu-info-module .mktu-feature.active .mktu-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    top: calc(100% + 8px);
    /* Всегда от нижнего края карточки */
    bottom: auto;
}
/* Адаптивность */
@media (max-width: 1024px) {
    .mktu-info-module .mktu-container {
        padding: 0 20px;
        
        overflow: visible !important;
    }
}
@media (max-width: 767px) {
    .mktu-info-module .mktu-container {
        padding: 0 15px;
       
        overflow: visible !important;
    }
    .mktu-info-module .mktu-section {
        padding: 0.4rem 0;
       
    }
    .mktu-info-module .mktu-feature {
        min-height: 38px;
       
        padding: 0.25rem 0.5rem;
       
    }
    .mktu-info-module .mktu-feature-content {
        font-size: 0.7rem;
       
    }
    .mktu-tooltip {
        width: 200px;
        
        font-size: 0.65rem;
        
        padding: 6px 8px;
        
    }
    /* На очень маленьких экранах - все равно 2 колонки, но с меньшим gap */
    @media (max-width: 480px) {
        .mktu-info-module .mktu-features-grid {
            gap: 0.3rem;
            
        }
        .mktu-info-module .mktu-feature {
            min-height: 36px;
           
            padding: 0.2rem 0.4rem;
            
        }
        .mktu-info-module .mktu-feature-content {
            font-size: 0.62rem;
            
            gap: 0.3rem;
            /* Меньше расстояние между галочкой и текстом */
        }
        .mktu-info-module .mktu-check {
            font-size: 0.7rem;
            
            min-width: 16px;
            
        }
        .mktu-tooltip {
            width: 180px;
            
            font-size: 0.6rem;
            
            padding: 5px 7px;
            
        }
    }
}
@media (max-width: 480px) {
    .mktu-info-module .mktu-section {
        padding: 0.3rem 0;
       
    }
    .mktu-info-module .mktu-main-title {
        font-size: 1.1rem;
        
        margin-bottom: 0.25rem;
        
    }
    .mktu-info-module .mktu-container {
        padding: 0 10px;
        
    }
}
/*HTML Заголовок H1 для поиск товарных знаков онлайн. Статьи типовые*/
.trademark-module-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(209, 209, 209, 0.5) 100%);
    transition: background 0.8s ease;
    margin-bottom: 20px;
}
.trademark-module-fullwidth:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 240, 240, 0.6) 50%, rgba(221, 221, 221, 0.6) 100%);
}
.trademark-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px; /* Для мобильных уменьшаем padding */
    overflow-x: hidden;
}
@media (min-width: 768px) {
    .trademark-container {
        padding: 6px 40px; /* Для десктопа оставляем 40px */
    }
}
.trademark-section {
    padding: 1.5rem 0; /* Уменьшен padding для мобильных */
}
@media (min-width: 768px) {
    .trademark-section {
        padding: 1.5rem 0;
    }
}
.trademark-main-title {
    font-size: 1.5rem; /* Уменьшен размер для мобильных */
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1a1a1a;
    line-height: 1.2; /* Добавлен line-height */
}
@media (min-width: 768px) {
    .trademark-main-title {
        font-size: 2.25rem;
    }
}
/* Сворачиваемый модуль */
.trademark-collapsible-module {
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d1 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    box-shadow: 0 0 12px rgba(34, 105, 240, 0.3);
    transition: box-shadow 0.2s, background 0.3s ease-in-out;
    overflow: hidden;
    width: 100%; /* Гарантируем ширину 100% */
}
.trademark-collapsible-module:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #dddddd 100%);
}
/* Кнопка открытия/закрытия с новой заливкой */
.trademark-toggle-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; /* Уменьшен padding для мобильных */
    background: linear-gradient(135deg, #4d5d70ab 0%, #56687cba 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem; /* Уменьшен размер для мобильных */
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}
@media (min-width: 768px) {
    .trademark-toggle-button {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }
}
.trademark-toggle-button:hover {
    background: linear-gradient(135deg, #5a6b81 0%, #647890 100%);
    box-shadow: 0 2px 8px rgba(93, 109, 126, 0.4);
}
.trademark-toggle-text {
    font-weight: 600;
}
.trademark-toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.trademark-collapsible-module.expanded .trademark-toggle-icon {
    transform: rotate(180deg);
}
/* Содержимое модуля */
.trademark-collapsible-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
}
.trademark-collapsible-module.expanded .trademark-collapsible-content {
    max-height: 5000px; /* Увеличен max-height */
    opacity: 1;
    padding: 1.5rem; /* Уменьшен padding для мобильных */
}
@media (min-width: 768px) {
    .trademark-collapsible-module.expanded .trademark-collapsible-content {
        padding: 2rem 1.5rem; /* Для десктопа оставляем 2rem */
    }
}
/* Заголовки и текст */
.trademark-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2A6EBB;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(42, 110, 187, 0.2);
}
.trademark-intro {
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-size: 1.125rem;
    line-height: 1.6;
    background: rgba(42, 110, 187, 0.05);
    padding: 1.5rem;
    border-radius: 0.375rem;
    border-left: 4px solid #2A6EBB;
}
/* Иконки */
.trademark-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #2A6EBB;
    fill: none;
    stroke-width: 2;
}
.trademark-benefit-icon {
    background: rgba(42, 110, 187, 0.1);
    width: 3rem;
    height: 3rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}
/* Сетка преимуществ - ИСПРАВЛЕНО для мобильных */
.trademark-benefits-section {
    margin: 2.5rem 0;
}
.trademark-benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}
.trademark-benefits-grid {
    display: grid;
    grid-template-columns: 1fr; /* Для мобильных 1 колонка */
    gap: 1.5rem;
    width: 100%;
}
@media (min-width: 768px) {
    .trademark-benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* Для десктопа 2 колонки */
        gap: 2rem;
    }
}
/* Карточки преимуществ - ИСПРАВЛЕНО для мобильных */
.trademark-benefit-card {
    display: flex;
    flex-direction: column; /* Изменено на column для мобильных */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 240, 240, 0.8) 100%);
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    padding: 1rem; /* Уменьшен padding для мобильных */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    width: 100%; /* Гарантируем ширину 100% */
}
@media (min-width: 768px) {
    .trademark-benefit-card {
        flex-direction: row; /* Для десктопа возвращаем row */
        padding: 1.5rem;
    }
}
.trademark-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 110, 187, 0.1);
    border-color: #2A6EBB;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.9) 100%);
}
/* Контент карточек преимуществ - ИСПРАВЛЕНО */
.trademark-benefit-content {
    flex: 1;
    width: 100%; /* Гарантируем ширину 100% */
}
.trademark-benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    margin-top: 0; /* Убираем отступ сверху */
    width: 100%; /* Гарантируем ширину 100% */
}
.trademark-benefit-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    width: 100%; /* Гарантируем ширину 100% */
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Для мобильных - иконка над текстом */
@media (max-width: 767px) {
    .trademark-benefit-card {
        text-align: center;
    }
    .trademark-benefit-icon {
        margin: 0 auto 1rem auto; /* Центрируем иконку */
    }
    .trademark-benefit-content h4,
    .trademark-benefit-content p {
        text-align: center;
    }
}
/* Секция инструкций - ИСПРАВЛЕНО для мобильных */
.trademark-guidance-section {
    margin: 2.5rem 0;
    padding: 1rem; /* Уменьшен padding для мобильных */
    background: linear-gradient(135deg, rgba(42, 110, 187, 0.05) 0%, rgba(42, 110, 187, 0.02) 100%);
    border-radius: 0.375rem;
    border: 1px solid rgba(42, 110, 187, 0.1);
    text-align: left;
    box-sizing: border-box;
    width: 100%; /* Гарантируем ширину 100% */
}
@media (min-width: 768px) {
    .trademark-guidance-section {
        padding: 2rem;
    }
}
.trademark-guidance-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: left;
}
.trademark-guidance-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%; /* Гарантируем ширину 100% */
}
/* Шаги инструкций - ИСПРАВЛЕНО для мобильных */
.trademark-step {
    display: flex;
    flex-direction: column; /* Изменено на column для мобильных */
    align-items: flex-start;
    background: white;
    padding: 1.25rem; /* Уменьшен padding для мобильных */
    border-radius: 0.375rem;
    border-left: 4px solid #2A6EBB;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin-bottom:1px;
}
@media (min-width: 640px) {
    .trademark-step {
        flex-direction: row; /* Для планшетов и десктопа возвращаем row */
        align-items: flex-start;
        padding: 1.5rem;
    }
}
.trademark-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(42, 110, 187, 0.1);
}
.trademark-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #2A6EBB;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1rem; /* Отступ снизу для мобильных */
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .trademark-step-number {
        margin-bottom: 0;
        margin-right: 1.5rem; /* Отступ справа для планшетов и десктопа */
    }
}
.trademark-step-content {
    flex: 1;
    width: 100%; /* Гарантируем ширину 100% */
}
.trademark-step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: left;
    margin-top: 0; /* Убираем отступ сверху */
    width: 100%; /* Гарантируем ширину 100% */
}
.trademark-step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    width: 100%; /* Гарантируем ширину 100% */
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Секция экспертизы */
.trademark-expert-section {
    margin: 2.5rem 0 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(42, 110, 187, 0.1) 0%, rgba(42, 110, 187, 0.05) 100%);
    border-radius: 0.375rem;
    border: 1px solid rgba(42, 110, 187, 0.15);
    transition: all 0.3s ease;
    position: relative;
}
.trademark-expert-section:hover {
    background: linear-gradient(135deg, rgba(42, 110, 187, 0.15) 0%, rgba(42, 110, 187, 0.08) 100%);
    box-shadow: 0 4px 15px rgba(42, 110, 187, 0.1);
}
.trademark-expert-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.trademark-expert-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2A6EBB;
    margin-bottom: 0.8rem;
}
.trademark-expert-header p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.trademark-expert-cta {
    text-align: center;
    position: relative;
}
.trademark-expert-cta p {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    text-align: center;
}
.trademark-expert-cta p:first-child {
    color: #2A6EBB;
    font-weight: 600;
    margin-top: 0;
}
.trademark-callback-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: #2A6EBB;
    color: white;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: 2px solid transparent;
    border: none;
    font-family: inherit;
}
.trademark-callback-link:hover {
    background: #1a5cb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(42, 110, 187, 0.3);
    border-color: #2A6EBB;
}
/* Обертка для кнопки "Свернуть" - теперь в правом углу */
.trademark-collapse-wrapper {
    margin-top: 1.5rem;
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid rgba(42, 110, 187, 0.1);
}
.trademark-collapse-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: #56687c;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.trademark-collapse-btn:hover {
    background: #4d5d70;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(86, 104, 124, 0.3);
}
/* Стили для модального окна контактов */
.trademark-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.trademark-modal-content {
    background-color: #e9eaebe3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    border-radius: 12px;
    width: 85%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.trademark-close {
    color: #aaa;
    float: right;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.trademark-close:hover {
    color: #333;
}
.trademark-modal-content h3 {
    color: #2A6EBB;
    margin-top: 0;
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.3;
    padding-right: 30px;
}
.trademark-contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.trademark-contact-option {
    display: flex;
    align-items: center;
    padding: 0.9rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    line-height: 1.2;
}
.trademark-contact-option:hover {
    background: #e9f2fb;
    border-color: #2A6EBB;
    transform: translateX(5px);
}
.trademark-contact-icon {
    width: 36px;
    height: 36px;
    margin-right: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trademark-contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.trademark-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex-grow: 1;
}
/* Новые стили для меток и значений контактов */
.trademark-contact-label {
    font-weight: 600;
    color: #d35400;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    text-align: left;
}
.trademark-contact-value {
    color: #666;
    font-size: 0.85rem;
    text-align: left;
}
@media (max-width: 480px) {
    .trademark-modal-content {
        width: 90%;
        padding: 1.2rem;
    }
}
.trademark-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* или другой размер */
    height: 50px;
    flex-shrink: 0; /* предотвращает сжатие */
}

.trademark-benefit-icon img {
    width: 40px; /* Увеличьте размер иконки */
    height: 40px;
    object-fit: contain;
}
    /*Фраза любая*/
    
        .any-phrase-section {
            width: 100%;
            background: linear-gradient(135deg, rgb(255 255 255 / 0%) 0%, rgb(241 238 238 / 24%) 100%);
            padding: 35px 0 50px 0;
            transition: background 0.8s ease;
            margin-top: 40px;
        }
        
        .any-phrase-section:hover {
            background: linear-gradient(135deg, rgb(255 255 255 / 39%) 0%, rgb(241 238 238 / 46%) 100%);
        }
        
        @media (max-width: 767px) {
            .any-phrase-section {
                background: transparent !important;
                padding: 30px 0 40px 0;
            }
        }
        
        .any-phrase-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 40px;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: #2c3e50;
        }
        
        @media (max-width: 768px) {
            .any-phrase-container {
                padding: 0 20px;
            }
        }
        
        @media (max-width: 480px) {
            .any-phrase-container {
                padding: 0 15px;
            }
        }
        
        .any-phrase-content {
            text-align: center;
            padding: 30px 20px;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 20px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 10px 25px -10px rgba(37, 99, 235, 0.15);
            position: relative;
            overflow: hidden;
        }
        
        .any-phrase-content::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
            background-size: 200% 100%;
            animation: gradientMove 3s ease-in-out infinite;
        }
        
        .any-phrase-text {
            font-size: 1.8rem;
            font-weight: 900;
            color: #2c3e50;
            margin: 0;
            line-height: 1.3;
            text-transform: uppercase;
            font-style: italic;
            letter-spacing: -0.01em;
        }
        
        .any-phrase-text span {
            color: #007bff;
            position: relative;
            display: inline-block;
        }
        
        .any-phrase-text span::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #007bff, transparent);
            border-radius: 2px;
        }
        
        @keyframes gradientMove {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }
        
        @media (max-width: 1024px) {
            .any-phrase-text {
                font-size: 1.6rem;
            }
        }
        
        @media (max-width: 768px) {
            .any-phrase-content {
                padding: 25px 15px;
            }
            
            .any-phrase-text {
                font-size: 1.4rem;
            }
        }
        
        @media (max-width: 480px) {
            .any-phrase-content {
                padding: 20px 12px;
            }
            
            .any-phrase-text {
                font-size: 1.2rem;
            }
        }
/*Статьи про услуги*/
/* Дополнительные стили для программ ЭВМ (если нужно) */
.trademark-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(42, 110, 187, 0.2);
}

/* Анимация для заголовков */
.trademark-main-title {
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стиль для важных примечаний */
.important-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #FFC107;
    padding: 1rem;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    color: #666;
    line-height: 1.6;
}
/*HTML следующий*/
/*Дополнительные стили для ЭВМ и других*/
/* Дополнительные стили для программ ЭВМ (если нужно) */
/* Дополнительные стили для программ ЭВМ (если нужно) */
.trademark-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(42, 110, 187, 0.2);
}

/* Анимация для заголовков */
.trademark-main-title {
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стиль для важных примечаний */
.important-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #FFC107;
    padding: 1rem;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    color: #666;
    line-height: 1.6;
}
/*Кнопки навигации в типовых статьях*/
.service-nav-button {
    background: linear-gradient(135deg, #4d5d70ab 0%, #56687cba 100%);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 52px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-nav-button:hover {
    background: linear-gradient(135deg, #5a6b81 0%, #647890 100%);
    box-shadow: 0 2px 8px rgba(93, 109, 126, 0.4);
    transform: translateY(-2px);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .services-navigation > div {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-nav-button {
        max-width: 100% !important;
        width: 100%;
        min-width: auto;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .prev-button {
        order: 1;
    }
    
    .next-button {
        order: 2;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .service-nav-button {
        font-size: 0.9rem;
        padding: 0.8rem 0.9rem;
        min-height: 44px;
    }
    
    .service-nav-button svg {
        width: 14px;
        height: 14px;
    }
}
/*Статьи виды услуг по регистрации ТЗ*/
/* Медиазапрос для мобильных устройств */
@media (max-width: 767px) {
    .main-title-img {
        display: block !important;
        margin: 0 auto 15px auto !important;
        float: none !important;
        text-align: center;
        vertical-align: baseline !important;
    }

    .trademark-main-title {
        text-align: center;
    }

    .trademark-main-title img {
        float: none;
        margin-right: 0;
    }
}