
:root{
          --primary-dark: #2f3a3f;
          --accent-red:   #c62828;
          --accent-blue:  #1E90FF;
          --muted:        #f5f5f5;
    }

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    min-height: 100vh;
    margin: 0;
}

.card_header {
        background-color:var(--primary-dark);
        border-radius: 0px; /* Более скругленные углы */
        text-align: center;
        /*font-size: 2.5em; /* Больше размер текста */
        /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); Более выраженная тень */
        transition: all 0.3s ease; /* Плавная анимация */
        width: 100%; /* Минимальная ширина карточки */

}
.top-bar{
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 6px;
    /* margin-left: 10%;
    margin-right: 10%;  */

}   
.top-bar .container{
    display:flex; 
    justify-content:space-between; 
    align-items:center; 
    gap:12px;
}
.top-bar .left, .top-bar .right{
    display:flex; 
    gap:2px; 
    align-items:center;

}
.top-bar a{
    color: #fff; 
    text-decoration:none; 

    opacity:0.9
}

       /* Navbar */
        .main-nav{
            /* border-bottom: 10px solid var(--accent-red); */
            background: var(--primary-dark);           
            padding: 10px;
        }
        
        @media (min-width: 720px) {
            .main-nav .container{
                display:flex; 
                /* justify-content:space-around;  */
                justify-content:space-between; 
                align-items:center; 
                gap:12px;
                border-bottom: 10px solid var(--accent-red);
            }
            .navbar-brand img{
                height: 100px; 
            }
            .navbar-brand .brand-text{
            color:#fff; 
            font-weight:700; 
            letter-spacing:0.4px}
            .nav-link {
                display: inline-block;
                padding: 12px 24px;
                background: linear-gradient(135deg, var(--primary-dark) 0%,  var(--primary-dark) 100%);
                color: white !important;
                text-decoration: none;
                border-radius: 8px;
                font-weight: 500;
                text-align: center;
                transition: all 0.3s ease;
                border: none;
                cursor: pointer;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                position: relative;
                overflow: hidden;
                width: 102px;
            }
            .nav-link:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
                background: linear-gradient(135deg, #555 0%, #555 100%);
            }

            .nav-link:active {
                transform: translateY(0);
            }
        }
        @media (max-width: 719px) {
            .main-nav .container{
                display:inline-block; 
                /* justify-content:space-around;  */
                /* justify-content:space-between;  */
                align-items:center; 
                gap:12px;
                border-bottom: 10px solid var(--accent-red);
            }
            .navbar-brand img{
                height: 100px; 
            }
            .navbar-brand .brand-text{
            color:#fff; 
            font-weight:700; 
            letter-spacing:0.4px}
            .nav-link {
                display: inline-block;
                padding: 12px 24px;
                background: linear-gradient(135deg, var(--primary-dark) 0%,  var(--primary-dark) 100%);
                color: white !important;
                text-decoration: none;
                border-radius: 8px;
                font-weight: 500;
                text-align: center;
                transition: all 0.3s ease;
                border: none;
                cursor: pointer;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                position: relative;
                overflow: hidden;
                width: 102px;
            }
            .nav-link:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
                background: linear-gradient(135deg, #555 0%, #555 100%);
            }

            .nav-link:active {
                transform: translateY(0);
            }
        }
        
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 200px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 4px;
            margin-left: 10%;
            margin-right: 100%;
            z-index: 1000;
            border-bottom: 5px solid var(--accent-red);
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        }

        .dropdown-item {
            display: block;
            padding: 8px 16px;
            text-decoration: none;
            color: #333;
            border-bottom: 1px solid #eee;
        }

        .dropdown-item:hover {
            background: #f8f9fa;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-toggle::after {
            content: " ▼ ";
            font-size: 0.8em;
            display: inline-block;   /* ← обязательно */
            transition: transform 0.3s ease; /* Плавный поворот */
        }
        /* При наведении на кнопку поворачиваем стрелку */
        .dropdown-toggle:hover::after {
            transform: rotate(180deg);
        }



h1 {
        color: #333;
        bottom: -20px;
    }

