/* ==========================================================================
   КГАФКиС - Стили веб-сайта
   ========================================================================== */

/* Базовые стили
   ========================================================================== */
   *,
   *::before,
   *::after {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   /* Предотвращение горизонтального скролла для всех элементов */
   * {
       max-width: 100%;
       word-wrap: break-word;
       word-break: break-word;
   }
   
   img {
       max-width: 100%;
       height: auto;
   }
   
   html {
       scroll-behavior: smooth;
       overflow-x: hidden;
       width: 100%;
       max-width: 100%;
   }
   
   body {
       font-family: 'Arial', sans-serif;
       line-height: 1.6;
       color: #333;
       overflow-x: hidden;
       width: 100%;
       max-width: 100%;
   }
   
   .container {
       max-width: 1200px;
       margin: 0 auto;
       padding: 0 2rem;
       width: 100%;
       box-sizing: border-box;
   }
   
   /* Анимации
      ========================================================================== */
   @keyframes fadeInUp {
       from {
           opacity: 0;
           transform: translateY(30px);
       }
       to {
           opacity: 1;
           transform: translateY(0);
       }
   }
   
   @keyframes float {
       0%, 100% { 
           transform: translateY(0px) rotate(0deg); 
       }
       50% { 
           transform: translateY(-20px) rotate(180deg); 
   }
   }
   
   /* Анимированный фон
      ========================================================================== */
   .animated-bg {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
       z-index: -2;
   }
   
   .animated-bg::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="600" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="700" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="100" cy="800" r="3" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
       animation: float 20s ease-in-out infinite;
   }
   
   /* Шапка сайта
      ========================================================================== */
   header {
       position: fixed;
       top: 0;
       width: 100%;
       background: rgba(255, 255, 255, 0.95);
       backdrop-filter: blur(10px);
       box-shadow: 0 2px 20px rgba(0,0,0,0.1);
       z-index: 1000;
       transition: all 0.3s ease;
   }
   
   nav {
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 1rem 2rem;
       max-width: 1200px;
       margin: 0 auto;
       width: 100%;
       box-sizing: border-box;
   }
   
   .logo {
       display: flex;
       align-items: center;
       gap: 1rem;
       font-size: 1.3rem;
       font-weight: bold;
       color: #333;
   }
   
   .logo img {
       width: 50px;
       height: 50px;
       border-radius: 50%;
       object-fit: cover;
       border: 2px solid #667eea;
   }
   
   .nav-links {
       display: flex;
       list-style: none;
       gap: 2rem;
   }
   
   .nav-links a {
       text-decoration: none;
       color: #333;
       font-weight: 500;
       transition: all 0.3s ease;
       position: relative;
   }
   
   .nav-links a::after {
       content: '';
       position: absolute;
       bottom: -5px;
       left: 0;
       width: 0;
       height: 2px;
       background: linear-gradient(45deg, #667eea, #764ba2);
       transition: width 0.3s ease;
   }
   
   .nav-links a:hover::after {
       width: 100%;
   }
   
   /* Мобильное меню
      ========================================================================== */
   .mobile-menu-toggle {
       display: none;
       background: none;
       border: none;
       font-size: 1.5rem;
       cursor: pointer;
       color: #333;
       padding: 0.5rem;
   }
   
   .mobile-menu {
       position: fixed;
       top: 70px;
       left: 0;
       width: 100%;
       background: rgba(255, 255, 255, 0.98);
       backdrop-filter: blur(10px);
       padding: 2rem;
       box-shadow: 0 10px 30px rgba(0,0,0,0.1);
       z-index: 999;
       transform: translateY(-100%);
       transition: all 0.3s ease;
       opacity: 0;
       visibility: hidden;
   }
   
   .mobile-menu.active {
       transform: translateY(0);
       opacity: 1;
       visibility: visible;
   }
   
   .mobile-menu .nav-links {
       flex-direction: column;
       gap: 1.5rem;
       text-align: center;
   }
   
   .mobile-menu .nav-links a {
       font-size: 1.2rem;
       padding: 1rem 0;
       border-bottom: 1px solid #eee;
       display: block;
   }
   
   .mobile-menu .nav-links a:hover {
       color: #667eea;
       background-color: rgba(102, 126, 234, 0.1);
   }
   
   /* Главная секция (Hero)
      ========================================================================== */
   .hero {
       height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       text-align: center;
       color: white;
       position: relative;
       background: linear-gradient(135deg, rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7)), 
                   url('https://i.ibb.co/Kjbb04qj/47e4a6c4-7007-48f9-b2ff-ab11a04b734b.png') center center/cover no-repeat;
       padding: 2rem;
   }
   
   .hero::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.3);
       z-index: 1;
   }
   
   .hero-content {
       max-width: 800px;
       animation: fadeInUp 1s ease-out;
       position: relative;
       z-index: 2;
   }
   
   .hero h1 {
       font-size: 3.5rem;
       margin-bottom: 1rem;
       text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
   }
   
   .hero p {
       font-size: 1.3rem;
       margin-bottom: 2rem;
       opacity: 0.9;
   }
   
   /* Кнопки
      ========================================================================== */
   .cta-button {
       display: inline-block;
       padding: 1rem 2rem;
       background: linear-gradient(45deg, #ff6b6b, #ee5a24);
       color: white;
       text-decoration: none;
       border-radius: 50px;
       font-weight: bold;
       font-size: 1.1rem;
       transition: all 0.3s ease;
       box-shadow: 0 10px 30px rgba(0,0,0,0.2);
       position: relative;
       overflow: hidden;
   }
   
   .cta-button::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: left 0.5s ease;
   }
   
   .cta-button:hover {
       transform: translateY(-3px);
       box-shadow: 0 15px 40px rgba(0,0,0,0.3);
   }
   
   .cta-button:hover::before {
       left: 100%;
   }
   
   .contact-btn {
       display: inline-flex;
       align-items: center;
       gap: 0.75rem;
       padding: 1rem 2rem;
       border-radius: 50px;
       text-decoration: none;
       font-weight: 600;
       font-size: 1rem;
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;
   }
   
   .contact-btn.primary {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
   }
   
   .contact-btn.primary:hover {
       transform: translateY(-3px);
       box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
   }
   
   .contact-btn.secondary {
       background: white;
       color: #667eea;
       border: 2px solid #667eea;
       box-shadow: 0 5px 15px rgba(0,0,0,0.1);
   }
   
   .contact-btn.secondary:hover {
       background: #667eea;
       color: white;
       transform: translateY(-3px);
       box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
   }
   
   .map-btn {
       display: inline-flex;
       align-items: center;
       gap: 0.75rem;
       padding: 1rem 2rem;
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       text-decoration: none;
       border-radius: 50px;
       font-weight: 600;
       font-size: 1rem;
       transition: all 0.3s ease;
       box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
   }
   
   .map-btn:hover {
       transform: translateY(-3px);
       box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
   }
   
   /* Секция поступления
      ========================================================================== */
   .admission-main {
       padding: 5rem 0;
       background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
       width: 100%;
       max-width: 100%;
       overflow-x: hidden;
       box-sizing: border-box;
   }
   
   .admission-main::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="rgba(102,126,234,0.1)"/><circle cx="800" cy="300" r="1.5" fill="rgba(118,75,162,0.1)"/><circle cx="400" cy="600" r="3" fill="rgba(102,126,234,0.1)"/><circle cx="900" cy="700" r="1.5" fill="rgba(118,75,162,0.1)"/><circle cx="100" cy="800" r="2.5" fill="rgba(102,126,234,0.1)"/></svg>') repeat;
       animation: float 30s ease-in-out infinite;
       z-index: -1;
   }
   
   .admission-main h2 {
       text-align: center;
       font-size: 2.5rem;
       margin-bottom: 2rem;
       background: linear-gradient(45deg, #667eea, #764ba2);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       font-weight: 700;
   }
   
   .admission-intro {
       text-align: center;
       font-size: 1.2rem;
       color: #666;
       margin-bottom: 3rem;
       max-width: 800px;
       margin-left: auto;
       margin-right: auto;
   }
   
   .admission-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
       gap: 3rem;
       margin-bottom: 4rem;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
   }
   
   .admission-card {
       background: white;
       border-radius: 20px;
       overflow: hidden;
       box-shadow: 0 20px 60px rgba(0,0,0,0.1);
       transition: all 0.3s ease;
       border: 1px solid #f0f0f0;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
       min-width: 0;
   }
   
   .admission-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 30px 80px rgba(0,0,0,0.15);
   }
   
   .admission-card-header {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 2rem;
       text-align: center;
   }
   
   .admission-icon {
       font-size: 3rem;
       margin-bottom: 1rem;
   }
   
   .admission-card-header h3 {
       font-size: 1.5rem;
       margin: 0;
       font-weight: 600;
   }
   
   .admission-card-content {
       padding: 2rem;
   }
   
   .admission-card-content h4 {
       color: #2c3e50;
       font-size: 1.2rem;
       margin-bottom: 1.5rem;
       font-weight: 600;
   }
   
   .admission-list {
       list-style: none;
       padding: 0;
   }
   
   .admission-list li {
       padding: 0.8rem 0;
       padding-left: 2rem;
       position: relative;
       color: #555;
       line-height: 1.6;
       border-bottom: 1px solid #f5f5f5;
   }
   
   .admission-list li:last-child {
       border-bottom: none;
   }
   
   .admission-list li::before {
       content: '✓';
       position: absolute;
       left: 0;
       top: 50%;
       transform: translateY(-50%);
       width: 18px;
       height: 18px;
       background: linear-gradient(45deg, #667eea, #764ba2);
       color: white;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 0.7rem;
       font-weight: bold;
   }
   
   /* Контактная секция в поступлении
      ========================================================================== */
   .admission-contact-section {
       background: white;
       border-radius: 25px;
       overflow: hidden;
       box-shadow: 0 25px 80px rgba(0,0,0,0.1);
       border: 1px solid #f0f0f0;
   }
   
   .admission-contact-header {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 3rem 2rem;
       display: flex;
       align-items: center;
       gap: 2rem;
   }
   
   .contact-header-icon {
       width: 80px;
       height: 80px;
       background: rgba(255, 255, 255, 0.2);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       flex-shrink: 0;
       backdrop-filter: blur(10px);
   }
   
   .contact-header-text h3 {
       font-size: 2rem;
       margin: 0 0 0.5rem 0;
       font-weight: 700;
   }
   
   .contact-header-text p {
       margin: 0;
       opacity: 0.9;
       font-size: 1.1rem;
   }
   
   .admission-contact-cards {
       padding: 3rem 2rem;
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
       gap: 2rem;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
   }
   
   .contact-card {
       background: #f8f9fa;
       border-radius: 15px;
       padding: 2rem;
       transition: all 0.3s ease;
       border: 2px solid transparent;
       position: relative;
       overflow: hidden;
   }
   
   .contact-card::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 4px;
       background: linear-gradient(135deg, #667eea, #764ba2);
   }
   
   .contact-card:hover {
       transform: translateY(-5px);
       border-color: #667eea;
       box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
   }
   
   .contact-card-icon {
       width: 50px;
       height: 50px;
       background: rgba(102, 126, 234, 0.1);
       border-radius: 12px;
       display: flex;
       align-items: center;
       justify-content: center;
       margin-bottom: 1.5rem;
   }
   
   .contact-card-content h4 {
       color: #2c3e50;
       font-size: 1.2rem;
       margin: 0 0 0.5rem 0;
       font-weight: 600;
   }
   
   .contact-card-content p {
       margin: 0;
       color: #666;
       font-size: 1rem;
       line-height: 1.5;
   }
   
   .contact-card-content a {
       color: #667eea;
       text-decoration: none;
       font-weight: 500;
       transition: color 0.3s ease;
   }
   
   .contact-card-content a:hover {
       color: #764ba2;
       text-decoration: underline;
   }
   
   .contact-cta {
       background: linear-gradient(135deg, #f8f9fa, #e9ecef);
       padding: 3rem 2rem;
       text-align: center;
       border-top: 1px solid #e9ecef;
   }
   
   .contact-cta-content h4 {
       color: #2c3e50;
       font-size: 1.5rem;
       margin: 0 0 1rem 0;
       font-weight: 600;
   }
   
   .contact-cta-content p {
       color: #666;
       margin: 0 0 2rem 0;
       font-size: 1.1rem;
   }
   
   .contact-buttons {
       display: flex;
       gap: 1rem;
       justify-content: center;
       flex-wrap: wrap;
   }
   
   /* Фотогалерея академии
      ========================================================================== */
   .academy-gallery-section {
       margin-top: 3rem;
       padding: 2.5rem 2rem;
       background: rgba(255, 255, 255, 0.95);
       border-radius: 15px;
       box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
       overflow-x: hidden;
   }
   
   .gallery-section-header {
       display: flex;
       align-items: center;
       gap: 1.5rem;
       margin-bottom: 2.5rem;
       padding-bottom: 1.5rem;
       border-bottom: 2px solid #f0f0f0;
   }
   
   .gallery-header-icon {
       width: 60px;
       height: 60px;
       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
       flex-shrink: 0;
   }
   
   .gallery-header-text h3 {
       color: #2c3e50;
       font-size: 1.8rem;
       font-weight: 600;
       margin-bottom: 0.5rem;
   }
   
   .gallery-header-text p {
       color: #7f8c8d;
       font-size: 1.1rem;
       line-height: 1.6;
   }
   
   .gallery-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
       gap: 2rem;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
   }
   
   .gallery-item {
       background: white;
       border-radius: 15px;
       overflow: hidden;
       box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
       transition: transform 0.3s ease, box-shadow 0.3s ease;
       display: block;
       text-decoration: none;
       color: inherit;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
       min-width: 0;
   }
   
   .gallery-item:hover {
       transform: translateY(-10px);
       box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
   }
   
   .gallery-image-container {
       position: relative;
       height: 300px;
       overflow: hidden;
   }
   
   .gallery-image-container img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform 0.5s ease;
   }
   
   .gallery-item:hover .gallery-image-container img {
       transform: scale(1.1);
   }
   
   .gallery-overlay {
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
       display: flex;
       align-items: center;
       justify-content: center;
       opacity: 0;
       transition: opacity 0.3s ease;
       color: white;
       text-align: center;
       padding: 2rem;
   }
   
   .gallery-item:hover .gallery-overlay {
       opacity: 1;
   }
   
   .gallery-overlay-content h4 {
       font-size: 1.4rem;
       font-weight: 600;
       margin-bottom: 0.5rem;
   }
   
   .gallery-overlay-content p {
       font-size: 1rem;
       line-height: 1.5;
       margin-bottom: 1rem;
   }
   
   .gallery-zoom-btn {
       width: 50px;
       height: 50px;
       background: rgba(255, 255, 255, 0.2);
       border: 2px solid white;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto;
       cursor: pointer;
       transition: all 0.3s ease;
   }
   
   .gallery-zoom-btn:hover {
       background: white;
       transform: scale(1.1);
   }
   
   /* Секция PDF буклетов
      ========================================================================== */
   .pdf-brochures-section {
       margin-top: 3rem;
       padding: 2.5rem 2rem;
       background: rgba(255, 255, 255, 0.95);
       border-radius: 15px;
       box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   }
   
   .pdf-section-header {
       display: flex;
       align-items: center;
       gap: 1.5rem;
       margin-bottom: 2.5rem;
       padding-bottom: 1.5rem;
       border-bottom: 2px solid #f0f0f0;
   }
   
   .pdf-header-icon {
       width: 60px;
       height: 60px;
       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
       flex-shrink: 0;
       color: white;
       font-size: 1.5rem;
   }
   
   .pdf-header-text h3 {
       color: #2c3e50;
       font-size: 1.8rem;
       font-weight: 600;
       margin-bottom: 0.5rem;
   }
   
   .pdf-header-text p {
       color: #7f8c8d;
       font-size: 1.1rem;
       line-height: 1.6;
   }
   
   .pdf-grid {
       display: grid;
       grid-template-columns: repeat(2, 1fr);
       gap: 2rem;
   }
   
   .pdf-card {
       background: white;
       border-radius: 20px;
       overflow: hidden;
       box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
       transition: all 0.3s ease;
       border: 1px solid #f0f0f0;
       position: relative;
   }
   
   .pdf-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
   }
   
   .pdf-card-header {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 2rem;
       text-align: center;
       position: relative;
   }
   
   .pdf-card-header::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="600" r="3" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
       animation: float 20s ease-in-out infinite;
   }
   
   .pdf-icon {
       width: 80px;
       height: 80px;
       background: rgba(255, 255, 255, 0.2);
       border-radius: 15px;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto 1rem;
       font-size: 2rem;
       backdrop-filter: blur(10px);
       position: relative;
       z-index: 2;
   }
   
   .pdf-card-header h4 {
       font-size: 1.3rem;
       margin: 0;
       font-weight: 600;
       position: relative;
       z-index: 2;
   }
   
   .pdf-card-content {
       padding: 2rem;
       text-align: center;
   }
   
   .pdf-preview {
       width: 100%;
       height: 200px;
       background: #f8f9fa;
       border-radius: 10px;
       margin-bottom: 1.5rem;
       position: relative;
       overflow: hidden;
       border: 2px solid #e9ecef;
   }
   
   .pdf-preview iframe {
       width: 100%;
       height: 100%;
       border: none;
       border-radius: 8px;
   }
   
   .pdf-preview-placeholder {
       width: 100%;
       height: 100%;
       display: flex;
       align-items: center;
       justify-content: center;
       color: #666;
       font-size: 1rem;
       background: linear-gradient(135deg, #f8f9fa, #e9ecef);
       border: 2px dashed #ddd;
       border-radius: 8px;
       text-align: center;
       padding: 1rem;
   }
   
   .pdf-preview-placeholder small {
       display: block;
       margin-top: 0.5rem;
       font-size: 0.8rem;
       opacity: 0.7;
   }
   
   .pdf-card-actions {
       display: flex;
       gap: 1rem;
       justify-content: center;
       flex-wrap: wrap;
   }
   
   .pdf-btn {
       display: inline-flex;
       align-items: center;
       gap: 0.5rem;
       padding: 0.75rem 1.5rem;
       border-radius: 25px;
       text-decoration: none;
       font-weight: 600;
       font-size: 0.9rem;
       transition: all 0.3s ease;
       border: none;
       cursor: pointer;
   }
   
   .pdf-btn.primary {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
   }
   
   .pdf-btn.primary:hover {
       transform: translateY(-3px);
       box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
   }
   
   .pdf-btn.secondary {
       background: white;
       color: #667eea;
       border: 2px solid #667eea;
       box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
   }
   
   .pdf-btn.secondary:hover {
       background: #667eea;
       color: white;
       transform: translateY(-3px);
       box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
   }
   
   .pdf-size-badge {
       background: rgba(102, 126, 234, 0.1);
       color: #667eea;
       padding: 0.25rem 0.75rem;
       border-radius: 15px;
       font-size: 0.8rem;
       font-weight: 500;
       display: inline-block;
       margin-bottom: 1rem;
   }
   
   /* PDF модальное окно
      ========================================================================== */
   .pdf-modal {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.9);
       display: flex;
       align-items: center;
       justify-content: center;
       z-index: 2000;
       opacity: 0;
       visibility: hidden;
       transition: all 0.3s ease;
   }
   
   .pdf-modal.active {
       opacity: 1;
       visibility: visible;
   }
   
   .pdf-modal-content {
       width: 90%;
       height: 90%;
       max-width: 1200px;
       background: white;
       border-radius: 15px;
       overflow: hidden;
       box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
       position: relative;
       display: flex;
       flex-direction: column;
   }
   
   .pdf-modal-header {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 1rem 2rem;
       display: flex;
       align-items: center;
       justify-content: space-between;
       flex-shrink: 0;
   }
   
   .pdf-modal-title {
       font-size: 1.2rem;
       font-weight: 600;
       margin: 0;
   }
   
   .pdf-modal-close {
       background: none;
       border: none;
       color: white;
       font-size: 1.5rem;
       cursor: pointer;
       padding: 0.5rem;
       border-radius: 50%;
       transition: all 0.3s ease;
   }
   
   .pdf-modal-close:hover {
       background: rgba(255, 255, 255, 0.2);
       transform: scale(1.1);
   }
   
   .pdf-modal-body {
       flex: 1;
       padding: 0;
       overflow: hidden;
   }
   
   .pdf-modal-iframe {
       width: 100%;
       height: 100%;
       border: none;
   }
   
   /* Анимация загрузки PDF
      ========================================================================== */
   .pdf-loading {
       display: flex;
       align-items: center;
       justify-content: center;
       height: 100%;
       color: #666;
   }
   
   .pdf-loading-spinner {
       width: 40px;
       height: 40px;
       border: 4px solid #f3f3f3;
       border-top: 4px solid #667eea;
       border-radius: 50%;
       animation: spin 1s linear infinite;
       margin-right: 1rem;
   }
   
   @keyframes spin {
       0% { transform: rotate(0deg); }
       100% { transform: rotate(360deg); }
   }
   
   .pdf-error {
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       height: 100%;
       padding: 2rem;
       text-align: center;
       color: #666;
   }
   
   .pdf-error p {
       margin-bottom: 1rem;
       font-size: 1.1rem;
   }
   
   /* Секция особенностей
      ========================================================================== */
   .features {
       padding: 5rem 0;
       background: rgba(255, 255, 255, 0.95);
       backdrop-filter: blur(10px);
       width: 100%;
       max-width: 100%;
       overflow-x: hidden;
       box-sizing: border-box;
   }
   
   .features h2 {
       text-align: center;
       font-size: 2.5rem;
       margin-bottom: 3rem;
       background: linear-gradient(45deg, #667eea, #764ba2);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }
   
   .features-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
       gap: 2rem;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
   }
   
   .feature-card {
       background: white;
       padding: 2rem;
       border-radius: 20px;
       box-shadow: 0 10px 30px rgba(0,0,0,0.1);
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
       min-width: 0;
   }
   
   .feature-card::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 4px;
       background: linear-gradient(45deg, #667eea, #764ba2);
   }
   
   .feature-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 20px 50px rgba(0,0,0,0.15);
   }
   
   .feature-icon {
       width: 60px;
       height: 60px;
       background: linear-gradient(45deg, #667eea, #764ba2);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin-bottom: 1rem;
       color: white;
       font-size: 1.5rem;
   }
   
   .feature-card h3 {
       font-size: 1.3rem;
       margin-bottom: 1rem;
       color: #333;
   }
   
   .feature-card p {
       color: #666;
       line-height: 1.8;
   }
   
   /* Секция статистики
      ========================================================================== */
   .stats {
       padding: 5rem 0;
       background: white;
       position: relative;
       width: 100%;
       max-width: 100%;
       overflow-x: hidden;
       box-sizing: border-box;
   }
   
   .stats::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: linear-gradient(135deg, #f8f9fa, #e9ecef);
       z-index: -1;
   }
   
   .stats h2 {
       text-align: center;
       font-size: 2.5rem;
       margin-bottom: 4rem;
       background: linear-gradient(45deg, #667eea, #764ba2);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }
   
   .stats-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       gap: 3rem;
       max-width: 1200px;
       margin: 0 auto;
       width: 100%;
       box-sizing: border-box;
   }
   
   .stat-item {
       background: white;
       padding: 3rem 2rem;
       border-radius: 20px;
       text-align: center;
       box-shadow: 0 15px 40px rgba(0,0,0,0.1);
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
       min-width: 0;
   }
   
   .stat-item::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 4px;
       background: linear-gradient(45deg, #667eea, #764ba2);
   }
   
   .stat-item:hover {
       transform: translateY(-10px);
       box-shadow: 0 25px 60px rgba(0,0,0,0.15);
   }
   
   .stat-number {
       font-size: 4rem;
       font-weight: bold;
       background: linear-gradient(45deg, #667eea, #764ba2);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       margin-bottom: 1rem;
       display: block;
       line-height: 1;
   }
   
   .stat-label {
       font-size: 1.2rem;
       color: #2c3e50;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 1px;
   }
   
   /* Секция контактов
      ========================================================================== */
   .contact {
       padding: 0;
       background: white;
       position: relative;
       width: 100%;
       max-width: 100%;
       overflow-x: hidden;
       box-sizing: border-box;
   }
   
   .contact-hero {
       background: linear-gradient(135deg, #667eea, #764ba2);
       padding: 5rem 0 4rem;
       position: relative;
       overflow: hidden;
   }
   
   .contact-hero::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="600" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="700" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="100" cy="800" r="3" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
       animation: float 20s ease-in-out infinite;
   }
   
   .contact-header {
       text-align: center;
       position: relative;
       z-index: 2;
       color: white;
   }
   
   .contact-header h2 {
       font-size: 3rem;
       margin-bottom: 1rem;
       color: white;
       font-weight: 700;
       text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
   }
   
   .contact-header p {
       font-size: 1.2rem;
       color: rgba(255, 255, 255, 0.9);
       max-width: 600px;
       margin: 0 auto;
       line-height: 1.6;
   }
   
   .contact-content {
       background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
       padding: 4rem 0;
   }
   
   .contact-main {
       display: grid;
       grid-template-columns: 2fr 1fr;
       gap: 4rem;
       position: relative;
       z-index: 2;
   }
   
   .contact-info-section {
       background: white;
       border-radius: 25px;
       overflow: hidden;
       box-shadow: 0 25px 80px rgba(0,0,0,0.1);
       border: 1px solid #f0f0f0;
   }
   
   .contact-info-header {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 3rem;
       display: flex;
       align-items: center;
       gap: 2rem;
   }
   
   .contact-main-icon {
       width: 80px;
       height: 80px;
       background: rgba(255, 255, 255, 0.2);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       flex-shrink: 0;
       backdrop-filter: blur(10px);
   }
   
   .contact-main-text h3 {
       font-size: 1.8rem;
       margin: 0 0 0.5rem 0;
       font-weight: 700;
       line-height: 1.2;
   }
   
   .contact-main-text p {
       margin: 0;
       opacity: 0.9;
       font-size: 1.1rem;
   }
   
   .contact-cards-grid {
       padding: 3rem 2rem;
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       gap: 2rem;
       width: 100%;
       max-width: 100%;
       box-sizing: border-box;
   }
   
   .modern-contact-card {
       background: #f8f9fa;
       border-radius: 20px;
       padding: 2rem;
       transition: all 0.3s ease;
       border: 2px solid transparent;
       position: relative;
       overflow: hidden;
   }
   
   .modern-contact-card::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 4px;
       background: linear-gradient(135deg, #667eea, #764ba2);
   }
   
   .modern-contact-card:hover {
       transform: translateY(-8px);
       border-color: #667eea;
       box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
       background: white;
   }
   
   .modern-contact-icon {
       width: 60px;
       height: 60px;
       background: rgba(102, 126, 234, 0.1);
       border-radius: 15px;
       display: flex;
       align-items: center;
       justify-content: center;
       margin-bottom: 1.5rem;
       transition: all 0.3s ease;
   }
   
   .modern-contact-card:hover .modern-contact-icon {
       background: rgba(102, 126, 234, 0.2);
       transform: scale(1.1);
   }
   
   .modern-contact-content h4 {
       color: #2c3e50;
       font-size: 1.3rem;
       margin: 0 0 0.5rem 0;
       font-weight: 600;
   }
   
   .modern-contact-content p {
       margin: 0 0 1rem 0;
       color: #555;
       font-size: 1.1rem;
       line-height: 1.5;
   }
   
   .modern-contact-content a {
       color: #667eea;
       text-decoration: none;
       font-weight: 600;
       transition: color 0.3s ease;
   }
   
   .modern-contact-content a:hover {
       color: #764ba2;
   }
   
   .contact-badge {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 0.4rem 1rem;
       border-radius: 20px;
       font-size: 0.85rem;
       font-weight: 500;
       display: inline-block;
   }
   
   /* Секция карты
      ========================================================================== */
   .contact-map-section {
       background: white;
       border-radius: 25px;
       overflow: hidden;
       box-shadow: 0 25px 80px rgba(0,0,0,0.1);
       border: 1px solid #f0f0f0;
       height: fit-content;
   }
   
   .map-placeholder {
       padding: 3rem 2rem;
       text-align: center;
       background: linear-gradient(135deg, #f8f9fa, #e9ecef);
       height: 100%;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
   }
   
   .map-icon {
       width: 100px;
       height: 100px;
       background: rgba(102, 126, 234, 0.1);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin-bottom: 2rem;
       border: 3px solid rgba(102, 126, 234, 0.2);
   }
   
   .map-placeholder h4 {
       color: #2c3e50;
       font-size: 1.5rem;
       margin: 0 0 1rem 0;
       font-weight: 600;
   }
   
   .map-placeholder p {
       color: #666;
       margin: 0 0 2rem 0;
       font-size: 1.1rem;
   }
   
   /* Подвал
      ========================================================================== */
   footer {
       background: #2c3e50;
       color: white;
       text-align: center;
       padding: 2rem;
   }
   
   /* Анимации скролла
      ========================================================================== */
   .animate-on-scroll {
       opacity: 0;
       transform: translateY(30px);
       transition: all 0.8s ease;
   }
   
   .animate-on-scroll.animated {
       opacity: 1;
       transform: translateY(0);
   }
   
   /* Адаптивность
      ========================================================================== */
   @media (min-width: 1200px) {
       .gallery-grid {
           grid-template-columns: repeat(3, 1fr);
           gap: 2rem;
       }
   }
   
   @media (min-width: 901px) and (max-width: 1199px) {
       .gallery-grid {
           grid-template-columns: repeat(2, 1fr);
           gap: 1.5rem;
       }
   }
   
   @media (max-width: 900px) {
       .gallery-grid {
           grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
           gap: 1.5rem;
       }
   }
   
   @media (max-width: 768px) {
       .container {
           padding: 0 1rem;
           max-width: 100%;
           width: 100%;
       }
       
       nav {
           padding: 1rem;
           max-width: 100%;
           width: 100%;
       }
       
       .mobile-menu-toggle {
           display: block;
       }
       
       .nav-links {
           display: none;
       }
       
       .hero h1 {
           font-size: 2.5rem;
       }
       
       .hero p {
           font-size: 1.1rem;
       }
       
       .gallery-grid {
           grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
           gap: 1rem;
       }
       
       .academy-gallery-section {
           padding: 2rem 1rem;
           margin-top: 2rem;
       }
       
       .admission-grid {
           grid-template-columns: 1fr;
           gap: 2rem;
           width: 100%;
           max-width: 100%;
       }
       
       .admission-contact-header {
           flex-direction: column;
           text-align: center;
           gap: 1.5rem;
       }
       
       .admission-contact-cards {
           grid-template-columns: 1fr;
           gap: 1.5rem;
       }
       
       .contact-buttons {
           flex-direction: column;
           gap: 1rem;
       }
       
       .contact-btn {
           width: 100%;
           justify-content: center;
       }
       
       .gallery-grid {
           grid-template-columns: 1fr;
           gap: 1rem;
           width: 100%;
           max-width: 100%;
       }
       
       .gallery-item {
           width: 100%;
           max-width: 100%;
           min-width: 0;
       }
       
           .gallery-section-header {
           flex-direction: column;
           text-align: center;
       }
   
       .pdf-grid {
           grid-template-columns: 1fr;
           gap: 2rem;
       }
   
       .pdf-section-header {
           flex-direction: column;
           text-align: center;
       }
   
       .pdf-modal-content {
           width: 95%;
           height: 95%;
           max-width: none;
       }
   
       .features-grid {
           grid-template-columns: 1fr;
       }
   
       .stats-grid {
           grid-template-columns: repeat(2, 1fr);
           gap: 2rem;
       }
   
       .contact-hero {
           padding: 4rem 0 3rem;
       }
   
       .contact-header h2 {
           font-size: 2.5rem;
       }
   
       .contact-main {
           grid-template-columns: 1fr;
           gap: 3rem;
       }
   
       .contact-info-header {
           flex-direction: column;
           text-align: center;
           gap: 1.5rem;
       }
   
       .contact-cards-grid {
           grid-template-columns: 1fr;
           gap: 1.5rem;
       }
       
       .map-btn {
           width: 100%;
           justify-content: center;
       }
   } 
   
   @media (max-width: 480px) {
       * {
           max-width: 100% !important;
           box-sizing: border-box !important;
       }
       
       .container {
           padding: 0 0.5rem;
           max-width: 100%;
           width: 100%;
       }
       
       .hero h1 {
           font-size: 2rem;
       }
       
       .hero p {
           font-size: 1rem;
       }
       
       .gallery-grid {
           grid-template-columns: 1fr;
           gap: 0.8rem;
       }
       
       .academy-gallery-section {
           padding: 1.5rem 0.5rem;
           margin-top: 1.5rem;
       }
       
       .gallery-item {
           width: 100%;
           max-width: 100%;
           min-width: 0;
       }
       
       .admission-grid {
           grid-template-columns: 1fr;
           gap: 1rem;
           width: 100%;
           max-width: 100%;
       }
       
       .features-grid {
           grid-template-columns: 1fr;
           gap: 1rem;
           width: 100%;
           max-width: 100%;
       }
       
       .stats-grid {
           grid-template-columns: 1fr;
           gap: 1rem;
           width: 100%;
           max-width: 100%;
       }
       
       .admission-contact-cards {
           grid-template-columns: 1fr;
           gap: 1rem;
           padding: 1.5rem 1rem;
       }
       
       .contact-cards-grid {
           grid-template-columns: 1fr;
           gap: 1rem;
           padding: 1.5rem 1rem;
       }
       
       .admission-main h2,
       .features h2,
       .stats h2 {
           font-size: 2rem;
       }
       
       .stat-number {
           font-size: 3rem;
       }
       
       .contact-header h2 {
           font-size: 2rem;
       }
       
       .admission-card-header,
       .admission-card-content {
           padding: 1.5rem;
       }
       
       .contact-card {
           padding: 1.5rem;
       }
       
       .feature-card {
           padding: 1.5rem;
       }
       
       .stat-item {
           padding: 2rem 1.5rem;
       }
       
       .modern-contact-card {
           padding: 1.5rem;
   }
   
       .contact-info-header {
           padding: 2rem;
   }
   
       .contact-cards-grid {
           padding: 2rem;
   }
   
           .map-placeholder {
           padding: 2rem;
       }
   
       .pdf-brochуры-section {
           padding: 2rem 1rem;
           margin-top: 2rem;
       }
   
       .pdf-card-header {
           padding: 1.5rem;
       }
   
       .pdf-card-content {
           padding: 1.5rem;
       }
   
       .pdf-preview {
           height: 150px;
       }
   
       .pdf-btn {
           padding: 0.75rem 1.25rem;
           font-size: 0.85rem;
       }
   
       .pdf-card-actions {
           flex-direction: column;
           gap: 0.75rem;
       }
   
       .pdf-modal-content {
           width: 98%;
           height: 98%;
           border-radius: 10px;
       }
   
       .pdf-modal-header {
           padding: 1rem;
       }
   }
   
   /* Дополнительные правила для предотвращения горизонтального скролла */
   @media (max-width: 320px) {
       * {
           max-width: 100% !important;
           box-sizing: border-box !important;
       }
       
       .container {
           padding: 0 0.25rem !important;
           max-width: 100% !important;
           width: 100% !important;
       }
       
       .academy-gallery-section {
           padding: 1rem 0.25rem !important;
           margin-top: 1rem !important;
       }
       
       .gallery-grid {
           grid-template-columns: 1fr !important;
           gap: 0.5rem !important;
       }
       
       .admission-grid,
       .features-grid,
       .stats-grid,
       .admission-contact-cards,
       .contact-cards-grid {
           grid-template-columns: 1fr !important;
           gap: 0.5rem !important;
           padding: 1rem 0.25rem !important;
       }
   }

   /* Секция профессорско-преподавательского состава
      ========================================================================== */
   .faculty-section {
       padding: 5rem 0;
       background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
       width: 100%;
       max-width: 100%;
       overflow-x: hidden;
       box-sizing: border-box;
   }

   .faculty-section::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="rgba(102,126,234,0.05)"/><circle cx="800" cy="300" r="1.5" fill="rgba(118,75,162,0.05)"/><circle cx="400" cy="600" r="3" fill="rgba(102,126,234,0.05)"/><circle cx="900" cy="700" r="1.5" fill="rgba(118,75,162,0.05)"/><circle cx="100" cy="800" r="2.5" fill="rgba(102,126,234,0.05)"/></svg>') repeat;
       animation: float 40s ease-in-out infinite;
       z-index: 0;
   }

   .faculty-header {
       text-align: center;
       margin-bottom: 4rem;
       position: relative;
       z-index: 1;
   }

   .faculty-header-icon {
       width: 80px;
       height: 80px;
       background: rgba(255, 255, 255, 0.9);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto 2rem;
       box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
       border: 2px solid rgba(102, 126, 234, 0.1);
   }

   .faculty-header h2 {
       font-size: 2.8rem;
       margin-bottom: 1.5rem;
       background: linear-gradient(135deg, #667eea, #764ba2);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       font-weight: 700;
       line-height: 1.2;
   }

   .faculty-header p {
       font-size: 1.3rem;
       color: #666;
       max-width: 800px;
       margin: 0 auto;
       line-height: 1.6;
   }

   .faculty-main-info {
       margin-bottom: 4rem;
       position: relative;
       z-index: 1;
   }

   .faculty-overview {
       display: flex;
       justify-content: center;
   }

   .faculty-overview-card {
       background: white;
       border-radius: 25px;
       padding: 3rem;
       box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
       display: flex;
       align-items: center;
       gap: 2rem;
       max-width: 800px;
       width: 100%;
       position: relative;
       overflow: hidden;
       border: 1px solid rgba(102, 126, 234, 0.1);
   }

   .faculty-overview-card::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 4px;
       background: linear-gradient(135deg, #667eea, #764ba2);
   }

   .faculty-overview-icon {
       width: 80px;
       height: 80px;
       background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
       border-radius: 20px;
       display: flex;
       align-items: center;
       justify-content: center;
       flex-shrink: 0;
       border: 2px solid rgba(102, 126, 234, 0.2);
   }

   .faculty-overview-content h3 {
       font-size: 1.6rem;
       font-weight: 700;
       color: #2c3e50;
       margin-bottom: 1rem;
   }

   .faculty-overview-content p {
       font-size: 1.2rem;
       color: #555;
       line-height: 1.6;
       margin: 0;
   }

   .faculty-overview-content strong {
       color: #667eea;
       font-weight: 700;
   }

   .faculty-stats-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
       gap: 2.5rem;
       margin-bottom: 4rem;
       position: relative;
       z-index: 1;
   }

   .faculty-stats-card {
       background: white;
       border-radius: 25px;
       overflow: hidden;
       box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
       transition: all 0.3s ease;
       position: relative;
       border: 1px solid rgba(102, 126, 234, 0.1);
   }

   .faculty-stats-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
   }

   .faculty-stats-header {
       background: linear-gradient(135deg, #667eea, #764ba2);
       color: white;
       padding: 2.5rem 2rem;
       display: flex;
       align-items: center;
       gap: 1.5rem;
       position: relative;
   }

   .faculty-stats-header::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="600" r="3" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
       animation: float 25s ease-in-out infinite;
   }

   .faculty-stats-icon {
       width: 50px;
       height: 50px;
       background: rgba(255, 255, 255, 0.2);
       border-radius: 15px;
       display: flex;
       align-items: center;
       justify-content: center;
       flex-shrink: 0;
       backdrop-filter: blur(10px);
       position: relative;
       z-index: 2;
   }

   .faculty-stats-header h4 {
       font-size: 1.4rem;
       font-weight: 600;
       margin: 0;
       position: relative;
       z-index: 2;
   }

   .faculty-stats-content {
       padding: 2.5rem 2rem;
   }

   .faculty-stat-item {
       display: flex;
       align-items: center;
       justify-content: space-between;
       padding: 1.5rem 0;
       border-bottom: 1px solid #f0f0f0;
       position: relative;
   }

   .faculty-stat-item:last-child {
       border-bottom: none;
   }

   .faculty-stat-number {
       font-size: 2.5rem;
       font-weight: 700;
       background: linear-gradient(135deg, #667eea, #764ba2);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       min-width: 80px;
       text-align: center;
   }

   .faculty-stat-label {
       font-size: 1.1rem;
       color: #555;
       font-weight: 500;
       flex: 1;
       text-align: right;
       line-height: 1.3;
   }

   .faculty-honors-list {
       margin-top: 2rem;
       padding-top: 2rem;
       border-top: 2px solid #f0f0f0;
   }

   .faculty-honor-item {
       display: flex;
       align-items: center;
       gap: 1rem;
       padding: 1rem 0;
       border-bottom: 1px solid #f8f9fa;
   }

   .faculty-honor-item:last-child {
       border-bottom: none;
   }

   .honor-badge {
       width: 35px;
       height: 35px;
       background: linear-gradient(135deg, #667eea, #764ba2);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.2rem;
       flex-shrink: 0;
   }

   .faculty-honor-item span:not(.honor-badge) {
       color: #555;
       font-weight: 500;
       font-size: 1rem;
   }

   .faculty-excellence-section {
       background: white;
       border-radius: 25px;
       padding: 3rem;
       box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
       position: relative;
       overflow: hidden;
       border: 1px solid rgba(102, 126, 234, 0.1);
       z-index: 1;
   }

   .faculty-excellence-section::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 4px;
       background: linear-gradient(135deg, #667eea, #764ba2);
   }

   .excellence-header {
       text-align: center;
       margin-bottom: 3rem;
   }

   .excellence-icon {
       width: 80px;
       height: 80px;
       background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto 2rem;
       border: 2px solid rgba(102, 126, 234, 0.2);
   }

   .excellence-header h3 {
       font-size: 2.2rem;
       font-weight: 700;
       color: #2c3e50;
       margin-bottom: 1rem;
   }

   .excellence-header p {
       font-size: 1.2rem;
       color: #666;
       line-height: 1.6;
       max-width: 700px;
       margin: 0 auto;
   }

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

   .excellence-feature {
       display: flex;
       align-items: flex-start;
       gap: 1.5rem;
       padding: 2rem;
       background: linear-gradient(135deg, #f8f9fa, #e9ecef);
       border-radius: 20px;
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;
   }

   .excellence-feature::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 3px;
       background: linear-gradient(135deg, #667eea, #764ba2);
   }

   .excellence-feature:hover {
       transform: translateY(-5px);
       box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
       background: white;
   }

   .excellence-feature-icon {
       width: 50px;
       height: 50px;
       background: linear-gradient(135deg, #667eea, #764ba2);
       border-radius: 15px;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.5rem;
       flex-shrink: 0;
       box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
   }

   .excellence-feature-content h4 {
       font-size: 1.3rem;
       font-weight: 600;
       color: #2c3e50;
       margin-bottom: 0.5rem;
   }

   .excellence-feature-content p {
       font-size: 1rem;
       color: #666;
       line-height: 1.6;
       margin: 0;
   }

   /* Адаптивность для секции профессорско-преподавательского состава */
   @media (max-width: 768px) {
       .faculty-header h2 {
           font-size: 2.2rem;
       }

       .faculty-header p {
           font-size: 1.1rem;
       }

       .faculty-overview-card {
           flex-direction: column;
           text-align: center;
           padding: 2rem;
       }

       .faculty-overview-content h3 {
           font-size: 1.4rem;
       }

       .faculty-overview-content p {
           font-size: 1.1rem;
       }

       .faculty-stats-grid {
           grid-template-columns: 1fr;
           gap: 2rem;
       }

       .faculty-stats-header {
           flex-direction: column;
           text-align: center;
           gap: 1rem;
           padding: 2rem;
       }

       .faculty-stats-content {
           padding: 2rem;
       }

       .faculty-stat-item {
           flex-direction: column;
           text-align: center;
           gap: 0.5rem;
       }

       .faculty-stat-number {
           font-size: 2rem;
       }

       .faculty-stat-label {
           text-align: center;
       }

       .excellence-features {
           grid-template-columns: 1fr;
       }

       .excellence-feature {
           flex-direction: column;
           text-align: center;
       }

       .faculty-excellence-section {
           padding: 2rem;
       }

       .excellence-header h3 {
           font-size: 1.8rem;
       }

       .excellence-header p {
           font-size: 1.1rem;
       }
   }

   @media (max-width: 480px) {
       .faculty-section {
           padding: 3rem 0;
       }

       .faculty-header h2 {
           font-size: 1.8rem;
       }

       .faculty-header p {
           font-size: 1rem;
       }

       .faculty-overview-card {
           padding: 1.5rem;
       }

       .faculty-overview-content h3 {
           font-size: 1.2rem;
       }

       .faculty-overview-content p {
           font-size: 1rem;
       }

       .faculty-stats-header {
           padding: 1.5rem;
       }

       .faculty-stats-content {
           padding: 1.5rem;
       }

       .faculty-stat-number {
           font-size: 1.8rem;
       }

       .faculty-stat-label {
           font-size: 1rem;
       }

       .faculty-excellence-section {
           padding: 1.5rem;
       }

       .excellence-header h3 {
           font-size: 1.5rem;
       }

       .excellence-feature {
           padding: 1.5rem;
       }

       .excellence-feature-content h4 {
           font-size: 1.2rem;
       }
   }