/* ===================== Медиа-запросы ===================== */

/* --- Предпочтения пользователя --- */
@media (prefers-reduced-motion: reduce) {
    .sbpbtn-too::before {
        animation: none;
        background: linear-gradient(135deg, #E2549B 0%, #ED7A30 100%);
    }
    .sbpbtn-too.pulse {
        animation: none;
    }
    .sbpbtn-too:hover {
        transform: translateY(-2px);
    }
    .sbpbtn-too:hover::after {
        transition: none;
        left: -100%;
    }
}

@media (prefers-color-scheme: dark) {
    .sbpbtn-too {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 3px 10px rgba(226, 84, 155, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    .sbpbtn-too:hover {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(226, 84, 155, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 30px rgba(226, 84, 155, 0.3);
    }
}

/* --- Ориентация и комбинированные --- */
@media (orientation: landscape) {
    .menu {
        height: 100vh;
        top: 0;
    }
    .backdrop {
        top: 0;
        height: 100vh;
    }
    .menu .close {
        display: none;
    }
    .lk {
        margin-top: 2rem;
    }
    .shop-item p {
        max-width: min(50vw, 100%);
    }
    .item-about {
        max-height: 40vh;
    }
    .form-popup>.call_form {
        width: min(588px, 100vw);
        margin: 0 auto;
    }
}

@media (orientation: landscape) and (max-width: 900px) {
    .hero-video {
        min-height: 100vh;
    }
}

@media (max-width: 800px) and (orientation: landscape) {
    .phone-section {
        top: 4px;
    }
    .phone-section br {
        display: none;
    }
}

@media (orientation: portrait) {
    .menu {
        right: -100vw;
        width: 100%;
    }
    .menu-slide-up {
        animation: slide-up-100vw .2s ease-in-out;
        right: 0;
    }
    .menu-slide-down {
        animation: slide-down-100vw .2s ease-in-out;
        right: -100vw;
    }
    .header-active {
        background: var(--pallete-black);
    }
    .for-cybersport-image {
        max-height: 262px;
    }
    .address-popup {
        width: 90vmin;
        height: 50vh;
        top: calc(50% - 25vh);
        left: calc(50% - 45vmin);
    }
    .services-phone, .services-video {
        background: #fff;
        box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
        padding: 2.5rem;
        border-radius: 5px;
    }
    .home-company-card>span {
        font-size: 2rem;
    }
    .shop-item {
        flex-direction: column;
    }
    .item-footer {
        flex-direction: column;
    }
    .shop-item img {
        max-width: 100%;
    }
    .shop-item button {
        width: 100%;
        max-width: none;
    }
    .shop-item p {
        max-width: 100%;
    }
    .requisites {
        margin-bottom: 2rem;
        font-size: 1.3rem;
        overflow-x: auto;
    }
    .requisites table td {
        padding: 12px 0;
    }
    .news-navigation {
        display: none;
    }
    .filters {
        display: flex;
    }
    .tag-filter-popup, .category-filter-popup {
        position: fixed;
        z-index: 888;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90vmin;
        top: 30%;
        left: calc(50% - 45vmin);
        box-shadow: 0 0 12px 6px rgba(0, 0, 0, .07);
        background: #fff;
        border-radius: 5px;
    }
    .tag-filter-popup--hidden, .category-filter-popup--hidden {
        display: none;
    }
    .tag-filter-popup .card__title, .category-filter-popup .card__title {
        position: relative;
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--pallete-gray-80);
        margin: 0;
    }
    .tag-filter-popup .card__text, .category-filter-popup .card__text {
        flex: 1;
        overflow-y: auto;
        width: 100%;
        padding: 0 1.5rem;
        margin: 1.5rem 0;
    }
    .tag-filter-popup .card__text p:last-child, .category-filter-popup .card__text p:last-child {
        margin-bottom: 0;
    }
    .tag-filter-popup-close, .category-filter-popup-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        padding: 0;
    }
    .license-image {
        max-width: 40%;
    }
    .docs-requisites .row {
        grid-template-columns: 1fr;
    }
    .docs-requisites-column {
        min-height: auto;
    }
    .call_form {
        padding: 2rem;
        height: auto;
        flex-direction: column;
    }
    .form__group, .form-popup>.call_form>.form__group {
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .form__group p {
        flex-direction: column;
    }
    .call_form::before, .call_form::after {
        display: none;
    }
    .form__input {
        text-align: center;
        box-shadow: 10px 20px 50px rgba(0, 0, 0, .15);
        margin-bottom: 1.5rem;
    }
    .notification-popup {
        width: 100vmin;
        left: 0;
        border-radius: 0;
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
    }
}

/* --- Min-width (Mobile First) --- */
@media (min-width: 550px) {
    .from-header { margin-top: 2rem; }
    .cards { grid-template-columns: 1fr 1fr; }
    .cards.about { grid-template-columns: 1fr 1fr; }
    .diagrams { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 750px) {
    .news { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .smart-features__grid { grid-template-columns: repeat(4, 1fr); }
    .smart-kits__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .header-phones { gap: 15px; flex-wrap: wrap; }
    .header-phones .phone { font-size: 13px; }
}

@media (min-width: 861px) {
    .sbp-modal { overflow: visible; }
    .popup-close {
        top: 10%;
        right: 25%;
        box-shadow: 0 14px 34px rgba(255, 80, 80, .35), 0 0 0 6px rgba(255, 255, 255, .12);
    }
}

@media (min-width: 1000px) {
    .lk, .from-header { margin-top: 2rem; }
    .cards { grid-template-columns: 1fr 1fr 1fr; }
    .news { grid-template-columns: 1fr 1fr 1fr; }
    .address-popup {
        width: 75vmin; height: 50vmin;
        top: calc(50% - 25vmin); left: calc(50% - 37.5vmin);
    }
    .wpcf7-form-control-wrap { flex: 2; }
}

@media (min-width: 1024px) {
    .news-swiper-prev, .news-swiper-next { top: -52px; }
    .news-swiper-prev { left: 16px; }
    .news-swiper-next { right: 16px; }
    #popup-close-button.close {
        top: -18px; right: -18px;
        box-shadow: 0 14px 34px rgba(255, 80, 80, .35), 0 0 0 6px rgba(255, 255, 255, .12);
    }
}

@media (min-width: 1150px) {
    .cards.about { grid-template-columns: 1fr 1fr; }
    .diagrams { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .header-links { gap: 1rem; }
    .header-link { padding: 6px 8px; font-size: 18px; }
}

@media (min-width: 1200px) {
    .header-links { display: flex; }
    .from-header { display: none; }
}

@media (min-width: 1300px) {
    .header-link { padding: 8px 10px; font-size: 18px; }
}

/* --- Max-width (Desktop First - Основные адаптивы) --- */
@media (max-width: 1199px) {
    .header-links { display: none; }
    .header-container { padding: 0 15px; }
}

@media (max-width: 1024px) {
    .b2b-detail-grid { gap: 4rem; }
    .b2b-detail-title { font-size: 2.8rem; }
    .b2b-section-header h2 { font-size: 3.8rem; }
    .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-grid-2 { gap: 2rem; }
    .section-title { font-size: 38px; }
    .smart-hero__title { font-size: 46px; }
    .benefits-grid, .smart-nav__grid { gap: 20px; }
    .benefit-card, .smart-nav__card { padding: 30px 20px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .tv-features-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .compact-nav { gap: 1rem; }
    .compact-link { font-size: 13px; }
    .swiper-cam-slider, .swiper-cam-slider2, .swiper-cam-slider3 { height: 300px; }
    .pr-section { padding: 5rem 0; }
    .pr-section-header h2 { font-size: 3rem; }
    .pr-grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .connection-timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .connection-timeline::before, .step-arrow { display: none; }
    .connection-cta { flex-direction: column; text-align: center; padding: 40px 30px; }
    .cta-badge { margin-top: 25px; }
    .service-card-full__content { grid-template-columns: 1fr; min-height: auto; }
    .service-card-full__text { padding: 40px 30px; order: 2; }
    .service-card-full__image { min-height: 300px; order: 1; border-radius: 24px 24px 0 0 !important; }
    .service-card-full:nth-child(even) .service-card-full__content { direction: ltr; }
    .service-card-video, .service-card-bg { border-radius: 24px 24px 0 0 !important; }
}

@media (max-width: 900px) {
    .contact-cta-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .section-title { font-size: 36px; }
    .smart-hero__title { font-size: 42px; }
    .smart-hero__subtitle { font-size: 17px; }
    .smart-detail__title { font-size: 36px; }
    .smart-detail__sub { font-size: 18px; }
    .smart-detail__content p, .smart-detail__content li { font-size: 15px; }
}

@media (max-width: 860px) {
    .sbp-form { grid-template-columns: 1fr; }
    .sbp-disclaimer { margin-top: 2px; }
}

@media (max-width: 800px) {
    .phone-section .row .phone { margin-left: 2.5rem; font-size: 1rem; }
    .phone-section br { display: block; }
    main, .content, #content { padding-top: 140px; }
}

@media (max-width: 768px) {
	.header{ position:fixed; padding-bottom:10px;}
	.b2b-header{padding-bottom:10px;}
    .b2b-section { padding: 0 0 3rem 0; }
    .b2b-section-header h2 { font-size: 3.2rem; }
    .b2b-detail-grid { grid-template-columns: 1fr; gap: 4rem; }
    .b2b-detail-grid-reverse { direction: ltr; }
    .b2b-detail-content { padding-right: 0; order: 2; }
    .b2b-detail-image { order: 1; }
    .b2b-detail-image::before { display: none; }
    .b2b-feature-list li { font-size: 1.6rem; }
    .b2b-hero-title { font-size: 3rem; }
    .b2b-hero-button { padding: 1.5rem 3rem; font-size: 1.6rem; width: 100%; text-align: center; }
    .b2b-advantages-title { font-size: 3.2rem; }
    .b2b-advantages-grid { grid-template-columns: 1fr; gap: 2rem; }
    .b2b-services-grid { grid-template-columns: 1fr; }
    .b2b-advantages-section { margin: 0; }
    .b2b-divider { margin: 3rem 0; width: 80%; }
    .b2b-section:last-of-type { padding-bottom: 0; }
	.phone-label-b2b {color:#fff;}
	.phone-number-b2b {color:#fff;}
	.header-row-b2b {justify-content:space-around;}

 
	
	
	
	
    .ab-section { padding: 4rem 0; }
    .ab-section-header h2 { font-size: 2.8rem; }
    .ab-hero-title { font-size: 32px; }
    .ab-hero-description { font-size: 1.5rem; }
    .ab-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .ab-stat-number { font-size: 3rem; }
    .ab-grid-2 { grid-template-columns: 1fr; }
    .ab-cta-title { font-size: 2.2rem; }
    .ab-cta-button { padding: 1.2rem 2.5rem; font-size: 1.4rem; width: 100%; }
	.app-compact{ flex-wrap:nowrap; }
	.ab-advantage-card p{ font-size:15px;}
	.ab-section-subhead {font-size:1.5rem;}
    
    body { font-size: 16px; overflow-x: hidden; width: 100%; position: relative; }
    p { font-size: 15px; line-height: 1.5; }
    .section-title { font-size: 32px; margin-bottom: 15px; }
    .smart-hero__title { font-size: 38px; line-height: 1.2; }
    .smart-hero__subtitle { font-size: 16px; line-height: 1.5; }
    .smart-detail__title { font-size: 32px; }
    .smart-detail__sub { font-size: 18px; margin-bottom: 15px; }
    .smart-detail__content h4 { font-size: 18px; margin: 25px 0 15px; }
    .smart-detail__content p, .smart-detail__content li { font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
    .consult-title { font-size: 28px; }
    .consult-text { font-size: 15px; }
    .benefit-card { padding: 30px 20px; }
    .benefit-title { font-size: 20px; margin-bottom: 10px; }
    .benefit-description { font-size: 14px; line-height: 1.5; }
    .smart-nav__card { padding: 30px 20px; }
    .smart-nav__card h3 { font-size: 20px; margin-bottom: 10px; }
    .smart-nav__card p { font-size: 14px; line-height: 1.5; }
    .smart-nav__link { font-size: 15px; }
    .smart-app__desc { font-size: 15px; line-height: 1.6; margin: 20px 0; }
    .smart-app__list li { font-size: 16px; padding: 8px 0 8px 30px; }
    .smart-app__list li::before { width: 20px; height: 20px; font-size: 12px; }
    .smart-app__note { font-size: 14px; padding: 15px 20px; margin: 20px 0; }
    .smart-app__cta-text { font-size: 16px; }
    .qr-card p { font-size: 14px; }
    .compare-feature { font-size: 16px; }
    .compare-brand, .compare-other { font-size: 14px; }
    .faq-question .question-text { font-size: 15px; }
    .answer-content p { font-size: 14px; }
    .stat-badge { font-size: 13px; padding: 6px 12px; }
    .smart-feature__item span:last-child { font-size: 13px; }
    .smart-kit__card h5 { font-size: 16px; }
    .smart-kit__card p { font-size: 13px; }
    .smart-kit__price { font-size: 15px; }
    .step-title { font-size: 18px; }
    .step-description { font-size: 13px; }
    .option-badge { font-size: 12px; padding: 6px 12px; }
    .cta-text { font-size: 20px; }
    .equipment-hero-title { font-size: 32px; }
    .equipment-hero-subtitle { font-size: 16px; }
    .equipment-title { font-size: 18px; }
    .feature-text { font-size: 13px; }
    .equipment-price { font-size: 22px; }
    .cta-title { font-size: 28px; }
    .footer-col-title { font-size: 15px; text-align: left; position: relative; }
    .footer-col-title::after { content: ''; position: absolute; left: 0; top: 21px; width: 40px; height: 2px; background: var(--ab-primary); opacity: 0.5; }
    .contact-link, .footer-nav-link, .bottom-link { font-size: 15px; }
    .copyright p { font-size: 12px; }
    .section { padding: 0 0 35px 0; }
    .section_telefony { margin-bottom: 0; }
    .section-subtitle { font-size: 16px; padding: 0 20px; }
    .header-with-icon { font-size: 28px; margin: 0; margin-top: 10px; }
    .connection-steps-section .section-subtitle { margin-bottom: 20px; font-size:16px; }
    .step-content h3 { font-size: 1.9rem; margin-bottom: 10px; }
    .step-content p { font-size: 1.6rem; }
    .connection-steps-section { padding: 0; margin: 0 0 20px 0; }
    .connection-timeline { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 40px; }
    #widget-reviews { max-height: 455px; }
    .smart-hero { padding: 100px 0 60px; }
    .smart-hero__grid, .smart-app__grid, .smart-detail__grid { grid-template-columns: 1fr; gap: 40px; }
    .smart-hero__content { text-align: center; order: 2; }
    .smart-hero__subtitle { margin-left: auto; margin-right: auto; }
    .smart-hero__image { order: 1; }
    .benefits-grid, .smart-nav__grid, .tech-grid, .tv-features-grid { grid-template-columns: 1fr; gap: 20px; }
    .benefit-card, .smart-nav__card { max-width: 400px; margin: 0 auto; }
    .smart-app__content { padding-right: 0; order: 1; }
	.smart-app__qr{ order:2;}
    .tech-info-section { padding: 0 0 40px 0; }
    .qr-card { order: 1; margin-bottom: 0px; }
    .compare-header { display: none; }
    .compare-row { grid-template-columns: 1fr; gap: 10px; padding: 20px; background: #f8f9fa; border-radius: 20px; }
    .compare-feature { font-size: 18px; margin-bottom: 10px; }
    .compare-brand, .compare-other { padding-left: 25px; }
    .smart-detail__content { padding-right: 0; order: 2; }
    .smart-detail__image { order: 1; display: none; gap: 15px; }
    .steps-timeline { flex-direction: column; gap: 20px; }
    .steps-timeline::before { display: none; }
    .step-item { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
    .step-number-wrapper { margin-bottom: 0; }
    .step-number { width: 60px; height: 60px; font-size: 28px; }
    .steps-cta { padding: 30px 20px; margin-bottom: 20px; }
    .tv-feature-card { height: 320px; }
    .tv-feature-card .feature-icon { width: 80px; height: 80px; }
    .tv-feature-card .feature-icon img { width: 40px; height: 40px; }
    .tv-feature-card .feature-title { font-size: 20px; }
    .channel-tv-grid { gap: 10px; }
    .channel-tv-card { height: 90px; }
    .faq-section { padding: 0 0 40px 0; }
    .contact-cta-section { padding: 0 0 40px 0; }
    .form-box { max-width: 100%; padding: 0; }
    .faq-question { padding: 20px; }
    .question-text { font-size: 16px; }
    .answer-content { padding: 0 20px 20px 20px; }
    .support-contacts { flex-direction: column; gap: 10px; }
    .support-phone { justify-content: center; }
    .prompt-input-group { flex-direction: column; }
    .prompt-btn { width: 100%; }
    .equipment-hero-title { font-size: 36px; }
    .equipment-hero-subtitle { font-size: 16px; padding: 0 20px; }
    .category-tabs { gap: 10px; }
    .category-tab { padding: 10px 20px; font-size: 14px; }
    .equipment-grid { grid-template-columns: 1fr; gap: 20px; }
    .equipment-card { height: 500px; }
    .equipment-image { width: 150px; height: 150px; }
    .equipment-price { font-size: 20px; }
    .footer-main { padding: 20px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    .back-to-top svg { width: 28px; height: 28px; }
    .swiper-container { height: auto; }
    .swiper-cam-slider { height: 300px; width: 100%; margin: 0 auto; }
    .swiper-cam-slider .swiper-slide { width: 280px !important; height: 100%; }
    .swiper-cam-slider .swiper-slide img { border-radius: 12px; }
    .swiper-app-slider { max-width: 100%; margin: 0 auto; }
    .swiper-app-slider .swiper-slide { width: 100%; }
    .swiper-app-slider .swiper-slide img { max-height: 300px; object-fit: contain; }
    .akcii-slider { height: 250px; }
    .section_service_internet_akcii { display: none; }
    .consult-card { padding: 40px 30px; border-radius: 40px; }
    .consult-title { font-size: 32px; }
    .compact-nav { display: none; }
    .compact-logo-mini { position: static; margin: 0 auto; }
    .compact-header-row { justify-content: center; }
    #compactHeader, .compact-header { display: none !important; }
    .benefits-section { padding: 0 0 40px 0; }
    .section-header { margin-bottom: 40px; }
    .container, .smart-detail__grid, .smart-detail__image { max-width: 100%; overflow-x: hidden; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
	.contact-row {flex-direction:row; align-items:center;}
	.cont-title {font-size:32px;}
    .smart-detail__note { padding: 20px; margin: 20px 0; border-radius: 16px; border-left-width: 3px; }
    .smart-detail__note p { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
    .smart-detail__note p:last-child { margin-bottom: 0; }
    .smart-detail__note a { font-size: 14px; }
    .smart-detail__note .call-button { margin-top: 15px !important; width: 100%; text-align: center; }
    .swiper-cam-slider, .swiper-cam-slider2, .swiper-cam-slider3 { height: 250px; border-radius: 20px; }
    
    .popup-two-columns { gap: 0; }
    .popup-left, .popup-right { flex: auto; width: 100%; padding: 0; }
    .popup-two-columns-services .popup-left { order: 2; }
    .popup-two-columns-services .popup-right { order: 1; }
    #popup-business .popup-left .popup-title { display: none; }
    .popup-title-mobile { display: block; margin: 0; }
    .pum-container.popup-container, .popup-container, .pum-content, .pum-container { scrollbar-width: none !important; -ms-overflow-style: none !important; overflow-y: auto !important; }
    .pum-container.popup-container::-webkit-scrollbar, .popup-container::-webkit-scrollbar, .pum-content::-webkit-scrollbar, .pum-container::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
    .pum-overlay { overflow: hidden !important; }
    #popup-business .pum-close-mobile { display: flex !important; position: fixed; top: 30px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: #8084b0; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
/*     #popup-business .pum-close, #popup-tariffs .pum-close, .pum-theme-8 .pum-content+.pum-close, .pum-theme-lightbox .pum-content+.pum-close { display: none !important; } */
    #popup-tariffs .pum-close-mobile { display: flex !important; position: fixed; top: 25px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: red; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;}
    #popup-multi .pum-close-mobile { display: flex !important; position: fixed; top: 25px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: red; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center;-webkit-tap-highlight-color: transparent; }
	 #popup-ktv .pum-close-mobile { display: flex !important; position: fixed; top: 25px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: red; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;}
	 #popup-support .pum-close-mobile { display: flex !important; position: fixed; top: 25px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: red; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;}
	 #popup-smart .pum-close-mobile { display: flex !important; position: fixed; top: 25px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: red; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;}
	 #popup-ipphone .pum-close-mobile { display: flex !important; position: fixed; top: 25px; right: 20px; width: 32px; height: 32px; padding: 0; margin: 0; background: transparent; border: none; color: red; font-size: 45px; line-height: 1; cursor: pointer; z-index: 9999; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;}
    
    .pr-first-section-grid, .pr-two-section-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .pr-first-section-grid .pr-card-wide:first-child,
    .pr-first-section-grid .pr-card-small:nth-child(2),
    .pr-first-section-grid .pr-card-wide:nth-child(3),
    .pr-first-section-grid .pr-card-small:nth-child(4),
    .pr-two-section-grid .pr-card-wide:first-child,
    .pr-two-section-grid .pr-card-small:nth-child(2),
    .pr-two-section-grid .pr-card-wide:nth-child(3),
    .pr-two-section-grid .pr-card-small:nth-child(4) { grid-column: auto !important; grid-row: auto !important; }
    .pr-grid-2, .pr-grid-3, .pr-grid-4 { grid-template-columns: 1fr; gap: 2rem; }
    .pr-hero-button, .pr-cta-button { width: 100%; padding: 1.4rem 2.2rem; font-size: 1.45rem; }
    .pr-card, .pr-advantage-card, .pr-first-section-grid .pr-card { -webkit-transform: translateZ(0); transform: translateZ(0); overflow-x: hidden !important; }
    html, body { overflow-x: hidden !important; }
    .pr-container, .pr-first-section-grid, .pr-grid-2, .pr-grid-3, .pr-grid-4 { overflow-x: hidden !important; width: 100% !important; }
    .file-upload-area { flex-direction: column; align-items: stretch; }
    .file-name { max-width: 150px; }
    .menu-button { display: flex !important; }
    .header-links { display: none !important; }
    
    .faq-question { padding: 16px 12px; gap: 10px !important; flex-wrap: nowrap !important; white-space: pre-wrap; max-height: 60px; }
    .question-text { font-size: 15px !important; line-height: 1.3 !important; word-break: break-word !important; overflow-wrap: break-word !important; hyphens: auto !important; flex: 1 !important; min-width: 0 !important; max-width: 100% !important; padding-right: 5px !important; }
    .question-icon { flex-shrink: 0 !important; width: 28px !important; height: 28px !important; margin-top: 2px !important; }
    .faq-item { border-radius: 16px !important; overflow: hidden !important; }
    .faq-answer .answer-content { padding: 0 15px 20px 15px !important; }
    .answer-content p { font-size: 14px !important; line-height: 1.5 !important; word-break: break-word !important; overflow-wrap: break-word !important; }
    .fix_margin { margin: 0; }
    .card__title { font-size: 30px; }
    .advantages-grid { margin-top: 0; }
	
	.header-right-actions{
		display:flex;
		gap:10px;
	}
	
	    .tariff-annotation {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 12px;
        margin: 0;
    }
	
	.advantage-text{
		font-size:16px;
	}
	
	.header-logo-mobile {
    width: 100px; /* Уменьшаем ширину */
    display: block;
}
	.header-bottom {
		padding:0 10px 0 10px;
	}
	
	

.header-logo-mobile svg {
    width: 100%;
    height: auto;
}
	
 .header-mobile-actions .sbpbtn-too {
        --color1: transparent;
        --color2: transparent;
        --color3: transparent;
        
        color: #FFF !important;
        width: 45px !important;
        height: 45px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: none !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        transform: none !important;
        animation: none !important;
        transition: all 0.3s ease !important;
        overflow: hidden;
    }
    
    /* Убираем псевдоэлементы, если они есть */
    .header-mobile-actions .sbpbtn-too::before,
    .header-mobile-actions .sbpbtn-too::after {
        display: none !important;
    }
	
#qr-code-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex-direction: column;
}

	
.sbp-qr {
        flex-direction: column;
        height: auto;
        min-height: fit-content;
    }
	
	
	
	 
    .tariff-button, .package-button, .cta-button, .news-card__btn, .call-button_lk, .form-popup .wpcf7-submit, .sbp-btn-form {
        justify-self: center;
    }

	
	    .popup-close {
        top: 90px;
        right: 10px;
        padding: 0;
    }
}




@media (max-width: 600px) {
    .input-wrapper { flex-direction: column; }
    #addressInput { width: 100%; font-size: 18px; padding: 20px 15px; }
    #checkBtn { width: 100%; }
    .address-checker-simple { padding: 20px; }
    .result-simple { padding: 15px; }
    .result-icon { font-size: 48px; }
    .status-available, .status-taken { font-size: 18px; }
    .contact-cta-wrapper { padding: 30px; border-radius: 40px; }
    .contact-title { font-size: 36px; }
    .contact-info-card { flex-direction: column; align-items: center; text-align: center; }
    .card-content { text-align: center; }
    .cta-primary-btn { width: 100%; }
}

@media (max-width: 520px) {
    .sbp-modal { width: min(94vw, 720px); margin: 4vh auto; }
/*     .popup-close { top: 10px; right: 10px; } */
/*     .sbp-qr { min-height: 150px; } */
    .form-popup .call_form { margin: 4vh auto; padding: 18px; }
    #popup-close-button.close { top: 10px; right: 10px; }
}

@media (max-width: 480px) {
    .tariff-button { padding: 13px 16px; font-size: 14px; }
    .price-amount { font-size: 28px; }
    .price-period { font-size: 13px; }
    .tv-features-grid { gap: 20px; padding: 0 10px; }
    .tv-feature-card { height: 220px; }
    .card-front, .card-back { padding: 20px 15px; }
    .feature-icon { width: 50px; height: 50px; }
    .feature-title { font-size: 16px; }
    .feature-badge { font-size: 10px; padding: 4px 10px; }
    .card-back p { font-size: 16px; }
    .stat { font-size: 10px; padding: 4px 8px; }
    .footer-grid { grid-template-columns: 1fr; }
    .social-links { gap: 10px; }
    .social-link { width: 40px; height: 40px; }
    .news-card__excerpt { -webkit-line-clamp: 2; }
    .services-cards-section { padding: 40px 0; }
    .services-cards-stack { gap: 25px; }
    .service-card-full__text { padding: 25px 20px; }
    .service-card-full__text h2 { font-size: 24px; }
    .service-card-full__text p { font-size: 14px; }
    .service-card-full__text .tariff-button { width: 100%; min-width: auto; }
    .service-card-full__image { min-height: 200px; }
    .service-card-full { box-shadow: 0 2px 15px rgba(0, 0, 0, .06), 0 1px 5px rgba(255, 51, 102, .04); }
    .service-card-full:hover { box-shadow: 0 6px 25px rgba(0, 0, 0, .1), 0 3px 12px rgba(255, 51, 102, .12); }
    .tariff-button, .package-button, .cta-button, .news-card__btn, .call-button_lk, .form-popup .wpcf7-submit, .sbp-btn-form { padding: 14px 24px; font-size: 15px; }
    .cta-button { padding: 16px 32px; font-size: 16px; }
    .call-button { padding: 14px 24px; font-size: 15px; }
    .call-button-lubnet { padding: 14px 24px; font-size: 15px; }
    .header-logo { width: 100px; }
    .header-container { padding: 0; }
    .connection-steps-section { padding: 0; }
    .connection-cta { padding: 30px 20px; }
    .cta-content h3 { font-size: 1.5rem; }
    .step-content h3 { font-size: 1.9rem; }
    .step-content p { font-size: 1.6rem; }
    .sbpbtn-too { padding: 12px 24px; font-size: 14px; gap: 10px; }
    .sbpbtn-too .sbp-icon { width: 20px; height: 20px; }
    .sbpbtn-too.large { padding: 16px 32px; }
    .sbpbtn-too.small { padding: 10px 20px; font-size: 13px; }
    .channels-grid { grid-template-columns: 1fr; }
    .hero-video h1 { font-size: 4rem; }
    .package-card { min-height: 300px; }
    
    .b2b-section-header h2 { font-size: 2.4rem; }
    .b2b-detail-title { font-size: 2.2rem; }
    .b2b-cta-button { width: 100%; text-align: center; padding: 1.4rem 2rem; }
    .b2b-hero-list { font-size: 1.6rem; }
    .b2b-hero-list li { padding-left: 2.5rem; }
    .b2b-cta-title { font-size: 2.4rem; }
    .b2b-cta-description { font-size: 1.6rem; }
    .b2b-service-card { padding: 2.5rem 2rem; }
    .ab-section-header h2 { font-size: 2.2rem; }
    .ab-section-dot { font-size: 3rem; }
    .ab-stats-grid { grid-template-columns: 1fr; }
    .ab-service-title { font-size: 1.6rem; }
    .ab-advantage-card h3 { font-size: 1.6rem; }
    body { font-size: 16px; }
    p { font-size: 16px; }
    .section-title { font-size: 32px; }
    .smart-hero__title { font-size: 32px; }
    .smart-hero__subtitle { font-size: 16px; }
    .smart-detail__title { font-size: 28px; }
    .smart-detail__sub { font-size: 16px; }
    .smart-detail__content p, .smart-detail__content li { font-size: 15px; }
    .smart-detail__content h4 { font-size: 18px; }
    .consult-title { font-size: 24px; }
    .consult-text { font-size: 16px; }
    .benefit-title { font-size: 18px; }
    .benefit-description { font-size: 13px; }
    .smart-nav__card h3 { font-size: 18px; }
    .smart-nav__card p { font-size: 13px; }
    .smart-app__desc { font-size: 14px; }
    .smart-app__list li { font-size: 15px; }
    .faq-question .question-text { font-size: 14px; }
    .support-phone { font-size: 14px; padding: 8px 15px; }
    .step-title { font-size: 16px; }
    .equipment-hero-title { font-size: 28px; }
    .equipment-price { font-size: 20px; }
    .title-dot { font-size: 40px; }
    .smart-hero__title .title-dot { font-size: 48px; }
    .benefit-title, .smart-nav__card h3 { font-size: 20px; }
    .benefit-description, .smart-nav__card p { font-size: 16px; }
    .qr-card { padding: 30px 20px; }
    .qr-code { width: 180px; height: 180px; }
    .compare-item { padding: 20px; }
    .smart-detail__title .title-dot { font-size: 38px; }
    .smart-detail__sub { font-size: 18px; }
    .smart-feature__item { padding: 12px 8px; }
    .smart-feature__icon { font-size: 24px; }
    .smart-kit__card { padding: 20px 15px; }
    .smart-kit__icon { font-size: 30px; }
    .smart-kit__card h5 { font-size: 16px; }
    .step-item { flex-direction: column; align-items: center; text-align: center; }
    .step-options { justify-content: center; }
    .option-badge { padding: 6px 12px; font-size: 12px; }
    .tv-feature-card { height: 300px; }
    .tv-feature-card .feature-icon { width: 70px; height: 70px; margin-bottom: 15px; }
    .tv-feature-card .feature-icon img { width: 35px; height: 35px; }
    .tv-feature-card .feature-title { font-size: 18px; }
    .tv-feature-card .card-back p { font-size: 16px; -webkit-line-clamp: 3; }
    .channel-tv-card { height: 80px; }
    .faq-section .section-title { font-size: 30px; }
    .faq-question { padding: 15px; }
    .question-text { font-size: 15px; }
    .question-icon { width: 28px; height: 28px; }
    .icon-plus, .icon-minus { width: 16px; height: 16px; }
    .stat-badge { width: 100%; text-align: center; }
    .faq-section .support-phone { width: 100%; justify-content: center; }
    .faq-section .faq-cta-btn { width: 100%; }
    .faq-section .prompt-input, .faq-section .prompt-btn { width: 100%; }
    .equipment-hero-title { font-size: 30px; }
    .category-tab { width: 100%; text-align: center; }
    .equipment-card { height: 550px; }
    .equipment-image { width: 130px; height: 130px; }
    .equipment-footer { flex-direction: column; gap: 15px; }
    .equipment-order-btn { width: 100%; }
    .cta-card { padding: 40px 20px; }
    .footer-bottom-links { flex-direction: column; gap: 10px; }
    .social-links { justify-content: flex-start; }
    .contact-label { text-align: justify; }
    .contact-list { align-items: flex-start; }
    .consult-card { padding: 30px 20px; }
    .consult-title { font-size: 28px; }
    .consult-form input, .consult-form .call-button { padding: 14px 20px; }
    .back-to-top svg { width: 36px; height: 36px; }
    .swiper-cam-slider { height: 200px; }
    .swiper-cam-slider .swiper-slide { width: 160px; }
    .smart-detail__image { display: none; }
    .smart-detail__note { padding: 15px; margin: 15px 0; border-radius: 14px; border-left-width: 3px; }
    .smart-detail__note p { font-size: 13px; line-height: 1.4; }
    .smart-detail__note strong { font-size: 14px; display: block; margin-bottom: 5px; }
    .smart-detail__note a { font-size: 13px; word-break: break-word; }
    .swiper-cam-slider, .swiper-cam-slider2, .swiper-cam-slider3 { height: 200px; border-radius: 16px; }
    .form-box { max-width: 100%; padding: 0 20px; }
    .form-group-too p { flex-direction: column; gap: 10px; }
    .form-group-too .form__input { width: 100%; }
    .form-box .form__input { font-size: 16px; }
	    .pr-section {
			padding: 10px 0 25px 0;}
	    .pr-section-header h2 {
        font-size: 2.4rem;
    }
	
	
}

@media (max-width: 380px) {
    .header-phone-mobile { left: 120px; }
    .phone-number { font-size: 13px; }
    .phone-icon { width: 16px; height: 16px; }
    .question-text { font-size: 14px !important; line-height: 1.2 !important; }
    .faq-question { padding: 12px 10px !important; }
}

@media (max-width: 375px) {
    .section-title { font-size: 30px; }
    .title-dot { font-size: 36px; }
    .smart-hero__title { font-size: 34px; }
    .smart-hero__title .title-dot { font-size: 42px; }
    .benefit-card, .smart-nav__card { padding: 25px 15px; }
    .qr-code { width: 160px; height: 160px; }
    .smart-detail__title { font-size: 28px; }
    .consult-title { font-size: 24px; }
}

@media (max-width: 360px) {
    body { font-size: 14px; }
    .section-title { font-size: 24px; }
    .smart-hero__title { font-size: 28px; }
    .smart-detail__title { font-size: 24px; }
    .consult-title { font-size: 22px; }
    .benefit-title { font-size: 16px; }
    .smart-nav__card h3 { font-size: 16px; }
    .smart-detail__image { display: none; }
    .smart-detail__note { padding: 12px; }
    .smart-detail__note p { font-size: 12px; }
}

@media (max-width: 320px) {
    .section-title { font-size: 28px; }
    .title-dot { font-size: 34px; }
    .smart-hero__title { font-size: 30px; }
    .smart-hero__title .title-dot { font-size: 36px; }
    .container { padding: 0 15px; }
    .back-to-top svg { width: 32px; height: 32px; }
}