.zagolovok {
        text-align: center;
        margin-top: 50px;
        text-shadow: 2px 2px 4px #888888;
        color: #333;
        font-family: 'Noto Naskh Arabic', sans-serif;
}



    /* Footer */
    footer.site-footer {
        background: var(--primary-dark);
        color: #fff;
        padding: 10px 0;
        margin-top: auto; /* Фиксирует футер внизу страницы */
        width: 100%;
    }
    footer .container {
        display: flex;
        justify-content: space-between; /* Распределяет блоки по краям */
        align-items: center; /* Выравнивает вертикально по центру */
        padding: 6px;
    }
    footer a{ 
        color: #fff; 
        text-decoration:none; 
        opacity:0.9 
    }
    footer .small{ 
        opacity:0.8; 
        font-size:0.9rem 
    }

         /* Сетка из 4 колонок */
        .cards-grid {
            display: grid;
            gap: 25px;
            margin: 20px;
            justify-content: center;
        }

        /* Для широких экранов - 4 элемента в строку */
        @media (min-width: 1024px) {
            .cards-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .card {
                background-color:rgba(49, 46, 46, 0.1);
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
                transition: all 0.3s ease;
                display: flex;
                flex-direction: column;            
                min-height: 350px;
                max-width: 350px;
                /* height: 100%;
                min-width: 300px; */
            }
        }

        /* Для маленьких экранов - 2x2 (два сверху, два снизу) */
        @media (min-width: 720px) and (max-width: 1023px) {
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .card {
                background-color:rgba(49, 46, 46, 0.1);
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
                transition: all 0.3s ease;
                display: flex;
                flex-direction: column;            
                height: 100%;
                max-width: 350px;
            }
        }
        /* Для мобильных - 1 колонка */
        @media (max-width: 719px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }

            .card {
                background-color:rgba(49, 46, 46, 0.1);
                border-radius: 12px;
                overflow: hidden;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
                transition: all 0.3s ease;
                display: flex;
                flex-direction: column;            
                height: 100%;
                max-width: 350px;
            }
        }

        

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .card-image {
            height: 180px;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-image img {
            width:100%;
            height: 100%;
            object-fit: fill;
            transition: transform 0.5s ease;
        }

        .card:hover .card-image img {
            transform: scale(1.05);
        }

        .card-screen-link {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: white;
            padding: 12px 20px;
            text-align: center;
            font-weight: 600;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .card-screen-link i {
            font-size: 14px;
        }

        .card-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .card-title {
            font-size: 18px;
            margin-bottom: 12px;
            color: #2c3e50;
            font-weight: 700;
            line-height: 1.3;
            text-align:center; 
            min-height: 100px;
        }

        .card-text {
            color: #555;
            line-height: 1.5;
            margin-bottom: 15px;
            font-size: 14px;
            flex-grow: 1;
            text-align:center; 
        }

        .card-features {
            margin: 15px 0;
            padding-left: 18px;
            font-size: 12px;
        }

        .card-features li {
            margin-bottom: 8px;
            color: #555;
            position: relative;
        }

        .card-features li:before {
            content: '✓';
            color: #3498db;
            font-weight: bold;
            position: absolute;
            left: -15px;
        }

        .card-button {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-dark), #2c3e50);
            color: white;
            padding: 10px 18px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            margin-top: auto;
            border: none;
            cursor: pointer;
            font-size: 14px;
        }

        .card-button:hover {
            transform: translateY(-2px);
            /* box-shadow: 0 5px 12px rgba(52, 152, 219, 0.4); */
            box-shadow: 0 5px 12px rgba(241, 6, 6, 0.4);
        }

        .credo-container{
            letter-spacing:0.6px; 
            margin:10px;
            align-items: center;
            color:var(--primary-dark);
        }

        .soft-content{
            letter-spacing:0.6px; 
            margin:10px;
            align-items: center;
            color:var(--primary-dark);
            margin-left: 10%;
            margin-right: 10%;
        }
        .soft-content h1{
            text-align:center; 
        }
        .soft-content p{
            text-align: justify;
        }

        .soft-features {
            margin: 15px 0;
            padding-left: 18px;
            font-size: 14px;
        }

        .soft-features li {
            margin-bottom: 8px;
            color: #555;
            position: relative;
        }

        .soft-features li:before {
            content: '✓';
            color: #ed1f29;
            font-weight: bold;
            position: absolute;
            left: -15px;
        }

        .soft-credo{
            letter-spacing:0.6px; 
            margin:10px;
            color:var(--primary-dark);
            margin-left: 10%;
            margin-right: 10%;
        }
        .soft-credo h4{
            text-align:center; 
        }
        .soft-image{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin-top: 14px;
        }

        .soft-image img {
            /* width: 100px;
            height: 70px; */
            object-fit: fill;
            transition: transform 0.5s ease;
        }

        .plc-content{
            letter-spacing:0.6px; 
            margin:10px;
            align-items: center;
            margin-left: 10%;
            margin-right: 10%;
        }
        .plc-content h1{
            color: #000;
            text-align:center; 
        }
        .plc-content h2{
            color: #000;
        }
        .plc-section p, ul, ol{
            text-align: justify;
            color: #555;
            font-size: 14px;
        }     
        
        .mobile-reclama{
            display: flex;
            flex-wrap: wrap;
            justify-content: left;
            align-items: center;
            gap: 12px;
            margin-top: 14px;
        }

        .soft-image-svo img {
            width: 100%;
            height: auto; /* Сохраняет пропорции */
            display: block;
        }

        .plc-content p{
            text-align: justify;
            color: #444;
            font-size: 14px;
        }
