       body {
            font-family: 'SF Pro Display', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f7;
            color: #1d1d1f;
            overflow-x: hidden;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .hero {
            background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 50%, #e8f4ff 100%);
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 80%, rgba(0, 113, 227, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(100, 210, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 200, 150, 0.05) 0%, transparent 50%);
            z-index: 0;
            animation: gradientShift 15s ease-in-out infinite alternate;
        }
        @keyframes gradientShift {
            0% {
                transform: scale(1);
                opacity: 0.8;
            }
            100% {
                transform: scale(1.2);
                opacity: 1;
            }
        }
        .floating-element {
            position: absolute;
            border-radius: 50%;
            background: rgba(0, 113, 227, 0.1);
            z-index: 0;
        }
        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation: float 20s infinite ease-in-out;
        }
        .floating-element:nth-child(2) {
            width: 120px;
            height: 120px;
            bottom: 30%;
            right: 15%;
            animation: float 25s infinite ease-in-out reverse;
            background: rgba(100, 210, 255, 0.08);
        }
        .floating-element:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 60%;
            left: 20%;
            animation: float 18s infinite ease-in-out;
            background: rgba(0, 200, 150, 0.05);
        }
        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            33% {
                transform: translateY(-30px) rotate(120deg);
            }
            66% {
                transform: translateY(20px) rotate(240deg);
            }
        }
        .hero-content {
            max-width: 800px;
            width: 100%;
            z-index: 1;
            position: relative;
        }
        .hero h1 {
            margin: 0;
            font-size: 3.5rem;
            font-weight: 700;
            color: #1d1d1f;
            animation: fadeInUp 1s ease-out;
            text-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .hero p {
            font-size: 1.4rem;
            color: #515154;
            max-width: 800px;
            margin: 24px auto 0;
            animation: fadeInUp 1s ease-out 0.2s both;
            text-shadow: 0 1px 5px rgba(0,0,0,0.05);
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .intro {
            text-align: center;
            margin: 40px 0;
        }
        .intro p {
            font-size: 1.2rem;
            color: #515154;
            max-width: 800px;
            margin: 0 auto;
        }
        .buttons {
            display: flex;
            flex-direction: column;
            gap: 32px;
            margin: 40px 0;
        }
        .btn-container {
            background-color: #ffffff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 40px;
            text-align: left;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .btn-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .btn-container h2 {
            margin-top: 0;
            font-size: 1.8rem;
            color: #1d1d1f;
        }
        .btn-container p {
            font-size: 1.1rem;
            color: #515154;
            margin-bottom: 16px;
        }
        .btn {
            background-color:#e0e0e0;
            color: #1d1d1f;
            padding: 14px 28px;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 500;
            display: inline-block;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        .btn:hover {
            background-color: #d0d0d0;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .btn:hover::before {
            left: 100%;
        }
        .info-section {
            background-color: #ffffff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin: 40px 0;
            text-align: left;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .info-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .info-section h2 {
            text-align: left;
            font-size: 2rem;
            margin-bottom: 20px;
            color: #1d1d1f;
        }
        .info-section p {
            font-size: 1.1rem;
            color: #515154;
            margin-bottom: 20px;
        }
        .qa-section {
            margin: 40px 0;
        }
        .qa-section h2 {
            text-align: left;
            font-size: 2rem;
            margin-bottom: 32px;
        }
        .page-title {
            text-align: left;
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: #1d1d1f;
        }
        .qa-card {
            background-color: #ffffff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 40px;
            margin-bottom: 32px;
            display: flex;
            align-items: flex-start;
            gap: 60px;
            min-height: 320px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .qa-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .qa-card:nth-child(3) {
            flex-direction: row-reverse;
        }
        .qa-card img {
            width: 200px;
            height: 200px;
            object-fit: cover;
            flex-shrink: 0;
            align-self: center;
        }
        .qa-card-content {
            flex: 1;
        }
        .qa-card h3 {
            font-size: 1.6rem;
            margin-bottom: 12px;
            color: #1d1d1f;
            transition: color 0.3s ease;
        }
        .qa-card:hover h3 {
            color: #0071e3;
        }
        .qa-card p {
            font-size: 1.1rem;
            color: #515154;
            margin-bottom: 16px;
            line-height: 1.6;
        }
        .qa-card p.additional-text {
            margin-top: 20px;
            font-size: 1rem;
            color: #666;
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid #0071e3;
            transition: all 0.3s ease;
        }
        .qa-card:hover p.additional-text {
            background-color: #f0f7ff;
            border-left-color: #0056b3;
        }
        .qa-card a {
            color: #0071e3;
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
            position: relative;
            padding-right: 25px;
        }
        .qa-card a::after {
            content: '→';
            position: absolute;
            right: 0;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease;
        }
        .qa-card a:hover {
            color: #0056b3;
            text-decoration: none;
            padding-right: 30px;
        }
        .qa-card a:hover::after {
            opacity: 1;
            transform: translateX(0);
        }
        .logo {
            width: 280px;
            height: 280px;
            margin-bottom: 30px;
            animation: floatLogo 8s ease-in-out infinite;
            filter: drop-shadow(0 4px 15px rgba(0,0,0,0.1));
        }
        @keyframes floatLogo {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-10px) rotate(2deg);
            }
        }
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 20px;
        }
        .section-header h2 {
            text-align: left;
            margin: 0;
        }

        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            overflow-y: auto;
            transition: opacity 0.3s ease;
        }

        .modal-content {
            background-color: #f5f5f7;
            margin: 2% auto;
            padding: 0;
            width: 90%;
            max-width: 1200px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            position: relative;
            transform: translateY(-30px);
            opacity: 0;
            transition: transform 0.4s ease, opacity 0.4s ease;
            overflow: hidden;
        }

        .modal.active .modal-content {
            transform: translateY(0);
            opacity: 1;
        }

        .modal-header {
            padding: 30px 40px 20px;
            background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 50%, #e8f4ff 100%);
            border-bottom: 1px solid #e0e0e0;
            position: relative;
        }

        .modal-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 80%, rgba(0, 113, 227, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(100, 210, 255, 0.08) 0%, transparent 50%);
            z-index: 0;
        }

        .modal-header-content {
            position: relative;
            z-index: 1;
        }

        .modal-title {
            margin: 0;
            font-size: 2.5rem;
            font-weight: 700;
            color: #1d1d1f;
        }

        .modal-subtitle {
            font-size: 1.4rem;
            color: #515154;
            margin-top: 10px;
            max-width: 800px;
        }

        .modal-body {
            padding: 40px;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            background-color: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            font-size: 1.5rem;
            color: #1d1d1f;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .modal-close:hover {
            background-color: #ffffff;
            transform: rotate(90deg);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* Стили для карточек вузов внутри модального окна */
        .university-card {
            background-color: #ffffff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 40px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .university-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .university-header {
            padding: 30px;
            border-bottom: 1px solid #f0f0f0;
            background: linear-gradient(90deg, #f8f9fa, #ffffff);
        }
        .university-header h3 {
            font-size: 1.8rem;
            margin: 0 0 10px 0;
            color: #1d1d1f;
        }
        .university-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 15px;
            color: #515154;
            font-size: 0.95rem;
        }
        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .meta-item i {
            color: #0071e3;
        }
        .university-body {
            padding: 30px;
        }
        .university-gallery {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            overflow-x: auto;
            padding-bottom: 10px;
        }
        .university-gallery img {
            width: 200px;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }
        .university-gallery img:hover {
            transform: scale(1.05);
        }
        .university-history {
            margin-bottom: 25px;
            line-height: 1.6;
        }
        .faculties-section {
            margin-top: 30px;
        }
        .faculties-section h4 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: #1d1d1f;
        }
        .accordion {
            border-radius: 8px;
            overflow: hidden;
        }
        .accordion-item {
            border-bottom: 1px solid #f0f0f0;
        }
        .accordion-item:last-child {
            border-bottom: none;
        }
        .accordion-header {
            padding: 18px 20px;
            background-color: #f8f9fa;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }
        .accordion-header:hover {
            background-color: #e9ecef;
        }
        .accordion-header.active {
            background-color: #e8f4ff;
        }
        .accordion-header i {
            transition: transform 0.3s ease;
        }
        .accordion-header.active i {
            transform: rotate(180deg);
        }
        .accordion-content {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            background-color: #fff;
        }
        .accordion-content.active {
            padding: 20px;
            max-height: 500px;
        }
        .directions-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 10px;
        }
        .direction-item {
            padding: 8px 12px;
            background-color: #f8f9fa;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: background-color 0.3s ease;
        }
        .direction-item:hover {
            background-color: #e9ecef;
        }
        .admission-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 25px;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 8px;
        }
        .info-block {
            text-align: center;
        }
        .info-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #0071e3;
            margin-bottom: 5px;
        }
        .info-label {
            font-size: 0.9rem;
            color: #515154;
        }
        .university-footer {
            padding: 20px 30px;
            background-color: #f8f9fa;
            border-top: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .official-site {
            color: #0071e3;
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .official-site:hover {
            text-decoration: underline;
        }

        /* Адаптивность модального окна */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                margin: 10px auto;
            }

            .modal-header {
                padding: 20px;
            }

            .modal-title {
                font-size: 2rem;
            }

            .modal-subtitle {
                font-size: 1.2rem;
            }

            .modal-body {
                padding: 20px;
            }

            .qa-card {
                flex-direction: column;
                gap: 30px;
                padding: 25px;
            }

            .qa-card:nth-child(3) {
                flex-direction: column;
            }

            .qa-card img {
                width: 100%;
                height: 200px;
            }

            .university-gallery {
                flex-direction: column;
            }

            .university-gallery img {
                width: 100%;
                height: 200px;
            }

            .admission-info {
                grid-template-columns: 1fr;
            }

            .university-footer {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            html { scroll-behavior: smooth; }
#universitiesAction, #careerTestAction { scroll-margin-top: 90px; }
        }
        .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  backdrop-filter: blur(12px);
  background: rgba(245,245,247,0.9);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo-mini {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1d1d1f;
}

.site-nav {
  display: flex;
  gap: 16px;
}

.site-nav-link {
  font-size: 0.95rem;
  color: #1d1d1f;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  transition: all 0.2s ease;
}

.site-nav-link:hover {
  background: #e8f4ff;
  color: #0071e3;
}

/* чтобы контент не прятался под фикс‑хедером */
.hero {
  padding-top: 80px;
}
#careerTestModal .career-test { max-width: 900px; margin: 0 auto; }
        #careerTestModal .career-test-progress { margin-bottom: 26px; text-align: center; }
        #careerTestModal .progress-bar { height: 10px; background: #e0e0e0; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
        #careerTestModal .progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #0071e3, #00c8ff); transition: width .25s ease; }
        #careerTestModal .current-step { font-size: 1.05rem; color: #515154; font-weight: 500; }

        #careerTestModal .career-step { display: none; padding: 14px 0 6px; }
        #careerTestModal .career-step.active { display: block; }
        #careerTestModal .career-step h3 { font-size: 1.5rem; margin: 0 0 10px; color: #1d1d1f; }
        #careerTestModal .hint { margin: 0 0 16px; color: #515154; }

        #careerTestModal .career-options { display: grid; gap: 12px; margin-top: 10px; }
        #careerTestModal .career-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #f8f9fa; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: .2s ease; }
        #careerTestModal .career-option:hover { background: #e8f4ff; border-color: #0071e3; transform: translateX(6px); }
        #careerTestModal .career-option input { margin-top: 2px; width: 20px; height: 20px; accent-color: #0071e3; }
        #careerTestModal .career-option span { line-height: 1.35; color: #1d1d1f; }

        #careerTestModal .career-test-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e0e0e0; }
        #careerTestModal .btn-secondary { background: #e0e0e0; color: #1d1d1f; padding: 14px 22px; border: 0; border-radius: 10px; cursor: pointer; }
        #careerTestModal .btn-secondary:disabled { opacity: .5; cursor: not-allowed; }
        #careerTestModal .btn-submit { background: linear-gradient(135deg, #0071e3, #00c8ff); color: #fff; padding: 14px 22px; border: 0; border-radius: 10px; cursor: pointer; }

        #careerTestModal .career-test-result { display:none; background:#f8f9fa; padding: 18px; border-radius: 14px; margin-top: 18px; }
        #careerTestModal .career-test-result h3 { margin: 0 0 8px; }
        #careerTestModal .career-test-result p { margin: 8px 0; color:#1d1d1f; }
        #careerTestModal .career-test-result ul { margin: 10px 0 0; padding-left: 18px; color:#1d1d1f; }
        #careerTestModal .pill { display:inline-block; padding: 6px 10px; border-radius: 999px; background:#fff; border:1px solid #e0e0e0; margin: 6px 6px 0 0; font-size: .95rem; }
