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

        :root {
            --primary-blue: #14284B;
            --secondary-blue: #1F3D6E;
            --accent-red: #0E7C5A;
            --white: #ffffff;
            --light-bg: #F7F2E8;
            --gray: #5B6472;
            --dark-gray: #1C2430;
            --border: #E7E1D4;
            --dark-blue: #0F1E38;
            --success: #0E7C5A;
            --warning: #C9A24B;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            background: var(--white);
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--primary-blue);
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: var(--secondary-blue);
            transform: translateY(-3px);
        }

        .pre-header {
            background: var(--dark-blue);
            color: var(--white);
            padding: 10px 0;
            font-size: 0.875rem;
            position: relative;
            z-index: 900;
        }

        .pre-header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .official-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        .pre-header-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .pre-header-links a {
            color: var(--white);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: opacity 0.3s ease;
        }

        .pre-header-links a:hover {
            opacity: 0.8;
        }

        .header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo i {
            font-size: 2rem;
            color: var(--accent-red);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .logo-title {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--primary-blue);
        }

        .logo-subtitle {
            font-size: 0.75rem;
            opacity: 0.8;
            font-weight: 500;
        }

        /* ===== ИСПРАВЛЕННОЕ МЕНЮ ===== */
        .nav {
            display: flex;
            gap: 1.5rem;
            flex-wrap: nowrap;
            align-items: center;
            white-space: nowrap;
        }

        .nav-link {
            text-decoration: none;
            color: var(--dark-gray);
            font-weight: 500;
            padding: 0.5rem 0;
            transition: color 0.3s ease;
            position: relative;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 1rem;
        }

        .nav-link.active,
        .nav-link:hover {
            color: var(--primary-blue);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-blue);
        }

        /* ===== АДАПТИВНОСТЬ ДЛЯ МЕНЮ ===== */
        @media (max-width: 1024px) {
            .nav-link {
                font-size: 0.9rem;
                padding: 0.5rem 0.3rem;
            }
            .nav {
                gap: 1rem;
            }
        }

        @media (max-width: 768px) {
            .nav {
                display: none;
            }
            .btn-login {
                display: none;
            }
            .mobile-menu-btn {
                display: block;
            }
            .header-actions {
                gap: 0.5rem;
                margin-left: auto;
            }
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            flex-shrink: 0;
            margin-left: auto;
        }

        .btn-login {
            background: var(--primary-blue);
            color: var(--white);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            transition: background 0.3s ease;
            white-space: nowrap;
        }

        .btn-login:hover {
            background: var(--secondary-blue);
        }

        .language-switcher {
            position: relative;
            flex-shrink: 0;
        }

        .language-btn {
            background: none;
            border: 1px solid var(--border);
            padding: 0.75rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
            color: var(--dark-gray);
            white-space: nowrap;
        }

        .language-btn:hover {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }

        .language-btn .current-flag {
            width: 24px;
            height: 16px;
            border-radius: 2px;
            border: 1px solid rgba(0,0,0,0.08);
            object-fit: cover;
            vertical-align: middle;
        }

        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            max-height: 400px;
            overflow-y: auto;
            padding: 0.3rem 0;
        }

        .language-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-option {
            width: 100%;
            background: none;
            border: none;
            padding: 0.7rem 1rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s ease;
            color: var(--dark-gray);
            font-size: 0.9rem;
            gap: 10px;
        }

        .language-option:hover {
            background: var(--light-bg);
        }

        .language-option .lang-flag {
            width: 24px;
            height: 16px;
            border-radius: 2px;
            border: 1px solid rgba(0,0,0,0.08);
            object-fit: cover;
            flex-shrink: 0;
        }

        .language-option .lang-label {
            flex: 1;
            text-align: left;
        }

        .language-option.active i {
            display: block;
            color: var(--primary-blue);
        }

        .language-option i {
            display: none;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark-gray);
            padding: 0.5rem;
            transition: color 0.3s ease;
            flex-shrink: 0;
        }

        .mobile-menu-btn:hover {
            color: var(--primary-blue);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1001;
            transition: right 0.3s ease;
            padding: 2rem;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .mobile-menu-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            text-decoration: none;
        }

        .mobile-menu-logo i {
            font-size: 1.5rem;
            color: var(--accent-red);
        }

        .mobile-menu-logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .mobile-menu-logo-title {
            font-size: 1rem;
            font-weight: 800;
            color: var(--primary-blue);
        }

        .mobile-menu-logo-subtitle {
            font-size: 0.7rem;
            opacity: 0.8;
            font-weight: 500;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark-gray);
            padding: 0.5rem;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
        }

        .mobile-menu-close:hover {
            color: var(--primary-blue);
            background: var(--light-bg);
        }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            gap: 0;
            flex: 1;
        }

        .mobile-nav-link {
            text-decoration: none;
            color: var(--dark-gray);
            font-weight: 500;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
            transition: all 0.3s ease;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            background: none;
            border: none;
            border-bottom: 1px solid var(--border);
            width: 100%;
            text-align: left;
        }

        .mobile-nav-link:hover {
            color: var(--primary-blue);
        }

        .mobile-nav-link i {
            font-size: 0.8rem;
            opacity: 0.7;
        }

        .mobile-menu-contacts {
            margin-top: auto;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .mobile-contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 1rem;
            color: var(--dark-gray);
            text-decoration: none;
            font-size: 0.9rem;
        }

        .mobile-contact-item i {
            color: var(--primary-blue);
            width: 20px;
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        body.no-scroll {
            overflow: hidden;
            position: fixed;
            width: 100%;
            height: 100%;
        }

        /* ===== ОБЩИЕ СТИЛИ ===== */
        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--accent-red);
            color: var(--white);
        }

        .btn-primary:hover {
            background: #0A6247;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: var(--accent-red);
            color: var(--white);
            border: 2px solid rgba(255,255,255,0.3);
        }

        .btn-secondary:hover {
            background: #0A6247;
            transform: translateY(-2px);
        }

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

        .btn-outline:hover {
            background: var(--primary-blue);
            color: var(--white);
        }

        .btn-large:where(:not(.service-page *)) {
            padding: 1.25rem 2.5rem;
            font-size: 1.125rem;
        }

        .btn-search {
            padding: 1rem 2.5rem;
        }

        .section-title:where(:not(.service-page *)) {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary-blue);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .section-link {
            color: var(--secondary-blue);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s ease;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 1rem;
        }

        .section-link:hover {
            gap: 12px;
        }

        section:where(:not(.service-page *)) {
            padding: 80px 0;
        }

        .page-section {
            display: none;
        }

        .page-section.active {
            display: block;
        }

        /* ===== ГЕРОЙ ===== */
        .hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
            color: var(--white);
            padding: 100px 0 80px;
        }

        .hero-content {
            max-width: 800px;
            text-align: center;
            margin: 0 auto;
        }

        .hero-badge:where(:not(.service-page *)) {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-weight: 600;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        .highlight:where(:not(.service-page *)) {
            background: linear-gradient(45deg, #C9A24B, #A8822F);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            margin-bottom: 3rem;
            opacity: 0.9;
            line-height: 1.6;
        }

        .hero-stats:where(:not(.service-page *)) {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
            padding: 0 2rem;
        }

        .stat-item:where(:not(.service-page *)) {
            text-align: center;
        }

        .stat-number:where(:not(.service-page *)) {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .stat-label:where(:not(.service-page *)) {
            font-size: 0.875rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== ПОИСК ===== */
        .program-search {
            background: var(--light-bg);
            padding: 60px 0;
        }

        .search-card {
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            border: 1px solid var(--border);
        }

        .search-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--primary-blue);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-subtitle {
            font-size: 1.125rem;
            color: var(--gray);
            margin-bottom: 2.5rem;
        }

        .search-filters {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .filter-group label {
            font-weight: 600;
            color: var(--dark-gray);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-select {
            padding: 1rem 1.5rem;
            border: 2px solid var(--border);
            border-radius: 10px;
            background: var(--white);
            font-size: 1rem;
            transition: all 0.3s ease;
            cursor: pointer;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            font-size: 16px;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(31, 61, 110, 0.1);
        }

        .search-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== ОСОБЕННОСТИ ===== */
        .features {
            background: var(--white);
        }

        .features-grid:where(:not(.service-page *)) {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .feature-card:where(:not(.service-page *)) {
            background: var(--white);
            padding: 2.5rem 2rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            cursor: pointer;
            opacity: 0;
            transform: translateY(30px);
        }

        .feature-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: var(--white);
        }

        .feature-card h3:where(:not(.service-page *)) {
            margin-bottom: 0;
            color: var(--primary-blue);
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .feature-card h3 .arrow {
            font-size: 0.9rem;
            color: var(--gray);
            transition: transform 0.3s ease;
        }

        .feature-card.active h3 .arrow {
            transform: rotate(180deg);
        }

        .feature-card .feature-description {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
            padding: 0 0.5rem;
            margin: 0;
            color: var(--gray);
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .feature-card.active .feature-description {
            max-height: 300px;
            padding: 1.5rem 0.5rem 0 0.5rem;
            margin-top: 0.5rem;
            border-top: 1px solid var(--border);
        }

        .feature-card .feature-description p {
            margin: 0;
        }

        /* ===== ШАГИ ===== */
        .steps {
            background: var(--light-bg);
        }

        .steps-grid:where(:not(.service-page *)) {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 2rem;
        }

        .step-card:where(:not(.service-page *)) {
            background: var(--white);
            padding: 2rem 1.5rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
        }

        .step-card:hover:where(:not(.service-page *)) {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .step-number:where(:not(.service-page *)) {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 1rem;
            position: relative;
            z-index: 1;
        }

        .step-card .step-connector {
            position: absolute;
            top: 50%;
            right: -1rem;
            transform: translateY(-50%);
            width: 2rem;
            height: 2px;
            background: var(--border);
        }

        .step-card:last-child .step-connector {
            display: none;
        }

        .step-card h3:where(:not(.service-page *)) {
            color: var(--primary-blue);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .step-card p:where(:not(.service-page *)) {
            color: var(--gray);
            font-size: 0.9rem;
            line-height: 1.5;
            margin: 0;
        }

        /* ===== УСЛУГИ ===== */
        .services {
            background: var(--white);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.8rem;
            margin-top: 1rem;
        }

        .service-item {
            background: var(--light-bg);
            padding: 2rem 1.5rem;
            border-radius: 20px;
            border: 1px solid var(--border);
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
        }

        .service-item:hover {
            transform: translateY(-6px);
            border-color: var(--secondary-blue);
            box-shadow: 0 12px 24px rgba(20, 40, 75, 0.08);
        }

        .service-item .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            font-size: 1.5rem;
            color: var(--white);
            flex-shrink: 0;
        }

        .service-item h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 0.3rem;
        }

        .service-item p {
            font-size: 0.9rem;
            color: var(--gray);
            line-height: 1.4;
            margin: 0.3rem 0 0 0;
        }

        .service-item .service-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 0.75rem;
            color: var(--secondary-blue);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            transition: gap 0.3s ease;
        }

        .service-item .service-link:hover {
            gap: 12px;
        }

        /* ===== ВИДЕО ===== */
        .video-section {
            background: var(--light-bg);
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .video-card {
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            padding-top: 56.25%;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .video-thumbnail .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: var(--accent-red);
            transition: all 0.3s ease;
        }

        .video-card:hover .play-icon {
            background: var(--accent-red);
            color: var(--white);
            transform: translate(-50%, -50%) scale(1.05);
        }

        .video-thumbnail .thumbnail-label {
            position: absolute;
            bottom: 12px;
            left: 12px;
            background: rgba(0,0,0,0.7);
            color: var(--white);
            padding: 0.4rem 1rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }

        .video-thumbnail .video-icon-bg {
            font-size: 4rem;
            color: rgba(255,255,255,0.15);
        }

        .video-content {
            padding: 1.5rem;
        }

        .video-content h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }

        .video-content p {
            font-size: 0.9rem;
            color: var(--gray);
            margin: 0;
            line-height: 1.5;
        }

        .video-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 0.75rem;
            font-size: 0.8rem;
            color: var(--gray);
        }

        .video-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .video-all-link {
            text-align: center;
            margin-top: 2rem;
        }

        .video-all-link a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--secondary-blue);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: gap 0.3s ease;
            padding: 0.75rem 2rem;
            border: 2px solid var(--secondary-blue);
            border-radius: 50px;
        }

        .video-all-link a:hover {
            gap: 16px;
            background: var(--secondary-blue);
            color: var(--white);
        }

        /* ===== УНИВЕРСИТЕТЫ ===== */
        .universities {
            background: var(--white);
        }

        .universities-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .university-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .university-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .university-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .university-logo {
            width: 60px;
            height: 60px;
            background: var(--primary-blue);
            color: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.25rem;
        }

        .rating {
            background: var(--accent-red);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.875rem;
        }

        .university-card h3 {
            margin-bottom: 1rem;
            color: var(--primary-blue);
            font-size: 1.25rem;
            line-height: 1.4;
        }

        .location {
            color: var(--gray);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .stats {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--light-bg);
            border-radius: 8px;
            flex-wrap: wrap;
        }

        .stats span {
            font-size: 0.875rem;
            color: var(--gray);
        }

        .stats strong {
            color: var(--primary-blue);
            font-size: 1rem;
        }

        /* ===== НОВОСТИ ===== */
        .news {
            background: var(--light-bg);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .news-card {
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .news-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 3rem;
        }

        .news-content {
            padding: 1.5rem;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .news-date {
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .news-category {
            background: var(--primary-blue);
            color: var(--white);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .news-card h3 {
            margin-bottom: 1rem;
            color: var(--primary-blue);
            font-size: 1.125rem;
            line-height: 1.4;
        }

        .news-card p {
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
            font-size: 0.875rem;
        }

        .news-link {
            color: var(--secondary-blue);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.3s ease;
            font-size: 0.875rem;
        }

        .news-link:hover {
            gap: 10px;
        }

        /* ===== ОТЗЫВЫ ===== */
        .testimonials {
            background: var(--light-bg);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .testimonial-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            text-align: center;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .testimonial-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 2rem;
            color: var(--white);
            font-weight: 700;
            text-transform: uppercase;
        }

        .testimonial-card h4 {
            color: var(--primary-blue);
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .testimonial-card .testimonial-country {
            color: var(--gray);
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }

        .testimonial-card .testimonial-text {
            color: var(--dark-gray);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1rem;
            font-style: italic;
        }

        .testimonial-card .testimonial-stars {
            color: #C9A24B;
            font-size: 1rem;
            letter-spacing: 2px;
        }

        .testimonial-card .testimonial-university {
            color: var(--secondary-blue);
            font-size: 0.875rem;
            font-weight: 500;
            margin-top: 0.5rem;
        }

        /* ===== СТРАНИЦА "КАК ПОСТУПИТЬ" ===== */
        .admission-steps {
            background: var(--light-bg);
        }

        .admission-steps .steps-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .admission-steps .step-card {
            background: var(--white);
            padding: 2.5rem 2rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
        }

        .admission-steps .step-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .admission-steps .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background: var(--accent-red);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.25rem;
            margin: 0;
        }

        .admission-steps .step-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0.5rem auto 1.5rem;
            font-size: 2rem;
            color: var(--white);
        }

        .admission-steps .step-card h3 {
            margin-bottom: 1rem;
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

        .admission-steps .step-card p {
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .requirements {
            background: var(--white);
        }

        .requirements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .requirement-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .requirement-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .requirement-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .requirement-icon {
            width: 60px;
            height: 60px;
            background: var(--primary-blue);
            color: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .requirement-card h3 {
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

        .requirement-list {
            list-style: none;
        }

        .requirement-list li {
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .requirement-list li:last-child {
            border-bottom: none;
        }

        .requirement-list i {
            color: var(--accent-red);
        }

        .deadlines {
            background: var(--light-bg);
        }

        .deadlines-content {
            max-width: 800px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .deadline-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
        }

        .deadline-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .deadline-icon {
            width: 60px;
            height: 60px;
            background: var(--accent-red);
            color: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .deadline-card h3 {
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

        .deadline-date {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--accent-red);
            margin-bottom: 1rem;
        }

        .deadline-description {
            color: var(--gray);
            line-height: 1.6;
        }

        /* ===== СТРАНИЦА "ЖИЗНЬ В РОССИИ" ===== */
        .life-features {
            background: var(--white);
        }

        .life-features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .life-feature-card {
            background: var(--white);
            padding: 2.5rem 2rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .life-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .life-feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: var(--white);
        }

        .life-feature-card h3 {
            margin-bottom: 1rem;
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

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

        .why-russia {
            background: var(--light-bg);
        }

        .why-russia-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .why-russia-text {
            font-size: 1.125rem;
            line-height: 1.8;
            color: var(--dark-gray);
            margin-bottom: 2rem;
        }

        .why-russia-text p {
            margin-bottom: 1.5rem;
        }

        .why-russia-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .why-feature {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1.5rem;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border-left: 4px solid var(--primary-blue);
        }

        .why-feature i {
            color: var(--primary-blue);
            font-size: 1.5rem;
            margin-top: 0.25rem;
        }

        .why-feature-content h4 {
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
            font-size: 1.125rem;
        }

        .why-feature-content p {
            color: var(--gray);
            line-height: 1.6;
        }

        .cost-living {
            background: var(--white);
        }

        .cost-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .cost-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .cost-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .cost-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .cost-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--white);
        }

        .cost-card h3 {
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

        .cost-items {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .cost-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: var(--light-bg);
            border-radius: 8px;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .cost-item span {
            color: var(--dark-gray);
        }

        .cost-item strong {
            color: var(--primary-blue);
        }

        .culture {
            background: var(--light-bg);
        }

        .culture-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .culture-text h3 {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .culture-text p {
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.8;
            font-size: 1.125rem;
        }

        .culture-features {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 2rem;
        }

        .culture-feature {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: var(--white);
            border-radius: 8px;
            border-left: 4px solid var(--primary-blue);
        }

        .culture-feature i {
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

        .transport {
            background: var(--white);
        }

        .transport-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .transport-card {
            background: var(--white);
            padding: 2rem 1.5rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .transport-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .transport-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            color: var(--white);
        }

        .transport-card h3 {
            margin-bottom: 0.5rem;
            color: var(--primary-blue);
            font-size: 1.125rem;
        }

        .transport-card p {
            color: var(--gray);
            font-size: 0.875rem;
            line-height: 1.5;
        }

        /* ===== СТРАНИЦА "О НАС" ===== */
        .about-hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
            color: var(--white);
            padding: 100px 0 80px;
            position: relative;
            overflow: hidden;
        }

        .about-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
            background-size: cover;
        }

        .about-hero-content {
            max-width: 800px;
            text-align: center;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .about-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-weight: 600;
        }

        .about-hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        .about-hero-subtitle:where(:not(.service-page *)) {
            font-size: 1.25rem;
            margin-bottom: 3rem;
            opacity: 0.9;
            line-height: 1.6;
        }

        .mission {
            padding: 80px 0;
            background: var(--light-bg);
        }

        .mission-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .mission-text h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--primary-blue);
        }

        .mission-text p {
            font-size: 1.125rem;
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .mission-image {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 20px;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 4rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .values {
            padding: 80px 0;
            background: var(--white);
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .value-card {
            background: var(--white);
            padding: 2.5rem 2rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .value-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: var(--white);
        }

        .value-card h3 {
            margin-bottom: 1rem;
            color: var(--primary-blue);
            font-size: 1.25rem;
        }

        .value-card p {
            color: var(--gray);
            line-height: 1.6;
        }

        .stats-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
            color: var(--white);
        }

        .stats-section .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .stats-section .stat-item {
            text-align: center;
        }

        .stats-section .stat-number {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .stats-section .stat-label {
            font-size: 1rem;
            opacity: 0.9;
        }

        .contact {
            padding: 80px 0;
            background: var(--white);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .contact-details h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
        }

        .contact-details p {
            color: var(--gray);
            line-height: 1.6;
        }

        .contact-form {
            background: var(--light-bg);
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .form-group:where(:not(.service-page *)) {
            margin-bottom: 1.5rem;
        }

        .form-group label:where(:not(.service-page *)) {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark-gray);
        }

        .form-control:where(:not(.service-page *)) {
            width: 100%;
            padding: 1rem 1.5rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus:where(:not(.service-page *)) {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(31, 61, 110, 0.1);
        }

        textarea.form-control:where(:not(.service-page *)) {
            min-height: 120px;
            resize: vertical;
        }

        .btn-block:where(:not(.service-page *)) {
            width: 100%;
            justify-content: center;
        }

        /* ===== FAQ ===== */
        .faq {
            background: var(--white);
        }

        .faq-container:where(:not(.service-page *)) {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item:where(:not(.service-page *)) {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 12px;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .faq-question:where(:not(.service-page *)) {
            padding: 1.5rem;
            background: var(--light-bg);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: var(--primary-blue);
            transition: background 0.3s ease;
            border: none;
            width: 100%;
            font-size: 1rem;
            text-align: left;
        }

        .faq-question:hover:where(:not(.service-page *)) {
            background: #E7E1D4;
        }

        .faq-answer:where(:not(.service-page *)) {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-answer.active {
            padding: 1.5rem;
            max-height: 500px;
        }

        .faq-toggle:where(:not(.service-page *)) {
            transition: transform 0.3s ease;
        }

        .faq-toggle.active {
            transform: rotate(180deg);
        }

        /* ===== CTA ===== */
        .cta {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            text-align: center;
            padding: 100px 0;
        }

        .cta-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .cta-content p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        /* ===== ФУТЕР ===== */
        .footer {
            background: var(--dark-blue);
            color: var(--white);
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .footer-section h4 {
            margin-bottom: 1.5rem;
            color: var(--white);
            font-size: 1.125rem;
        }

        .footer-section p {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #94a3b8;
        }

        .footer-section a,
        .footer-section .nav-link-footer {
            display: block;
            color: #94a3b8;
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
            font-size: 0.9rem;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            text-align: left;
        }

        .footer-section a:hover,
        .footer-section .nav-link-footer:hover {
            color: var(--white);
        }

        .footer-legal {
            border-top: 1px solid #334155;
            padding-top: 2rem;
            margin-top: 1rem;
        }

        .footer-legal-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            text-align: center;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .footer-legal-content .company-info {
            margin: 0;
            font-weight: 500;
        }

        .footer-legal-content .company-info span {
            color: #E7E1D4;
        }

        .footer-legal-content .company-info .separator {
            margin: 0 0.75rem;
            color: #475569;
        }

        .footer-legal-content .legal-links {
            margin: 0;
        }

        .footer-legal-content .legal-links a {
            color: #94a3b8;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-legal-content .legal-links a:hover {
            color: #ffffff;
        }

        .footer-legal-content .legal-links .separator {
            margin: 0 0.75rem;
            color: #475569;
        }

        .footer-legal-content .cookie-notice {
            margin: 0;
            font-size: 0.8rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.5;
            color: #5B6472;
        }

        .footer-legal-content .cookie-notice a {
            color: #94a3b8;
            text-decoration: underline;
            transition: color 0.3s ease;
        }

        .footer-legal-content .cookie-notice a:hover {
            color: #ffffff;
        }

        .footer-bottom {
            border-top: 1px solid #334155;
            padding-top: 2rem;
            margin-top: 2rem;
            text-align: center;
            color: #94a3b8;
        }

        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 1024px) {
            .search-filters { grid-template-columns: repeat(2, 1fr); }
            .features-grid:where(:not(.service-page *)), .universities-grid, .news-grid, .testimonials-grid, .life-features-grid, .transport-grid, .values-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .steps-grid:where(:not(.service-page *)) { grid-template-columns: repeat(3, 1fr); }
            .why-russia-features { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .pre-header-content {
                flex-direction: column;
                gap: 0.5rem;
                text-align: center;
            }
            .header-inner { flex-direction: row; flex-wrap: wrap; }
            .nav { display: none; }
            .btn-login { display: none; }
            .mobile-menu-btn { display: block; }
            .header-actions { 
                gap: 0.5rem;
                margin-left: auto;
            }
            .hero-title { font-size: 2.5rem; }
            .hero-stats:where(:not(.service-page *)) { grid-template-columns: 1fr; gap: 1.5rem; }
            .search-filters { grid-template-columns: 1fr; }
            .features-grid:where(:not(.service-page *)), .universities-grid, .news-grid, .testimonials-grid, .life-features-grid, .transport-grid, .values-grid, .cost-grid {
                grid-template-columns: 1fr;
            }
            .steps-grid:where(:not(.service-page *)) { grid-template-columns: 1fr 1fr; }
            .why-russia-features { grid-template-columns: 1fr; }
            .footer-content { grid-template-columns: 1fr; gap: 2rem; }
            .search-actions { flex-direction: column; align-items: center; }
            .section-header { flex-direction: column; gap: 1rem; text-align: center; }
            .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
            .mobile-menu { width: 100%; padding: 1.5rem; }
            .search-card { padding: 1.5rem; margin: 0 10px; }
            .filter-select { font-size: 16px; padding: 1rem 1.25rem; }
            .step-card .step-connector { display: none; }
            .video-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .mission-content { grid-template-columns: 1fr; gap: 2rem; }
            .contact-content { grid-template-columns: 1fr; gap: 2rem; }
            .stats-section .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-legal-content .company-info { display: flex; flex-direction: column; gap: 0.25rem; }
            .footer-legal-content .company-info .separator { display: none; }
            .footer-legal-content .legal-links { display: flex; flex-direction: column; gap: 0.5rem; }
            .footer-legal-content .legal-links .separator { display: none; }
            .admission-steps .steps-container { grid-template-columns: 1fr; }
            .admission-steps .step-number { position: static; transform: none; margin: 0 auto 1rem; }
            .deadlines-content { grid-template-columns: 1fr; }
            .services-grid { grid-template-columns: 1fr 1fr; }
            
            .language-dropdown {
                right: auto;
                left: 0;
            }
        }

        @media (max-width: 480px) {
            .hero-actions { flex-direction: column; align-items: center; }
            .btn:where(:not(.service-page *)) { width: 100%; max-width: 300px; justify-content: center; }
            .search-card { padding: 1.5rem 1rem; margin: 0 5px; }
            .section-title:where(:not(.service-page *)) { font-size: 2rem; }
            .logo-title { font-size: 1rem; }
            .logo-subtitle { font-size: 0.7rem; }
            .back-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; font-size: 1rem; }
            .mobile-menu { padding: 1.25rem; }
            .container { padding: 0 15px; }
            .hero { padding: 80px 0 60px; }
            section:where(:not(.service-page *)) { padding: 60px 0; }
            .feature-card:where(:not(.service-page *)), .news-card, .university-card, .testimonial-card, .step-card:where(:not(.service-page *)), .life-feature-card, .transport-card, .value-card, .cost-card, .requirement-card, .deadline-card {
                padding: 1.5rem 1rem;
            }
            .steps-grid:where(:not(.service-page *)) { grid-template-columns: 1fr; gap: 1.5rem; }
            .stats-section .stats-grid { grid-template-columns: 1fr; }
            .video-thumbnail .play-icon { width: 55px; height: 55px; font-size: 1.4rem; }
            .video-all-link a { font-size: 1rem; padding: 0.6rem 1.5rem; }
            .about-hero-title:where(:not(.service-page *)) { font-size: 2.5rem; }
            .mission-image { height: 250px; }
            .contact-form { padding: 1.5rem 1rem; }
            .services-grid { grid-template-columns: 1fr; }
        }

        body[dir="rtl"] {
            text-align: right;
        }

        body[dir="rtl"] .logo-text, body[dir="rtl"] .hero-content:where(:not(.service-page *)), body[dir="rtl"] .feature-card, body[dir="rtl"] .step-card:where(:not(.service-page *)), body[dir="rtl"] .news-content, body[dir="rtl"] .university-card, body[dir="rtl"] .testimonial-card, body[dir="rtl"] .life-feature-card, body[dir="rtl"] .transport-card, body[dir="rtl"] .value-card, body[dir="rtl"] .cost-card, body[dir="rtl"] .requirement-card, body[dir="rtl"] .deadline-card, body[dir="rtl"] .about-hero-content, body[dir="rtl"] .mission-text, body[dir="rtl"] .contact-info {
            text-align: right;
        }

        body[dir="rtl"] .section-header { flex-direction: row-reverse; }
        body[dir="rtl"] .section-link i { transform: rotate(180deg); }
        body[dir="rtl"] .news-link i { transform: rotate(180deg); }
        body[dir="rtl"] .mobile-menu { right: auto; left: -100%; }
        body[dir="rtl"] .mobile-menu.active { right: auto; left: 0; }
        body[dir="rtl"] .step-card .step-connector { right: auto; left: -1rem; }
        body[dir="rtl"] .why-feature { border-left: none; border-right: 4px solid var(--primary-blue); }
        body[dir="rtl"] .culture-feature { border-left: none; border-right: 4px solid var(--primary-blue); }
        body[dir="rtl"] .header-actions { 
            margin-left: 0; 
            margin-right: auto; 
        }
        body[dir="rtl"] .language-dropdown { 
            right: 0; 
            left: auto; 
        }

        .mobile-menu, .mobile-menu-overlay, .back-to-top {
            will-change: transform, opacity;
            transform: translateZ(0);
        }

        @media (prefers-reduced-motion: reduce) {
            .mobile-menu, .mobile-menu-overlay, .back-to-top, .feature-card, .step-card:where(:not(.service-page *)), .news-card, .university-card, .testimonial-card, .btn:where(:not(.service-page *)), .life-feature-card, .transport-card, .value-card, .cost-card, .requirement-card, .deadline-card {
                transition-duration: 0.1s;
            }
        }

        /* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ===== */
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
        }

        .program-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .program-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0,0,0,0.1);
        }

        .program-header {
            padding: 1.5rem 1.5rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .program-type {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
        }

        .program-type.bachelor {
            background: var(--primary-blue);
            color: var(--white);
        }

        .program-type.master {
            background: var(--secondary-blue);
            color: var(--white);
        }

        .program-type.phd {
            background: var(--accent-red);
            color: var(--white);
        }

        .program-type.residency {
            background: var(--success);
            color: var(--white);
        }

        .program-badges {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            align-items: flex-end;
        }

        .duration {
            background: var(--warning);
            color: var(--white);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .language-tag {
            background: var(--gray);
            color: var(--white);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .program-body {
            padding: 0 1.5rem 1rem;
            flex-grow: 1;
        }

        .program-card h3 {
            margin-bottom: 0.75rem;
            color: var(--primary-blue);
            font-size: 1.125rem;
            line-height: 1.4;
        }

        .university-name {
            color: var(--gray);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.875rem;
        }

        .program-description {
            color: var(--gray);
            font-size: 0.875rem;
            line-height: 1.5;
            margin-bottom: 1.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .program-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--light-bg);
            border-radius: 8px;
        }

        .program-stats .stat-item {
            text-align: center;
        }

        .program-stats .stat-number {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--primary-blue);
            display: block;
        }

        .program-stats .stat-label {
            font-size: 0.75rem;
            color: var(--gray);
            display: block;
            text-transform: none;
            letter-spacing: normal;
        }

        .program-footer {
            padding: 1rem 1.5rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border);
            flex-wrap: wrap;
            gap: 1rem;
        }

        .price {
            font-weight: 700;
            color: var(--success);
            font-size: 1.125rem;
        }

        .price-period {
            font-size: 0.75rem;
            color: var(--gray);
        }

        .results-count {
            color: var(--gray);
            font-size: 0.875rem;
        }

/* =========================================================
   ДОПОЛНЕНИЯ: многостраничный сайт, формы, детальные страницы
   ========================================================= */

.no-scroll { overflow: hidden; position: static; height: auto; }

a.nav-link, a.mobile-nav-link, a.nav-link-footer { text-decoration: none; }
a.mobile-nav-link { color: inherit; }
.footer-section a.nav-link-footer { display: block; }

:focus-visible { outline: 3px solid var(--secondary-blue); outline-offset: 2px; }
.hero :focus-visible, .about-hero :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: #fff; }

.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.university-card .btn, .program-card .btn { text-decoration: none; }

.program-type.specialist { background: #8A6A22; color: var(--white); }

/* Фильтры */
.filter-group--wide { grid-column: 1 / -1; }
input.filter-select { cursor: text; font-family: inherit; }
.filter-select { font-family: inherit; color: var(--dark-gray); }
select.filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}
body[dir="rtl"] select.filter-select { background-position: left 1.25rem center; padding-right: 1.5rem; padding-left: 3rem; }
.results-count { color: var(--gray); font-weight: 600; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 1.5rem;
    border: 2px dashed var(--border);
    border-radius: 16px;
    color: var(--gray);
}
.empty-state i { font-size: 2rem; margin-bottom: 1rem; display: block; color: var(--border); }
.empty-state p { max-width: 420px; margin: 0 auto 1.5rem; }

/* Видео */
.video-card[data-video] { cursor: pointer; }
.video-card.video-pending { cursor: default; }
.video-card.video-pending .play-icon { opacity: 0.35; }
.video-soon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}
body[dir="rtl"] .video-soon { right: auto; left: 12px; }

/* Модальные окна */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 16px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.modal[hidden] { display: none; }
.modal.open { opacity: 1; }
.modal-dialog {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    transform: translateY(12px);
    transition: transform 0.2s ease;
}
.modal.open .modal-dialog { transform: none; }
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light-bg);
    color: var(--dark-gray);
    font-size: 1.1rem;
    cursor: pointer;
}
.modal-close:hover { background: var(--border); }
body[dir="rtl"] .modal-close { right: auto; left: 14px; }
.modal-dialog h2 { color: var(--primary-blue); font-size: 1.75rem; line-height: 1.25; margin-bottom: 0.5rem; padding-right: 2.5rem; }
.modal-sub { color: var(--gray); margin-bottom: 1.5rem; }
.apply-context {
    background: var(--light-bg);
    border-left: 4px solid var(--accent-red);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}
body[dir="rtl"] .apply-context { border-left: none; border-right: 4px solid var(--accent-red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .form-group { margin: 0; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label, .contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--dark-gray); }
.req { color: var(--accent-red); }
.form-control { font-family: inherit; }
.form-control:focus { border-color: var(--secondary-blue); outline: none; box-shadow: 0 0 0 3px rgba(31, 61, 110, 0.15); }
select.form-control { appearance: none; -webkit-appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center; padding-right: 2.5rem; }
textarea.form-control { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: var(--gray); margin: 1.25rem 0; line-height: 1.5; }
.consent input { margin-top: 0.2rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--primary-blue); }
.consent a { color: var(--secondary-blue); }
.form-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: 0.85rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.925rem; }
.form-error a { color: inherit; font-weight: 600; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.modal-success { text-align: center; padding: 1.5rem 0 0.5rem; }
.modal-success .ok-icon { width: 72px; height: 72px; border-radius: 50%; background: #d1fae5; color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.25rem; }
.modal-success h3 { color: var(--primary-blue); font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal-success p { color: var(--gray); margin-bottom: 1.5rem; }
.video-dialog { max-width: 960px; padding: 3.5rem 1rem 1rem; background: #0f172a; }
.video-dialog .modal-close { background: rgba(255,255,255,0.12); color: #fff; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; padding: 1rem; border-radius: 8px; margin-top: 1rem; font-weight: 600; }

/* Детальные страницы */
.detail-hero { padding: 70px 0 60px; }
.back-link {
    display: flex;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.back-link:hover { color: #fff; }
body[dir="rtl"] .back-link i { transform: scaleX(-1); }
.detail-hero .about-hero-title { font-size: 2.75rem; }
.detail-uni-title { font-size: 2.25rem !important; }
.detail-logo {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: #fff;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
}
.detail-body { padding: 60px 0 80px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 2.5rem; align-items: start; }
.detail-lead { font-size: 1.15rem; color: var(--dark-gray); margin-bottom: 2rem; max-width: 65ch; }
.facts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 2.5rem; }
.facts > div { background: var(--white); padding: 1.1rem 1.25rem; }
.facts dt { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.25rem; }
.facts dd { font-weight: 700; color: var(--primary-blue); font-size: 1.05rem; }
.detail-h2 { color: var(--primary-blue); font-size: 1.5rem; margin: 2.5rem 0 1.25rem; }
.detail-note { color: var(--gray); }
.detail-main .university-card { max-width: 480px; }
.detail-main .programs-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.aside-card { position: sticky; top: 110px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; }
.aside-label { color: var(--gray); font-size: 0.875rem; }
.aside-price { font-size: 2rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 1.25rem; }
.aside-price span { font-size: 1rem; font-weight: 500; color: var(--gray); }
.aside-text { color: var(--gray); margin-bottom: 1.25rem; }
.aside-contact { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1rem; color: var(--primary-blue); text-decoration: none; font-weight: 600; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-list a { display: inline-block; padding: 0.5rem 1rem; border-radius: 20px; background: var(--light-bg); border: 1px solid var(--border); color: var(--primary-blue); text-decoration: none; font-weight: 500; }
.tag-list a:hover { border-color: var(--secondary-blue); }

/* Правовые страницы */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { color: var(--primary-blue); font-size: 1.35rem; margin: 2.25rem 0 0.75rem; }
.legal-content p, .legal-content li { margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-note { color: var(--gray); font-size: 0.9rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-table th, .legal-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { width: 40%; color: var(--gray); font-weight: 500; }

/* 404 и не найдено */
.not-found { text-align: center; padding: 120px 0; }
.not-found .code { font-size: 6rem; font-weight: 800; color: var(--primary-blue); line-height: 1; }
.not-found h1 { color: var(--primary-blue); font-size: 2rem; margin: 1rem 0; }
.not-found p { color: var(--gray); margin-bottom: 2rem; }

/* Новости */
.news-card { scroll-margin-top: 120px; }
.news-highlight { box-shadow: 0 0 0 3px var(--secondary-blue); }

/* Cookie */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1500;
    max-width: 720px;
    margin: 0 auto;
    background: var(--dark-blue);
    color: #E7E1D4;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
    font-size: 0.9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1; }
.cookie-banner a { color: #E3C27A; }
.cookie-banner .btn { padding: 0.6rem 1.25rem; font-size: 0.9rem; flex-shrink: 0; }

@media (max-width: 900px) {
    .detail-layout { grid-template-columns: 1fr; }
    .aside-card { position: static; }
    .detail-aside { order: -1; }
}
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .modal-dialog { padding: 2rem 1.25rem; }
    .detail-hero .about-hero-title { font-size: 2rem; }
    .detail-uni-title { font-size: 1.6rem !important; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .search-card { padding: 1.5rem; }
    .search-filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .modal, .modal-dialog { transition: none; }
}
@media (max-width: 768px) {
    .language-dropdown { right: 0; left: auto; }
    body[dir="rtl"] .language-dropdown { left: 0; right: auto; }
}

/* ===== Шапка: всегда в один ряд ===== */
.header-inner { flex-wrap: nowrap; gap: 1.5rem; }
.header-actions { flex-wrap: nowrap; }
.nav { flex: 0 1 auto; gap: clamp(1rem, 1.6vw, 1.75rem); }
/* Шаг 1: кнопка «Консультация» становится иконкой */
.header.tight .btn-login span { display: none; }
.header.tight .btn-login { padding: 0.75rem 0.95rem; }
/* Шаг 2: меню уходит в «бургер» */
.header.compact .nav,
.header.compact .header-actions > .btn-login { display: none; }
.header.compact .mobile-menu-btn { display: block; }
.mobile-menu { width: min(100%, 420px); box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12); }
@media (max-width: 480px) {
    .header-inner { gap: 0.5rem; }
    .logo { gap: 8px; }
    .logo i { font-size: 1.5rem; }
    .logo-title { font-size: 1rem; }
    .logo-subtitle { font-size: 0.65rem; }
    .language-btn { padding: 0.55rem 0.65rem; gap: 6px; }
    .header-actions { gap: 0.25rem; }
}
body[dir="rtl"] .language-dropdown { left: 0; right: auto; }
@media (max-width: 380px) {
    .logo-subtitle { display: none; }
    .logo-title { font-size: 0.95rem; }
    .language-btn .fa-chevron-down { display: none; }
}
@media (max-width: 480px) {
    .search-title { font-size: 1.4rem; overflow-wrap: anywhere; }
}

/* Сообщение об успешной отправке формы на странице услуги */
.form-success-inline { text-align: center; padding: 2rem 1rem; }
.form-success-inline[hidden] { display: none; }
.form-success-inline .ok-icon { width: 72px; height: 72px; border-radius: 50%; background: #d1fae5; color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.25rem; }
.form-success-inline h3 { color: var(--primary-blue); font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success-inline p { color: var(--gray); }
.service-page .consent { text-align: left; }
body[dir="rtl"] .service-page .consent { text-align: right; }
.footer-section a.footer-logo { display: flex; font-size: 1.2rem; font-weight: 700; color: inherit; margin-bottom: 1rem; }
.footer-section a.footer-logo:hover { color: inherit; }

/* =========================================================
   ТЕМА «МОСТ ЗНАНИЙ»: шрифты, арабская типографика, WhatsApp
   ========================================================= */
:root {
    --gold: #C9A24B;
    --gold-dark: #A8822F;
    --sand: #F7F2E8;
    --danger: #B42318;
    --whatsapp: #25D366;
    --font-latin: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    --font-devanagari: 'IBM Plex Sans Devanagari', 'Nirmala UI', sans-serif;
}
body, button, input, select, textarea { font-family: var(--font-latin); }

/* Арабский и персидский: свой шрифт, чуть крупнее, больше межстрочный интервал,
   без разрядки и без «капса» (в арабском письме их не бывает) */
html:lang(ar), html:lang(fa) { font-size: 106.25%; }
html:lang(ar) body, html:lang(fa) body,
html:lang(ar) button, html:lang(fa) button,
html:lang(ar) input, html:lang(fa) input,
html:lang(ar) select, html:lang(fa) select,
html:lang(ar) textarea, html:lang(fa) textarea { font-family: var(--font-arabic), var(--font-latin); }
html:lang(ar) body, html:lang(fa) body { line-height: 1.8; }
html:lang(ar) *, html:lang(fa) * { letter-spacing: 0 !important; text-transform: none !important; }
html:lang(ar) h1, html:lang(ar) h2, html:lang(ar) h3,
html:lang(fa) h1, html:lang(fa) h2, html:lang(fa) h3 { line-height: 1.45; }
html:lang(hi) body, html:lang(hi) button, html:lang(hi) input, html:lang(hi) select, html:lang(hi) textarea { font-family: var(--font-devanagari), var(--font-latin); }
/* Латиница внутри арабского текста (адреса сайта, e-mail, телефоны) — латинским шрифтом */
.logo-title, .mobile-menu-logo-title, [dir="ltr"], a[href^="tel:"], a[href^="mailto:"] { font-family: var(--font-latin); }

/* Золотые акценты */
.hero-badge, .about-hero-badge { border-color: rgba(201, 162, 75, 0.55); }
.hero-badge i, .about-hero-badge i, .logo i, .footer-logo i, .mobile-menu-logo i { color: var(--gold); }
.section-title::after { background: var(--gold); }
.rating { background: var(--gold); color: #1F1606; }
.step-number { background: var(--gold); color: #1F1606; }
.testimonial-stars, .stars { color: var(--gold); }
.pre-header a:hover, .footer-section a:hover { color: var(--gold); }
.cookie-banner a { color: #E3C27A; }

/* Кнопка WhatsApp в первом экране */
.btn-whatsapp-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-whatsapp-outline i { font-size: 1.25em; color: var(--whatsapp); }
.btn-whatsapp-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.hero-actions { flex-wrap: wrap; }

/* Плавающая кнопка WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 1400;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 20px 0 16px;
    border-radius: 28px;
    background: var(--whatsapp);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(15, 30, 56, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.2s ease;
}
.whatsapp-float i { font-size: 1.75rem; }
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 30, 56, 0.3); color: #fff; }
.whatsapp-float:focus-visible { outline: 3px solid var(--primary-blue); outline-offset: 3px; }
body[dir="rtl"] .whatsapp-float { right: auto; left: 24px; padding: 0 16px 0 20px; }
body.cookie-open .whatsapp-float { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.no-scroll .whatsapp-float { display: none; }

/* Кнопка «Наверх» — над WhatsApp */
.back-to-top { bottom: 96px; right: 28px; background: var(--primary-blue); }
body[dir="rtl"] .back-to-top { right: auto; left: 28px; }
body.cookie-open .back-to-top { bottom: 182px; }

/* Ссылка на WhatsApp под формой заявки */
.modal-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    color: #128C4A;
    font-weight: 600;
    text-decoration: none;
}
.modal-whatsapp i { font-size: 1.3rem; color: var(--whatsapp); }
.modal-whatsapp:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .whatsapp-float { right: 16px; height: 56px; width: 56px; padding: 0; justify-content: center; }
    body[dir="rtl"] .whatsapp-float { left: 16px; padding: 0; }
    .whatsapp-float-label { display: none; }
    .back-to-top { bottom: 84px; right: 20px; }
    body[dir="rtl"] .back-to-top { left: 20px; }
    body.cookie-open .whatsapp-float { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
    body.cookie-open .back-to-top { bottom: 214px; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { transition: none; }
}

/* Числа, телефоны и цены не переворачиваем в арабском тексте */
.stat-number, .price, .aside-price, .rating, .program-stats .stat-number, .stats strong,
a[href^="tel:"], a[href^="mailto:"], .mobile-contact-item, .pre-header-links a, .contact-details p, .footer-section p {
    unicode-bidi: isolate;
}
.stat-number, .price, .aside-price, .rating, .stats strong, a[href^="tel:"], a[href^="mailto:"], .mobile-contact-item span {
    direction: ltr;
}
.contact-details p, .footer-section p { unicode-bidi: plaintext; }
@media (max-width: 480px) {
    html:lang(ar), html:lang(fa) { font-size: 100%; }
}

.filter-group { min-width: 0; }
.filter-select { width: 100%; min-width: 0; max-width: 100%; }
@media (max-width: 600px) {
    .search-filters { grid-template-columns: minmax(0, 1fr); }
}

/* Стрелки «вперёд/назад» в арабском и персидском смотрят в другую сторону */
body[dir="rtl"] .fa-arrow-right, body[dir="rtl"] .fa-arrow-left,
body[dir="rtl"] .fa-chevron-right, body[dir="rtl"] .fa-chevron-left,
body[dir="rtl"] .fa-long-arrow-alt-right, body[dir="rtl"] .fa-paper-plane { transform: scaleX(-1); }

/* =========================================================
   НОВОСТИ: карточки с фото, страница новости, галерея
   ========================================================= */
.news-card .news-image { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-decoration: none; }
.news-card .news-image.has-photo { background: #0F1E38; }
.news-card .news-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.news-card:hover .news-image img { transform: scale(1.04); }
.news-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(15, 30, 56, 0.72); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; border: 2px solid rgba(255,255,255,0.8); }
.news-play i { margin-left: 3px; }
.news-card time { unicode-bidi: isolate; }
a.news-category { text-decoration: none; }
.news-list { padding-top: 50px; }
.news-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.news-filter button { font: inherit; cursor: pointer; }
.news-filter a, .news-filter button { padding: 0.5rem 1.1rem; border-radius: 20px; border: 1px solid var(--border); background: var(--white); color: var(--dark-gray); text-decoration: none; font-weight: 500; font-size: 0.925rem; }
.news-filter button:hover, .news-filter a:hover { border-color: var(--primary-blue); }
.news-filter button.active, .news-filter a.active { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.news-empty { text-align: center; color: var(--gray); padding: 3rem 1rem; }
.news-pager { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; color: var(--gray); }
.news-pager a { color: var(--primary-blue); font-weight: 600; text-decoration: none; }

.news-article-head { background: var(--primary-blue); color: #fff; padding: 56px 0 48px; }
.news-article-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.news-article-head .back-link { margin: 0 0 1.5rem; }
.news-article-head .news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1rem; color: #D6DCE8; }
.news-article-head .news-category { background: rgba(201, 162, 75, 0.18); color: #E3C27A; border: 1px solid rgba(201, 162, 75, 0.45); }
.news-article-head h1 { font-size: 2.4rem; line-height: 1.25; margin-bottom: 1rem; }
.news-lead { font-size: 1.2rem; line-height: 1.7; color: #D6DCE8; }
.news-article > .container { padding-top: 40px; padding-bottom: 60px; }
.news-cover { margin: 0 0 2rem; }
.news-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; display: block; }
.news-video { position: relative; padding-top: 56.25%; border-radius: 16px; overflow: hidden; background: #000; margin-bottom: 2rem; }
.news-video iframe, .news-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-body { font-size: 1.1rem; line-height: 1.8; color: var(--dark-gray); }
.news-body p, .news-body ul { margin-bottom: 1.25rem; }
.news-body ul { padding-inline-start: 1.5rem; }
.news-body a { color: var(--secondary-blue); word-break: break-word; }
.news-gallery-title { color: var(--primary-blue); font-size: 1.4rem; margin: 2rem 0 1rem; }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.news-gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--light-bg); }
.news-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-gallery-item:hover img { transform: scale(1.05); }
.news-share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--gray); font-weight: 500; }
.news-share a, .news-share button { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.share-wa { background: #25D366; } .share-tg { background: #229ED9; } .share-fb { background: #1877F2; }
.share-copy { background: var(--primary-blue); }
.share-copy.done { background: var(--success); }
.share-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #0F1E38; color: #fff; font-size: 0.8rem; padding: 0.3rem 0.6rem; border-radius: 6px; white-space: nowrap; }
.news-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--sand, #F7F2E8); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; }
.news-cta h2 { color: var(--primary-blue); font-size: 1.35rem; margin-bottom: 0.35rem; }
.news-cta p { color: var(--gray); }
.news-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-whatsapp-light { background: #fff; color: #128C4A; border: 2px solid #25D366; }
.btn-whatsapp-light i { color: #25D366; font-size: 1.2em; }
.news-more { background: var(--light-bg); }

.lightbox { position: fixed; inset: 0; z-index: 2100; background: rgba(8, 15, 28, 0.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.2rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #cbd5e1; font-size: 0.9rem; direction: ltr; }
body[dir="rtl"] .lb-close { right: auto; left: 12px; }
body[dir="rtl"] .lb-prev { left: auto; right: 10px; }
body[dir="rtl"] .lb-next { right: auto; left: 10px; }
body[dir="rtl"] .news-play i { margin-left: 3px; }

@media (max-width: 768px) {
    .news-article-head { padding: 40px 0 32px; }
    .news-article-head h1 { font-size: 1.7rem; }
    .news-lead { font-size: 1.05rem; }
    .news-body { font-size: 1.025rem; }
    .news-cta { padding: 1.25rem; }
    .news-cta-actions, .news-cta-actions .btn { width: 100%; justify-content: center; }
    .lightbox { padding: 56px 8px; }
    .lb-prev, .lb-next { top: auto !important; bottom: 8px; transform: none !important; }
}

.news-card[hidden] { display: none; }
.news-inline-photo { margin: 1.75rem 0; }
.news-inline-photo img { width: 100%; border-radius: 14px; display: block; }
.news-body .news-video { margin: 1.75rem 0; }
.news-cover figcaption, .news-inline-photo figcaption { font-size: 0.85rem; color: var(--gray); margin-top: 0.5rem; }
.news-video.vertical { padding-top: 0; max-width: 400px; aspect-ratio: 9 / 16; margin-left: auto; margin-right: auto; }
.news-video.is-instagram, .news-video.is-telegram { background: #fff; }
.news-body h2 { color: var(--primary-blue); font-size: 1.4rem; line-height: 1.35; margin: 2rem 0 0.85rem; }
.news-credits { font-size: 0.85rem; color: var(--gray); margin-top: 1.5rem; }
.news-credits i { color: var(--gold, #C9A24B); margin-inline-end: 0.25rem; }

/* ===== Видео: карточки с превью, страница видео, вертикальный плеер ===== */
.video-card[data-embed] { cursor: pointer; }
.video-card[data-embed]:focus-visible { outline: 3px solid var(--gold, #C9A24B); outline-offset: 3px; }
.video-thumbnail.has-thumb { background: #0F1E38; }
.video-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .video-thumbnail img { transform: scale(1.04); }
.video-thumbnail.has-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,15,28,0.55), rgba(8,15,28,0) 55%); }
.video-thumbnail .play-icon, .video-thumbnail .thumbnail-label, .video-duration { z-index: 1; }
.video-duration { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.75); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 6px; }
body[dir="rtl"] .video-duration { right: auto; left: 12px; }
body[dir="rtl"] .video-thumbnail .thumbnail-label { left: auto; right: 12px; }
.videos-page { padding-top: 50px; }
.videos-page .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.videos-page .video-content h3 { font-size: 1.1rem; }
.video-dialog.vertical { max-width: 420px; }
.video-dialog.vertical .video-frame { padding-top: 177.78%; }
@media (max-width: 1024px) { .videos-page .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .videos-page .video-grid { grid-template-columns: 1fr; } .video-dialog.vertical { max-width: 340px; } }

/* =========================================================
   КАТАЛОГ УНИВЕРСИТЕТОВ: вкладки направлений и плитки
   ========================================================= */
.uni-catalog { padding: 64px 0 80px; background: var(--white); }
.uni-catalog-title { color: var(--primary-blue); font-size: 2.1rem; line-height: 1.25; font-weight: 700; max-width: 640px; margin-bottom: 1.75rem; }
.uni-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem 2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.uni-tab { position: relative; background: none; border: 0; padding: 0.75rem 0; font: inherit; font-size: 1rem; font-weight: 600; color: rgba(20, 40, 75, 0.55); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.uni-tab i { font-size: 0.9em; opacity: 0.7; }
.uni-tab:hover { color: var(--primary-blue); }
.uni-tab.active { color: var(--accent-red); }
.uni-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent-red); }
.uni-tab:focus-visible { outline: 2px solid var(--gold, #C9A24B); outline-offset: 4px; border-radius: 4px; }
.uni-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 2rem; }
.uni-search, .uni-city { position: relative; display: flex; align-items: center; }
.uni-search { flex: 1 1 280px; max-width: 420px; }
.uni-search i, .uni-city i { position: absolute; inset-inline-start: 1rem; color: var(--gray); font-size: 0.9rem; pointer-events: none; }
.uni-search input, .uni-city select { width: 100%; height: 46px; border: 1px solid var(--border); border-radius: 12px; background: var(--light-bg); font: inherit; font-size: 0.95rem; color: var(--dark-gray); padding-inline: 2.6rem 1rem; }
.uni-city select { appearance: none; -webkit-appearance: none; min-width: 210px; padding-inline-end: 2.4rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6472' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; }
body[dir="rtl"] .uni-city select { background-position: left 1rem center; }
.uni-search input:focus, .uni-city select:focus { outline: none; border-color: var(--accent-red); background-color: var(--white); box-shadow: 0 0 0 3px rgba(14, 124, 90, 0.12); }
.uni-toolbar .results-count { margin-inline-start: auto; font-size: 0.925rem; }
.uni-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.uni-tile { display: flex; align-items: center; gap: 1.1rem; padding: 0.75rem 1.5rem 0.75rem 0.85rem; min-height: 88px; border-radius: 16px; background: var(--light-bg); border: 1px solid transparent; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; animation: uniTileIn 0.25s ease both; }
body[dir="rtl"] .uni-tile { padding: 0.75rem 0.85rem 0.75rem 1.5rem; }
.uni-tile:hover { background: var(--white); border-color: rgba(201, 162, 75, 0.6); box-shadow: 0 10px 24px rgba(20, 40, 75, 0.08); transform: translateY(-2px); }
.uni-tile:focus-visible { outline: 3px solid var(--gold, #C9A24B); outline-offset: 2px; }
.uni-tile-logo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(20, 40, 75, 0.06); }
.uni-tile-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.uni-tile-mono { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--primary-blue); text-align: center; line-height: 1.1; padding: 0 4px; word-break: break-word; }
.uni-tile-text { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.uni-tile-name { color: var(--primary-blue); font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.uni-tile-city { color: var(--gray); font-size: 0.8rem; }
.uni-tile-city i { color: var(--gold, #C9A24B); font-size: 0.75rem; }
.uni-list .empty-state { grid-column: 1 / -1; }
@keyframes uniTileIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .uni-tile { animation: none; transition: none; } }
@media (max-width: 1024px) { .uni-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .uni-catalog { padding: 40px 0 56px; }
    .uni-catalog-title { font-size: 1.5rem; }
    .uni-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 1.5rem; scrollbar-width: none; }
    .uni-tabs::-webkit-scrollbar { display: none; }
    .uni-tab { white-space: nowrap; }
    .uni-search { max-width: none; flex-basis: 100%; }
    .uni-city { flex: 1 1 100%; }
    .uni-toolbar .results-count { margin-inline-start: 0; }
    .uni-list { grid-template-columns: 1fr; gap: 0.85rem; }
}
/* счётчик справа в строке вкладок */
.uni-tabs .results-count { margin-inline-start: auto; align-self: center; font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.uni-tabs { margin-bottom: 2rem; }
.uni-tile-logo img { padding: 4px; }
@media (max-width: 640px) { .uni-tabs .results-count { display: none; } }
.university-logo.has-img, .detail-logo.has-img { background: var(--white); box-shadow: inset 0 0 0 1px rgba(20, 40, 75, 0.08); }
.university-logo.has-img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.detail-logo.has-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.university-logo, .detail-logo { overflow: hidden; }

/* ===== Страница университета ===== */
.uni-page .uni-hero { position: relative; isolation: isolate; color: #fff; background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)); padding: 56px 0 48px; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; }
.uni-page .uni-hero:not(.has-cover) { min-height: 0; padding: 48px 0; }
.uni-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.uni-hero.has-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15, 30, 56, 0.94) 0%, rgba(15, 30, 56, 0.7) 45%, rgba(15, 30, 56, 0.25) 100%); }
.uni-hero-inner { width: 100%; }
.uni-hero .back-link { margin: 0 0 auto; margin-bottom: 2rem; }
.uni-hero.has-cover .uni-hero-inner { padding-top: 120px; }
.uni-hero-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.uni-hero-logo { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.uni-hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.uni-hero-logo .uni-tile-mono { font-size: 1rem; }
.uni-hero-title { font-size: 2.6rem; line-height: 1.15; font-weight: 700; text-wrap: balance; max-width: 22ch; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }
.uni-hero-meta { margin-top: 0.6rem; font-size: 1.05rem; color: rgba(255, 255, 255, 0.88); }
.uni-hero-meta i { color: var(--gold); margin-inline-end: 0.2rem; }
.uni-hero-meta .sep { margin: 0 0.4rem; opacity: 0.6; }
.uni-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.uni-badges li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.uni-badges i { color: var(--gold); }
.uni-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.uni-hero-actions .btn { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }

.uni-subnav { position: sticky; top: var(--hdr, 72px); z-index: 900; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 6px 16px rgba(20, 40, 75, 0.05); }
.uni-subnav ul { list-style: none; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.uni-subnav ul::-webkit-scrollbar { display: none; }
.uni-subnav a { display: block; padding: 0.95rem 0.85rem; white-space: nowrap; color: var(--gray); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s; }
.uni-subnav a:hover { color: var(--primary-blue); }
.uni-subnav a.active { color: var(--primary-blue); border-bottom-color: var(--gold); }

.uni-page .uni-body { padding: 48px 0 72px; }
.uni-page .uni-similar, .uni-page .uni-hero { margin: 0; }
.uni-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 3rem; align-items: start; }
.uni-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.uni-facts.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.uni-facts.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uni-facts.n-1 { grid-template-columns: minmax(0, 1fr); }
.uni-facts > div { background: var(--light-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.15rem; }
.uni-facts dt { font-size: 0.82rem; color: var(--gray); margin-bottom: 0.35rem; }
.uni-facts dt i { color: var(--gold); width: 1.1em; }
.uni-facts dd { font-size: 1.3rem; font-weight: 700; color: var(--primary-blue); line-height: 1.25; }
.uni-facts dd small { font-size: 0.8rem; font-weight: 500; color: var(--gray); }

.uni-page .uni-sec { padding: 2.75rem 0 0; margin: 0; scroll-margin-top: calc(var(--hdr, 72px) + 64px); }
.uni-h2 { color: var(--primary-blue); font-size: 1.6rem; font-weight: 700; margin-bottom: 1.15rem; display: flex; align-items: center; gap: 0.75rem; }
.uni-h2::before { content: ''; width: 6px; height: 1.3em; border-radius: 3px; background: var(--gold); flex: 0 0 6px; }
.uni-h3 { color: var(--primary-blue); font-size: 1.1rem; margin: 1.75rem 0 0.85rem; }
.uni-lead { font-size: 1.15rem; line-height: 1.65; color: var(--dark-gray); margin-bottom: 1.25rem; }
.uni-text { color: var(--dark-gray); line-height: 1.75; }
.uni-text p { margin-bottom: 0.9rem; }
.uni-text h2 { font-size: 1.15rem; color: var(--primary-blue); margin: 1.6rem 0 0.6rem; }
.uni-text ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.uni-text li { position: relative; padding-inline-start: 1.5rem; margin-bottom: 0.5rem; }
.uni-text li::before { content: ''; position: absolute; inset-inline-start: 0.2rem; top: 0.68em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-red); }
.uni-text a { color: var(--accent-red); }

.uni-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 0.6rem; }
.uni-gallery-item { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--light-bg); }
.uni-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.uni-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.uni-gallery-item:hover img { transform: scale(1.05); }
.uni-gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.uni-gallery-item.is-extra { display: none; }
.uni-gallery-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 30, 56, 0.55); color: #fff; font-size: 1.6rem; font-weight: 700; }
.uni-gallery.count-1 { grid-template-columns: 1fr; grid-auto-rows: 360px; }
.uni-gallery.count-2, .uni-gallery.count-3, .uni-gallery.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
.uni-gallery.count-2 .uni-gallery-item:first-child, .uni-gallery.count-4 .uni-gallery-item:first-child { grid-column: auto; grid-row: auto; }
.uni-gallery.count-3 .uni-gallery-item:first-child { grid-column: auto; }
.uni-gallery.count-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.uni-videos { display: grid; gap: 1.5rem; }
.uni-videos:has(> :nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uni-video { margin: 0; }
.uni-video .news-video { margin-bottom: 0.6rem; }
.uni-video figcaption { font-size: 0.92rem; color: var(--gray); line-height: 1.45; }

.uni-table-wrap { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; overflow-x: auto; }
.uni-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.uni-table thead th { background: var(--primary-blue); color: #fff; font-weight: 600; font-size: 0.85rem; text-align: start; padding: 0.85rem 1rem; white-space: nowrap; }
.uni-table td, .uni-table tbody th { padding: 0.85rem 1rem; text-align: start; border-top: 1px solid var(--border); vertical-align: middle; }
.uni-table tbody th { color: var(--primary-blue); font-weight: 600; }
.uni-table tbody tr:nth-child(even) { background: #FBF8F2; }
.uni-table .price-cell { font-weight: 700; color: var(--primary-blue); white-space: nowrap; }
.uni-table .muted { color: var(--gray); font-weight: 500; }
.uni-note { margin-top: 0.85rem; font-size: 0.88rem; color: var(--gray); }
.uni-note i { color: var(--gold); margin-inline-end: 0.25rem; }
.uni-catalog-links { margin-top: 1rem; }

.uni-location { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.uni-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.uni-map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 0.9rem 1.15rem; background: var(--light-bg); }
.uni-map-info p { margin: 0; color: var(--dark-gray); font-weight: 500; }
.uni-map-info i.fa-map-marker-alt { color: var(--gold); }
.uni-map-links { display: flex; gap: 1.25rem; }
.uni-map-links a { color: var(--accent-red); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.uni-map-links a i { font-size: 0.75em; }

.uni-faq details { border-bottom: 1px solid var(--border); }
.uni-faq details:first-child { border-top: 1px solid var(--border); }
.uni-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0.25rem; font-weight: 600; color: var(--primary-blue); font-size: 1.05rem; }
.uni-faq summary::-webkit-details-marker { display: none; }
.uni-faq summary i { color: var(--gold); transition: transform 0.2s ease; flex: 0 0 auto; }
.uni-faq details[open] summary i { transform: rotate(180deg); }
.uni-faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.uni-faq .uni-text { padding: 0 0.25rem 1.1rem; }
.uni-credits { margin-top: 2.5rem; }
.uni-credits a { color: inherit; }

.uni-aside .aside-card { top: calc(var(--hdr, 72px) + 76px); }
.uni-aside .aside-price { margin-bottom: 1.25rem; }
.aside-title { font-size: 1.2rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 0.4rem; }
.uni-aside .aside-price + .aside-title { padding-top: 1.25rem; border-top: 1px solid var(--border); }
.uni-aside .btn-block { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; text-decoration: none; margin-bottom: 0.65rem; }

.uni-page .uni-similar { background: var(--light-bg); padding: 56px 0 72px; }
.uni-similar .uni-tile { background: #fff; }

@media (max-width: 900px) {
    .uni-layout { grid-template-columns: 1fr; gap: 2rem; }
    .uni-aside .aside-card { position: static; }
    .uni-hero-title { font-size: 2rem; }
}
@media (max-width: 640px) {
    .uni-page .uni-hero { min-height: 0; padding: 32px 0 32px; }
    .uni-hero.has-cover .uni-hero-inner { padding-top: 90px; }
    .uni-hero .back-link { margin-bottom: 1.25rem; }
    .uni-hero-head { gap: 1rem; align-items: flex-start; }
    .uni-hero-logo { flex-basis: 64px; width: 64px; height: 64px; border-radius: 16px; }
    .uni-hero-logo img { padding: 6px; }
    .uni-hero-title { font-size: 1.5rem; }
    .uni-hero-meta { font-size: 0.95rem; }
    .uni-badges li { font-size: 0.82rem; padding: 0.35rem 0.75rem; }
    .uni-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
    .uni-page .uni-body { padding: 32px 0 56px; }
    .uni-facts, .uni-facts.n-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
    .uni-facts > div { padding: 0.85rem 0.9rem; }
    .uni-facts dd { font-size: 1.1rem; }
    .uni-h2 { font-size: 1.35rem; }
    .uni-gallery, .uni-gallery.count-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
    .uni-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
    .uni-gallery.count-2 .uni-gallery-item:first-child, .uni-gallery.count-4 .uni-gallery-item:first-child { grid-column: span 2; grid-row: auto; }
    .uni-videos:has(> :nth-child(2)) { grid-template-columns: 1fr; }
    .uni-map iframe { height: 240px; }
    .uni-page .uni-similar { padding: 40px 0 56px; }
}
/* Главные направления: медицина, инженерия, ИИ */
.uni-dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.uni-dir { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(20, 40, 75, 0.05); }
.uni-dir header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.uni-dir-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(14, 124, 90, 0.1); color: var(--accent-red); font-size: 1.15rem; flex: 0 0 44px; }
.uni-dir h3 { font-size: 1.08rem; color: var(--primary-blue); line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.uni-dir-state { font-size: 0.78rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; background: #E3F4EC; color: #05603A; white-space: nowrap; }
.uni-dir.is-partial .uni-dir-state { background: #FBF3DF; color: #8A6516; }
.uni-dir.is-partial .uni-dir-icon { background: rgba(201, 162, 75, 0.15); color: var(--gold-dark, #A8822F); }
.uni-dir.is-no { background: #FAF8F4; box-shadow: none; }
.uni-dir.is-no .uni-dir-state { background: #EEEBE4; color: var(--gray); }
.uni-dir.is-no .uni-dir-icon { background: #EEEBE4; color: #9A9384; }
.uni-dir p { color: var(--dark-gray); font-size: 0.93rem; line-height: 1.6; margin: 0; }
.uni-dir-progs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.uni-dir-progs li { font-size: 0.82rem; font-weight: 600; color: var(--primary-blue); background: var(--light-bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.3rem 0.6rem; }
.uni-dir-price { margin-top: auto; padding-top: 0.6rem; border-top: 1px dashed var(--border); font-weight: 700; color: var(--primary-blue); font-size: 1.1rem; }
.uni-dir-price small { font-weight: 500; color: var(--gray); font-size: 0.8rem; }
.uni-dir-more { margin-top: auto; color: var(--accent-red); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.uni-dir-more:hover { text-decoration: underline; }
body[dir="rtl"] .uni-dir-more i { transform: scaleX(-1); }
.uni-page .uni-dirs-wrap { padding: 40px 0 8px; }
.uni-page .uni-dirs-wrap .uni-sec { padding-top: 0; }
.uni-page .uni-dirs-wrap + .uni-body { padding-top: 32px; }
@media (max-width: 960px) { .uni-dirs { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .uni-page .uni-dirs-wrap { padding-top: 28px; } }

.uni-fac { display: block; font-weight: 400; font-size: 0.8rem; color: var(--gray); margin-top: 0.15rem; }
.uni-prog-filter { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.uni-prog-filter button { font: inherit; font-size: 0.88rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--primary-blue); cursor: pointer; }
.uni-prog-filter button span { color: var(--gray); font-weight: 500; margin-inline-start: 0.2rem; }
.uni-prog-filter button:hover { border-color: var(--gold); }
.uni-prog-filter button.active { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.uni-prog-filter button.active span { color: rgba(255, 255, 255, 0.75); }
.uni-prog-filter button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.uni-table tr[hidden] { display: none !important; }
.uni-field-tags span { display: inline-block; padding: 0.5rem 1rem; border-radius: 20px; background: var(--light-bg); border: 1px solid var(--border); color: var(--gray); font-weight: 500; }
.uni-prog-link { color: var(--primary-blue); text-decoration: none; border-bottom: 1px solid rgba(20, 40, 75, 0.25); transition: color 0.15s, border-color 0.15s; }
.uni-prog-link:hover { color: var(--accent-red); border-bottom-color: var(--accent-red); }
.uni-prog-link:focus-visible, .uni-dir-progs a:focus-visible, .uni-prog-links a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.uni-dir-progs li { padding: 0; }
.uni-dir-progs a { display: block; padding: 0.3rem 0.6rem; color: var(--primary-blue); text-decoration: none; border-radius: 8px; }
.uni-dir-progs a:hover { color: var(--accent-red); }
.uni-dir-progs li:has(a:hover) { border-color: var(--gold); }
.uni-hero-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.uni-page .uni-prog-hero { min-height: 360px; }
.uni-prog-page .uni-hero-title { font-size: 2.3rem; max-width: 26ch; }
.uni-prog-page .uni-facts { margin-bottom: 0.5rem; }
.uni-prog-dir { margin: 1.5rem 0 0; }
.uni-prog-links { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.uni-prog-links a { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.uni-prog-links a:hover { border-color: var(--gold); box-shadow: 0 6px 16px rgba(20, 40, 75, 0.07); }
.uni-prog-links span { color: var(--primary-blue); font-weight: 600; }
.uni-prog-links small { color: var(--gray); font-size: 0.82rem; }
.uni-aside .uni-note { margin-top: 1rem; font-size: 0.8rem; }
@media (max-width: 640px) { .uni-prog-links { grid-template-columns: 1fr; } .uni-prog-page .uni-hero-title { font-size: 1.45rem; } .uni-page .uni-prog-hero { min-height: 0; } }
/* программы — явно кликабельные */
.uni-table tbody tr { cursor: pointer; transition: background 0.15s; }
.uni-table tbody tr:hover { background: #F3EBD9 !important; }
.uni-table .more-cell { text-align: end; white-space: nowrap; width: 1%; padding-inline-start: 0.4rem; }
.uni-table thead th, .uni-table td, .uni-table tbody th { padding-left: 0.65rem; padding-right: 0.65rem; }
.uni-table thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
.uni-table { font-size: 0.92rem; }
@media (min-width: 1101px) { .uni-more-btn { padding: 0.45rem 0.7rem; font-size: 0.82rem; } }
.uni-more-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: 8px; background: var(--accent-red); color: #fff; font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: background 0.15s; }
.uni-table tbody tr:hover .uni-more-btn, .uni-more-btn:hover { background: #0A6247; }
body[dir="rtl"] .uni-more-btn i, body[dir="rtl"] .uni-prog-arrow, body[dir="rtl"] .uni-dir-progs a i { transform: scaleX(-1); }
.uni-prog-link { border-bottom: 0; text-decoration: underline; text-decoration-color: rgba(14, 124, 90, 0.45); text-underline-offset: 3px; }
.uni-prog-arrow { font-size: 0.72em; color: var(--accent-red); margin-inline-start: 0.15rem; }
.uni-dir-progs li { background: #fff !important; border-color: rgba(14, 124, 90, 0.35) !important; }
.uni-dir-progs a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--accent-red); }
.uni-dir-progs a i { font-size: 0.7em; }
.uni-dir-progs li:hover { background: #E3F4EC !important; }
.uni-prog-help { margin-top: 1.25rem; padding: 0.9rem 1rem; background: var(--light-bg); border-radius: 12px; }
.uni-prog-help i { color: var(--gold); margin-inline-end: 0.35rem; }
.uni-prog-page .uni-h2 { margin-top: 1.75rem; }
@media (max-width: 640px) {
}
@media (max-width: 1100px) {
    .uni-table-wrap { border: 0; border-radius: 0; overflow: visible; }
    .uni-table thead { display: none; }
    .uni-table, .uni-table tbody, .uni-table tr { display: block; }
    .uni-table tr { border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 0.65rem; background: #fff !important; }
    .uni-table tbody th { display: block; border: 0; padding: 0 0 0.4rem !important; font-size: 1.02rem; }
    .uni-table td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: 0.2rem 0 !important; font-size: 0.9rem; }
    .uni-table td::before { content: attr(data-label); color: var(--gray); font-weight: 400; }
    .uni-table .more-cell { display: block; width: auto; padding-top: 0.6rem; }
    .uni-table .more-cell::before { display: none; }
    .uni-more-btn { display: flex; justify-content: center; width: 100%; padding: 0.6rem; }
    .uni-table tr:hover { background: #FBF8F2 !important; }
}
/* страница программы: что изучают, кем работать */
.uni-subjects { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.uni-subjects li { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; color: var(--dark-gray); font-weight: 500; line-height: 1.4; }
.uni-subjects .num { flex: 0 0 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(14, 124, 90, 0.1); color: var(--accent-red); font-weight: 700; font-size: 0.88rem; }
.uni-careers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.uni-careers li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: var(--light-bg); border-radius: 12px; color: var(--primary-blue); font-weight: 600; line-height: 1.4; }
.uni-careers i { color: var(--gold); margin-top: 0.2rem; }
.uni-prog-page .uni-main > .uni-sec:first-of-type { padding-top: 2.25rem; }
@media (max-width: 640px) { .uni-subjects, .uni-careers { grid-template-columns: 1fr; } }
.uni-langs { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.9rem; }
@media (max-width: 1100px) { .uni-langs { flex-direction: row; flex-wrap: wrap; gap: 0 0.4rem; justify-content: flex-end; } .uni-langs span + span::before { content: '· '; color: var(--gray); } }
@media (prefers-reduced-motion: reduce) { .uni-gallery-item img, .uni-faq summary i { transition: none; } }

/* Каталог программ: «Показать ещё» и цена по запросу */
.programs-more { display: flex; justify-content: center; margin-top: 2rem; }
.programs-more:empty { display: none; }
.price.price-request { font-size: 1rem; color: var(--text-light, #5B6472); }

/* Отзывы: фото выпускника вместо иконки */
.testimonial-avatar { overflow: hidden; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Отзывы: свёрнутый текст и кнопка «Читать полностью» */
.testimonial-card .testimonial-text.is-clamped:not(.is-open) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}
.testimonial-card .read-more-btn {
    background: none;
    border: 0;
    padding: 0.25rem 0.5rem;
    margin: -0.5rem auto 1rem;
    display: block;
    color: var(--secondary-blue);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.testimonial-card .read-more-btn:hover { color: var(--primary-blue); }

.testimonials-grid { align-items: start; }


/* ===== Главная: Наши представительства ===== */
.ph { background: rgba(201,162,75,.18); border-bottom: 2px dashed var(--gold); padding: 0 .25rem; border-radius: 3px; }
.hq { padding: 80px 0; background: var(--white); }
.hq-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.hq-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; background: var(--sand); color: var(--gold-dark); font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.hq-head .section-title { margin-bottom: .75rem; }
.hq-sub { color: var(--gray); font-size: 1.05rem; line-height: 1.6; }
.hq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hq-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 1.75rem; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.hq-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--primary-blue), var(--gold)); }
.hq-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,40,75,.12); }
.hq-flag { font-size: 2.6rem; line-height: 1; margin-bottom: .75rem; }
.hq-card h3 { font-size: 1.4rem; color: var(--primary-blue); margin-bottom: .35rem; }
.hq-city { color: var(--gray); margin-bottom: 1rem; }
.hq-city i { color: var(--gold-dark); }
.hq-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; font-size: .95rem; color: var(--dark-gray); }
.hq-list i { color: var(--success); margin-inline-end: .4rem; }
.hq-ar { font-family: var(--font-arabic); color: var(--gray); font-size: .95rem; margin-bottom: 1.25rem; }
.hq-actions { margin-top: auto; display: flex; gap: .6rem; align-items: center; }
.hq-actions .btn { flex: 1; text-align: center; justify-content: center; }
.hq-wa { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; display: grid; place-items: center; background: var(--whatsapp); color: #fff; font-size: 1.4rem; text-decoration: none; }
.hq-wa:hover { filter: brightness(.95); }
@media (max-width: 960px) { .hq-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .hq { padding: 56px 0; } }

/* Верхняя полоска: ссылки на представительства */
.pre-header-offices { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: center; }
.pre-header-offices > i { color: var(--gold); }
.pre-header-offices .pho-label { opacity: .8; }
.pre-header-offices a { color: var(--white); text-decoration: none; font-weight: 600; padding: .1rem .2rem; border-radius: 4px; }
.pre-header-offices a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.pre-header-offices .pho-dot { opacity: .5; }
@media (max-width: 1100px) { .pre-header-content:has(> .pre-header-offices:not([hidden])) .official-badge { display: none; } }
@media (max-width: 768px) {
    .pre-header-offices { order: -1; font-size: .82rem; }
    .pre-header-links { justify-content: center; gap: 14px; }
}

/* ===== Страницы представительств ===== */
.office-hero { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); color: var(--white); padding: 48px 0 72px; position: relative; overflow: hidden; }
.office-hero::after { content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(201,162,75,.25); }
.office-switch { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.office-switch a { color: rgba(255,255,255,.85); text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: .95rem; }
.office-switch a:hover { background: rgba(255,255,255,.1); }
.office-switch a.is-active { background: var(--white); color: var(--primary-blue); border-color: var(--white); }
.office-switch .flag { font-size: 1.1rem; margin-inline-end: .25rem; }
.office-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; position: relative; z-index: 1; }
.office-title { font-size: 3rem; font-weight: 800; line-height: 1.1; margin: 1.25rem 0; }
.office-lead { font-size: 1.15rem; line-height: 1.65; opacity: .92; margin-bottom: 2rem; max-width: 36rem; }
.office-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.office-card { background: var(--white); color: var(--dark-gray); border-radius: 20px; padding: 1.75rem; box-shadow: 0 24px 50px rgba(0,0,0,.25); border-top: 4px solid var(--gold); }
.office-card h2 { font-size: 1.25rem; color: var(--primary-blue); margin-bottom: 1rem; }
.office-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.office-contacts li { display: flex; gap: .85rem; align-items: flex-start; }
.office-contacts i { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--sand); color: var(--primary-blue); display: grid; place-items: center; }
.office-contacts .lbl { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .4px; color: var(--gray); margin-bottom: .1rem; }
.office-section { padding: 72px 0; background: var(--white); }
.office-section--sand { background: var(--sand); }
.office-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.office-service { border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; background: var(--white); }
.office-service i { font-size: 1.4rem; color: var(--gold-dark); margin-bottom: .9rem; display: block; }
.office-service h3 { font-size: 1.1rem; color: var(--primary-blue); margin-bottom: .5rem; }
.office-service p { color: var(--gray); line-height: 1.6; font-size: .95rem; }
.office-programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.office-program { display: flex; flex-direction: column; gap: .4rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.office-program:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20,40,75,.12); }
.office-program .op-tag { font-size: .78rem; color: var(--gray); }
.office-program h3 { font-size: 1.15rem; color: var(--primary-blue); }
.office-program p { font-size: .9rem; color: var(--gray); flex: 1; }
.office-program .op-price { font-weight: 700; color: var(--success); }
.office-more { text-align: center; margin-top: 2rem; }
.office-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
.office-steps li { position: relative; padding: 1.5rem 1.25rem; border-radius: 16px; background: var(--sand); }
.office-steps .n { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-blue); color: var(--white); display: grid; place-items: center; font-weight: 700; margin-bottom: .9rem; }
.office-steps h3 { font-size: 1.05rem; color: var(--primary-blue); margin-bottom: .4rem; }
.office-steps p { font-size: .9rem; color: var(--gray); line-height: 1.55; }
.office-grads { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 1.25rem; justify-content: center; }
.office-grad { display: flex; gap: 1rem; align-items: center; background: var(--white); border-radius: 16px; padding: 1.25rem; border: 1px solid var(--border); margin: 0; }
.office-grad img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px; }
.office-grad strong { display: block; color: var(--primary-blue); margin-bottom: .2rem; }
.office-grad span { font-size: .9rem; color: var(--gray); }
.office-form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.office-form-text h2 { font-size: 2rem; color: var(--primary-blue); margin-bottom: 1rem; }
.office-form-text p { color: var(--gray); line-height: 1.65; margin-bottom: 1.25rem; }
.office-checks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.office-checks i { color: var(--success); margin-inline-end: .5rem; }
.office-form { background: var(--sand); padding: 2rem; border-radius: 20px; }
@media (max-width: 1024px) {
    .office-programs { grid-template-columns: repeat(2, 1fr); }
    .office-steps { grid-template-columns: repeat(2, 1fr); }
    .office-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .office-hero-grid, .office-form-wrap { grid-template-columns: 1fr; gap: 2rem; }
    .office-title { font-size: 2.2rem; }
    .office-services, .office-programs, .office-steps, .office-grads { grid-template-columns: 1fr; }
    .office-section { padding: 52px 0; }
}
.office-quick { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.25rem; }
.office-quick a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.office-quick i { color: var(--gold); margin-inline-end: .35rem; }
.office-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.office-media .uni-gallery { grid-template-columns: repeat(3, minmax(0,1fr)); grid-auto-rows: 120px; }
.office-video { margin: 0; }
.office-video-poster { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: var(--primary-blue); }
.office-video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.office-video-poster:hover img { transform: scale(1.03); }
.office-video figcaption { margin-top: .6rem; color: var(--gray); font-size: .92rem; }
.office-route { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: stretch; }
.office-map { border-radius: 20px; overflow: hidden; min-height: 380px; border: 1px solid var(--border); background: #e9e5dc; }
.office-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.office-route-info { background: var(--white); border-radius: 20px; padding: 1.75rem; border: 1px solid var(--border); }
.office-address { font-weight: 600; color: var(--primary-blue); margin-bottom: 1.25rem; }
.office-address i { color: var(--gold-dark); }
.office-ways { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 1rem; }
.office-ways li { display: flex; gap: .85rem; }
.office-ways i { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--sand); color: var(--primary-blue); display: grid; place-items: center; }
.office-ways strong { display: block; color: var(--dark-gray); margin-bottom: .15rem; }
.office-ways span { color: var(--gray); font-size: .93rem; line-height: 1.5; }
.office-address-ar { background: var(--sand); border-radius: 12px; padding: .75rem 1rem; margin-bottom: 1.25rem; font-family: var(--font-arabic); }
.office-address-ar .lbl { font-weight: 700; }
.office-route-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 900px) {
    .office-media, .office-route { grid-template-columns: 1fr; }
    .office-map, .office-map iframe { min-height: 300px; }
}
@media (max-width: 560px) { .office-media .uni-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Представительства (вкл/выкл в панели управления) */
[data-offices][hidden] { display: none !important; }
.pre-header-offices a.pho-label { font-weight: 400; opacity: .8; color: var(--white); }
.hq-head .section-title a { color: inherit; text-decoration: none; }
.hq-head .section-title a:hover { color: var(--gold-dark); }
.hq--page { padding-top: 64px; }
a.about-hero-badge { color: inherit; text-decoration: none; }
.office-form .contact-success { margin-top: 1rem; }

/* Представительства открываются по одному */
.pre-header-offices a.pho-c:not([hidden]) ~ a.pho-c:not([hidden])::before { content: "·"; opacity: .5; margin-inline-end: .45rem; font-weight: 400; color: var(--white); }
.hq-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; }

/* ===== Герой с фото студентов ===== */
.hero.hero--photo {
    position: relative;
    background:
        linear-gradient(180deg, rgba(20, 40, 75, 0.86) 0%, rgba(20, 40, 75, 0.78) 55%, rgba(20, 40, 75, 0.92) 100%),
        url("../uploads/hero-students.jpg") center 35% / cover no-repeat,
        var(--primary-blue);
}
@media (max-width: 768px) {
    .hero.hero--photo {
        background:
            linear-gradient(180deg, rgba(20, 40, 75, 0.66) 0%, rgba(20, 40, 75, 0.74) 40%, rgba(20, 40, 75, 0.86) 75%, rgba(20, 40, 75, 0.94) 100%),
            url("../uploads/hero-students.jpg") 70% 30% / cover no-repeat,
            var(--primary-blue);
    }
    .hero.hero--photo .hero-badge { font-size: .85rem; padding: .5rem 1rem; background: rgba(20, 40, 75, 0.55); }
    .hero.hero--photo .hero-title, .hero.hero--photo .hero-subtitle { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
    .hero.hero--photo .hero-stats:where(:not(.service-page *)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 1.5rem 0; }
    .hero.hero--photo .stat-number { font-size: clamp(1.05rem, 5vw, 1.6rem); white-space: nowrap; }
    .hero.hero--photo .stat-label { font-size: clamp(.62rem, 3vw, .78rem); text-transform: none; letter-spacing: 0; line-height: 1.3; hyphens: auto; }
}
@media (max-width: 560px) {
    /* На телефоне — вертикальный кадр фоном под текстом */
    .hero.hero--photo {
        background:
            linear-gradient(180deg, rgba(20, 40, 75, 0.62) 0%, rgba(20, 40, 75, 0.72) 40%, rgba(20, 40, 75, 0.86) 75%, rgba(20, 40, 75, 0.94) 100%),
            url("../uploads/hero-students-sm.jpg") 55% 20% / cover no-repeat,
            var(--primary-blue);
    }
}

/* Страницы офисов: заголовок из двух частей, ссылки в контактах */
.office-title .ot-a { display: block; }
.office-title .ot-a:empty { display: none; }
.office-contacts a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(20, 40, 75, .25); }
.office-contacts a:hover { color: var(--primary-blue); border-bottom-color: var(--gold); }

/* ===== Жизнь в России ===== */
.about-hero.lr-hero { background: linear-gradient(180deg, rgba(20,40,75,.82) 0%, rgba(20,40,75,.72) 60%, rgba(20,40,75,.9) 100%), url("../uploads/life/hero.jpg") center 45% / cover no-repeat, var(--primary-blue); padding: 110px 0 120px; }
.lr-facts-band { margin-top: -64px; position: relative; z-index: 2; }
.lr-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lr-facts li { background: var(--white); border-radius: 16px; padding: 1.25rem 1.4rem; box-shadow: 0 16px 36px rgba(20,40,75,.12); border-top: 3px solid var(--gold); }
.lr-facts b { display: block; font-size: 1.6rem; color: var(--primary-blue); line-height: 1.2; margin-bottom: .3rem; unicode-bidi: isolate; }
.lr-facts span { color: var(--gray); font-size: .92rem; line-height: 1.4; }
.lr-section { padding: 72px 0; background: var(--white); }
.lr-section--sand { background: var(--sand); }
.lr-sub { color: var(--gray); font-size: 1.05rem; line-height: 1.65; max-width: 760px; margin: -.5rem auto 2rem; text-align: center; }
.lr-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.lr-city { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.lr-city:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(20,40,75,.1); }
.lr-city-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.lr-city-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lr-city-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.lr-city h3 { font-size: 1.2rem; color: var(--primary-blue); margin: 0; }
.lr-city p { color: var(--gray); font-size: .93rem; line-height: 1.55; margin: 0; }
.lr-city .lr-city-budget { margin-top: auto; padding-top: .6rem; border-top: 1px dashed var(--border); color: var(--dark-gray); }
.lr-city-budget b { color: var(--success); white-space: nowrap; }
.lr-more { text-align: center; margin-top: 2rem; }
.lr-cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
.lr-cost .section-title, .lr-cost .lr-sub, .lr-dorm .section-title, .lr-dorm .lr-sub, .lr-leisure .section-title, .lr-leisure .lr-sub { text-align: start; margin-inline: 0; }
.lr-total { display: flex; gap: 1rem; align-items: flex-start; background: var(--primary-blue); color: var(--white); border-radius: 16px; padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.lr-total > i { font-size: 1.6rem; color: var(--gold); margin-top: .2rem; }
.lr-total h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--gold); }
.lr-total p { margin: 0; line-height: 1.5; }
.lr-tip { color: var(--gray); font-size: .93rem; } .lr-tip i { color: var(--gold-dark); margin-inline-end: .35rem; }
.lr-cost-table { background: var(--white); border-radius: 16px; border: 1px solid var(--border); overflow-x: auto; }
.lr-cost-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lr-cost-table th, .lr-cost-table td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); text-align: start; font-size: .95rem; }
.lr-cost-table tr:last-child th, .lr-cost-table tr:last-child td { border-bottom: 0; }
.lr-cost-table th { font-weight: 500; color: var(--dark-gray); }
.lr-cost-table td { font-weight: 700; color: var(--primary-blue); white-space: nowrap; text-align: end; }
.lr-seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.lr-season { border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--border); }
.lr-season img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; display: block; }
.lr-season div { padding: 1rem 1.15rem 1.2rem; }
.lr-season h3 { margin: 0 0 .35rem; color: var(--primary-blue); font-size: 1.1rem; }
.lr-season p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.55; }
.lr-pack { margin-top: 2rem; background: var(--sand); border-radius: 16px; padding: 1.4rem 1.6rem; }
.lr-pack h3 { margin: 0 0 .75rem; color: var(--primary-blue); }
.lr-pack ul, .lr-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.lr-pack ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lr-pack i, .lr-checks i { color: var(--success); margin-inline-end: .45rem; }
.lr-checks { margin-bottom: 1.5rem; }
.lr-dorm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.lr-dorm-media { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lr-dorm-media img, .lr-leisure-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.lr-daily { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.lr-daily-card { border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; background: var(--white); }
.lr-daily-card > i { font-size: 1.35rem; color: var(--gold-dark); width: 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: .9rem; }
.lr-daily-card h3 { margin: 0 0 .45rem; font-size: 1.05rem; color: var(--primary-blue); }
.lr-daily-card p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.55; }
.lr-first { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 1rem; }
.lr-first li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border-radius: 14px; padding: 1.1rem 1.3rem; }
.lr-first .n { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--primary-blue); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.lr-first h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--primary-blue); }
.lr-first p { margin: 0; color: var(--gray); line-height: 1.55; font-size: .95rem; }
.lr-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.lr-leisure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.lr-leisure-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 1024px) {
    .lr-cities, .lr-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lr-seasons, .lr-daily, .lr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .lr-cost, .lr-dorm, .lr-leisure { grid-template-columns: 1fr; gap: 1.5rem; }
    .lr-section { padding: 52px 0; }
    .about-hero.lr-hero { padding: 80px 0 100px; }
}
@media (max-width: 560px) {
    .lr-cities, .lr-videos, .lr-seasons, .lr-daily, .lr-pack ul { grid-template-columns: 1fr; }
    .lr-facts { gap: .6rem; } .lr-facts li { padding: 1rem; } .lr-facts b { font-size: 1.25rem; }
}

/* ===== Аренда жилья ===== */
[data-video][hidden], [data-videos-block][hidden] { display: none !important; }
.rental-hero.hs-hero { background: linear-gradient(180deg, rgba(20,40,75,.84) 0%, rgba(20,40,75,.7) 55%, rgba(20,40,75,.9) 100%), url("../uploads/housing/hero.jpg") center 55% / cover no-repeat, var(--primary-blue); padding: 100px 0 120px; }
.service-housing .hs-facts { margin-top: -64px; padding: 0; }
.service-housing .hs-gallery { padding: 72px 0; }
.hs-gallery .gallery-item { margin: 0; }
.hs-gallery .gallery-item img { display: block; }
.hs-gallery .gallery-label { max-width: calc(100% - 20px); }
[dir="rtl"] .hs-gallery .gallery-label { left: auto; right: 10px; }
.hs-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.hs-opt { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.hs-opt-top { display: flex; align-items: center; gap: .75rem; }
.hs-opt-top i { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.2rem; }
.hs-opt h3 { margin: 0; font-size: 1.08rem; color: var(--primary-blue); line-height: 1.3; }
.hs-opt-price { margin: 0; } .hs-opt-price b { color: var(--success); font-size: 1.1rem; unicode-bidi: isolate; }
.hs-opt > p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.55; }
.hs-opt ul { list-style: none; padding: .7rem 0 0; margin: auto 0 0; border-top: 1px dashed var(--border); display: grid; gap: .4rem; font-size: .9rem; }
.hs-opt .plus i { color: var(--success); margin-inline-end: .35rem; }
.hs-opt .minus { color: var(--gray); } .hs-opt .minus i { color: var(--gold-dark); margin-inline-end: .35rem; }
.hs-note { color: var(--gray); font-size: .88rem; text-align: center; max-width: 760px; margin: 1.5rem auto 0; }
.hs-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.hs-box { background: var(--white); border-radius: 16px; padding: 1.6rem 1.7rem; }
.hs-box h2 { color: var(--primary-blue); font-size: 1.5rem; margin: 0 0 1rem; }
.hs-box .lr-checks { margin: 0; } .hs-box .lr-checks i { color: var(--gold-dark); }
.hs-reg { margin: 1.25rem 0 0; } .hs-reg p { margin: 0; }
.service-housing .lr-section { padding: 72px 0; }
.hs-faq .faq-container { max-width: 820px; margin: 0 auto; }
.hs-faq .faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.hs-faq .faq-question { padding: 1.25rem 1.5rem; background: var(--light-bg); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; color: var(--primary-blue); border: none; width: 100%; font-size: 1rem; text-align: start; }
.hs-faq .faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all .3s ease; }
.hs-faq .faq-answer.active { padding: 1.25rem 1.5rem; max-height: 500px; }
.hs-faq .faq-answer p { margin: 0; color: var(--dark-gray); line-height: 1.6; }
.hs-faq .faq-toggle { transition: transform .3s ease; }
@media (max-width: 1024px) { .hs-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    .hs-two { grid-template-columns: 1fr; }
    .rental-hero.hs-hero { padding: 80px 0 100px; }
    .service-housing .lr-section, .service-housing .hs-gallery { padding: 52px 0; }
}
@media (max-width: 560px) { .hs-opts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hs-gallery .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .hs-gallery .gallery-label { font-size: .65rem; padding: .2rem .55rem; bottom: 6px; left: 6px; } [dir="rtl"] .hs-gallery .gallery-label { right: 6px; left: auto; } }

/* ===== О нас ===== */
.about-hero.ab-hero { background: linear-gradient(180deg, rgba(20,40,75,.84) 0%, rgba(20,40,75,.7) 55%, rgba(20,40,75,.9) 100%), url("../uploads/about/hero.jpg") center 60% / cover no-repeat, var(--primary-blue); padding: 110px 0 120px; }
.ab-who-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.ab-who .section-title, .ab-who .lr-sub { text-align: start; margin-inline: 0; }
.ab-who-photo { margin: 0; }
.ab-who-photo img { width: 100%; aspect-ratio: 900 / 680; object-fit: cover; border-radius: 18px; display: block; box-shadow: 0 20px 40px rgba(20,40,75,.15); }
.ab-who-photo figcaption { color: var(--gray); font-size: .88rem; margin-top: .6rem; line-height: 1.45; }
.mission-image.ab-mission-photo { background: none; padding: 0; overflow: hidden; }
.ab-mission-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-servs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ab-serv { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.3rem; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ab-serv:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(20,40,75,.1); }
.ab-serv > i { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--sand); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.2rem; }
.ab-serv h3 { margin: 0 0 .3rem; font-size: 1.04rem; color: var(--primary-blue); }
.ab-serv p { margin: 0 0 .5rem; color: var(--gray); font-size: .9rem; line-height: 1.5; }
.ab-serv-more { color: var(--gold-dark); font-weight: 600; font-size: .88rem; }
[dir="rtl"] .ab-serv-more .fa-arrow-right { transform: scaleX(-1); }
.ab-how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; counter-reset: none; }
.ab-how li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.3rem 1.3rem 1.3rem; }
.ab-how .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-blue); color: var(--white); font-weight: 700; margin-bottom: .8rem; }
.ab-how h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--primary-blue); }
.ab-how p { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.55; }
.ab-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-unis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .9rem; }
.ab-uni { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1rem .75rem; border: 1px solid var(--border); border-radius: 14px; background: var(--white); color: var(--primary-blue); text-decoration: none; font-weight: 600; font-size: .9rem; text-align: center; transition: transform .2s, box-shadow .2s; }
.ab-uni:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(20,40,75,.08); }
.ab-uni img { width: 64px; height: 64px; object-fit: contain; }
@media (max-width: 1024px) { .ab-servs, .ab-how, .ab-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    .ab-who-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-hero.ab-hero { padding: 80px 0 90px; }
    .mission-image.ab-mission-photo { height: 260px; }
}
@media (max-width: 560px) { .ab-servs, .ab-how, .ab-why { grid-template-columns: 1fr; } .ab-unis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; } .ab-uni { padding: .7rem .3rem; font-size: .78rem; } .ab-uni img { width: 44px; height: 44px; } }

/* ===== Учёба из Марокко / Египта / Судана ===== */
.cty-hero { background: linear-gradient(180deg, rgba(20,40,75,.86) 0%, rgba(20,40,75,.72) 55%, rgba(20,40,75,.92) 100%), var(--cty-bg) center 50% / cover no-repeat, var(--primary-blue); color: var(--white); padding: 96px 0 120px; text-align: center; }
.cty-hero h1 { font-size: 3rem; line-height: 1.15; margin: 1rem auto 1rem; max-width: 900px; color: var(--white); text-wrap: balance; }
.cty-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: .55rem 1.2rem; border-radius: 999px; font-weight: 600; }
.cty-flag { font-size: 1.4rem; line-height: 1; }
.cty-sub { max-width: 760px; margin: 0 auto 2rem; font-size: 1.15rem; line-height: 1.6; opacity: .92; }
.cty-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cty-wa { background: #25D366; color: #fff; border: 0; }
.cty-wa:hover { background: #1fb457; color: #fff; }
.cty-why { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 2.5rem; align-items: center; }
.cty-why .section-title { text-align: start; }
.cty-why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cty-why-photo { margin: 0; } .cty-why-photo img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: 18px; display: block; box-shadow: 0 20px 40px rgba(20,40,75,.15); }
.cty-table { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow-x: auto; }
.cty-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cty-table th, .cty-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); text-align: start; font-size: .95rem; vertical-align: top; }
.cty-table thead th { background: var(--sand); color: var(--primary-blue); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.cty-table tr:last-child td { border-bottom: 0; }
.cty-table td a { color: var(--primary-blue); font-weight: 600; text-decoration: none; } .cty-table td a:hover { text-decoration: underline; }
.cty-table td small { display: block; color: var(--gray); font-size: .8rem; }
.cty-table .cty-price { white-space: nowrap; font-weight: 700; color: var(--success); }
.cty-table .cty-price .fx { display: block; font-weight: 500; color: var(--gray); }
.fx { color: var(--gray); font-size: .78em; font-weight: 500; margin-inline-start: .35rem; white-space: nowrap; unicode-bidi: isolate; }
.price-cell .fx, .aside-price .fx, .uni-dir-price .fx, .program-footer .fx { display: block; margin: .15rem 0 0; }
.cty-box h2 { font-size: 1.4rem; }
.cty-note { margin: 1rem 0 0; color: var(--gray); font-size: .9rem; line-height: 1.55; } .cty-note i { color: var(--gold-dark); margin-inline-end: .3rem; }
.cty-back { background: var(--primary-blue); color: var(--white); } .cty-back h2 { color: var(--gold); } .cty-back p { line-height: 1.65; margin: 0; opacity: .92; }
.lr-section.lr-section--sand .hs-box { background: var(--white); }
.cty-office-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; background: var(--white); border-radius: 18px; padding: 1.6rem 1.8rem; }
.cty-office-flag { font-size: 3rem; }
.cty-office h2 { margin: 0 0 .3rem; color: var(--primary-blue); font-size: 1.4rem; }
.cty-office p { margin: .2rem 0; color: var(--gray); }
.cty-office[hidden] { display: none !important; }
.cty-home { padding: 72px 0; background: var(--sand); }
.cty-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 960px; margin: 0 auto; }
.cty-home-card { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--primary-blue); transition: transform .2s, box-shadow .2s; }
.cty-home-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(20,40,75,.1); }
.cty-home-card .cty-flag { font-size: 2.2rem; }
.cty-home-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.cty-home-card b { font-size: 1.1rem; } .cty-home-card small { color: var(--gray); }
.cty-home-card > i { color: var(--gold-dark); } [dir="rtl"] .cty-home-card > i { transform: scaleX(-1); }
.footer-countries { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: .9rem; opacity: .9; }
.footer-countries a { color: inherit; text-decoration: none; } .footer-countries a:hover { text-decoration: underline; }
@media (max-width: 1024px) { .cty-why { grid-template-columns: 1fr; } .cty-why-photo { display: none; } }
@media (max-width: 768px) {
    .cty-hero { padding: 72px 0 100px; } .cty-hero h1 { font-size: 2.1rem; }
    .cty-home-grid { grid-template-columns: 1fr; }
    .cty-office-in { grid-template-columns: 1fr; text-align: center; } .cty-office .hq-actions { justify-content: center; }
}
@media (max-width: 560px) { .cty-why-cards { grid-template-columns: 1fr; } .cty-hero h1 { font-size: 1.75rem; } }
@media (max-width: 560px) {
    .cty-table table { min-width: 0; }
    .cty-table th:nth-child(3), .cty-table td:nth-child(3) { display: none; }
    .cty-table th, .cty-table td { padding: .6rem .55rem; font-size: .85rem; }
    .cty-table thead th { font-size: .7rem; }
}

/* WhatsApp спрятан на этой языковой версии (панель: «Контакты» → «WhatsApp на языковых версиях») */
html[data-wa-off] [data-whatsapp], html[data-wa-off] .cty-wa, html[data-wa-off] .whatsapp-float { display: none !important; }

/* ===== Подвал: логотип, соцсети, страны ===== */
.footer-section .footer-emblem { display: inline-block; margin: 1rem 0 .5rem; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.footer-emblem img { display: block; width: 190px; height: auto; max-width: 100%; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.footer-section .footer-social a { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 1.05rem; transition: background .2s, transform .2s, border-color .2s; }
.footer-section .footer-social a:hover { background: var(--success); border-color: var(--success); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-countries { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem .7rem; padding: 1.4rem 0 1.6rem; border-top: 1px solid #334155; }
.footer-countries .fc-label { color: #94a3b8; font-size: .95rem; margin-inline-end: .3rem; }
.fc-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .6rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: .92rem; transition: background .2s, border-color .2s, transform .2s; }
.fc-chip:hover { background: rgba(201,162,75,.16); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.fc-flag { width: 27px; height: 18px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.footer-countries + .footer-legal { border-top: 0; padding-top: .5rem; margin-top: 0; }
@media (max-width: 560px) { .footer-countries { justify-content: flex-start; } .footer-countries .fc-label { width: 100%; } }

/* ===== Кнопки «Поделиться» ===== */
.footer-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; padding: 0 0 1.6rem; }
.footer-share .sh-label { color: #94a3b8; font-size: .95rem; margin-inline-end: .3rem; }
.footer-share .sh-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e2e8f0; font-size: 1rem; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; padding: 0; }
.footer-share .sh-btn:hover { background: var(--gold); border-color: var(--gold); color: #14284B; transform: translateY(-2px); }
.sh-btn svg { width: 15px; height: 15px; fill: currentColor; }
.sh-btn.ok { background: var(--success) !important; border-color: var(--success) !important; color: #fff !important; }
.share-section { padding: 48px 0; background: var(--sand); text-align: center; }
.share-section h3 { margin: 0 0 1.1rem; color: var(--primary-blue); font-size: 1.3rem; text-wrap: balance; }
.share-big { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.share-big .sh-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px; border: 0; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .2s, filter .2s; font-family: inherit; }
.share-big .sh-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.share-big .sh-whatsapp { background: #25D366; } .share-big .sh-telegram { background: #229ED9; } .share-big .sh-facebook { background: #1877F2; }
.share-big .sh-x { background: #111; } .share-big .sh-linkedin { background: #0A66C2; } .share-big .sh-viber { background: #7360F2; } .share-big .sh-email { background: #5B6472; }
.share-big .sh-copy, .share-big .sh-native { background: var(--primary-blue); }
@media (max-width: 560px) { .share-big .sh-btn span { display: none; } .share-big .sh-btn { width: 48px; height: 48px; padding: 0; justify-content: center; font-size: 1.2rem; } }

/* Аудит: узкие экраны */
.legal-table td, .legal-table th { overflow-wrap: anywhere; }
.fx { white-space: normal; }

.news-body h3 { color: var(--primary-blue); font-size: 1.12rem; line-height: 1.4; margin: 1.5rem 0 0.6rem; }

/* ===== Страница «Для родителей» ===== */
.pr-hero-cta { margin-top: 1.5rem; }
.pr-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pr-table th, .pr-table td { padding: .9rem 1.1rem; text-align: start; border-bottom: 1px solid var(--border); }
.pr-table thead th { background: var(--primary-blue); color: var(--white); font-weight: 600; font-size: .92rem; }
.pr-table td { white-space: nowrap; unicode-bidi: isolate; }
.pr-table td:first-child { white-space: normal; }
.pr-table td:first-child a { color: var(--primary-blue); font-weight: 600; }
.pr-table td:last-child { font-weight: 700; color: var(--primary-blue); }
.pr-table tbody tr:last-child td { border-bottom: 0; }
.pr-note { color: var(--gray); font-size: .9rem; margin: .8rem 0 2rem; }
.pr-pay { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.pr-ct { max-width: 820px; }
.pr-ct .pr-hero-cta { margin-top: 1rem; }
.pr-wa { font-size: 1.35rem; font-weight: 700; margin: .4rem 0; unicode-bidi: isolate; text-align: start; }
.pr-guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.pr-guide-cover { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 18px 40px rgba(20,40,75,.22); }
.pr-guide .section-title, .pr-guide .lr-sub { text-align: start; margin-inline: 0; }
.pr-guide-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.pr-guide-btns .btn { display: inline-flex; gap: .5rem; align-items: center; }
.pr-guide .pr-note { margin-bottom: 0; }
@media (max-width: 820px) { .pr-pay, .pr-guide { grid-template-columns: 1fr; } .pr-guide-cover { max-width: 220px; margin: 0 auto; } }

/* Главная: блок «Для родителей» */
.home-parents { background: var(--sand, #F6F1E7); padding-block: 4.5rem; }
.home-parents .home-parents-badge { margin-bottom: .9rem; }
.btn-hero-parents i { color: var(--gold); }
.btn-hero-parents[hidden] { display: none; }
