        /* ---------- ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ---------- */
        :root {
            --primary: #006699;
            --primary-light: #e6f0f5;
            --primary-soft: #c2e0f0;
            --gray-bg: #f8fafc;
            --card-white: #ffffff;
            --text-main: #1e293b;
            --text-soft: #54708f;
            --border-light: #e9edf2;
            --shadow-sm: 0 12px 30px -12px rgba(0, 50, 80, 0.08);
            --shadow-hover: 0 25px 40px -16px rgba(0,102,153,0.18);
            --shadow-circle: 0 8px 20px rgba(0, 102, 153, 0.12);
            --radius-card: 28px;
            --radius-btn: 15px;
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #ffffff;
            color: var(--text-main);
            line-height: 1.5;
            font-weight: 400;
            margin: 0;
            /* Убрали padding-top, чтобы не ломать главную страницу */
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-main);
        }
        .section-sub {
            font-size: 1.1rem;
            color: var(--text-soft);
            margin-bottom: 2.5rem;
        }

        /* Кнопки */
        .btn-primary-custom {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.7rem 2rem;
            border-radius: var(--radius-btn);
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            box-shadow: 0 8px 18px -8px rgba(0,102,153,0.3);
        }
        .btn-primary-custom:hover {
            background: #004c73;
            transform: translateY(-3px);
            box-shadow: 0 15px 25px -10px #006699;
            color: white;
        }

        .btn-outline-custom {
            background: transparent;
            color: white;
            border: 1.5px solid rgba(255,255,255,0.7);
            backdrop-filter: blur(4px);
            padding: 0.7rem 2rem;
            border-radius: var(--radius-btn);
            font-weight: 600;
            transition: var(--transition);
        }
        .btn-outline-custom:hover {
            background: white;
            border-color: white;
            color: var(--primary);
            transform: translateY(-3px);
        }

        /* ========== ШАПКА (БАЗА - ПРОЗРАЧНАЯ ДЛЯ ГЛАВНОЙ) ========== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: transparent !important;
            backdrop-filter: none;
            box-shadow: none;
            border-bottom: none;
            padding-top: 0.5rem;
            padding-bottom: 0;
            transition: var(--transition);
        }

        .navbar-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 0;
            width: 100%;
            transition: var(--transition);
        }

        /* Логотипы */
        .navbar-brand { margin-right: 1rem; }
        .navbar-brand img { transition: var(--transition); height: 60px; }
        .logo-white { display: block; }
        .logo-blue { display: none; }

        /* Контакты */
        .contact-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.1rem;
            color: white;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
            margin-right: 1rem;
            transition: var(--transition);
        }
        .contact-info .address { font-size: 0.8rem; font-weight: 400; opacity: 0.9; }
        .contact-info .phone { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
        .contact-info .phone a{color: white;}
        .navbar.scrolled .contact-info .phone a, 
        .navbar.navbar-white-default .contact-info .phone a { color: var(--text-main); text-shadow: none; }

        /* Поиск */
        .search-wrapper {
            display: flex;
            align-items: center;
            background: white;
            border-radius: 40px;
            border: 1px solid rgba(0,0,0,0.1);
            padding: 0.2rem 0.2rem 0.2rem 1rem;
            margin-left: 1rem;
            margin-right: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: var(--transition);
        }
        .search-wrapper input {
            background: transparent;
            border: none;
            color: var(--text-main);
            font-size: 0.9rem;
            width: 140px;
            transition: width 0.2s;
            outline: none;
        }
        .search-wrapper input::placeholder { color: #aaa; }
        .search-wrapper button {
            background: var(--primary);
            border: none;
            border-radius: 40px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: var(--transition);
            margin-left: 0.3rem;
        }
        .search-wrapper button:hover { background: #004c73; }

        /* Меню */
        .navbar-bottom {
            width: 100%;
            border-top: 1px solid rgba(255,255,255,0.3);
            transition: border-color 0.3s ease;
        }
        .navbar-nav {
            display: flex;
            justify-content: center;
            width: 100%;
        }
.navbar-white-default .navbar-nav {
		background:#f0f0f0!important;
		border-top:1px solid #ccc;
		border-bottom:1px solid #ccc;

		border-radius:10px;

}
        .navbar-nav .nav-link {
            color: white !important;
            font-weight: 500;
            padding: 0.8rem 1.2rem !important;
            transition: var(--transition);
            position: relative;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        .navbar-nav .nav-link:hover { opacity: 0.9; }
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 1.2rem;
            right: 1.2rem;
            height: 2px;
            background: white;
            transform: scaleX(0);
            transition: transform 0.2s;
        }
        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after { 
            transform: scaleX(1); 
        }

        .navbar-toggler {
            border: none;
            outline: none;
            padding: 0.5rem 0.5rem 0.5rem 1rem;
            color: white;
            font-size: 1.8rem;
            transition: color 0.3s ease;
        }

        /* ========== БЕЛАЯ ШАПКА (ПРИ СКРОЛЛЕ НА ГЛАВНОЙ + ПО УМОЛЧАНИЮ НА ВНУТРЕННИХ) ========== */
        .navbar.scrolled, 
        .navbar.navbar-white-default {
            background: rgba(255, 255, 255, 0.98) !important;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 50, 80, 0.08);
            padding-top: 0;
        }
        
        .navbar.scrolled .navbar-top, 
        .navbar.navbar-white-default .navbar-top { padding: 0.2rem 0; }
        
        /* Смена логотипа */
        .navbar.scrolled .logo-white, 
        .navbar.navbar-white-default .logo-white { display: none; }
        
        .navbar.scrolled .logo-blue, 
        .navbar.navbar-white-default .logo-blue { display: block; }
        
        .navbar.scrolled .navbar-brand img, 
        .navbar.navbar-white-default .navbar-brand img { height: 45px; }

        /* Перекрашивание текста */
        .navbar.scrolled .contact-info, 
        .navbar.navbar-white-default .contact-info { color: var(--text-main); text-shadow: none; }

        .navbar.scrolled .contact-info .address, 
        .navbar.navbar-white-default .contact-info .address { color: var(--text-soft); }

        .navbar.scrolled .navbar-bottom, 
        .navbar.navbar-white-default .navbar-bottom { border-top-color: var(--border-light); }
        
        .navbar.scrolled .navbar-nav .nav-link, 
        .navbar.navbar-white-default .navbar-nav .nav-link { color: var(--text-main) !important; text-shadow: none; }
        
        .navbar.scrolled .navbar-nav .nav-link:hover, 
        .navbar.navbar-white-default .navbar-nav .nav-link:hover,
        .navbar.navbar-white-default .navbar-nav .nav-link.active { color: var(--primary) !important; }
        
        .navbar.scrolled .navbar-nav .nav-link::after, 
        .navbar.navbar-white-default .navbar-nav .nav-link::after { background: var(--primary); }

        .navbar.scrolled .search-wrapper, 
        .navbar.navbar-white-default .search-wrapper { background: var(--gray-bg); border-color: var(--border-light); }
        
        .navbar.scrolled .navbar-toggler, 
        .navbar.navbar-white-default .navbar-toggler { color: var(--text-main); }

        /* Адаптив шапки */
        @media (max-width: 991px) {
            .navbar-brand img { height: 50px; }
            .navbar.scrolled .navbar-brand img,
            .navbar.navbar-white-default .navbar-brand img { height: 40px; }
            .contact-info { display: none; }
            .search-wrapper { margin-right: 10px; }
            .search-wrapper input { width: 100px; }
            
            .navbar-collapse {
                background: rgba(17, 33, 46, 0.95);
                backdrop-filter: blur(10px);
                border-radius: 20px;
                padding: 1rem;
                margin-top: 0.5rem;
            }
            .navbar.scrolled .navbar-collapse,
            .navbar.navbar-white-default .navbar-collapse {
                background: white;
                border: 1px solid var(--border-light);
                box-shadow: var(--shadow-sm);
            }
            .navbar-nav .nav-link { text-align: center; text-shadow: none; }
        }
        @media (max-width: 768px) {
            .search-wrapper { display: none; }
            .navbar-top .btn-primary-custom { padding: 0.5rem 1rem; font-size: 0.9rem; }
        }

        /* ========== ЗАГОЛОВОК СТРАНИЦЫ (ДЛЯ ВНУТРЕННИХ СТРАНИЦ) ========== */
        .page-header {
            background: var(--gray-bg);
            padding: 140px 0 3rem; /* 140px компенсирует шапку вместо padding-top у body */
            text-align: center;
            border-bottom: 1px solid var(--border-light);
        }
        .breadcrumb-custom {
            list-style: none;
            padding: 0;
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            color: var(--text-soft);
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }
        .breadcrumb-custom a { color: var(--primary); text-decoration: none; font-weight: 500; }
        .breadcrumb-custom a:hover { text-decoration: underline; }

        /* ========== СЛАЙДЕР (ДЛЯ ГЛАВНОЙ) ========== */
        .hero-carousel {
            width: 100%;
            border-radius: 0;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-top: 0;
            position: relative;
        }
        .hero-carousel .carousel-item img {
            height: 100vh;
            min-height: 600px;
            object-fit: cover;
        }
        .hero-content {
            background: linear-gradient(95deg, rgba(0,40,60,0.85) 0%, rgba(0,60,85,0.55) 60%, transparent 95%);
            width: 65%;
            padding: 140px 5rem 4rem 12rem;
        }
        .hero-content h2 { font-size: 3.2rem; font-weight: 700; line-height: 1.2; }
        .slide-tag {
            background: rgba(255,255,255,0.18);
            backdrop-filter: blur(4px);
            padding: 0.3rem 1.5rem;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            border: 1px solid rgba(255,255,255,0.3);
            width: fit-content;
        }
        .arrow-btn {
            background: rgba(255,255,255,0.92);
            color: var(--primary);
            width: 58px;
            height: 58px;
            border-radius: 58px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: var(--transition);
        }
        .arrow-btn:hover {
            background: var(--primary);
            color: white;
            box-shadow: 0 15px 25px rgba(0,102,153,0.4);
        }
        .carousel-indicators li {
            width: 12px;
            height: 12px;
            background: rgba(255,255,255,0.6);
            border-radius: 20px;
            transition: 0.25s;
            border: none;
            margin: 0 6px;
        }
        .carousel-indicators li.active { background: var(--primary); width: 32px; }

        /* ----- ОБЩИЕ СТИЛИ СЕКЦИЙ И КАРТОЧЕК ----- */
        #section,.section { padding:2rem 0; }
        .bg-light-blue { background-color: var(--gray-bg); }
.inner-page-top-spacing {
    padding-top: 130px; /*   +   */
}
        .service-card, .review-card, .why-item, .licence-card {
            background: var(--card-white);
            border: 1px solid var(--border-light) !important;
            border-radius: var(--radius-card);
            padding: 2rem 1.5rem;
            transition: var(--transition);
            height: 100%;
            box-shadow: 0 5px 20px rgba(0,0,0,0.02);
            position: relative; /* ВАЖНО: Добавлено для растягивания ссылки */
        }
        .service-card:hover, .review-card:hover, .why-item:hover, .licence-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary) !important;
            box-shadow: var(--shadow-hover);
        }

        /* --- НОВЫЕ СТИЛИ ДЛЯ ССЫЛОК В КАРТОЧКАХ --- */
        .service-title-link {
            color: var(--text-main);
            transition: var(--transition);
            text-decoration: none !important;
        }
        /* При наведении на карточку меняем цвет заголовка-ссылки */
        .service-card:hover .service-title-link {
            color: var(--primary);
        }

        .service-icon {
            background: var(--primary-light);
            width: 70px;
            height: 70px;
            border-radius: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .why-item { text-align: center; }
        .why-item i { font-size: 3rem; color: var(--primary); margin-bottom: 1.2rem; }

        .step-circle {
            width: 85px; 
            height: 85px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: var(--shadow-circle);
            color: var(--primary);
            font-size: 2rem;
            font-weight: 700;
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .step-col:hover .step-circle {
            background: var(--primary);
            color: white;
            transform: translateY(-5px);
            border-color: var(--primary);
        }

        .stat-val { font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }

        .about-image {
            border-radius: var(--radius-card);
            width: 100%;
            height: 100%;
            object-fit: cover;
            box-shadow: var(--shadow-sm);
        }

        .about-icon-box {
            background: var(--primary-light);
            border-radius: var(--radius-card);
            padding: 3.5rem;
            border: 1px solid var(--primary-soft);
            text-align: center;
        }
        .about-icon-box i { font-size: 9rem; color: var(--primary); opacity: 0.9; }

        .partner-item {
            background: white;
            border: 1px solid var(--border-light);
            border-radius: 40px;
            padding: 0.6rem 2rem;
            font-weight: 500;
            color: var(--text-main);
            transition: var(--transition);
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }
        .partner-item:hover {
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: var(--shadow-circle);
            transform: translateY(-3px);
        }

        .faq-card {
            border: 1px solid var(--border-light) !important;
            border-radius: var(--radius-card) !important;
            background: white;
            margin-bottom: 1rem;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.02);
            transition: var(--transition);
        }
        .faq-card:hover { border-color: var(--primary-soft) !important; }
        .faq-btn {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-main);
            padding: 1.5rem 2rem;
            background: white;
            border: none;
            text-align: left;
            width: 100%;
        }
        .faq-btn:hover { text-decoration: none; color: var(--primary); }
        .faq-btn i { color: var(--primary); font-size: 1.5rem; transition: transform 0.3s; }
        .faq-btn:not(.collapsed) i { transform: rotate(45deg); }
        .faq-body {
            background: #ffffff;
            color: var(--text-soft);
            padding: 0 2rem 1.8rem 2rem;
            line-height: 1.6;
        }

        /* ФУТЕР */
        .footer {
            background: #11212e;
            border-top: 4px solid var(--primary);
            color: #b6c8d9;
        }
        .footer h5 { color: white; font-weight: 600; }
        .footer a { color: #b6c8d9; transition: var(--transition); }
        .footer a:hover { color: white; text-decoration: none; padding-left: 5px; }
        .footer .social-links a { color: #b6c8d9; font-size: 1.5rem; margin-right: 1.2rem; }
        .footer .social-links a:hover { color: var(--primary); transform: translateY(-3px); }

        /* ОБЩИЙ АДАПТИВ */
        @media (max-width: 768px) {
            .hero-carousel .carousel-item img { height: 500px; min-height: 500px; }
            .hero-content {
                width: 100%;
                background: linear-gradient(0deg, rgba(0,40,60,0.9), rgba(0,60,85,0.7));
                padding: 100px 1.5rem 2rem 1.5rem;
                text-align: center;
                align-items: center;
            }
            .hero-content h2 { font-size: 2rem; }
            .hero-content .d-flex { flex-direction: column; gap: 0.8rem; }
            .arrow-btn { width: 42px; height: 42px; font-size: 1.2rem; }
            
            section { padding: 2rem 0; }
            .section-title { font-size: 2rem; }
            .stat-val { font-size: 2.8rem; }
            .about-icon-box i { font-size: 5rem; }
            
            .page-header { padding: 120px 0 2rem; }
        }
