 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        a {
  color: transparent; /* Убирает цвет текста */
  text-decoration: none; /* Убирает подчёркивание */
}

        :root {
            --bg-dark: #0a0a0a;
            --bg-card: #151515;
            --bg-hover: #1f1f1f;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --accent: #00d4ff;
            --accent-dim: #0095b3;
            --border: #2a2a2a;
            --red-price: #ff5714;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg-dark);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
            scroll-behavior: smooth;
        }

        /* Навигация */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 0;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            height: 60px;  /* Настройте высоту под ваш логотип */
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 100%;
            width: auto;
            display: block;
            filter: brightness(1);  /* При необходимости можно добавить яркость */
            transition: filter 0.3s ease;
        }

        .logo img:hover {
            filter: brightness(1.2);  /* Эффект при наведении */
        }

        .nav-links {
            display: flex;
            gap: 40px;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        /* Nav contacts block */
        .nav-contacts {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
            margin-left: 32px;
        }

        .nav-contacts__phone {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 15px;
            font-weight: 700;
            white-space: nowrap;
            letter-spacing: 0.2px;
            transition: color 0.3s ease;
        }

        .nav-contacts__phone:hover {
            color: var(--accent);
        }

        .nav-contacts__email {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 12px;
            white-space: nowrap;
            transition: color 0.3s ease;
        }

        .nav-contacts__email:hover {
            color: var(--accent);
        }

        .nav-contacts__messengers {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 2px;
        }

        .nav-contacts__messenger {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            transition: transform 0.2s ease, opacity 0.2s ease;
            opacity: 0.8;
        }

        .nav-contacts__messenger:hover {
            transform: scale(1.2);
            opacity: 1;
        }

        .nav-contacts__messenger--tg { background: #229ED9; }
        .nav-contacts__messenger--vb { background: #7360F2; }
        .nav-contacts__messenger--wa { background: #25D366; }



        .burger {
            width: 30px;
            height: 20px;
            position: relative;
            z-index: 1001;
            display: none;
            
        }

        .burger span {
            transition: all 0.1s  ease 0s  ;
        }

        .burger.active::before{
            transform: rotate(45deg);
            top: 9px;
        }
        
        .burger.active::after{
            transform: rotate(-45deg);
            bottom: 9px;
        }

        .burger.active span {
            transform: scale(0);
        }

        .burger::before,
        .burger::after {
            content: "";
            background-color: white;
            position: absolute;
            width: 100%;
            height: 2px;    
            left: 0;
            transition: all 0.1s  ease 0s  ;
        }

        .burger::before {
            top: 0;
        }

        .burger::after {
            bottom: 0;
        }

        .burger span {
            position: absolute;
            background-color: white;
            left: 0;
            width: 100%;
            height: 2px;
            top: 9px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 120px 40px 80px;
            overflow: hidden;
        }

        /* Фоновые летающие дроны */
        .background-drones {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            opacity: 0.15;
            pointer-events: none;
        }

        .bg-drone {
            position: absolute;
            width: 40px;
            height: 40px;
            opacity: 0.6;
        }

        .bg-drone::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='35' y='35' width='30' height='30' rx='5' fill='%2300d4ff'/%3E%3Cline x1='50' y1='50' x2='20' y2='20' stroke='%2300d4ff' stroke-width='2'/%3E%3Cline x1='50' y1='50' x2='80' y2='20' stroke='%2300d4ff' stroke-width='2'/%3E%3Cline x1='50' y1='50' x2='20' y2='80' stroke='%2300d4ff' stroke-width='2'/%3E%3Cline x1='50' y1='50' x2='80' y2='80' stroke='%2300d4ff' stroke-width='2'/%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='%2300d4ff' stroke-width='1' opacity='0.5'/%3E%3Ccircle cx='80' cy='20' r='8' fill='none' stroke='%2300d4ff' stroke-width='1' opacity='0.5'/%3E%3Ccircle cx='20' cy='80' r='8' fill='none' stroke='%2300d4ff' stroke-width='1' opacity='0.5'/%3E%3Ccircle cx='80' cy='80' r='8' fill='none' stroke='%2300d4ff' stroke-width='1' opacity='0.5'/%3E%3C/svg%3E") no-repeat center;
            background-size: contain;
        }

        /* Разные траектории полета для фоновых дронов */
        .bg-drone-1 {
            top: 10%;
            left: -100px;
            animation: fly-across-1 25s linear infinite;
        }

        .bg-drone-2 {
            top: 30%;
            right: -100px;
            animation: fly-across-2 30s linear infinite;
            animation-delay: 5s;
        }

        .bg-drone-3 {
            bottom: 20%;
            left: -100px;
            animation: fly-across-3 35s linear infinite;
            animation-delay: 10s;
        }

        .bg-drone-4 {
            top: 50%;
            right: -100px;
            animation: fly-across-4 28s linear infinite;
            animation-delay: 15s;
        }

        .bg-drone-5 {
            top: 70%;
            left: -100px;
            animation: fly-across-1 32s linear infinite;
            animation-delay: 20s;
        }

        .bg-drone-6 {
            top: 15%;
            right: -100px;
            animation: fly-diagonal-1 40s linear infinite;
            animation-delay: 8s;
        }

        .bg-drone-7 {
            bottom: 30%;
            left: -100px;
            animation: fly-diagonal-2 45s linear infinite;
            animation-delay: 12s;
        }

        @keyframes fly-across-1 {
            0% {
                transform: translateX(0) translateY(0);
            }
            100% {
                transform: translateX(calc(100vw + 200px)) translateY(-30px);
            }
        }

        @keyframes fly-across-2 {
            0% {
                transform: translateX(0) translateY(0);
            }
            100% {
                transform: translateX(calc(-100vw - 200px)) translateY(40px);
            }
        }

        @keyframes fly-across-3 {
            0% {
                transform: translateX(0) translateY(0) scale(0.8);
            }
            100% {
                transform: translateX(calc(100vw + 200px)) translateY(-20px) scale(0.8);
            }
        }

        @keyframes fly-across-4 {
            0% {
                transform: translateX(0) translateY(0) scale(1.2);
            }
            100% {
                transform: translateX(calc(-100vw - 200px)) translateY(30px) scale(1.2);
            }
        }

        @keyframes fly-diagonal-1 {
            0% {
                transform: translateX(0) translateY(0) rotate(15deg);
            }
            100% {
                transform: translateX(calc(-100vw - 200px)) translateY(200px) rotate(15deg);
            }
        }

        @keyframes fly-diagonal-2 {
            0% {
                transform: translateX(0) translateY(0) rotate(-10deg);
            }
            100% {
                transform: translateX(calc(100vw + 200px)) translateY(-150px) rotate(-10deg);
            }
        }

        /* Дополнительный эффект сетки на фоне */
        .grid-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: grid-move 10s linear infinite;
            pointer-events: none;
        }

        @keyframes grid-move {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(50px, 50px);
            }
        }

        .hero-content {
            max-width: 1400px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .hero-text h1 {
            font-size: clamp(36px, 5vw, 64px);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -2px;
        }

        .hero-text .accent-text {
            color: var(--accent);
        }

        .hero-text p {
            font-size: 20px;
            color: var(--text-secondary);
            margin-bottom: 40pixel;
            line-height: 1.6;
        }

        /* Визуализация дрона и антенны */
        .drone-visualization {
            position: relative;
            height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .visualization-container {
            position: relative;
            width: 100%;
            max-width: 600px;
            height: 100%;
        }

        /* Дрон с изображением */
        .drone-wrapper {
            position: absolute;
            top: 20%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            animation: float 6s ease-in-out infinite;
        }

        .drone-image {
            width: 250px;
            height: 250px;
            background: url('dron.png') no-repeat center;  /* <-- ЗДЕСЬ */
            background-size: contain;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
        }

        .drone-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* Разные изображения для каждой антенны */
        .antenna-left .antenna-image {
            background: url('skyrazor.png') no-repeat center;  /* <-- ФОТО ЛЕВОЙ АНТЕННЫ */
            background-size: contain;
            width: 230px;
            height: 155px;
            filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
        }

        .antenna-center .antenna-image {
            background: url('skyrazor.png') no-repeat center;  /* <-- ФОТО ЦЕНТРАЛЬНОЙ АНТЕННЫ */
            background-size: contain;
            width: 200px;
            height: 150px;
            filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
        }

        .antenna-right .antenna-image {
            background: url('skyrazor.png') no-repeat center;  /* <-- ФОТО ПРАВОЙ АНТЕННЫ */
            background-size: contain;
            width: 230px;
            height: 155px;
            filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
        }
        .antennas-wrapper {
            position: absolute;
            bottom: 10%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            display: flex;
            gap: 0px;  /* Расстояние между антеннами */
            align-items: center;
        }

        /* Индивидуальные позиции антенн */
        .antenna-wrapper {
            position: relative;
        }

        .antenna-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .antenna-left {
            transform: rotate(-10deg);  /* Наклон левой антенны */
        }

        .antenna-center {
            transform: scale(1.1) translateY(30%);  /* Центральная антенна чуть больше */
        }

        .antenna-right {
            transform: rotate(10deg);  /* Наклон правой антенны */
        }

        /* Сигнальные волны между дроном и антенной */
        .signal-connection {
            position: absolute;
            top: 35%;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            height: 300px;
            pointer-events: none;
        }

        .signal-line {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 2px;
            height: 150px;
            background: linear-gradient(to bottom, transparent, var(--accent), transparent);
            transform-origin: top;
            transform: translate(-50%, 0) rotate(90deg);
            opacity: 0;
            animation: signal-flow 2s ease-in-out infinite;
        }

        .wave-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid var(--accent);
            border-radius: 50%;
            opacity: 0;
            animation: wave-pulse 3s ease-out infinite;
        }

        .wave-ring:nth-child(2) {
            animation-delay: 0.5s;
        }

        .wave-ring:nth-child(3) {
            animation-delay: 1s;
        }

        .wave-ring:nth-child(4) {
            animation-delay: 1.5s;
        }

        @keyframes signal-flow {
            0%, 100% {
                opacity: 0;
                transform: translate(-50%, 0) scaleY(0);
            }
            50% {
                opacity: 1;
                transform: translate(-50%, 0) scaleY(1);
            }
        }

        @keyframes wave-pulse {
            0% {
                transform: scale(0.3);
                opacity: 0.8;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            50% {
                transform: translateX(-50%) translateY(-20px);
            }
        }

        /* Индикатор усиления сигнала */
        .signal-indicator {
            position: absolute;
            top: 50%;
            right: -150px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .signal-bars {
            display: flex;
            gap: 5px;
            align-items: flex-end;
        }

        .signal-bar {
            width: 8px;
            background: var(--accent);
            border-radius: 2px;
            animation: signal-boost 2s ease-in-out infinite;
        }

        .signal-bar:nth-child(1) {
            height: 10px;
            animation-delay: 0s;
        }

        .signal-bar:nth-child(2) {
            height: 20px;
            animation-delay: 0.2s;
        }

        .signal-bar:nth-child(3) {
            height: 30px;
            animation-delay: 0.4s;
        }

        .signal-bar:nth-child(4) {
            height: 40px;
            animation-delay: 0.6s;
        }

        .signal-bar:nth-child(5) {
            height: 50px;
            animation-delay: 0.8s;
        }

        @keyframes signal-boost {
            0%, 100% {
                opacity: 0.3;
                transform: scaleY(0.5);
            }
            50% {
                opacity: 1;
                transform: scaleY(1);
            }
        }

        .signal-label {
            font-size: 12px;
            color: var(--accent);
            font-weight: 600;
            text-transform: uppercase;
        }

        /* Кнопки */
        .btn-group {
            display: flex;
            gap: 20px;
            margin-top: 40px;
        }

        .btn {
            padding: 16px 32px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: var(--accent);
            color: var(--bg-dark);
        }

        .btn-primary:hover {
            background: var(--accent-dim);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 2px solid var(--border);
        }

        .btn-secondary:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* Секция характеристик */
        .features {
            padding: 100px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 48px;
            font-weight: 900;
            margin-bottom: 30px;
            letter-spacing: -2px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-bottom: 100px;
        }

        .feature-card {
            background: var(--bg-card);
            padding: 40px;
            border-radius: 16px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--accent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--bg-hover);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            font-size: 28px;
        }

        .feature-card h3 {
            font-size: 24px;
            margin-bottom: 16px;
            font-weight: 700;
        }

        .feature-card p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Продукти — секція */
        .products {
            padding: 80px 0;
            background: var(--bg-card);
        }

        .products-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* Зворотна сумісність — якщо mainPage.js ще рендерить у .products-grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 40px;
        }

        /* ===== CAROUSEL ===== */
        .carousel-section {
            margin-bottom: 80px;
        }

        .carousel-section:last-child {
            margin-bottom: 0;
        }

        .carousel-section .section-title {
            text-align: left;
            font-size: 36px;
            letter-spacing: -1px;
            margin-bottom: 6px;
        }

        .section-subtitle {
            color: var(--text-secondary);
            font-size: 15px;
            margin-bottom: 28px;
        }

        .carousel-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .carousel-track-container {
            overflow: hidden;
            flex: 1;
            -webkit-mask-image: linear-gradient(
                to right,
                transparent 0%,
                #000 3%,
                #000 97%,
                transparent 100%
            );
            mask-image: linear-gradient(
                to right,
                transparent 0%,
                #000 3%,
                #000 97%,
                transparent 100%
            );
        }

        .carousel-track {
            display: flex;
            align-items: stretch;
            gap: 28px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 12px 4px 20px;
        }

        .carousel-track::-webkit-scrollbar {
            display: none;
        }

        .carousel-track .product-card {
            flex: 0 0 340px;
            width: 340px;
            min-width: 340px;
        }

        .carousel-btn {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid var(--border);
            background: var(--bg-dark);
            color: var(--text-primary);
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            user-select: none;
        }

        .carousel-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(0, 212, 255, 0.08);
            transform: scale(1.1);
        }

        .carousel-btn:active {
            transform: scale(0.95);
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 8px;
        }

        .carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            border: none;
            background: var(--border);
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }

        .carousel-dot.active {
            background: var(--accent);
            width: 24px;
            border-radius: 4px;
        }

        .carousel-section + .carousel-section {
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }

        .product-card {
            background: var(--bg-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
        }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        .product-image {
            height: 280px;
            background: var(--bg-hover);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
    
        .product-image img {
            width: 90%;
            height: 90%;
            object-fit: contain;
        }

        .product-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--accent);
            color: var(--bg-dark);
            padding: 6px 12px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
        }

        .product-info {
            padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Добавьте эту строку */
        }

        .product-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .product-description {
            color: var(--text-secondary);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .product-specs {
            display: flex;
            gap: 24px;
            margin-bottom: 24px;
            justify-content: space-between;
        }

        .spec {
            display: flex;
            flex-direction: column;
        }

        .spec-label {
            font-size: 12px;
            color: var(--text-secondary);
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .spec-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .product-price {
            font-size: 32px;
            font-weight: 900;
            color: var(--accent);
            margin-bottom: 24px;
        }

        .old-price {
            font-size: 20px;
            font-weight: 900;
            text-decoration: line-through;
            color: var(--text-secondary);
            margin-bottom: 24px;
        }

        .original-price {
font-size: 32px;
            font-weight: 900;
            color: var(--red-price);
            margin-bottom: 24px;
        }

        .product-btn {
            width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Добавьте эту строку */
        }

        .product-btn:hover {
            background: var(--accent-dim);
        }

        .unavailable {
            width: 100%;
            padding: 16px;
            color: var(--red-price);
            text-align: center;
            font-size: 16px;
    font-weight: 600;
            transition: all 0.3s ease;
            margin-top: auto;
        }

        /* Footer */
        footer {
            padding: 60px 40px;
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            text-align: center;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 32px;
            list-style: none;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .copyright {
            color: var(--text-secondary);
            font-size: 14px;
        }

/* =============================================================
   АДАПТИВ — МОБІЛЬНІ ПРИСТРОЇ
   Breakpoints:
     ≤ 1024px  — планшет
     ≤  768px  — мобільний
     ≤  480px  — малий мобільний
     ≤  360px  — дрібний екран
============================================================= */

/* ── Планшет (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-links {
        gap: 24px;
    }

    .hero-content {
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-track .product-card {
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
    }
}

/* ── Мобільний (≤ 768px) ────────────────────────────────── */
@media (max-width: 768px) {

    /* --- Навігація --- */
    nav {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 16px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0;
    }

    .logo {
        height: 24px;
        order: 1;
        flex-shrink: 0;
    }

    .nav-contacts {
        order: 2;
        flex: 1;
        align-items: center;
        gap: 2px;
        margin-left: 8px;
    }

    .nav-contacts__phone {
        font-size: 13px;
    }

    .nav-contacts__email {
        display: none;
    }

    .nav-contacts__messengers {
        gap: 5px;
        margin-top: 1px;
    }

    .nav-contacts__messenger {
        width: 22px;
        height: 22px;
    }

    .nav-contacts__messenger svg {
        width: 11px;
        height: 11px;
    }

    .burger {
        order: 3;
        display: block;
        flex-shrink: 0;
    }

    .nav-links {
        z-index: 1000;
        transform: translateX(100%);
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        max-width: 280px;
        height: 100vh;
        background: var(--bg-hover);
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: 70px;
        transition: transform 0.25s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.4);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li a {
        display: block;
        width: 100%;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-links li a:hover {
        color: var(--accent);
        background: rgba(0, 212, 255, 0.05);
    }

    /* --- Hero --- */
    .hero {
        padding: 90px 16px 40px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-text h1 {
        font-size: 32px;
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 15px;
        margin-bottom: 0;
    }

    .btn-group {
        margin-top: 24px;
        gap: 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .drone-visualization {
        height: 260px;
        margin-top: 16px;
    }

    .drone-image {
        width: 130px;
        height: 130px;
    }

    .antenna-left .antenna-image {
        width: 155px;
        height: 90px;
    }

    .antenna-center .antenna-image {
        width: 130px;
        height: 85px;
    }

    .antenna-right .antenna-image {
        width: 155px;
        height: 90px;
    }

    .antennas-wrapper {
        bottom: 8%;
    }

    .signal-indicator {
        right: -30px;
    }

    /* --- Секція продуктів --- */
    .products {
        padding: 40px 0 32px;
    }

    .products-container {
        padding: 0 16px;
    }

    /* --- Каруселі на мобільних ---
       Стрілки ховаємо — залишається свайп + dots.
       Картка займає ~88% ширини з підглядом наступної.
       scroll-snap для чіткого стопу по картці.
    -------------------------------------------------- */
    .carousel-section {
        margin-bottom: 40px;
    }

    .carousel-section + .carousel-section {
        padding-top: 16px;
    }

    .carousel-section .section-title {
        font-size: 22px;
        letter-spacing: -0.3px;
        margin-bottom: 4px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    /* Приховати стрілки — на мобільному є свайп */
    .carousel-btn {
        display: none;
    }

    /* Прибрати mask-fade — на мобільному він обрізає peek */
    .carousel-track-container {
        -webkit-mask-image: none;
        mask-image: none;
        /* Від'ємний margin щоб карусель виходила за padding контейнера
           і peek наступної картки був видимий */
        margin: 0 -16px;
    }

    .carousel-track {
        gap: 12px;
        padding: 8px 16px 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-track .product-card {
        /* 88vw — основна картка, 12vw — підгляд наступної */
        flex: 0 0 calc(88vw - 12px);
        width: calc(88vw - 12px);
        min-width: unset;
        scroll-snap-align: start;
    }

    /* --- Картки товарів --- */
    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 20px 16px 16px;
    }

    .product-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 13px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .product-specs {
        gap: 12px;
        margin-bottom: 16px;
    }

    .spec-label {
        font-size: 10px;
    }

    .spec-value {
        font-size: 14px;
    }

    .product-price {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .original-price {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .old-price {
        font-size: 16px;
    }

    .product-btn {
        padding: 14px;
        font-size: 15px;
        /* Мінімальна висота touch-target */
        min-height: 48px;
    }

    /* --- Характеристики --- */
    .features {
        padding: 32px 16px;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 14px;
    }

    /* --- Контакти --- */
    .contact-section {
        padding: 32px 16px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    /* --- Footer --- */
    footer {
        padding: 24px 16px;
    }

    .footer-links {
        gap: 12px 20px;
        margin-bottom: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 13px;
    }

    .copyright {
        font-size: 11px;
    }
}

/* ── Малий мобільний (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 28px;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .drone-visualization {
        height: 230px;
    }

    .antenna-left {
        transform: translateX(15%) rotate(-10deg);
    }

    .antenna-right {
        transform: translateX(-15%) rotate(10deg);
    }

    .antenna-left .antenna-image,
    .antenna-right .antenna-image {
        width: 130px;
        height: 72px;
    }

    .antenna-center .antenna-image {
        width: 110px;
        height: 68px;
    }

    .carousel-track .product-card {
        flex: 0 0 calc(92vw - 12px);
        width: calc(92vw - 12px);
    }
}

/* ── Дрібний екран (≤ 360px) ────────────────────────────── */
@media (max-width: 360px) {

    .nav-contacts__phone {
        font-size: 11px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .drone-visualization {
        height: 200px;
    }

    .carousel-track .product-card {
        flex: 0 0 calc(95vw - 12px);
        width: calc(95vw - 12px);
    }

    .product-price,
    .original-price {
        font-size: 22px;
    }
}
