  .site-header {
        background: linear-gradient(135deg, #07182f 0%, #102a4d 48%, #1a1a2e 100%);
        padding: 12px 0;
        box-shadow: 0 6px 18px rgba(0,0,0,0.28);
        border-bottom: 4px solid #f39c12;
    }
    
    .site-header p, .site-header a, .site-header span {
        color: #ffffff !important;
        font-weight: 800;
        font-size: 1rem;
        letter-spacing: 0.01em;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 0 18px rgba(243, 156, 18, 0.2);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .site-header .text-warning,
    .site-header i {
        color: #ffd166 !important;
        text-shadow: 0 0 14px rgba(255, 209, 102, 0.45);
    }
    
    .site-header a:not(.site-header-cta):hover {
        color: #f39c12 !important;
        transform: translateY(-1px);
    }
    
    .hover-glow:hover {
        text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    }

    .site-header-actions {
        row-gap: 0.5rem;
    }

    .site-header-email {
        display: inline-flex;
        align-items: center;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        text-shadow: none !important;
        white-space: nowrap;
    }

    /* Ghost CTA — вторичная относительно hero, не спорит с основной кнопкой */
    .site-header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.38rem 0.9rem;
        border-radius: 999px;
        background: rgba(243, 156, 18, 0.12);
        border: 1.5px solid rgba(243, 156, 18, 0.85);
        color: #ffd166 !important;
        font-weight: 700 !important;
        font-size: 0.8rem !important;
        line-height: 1.2;
        text-shadow: none !important;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .site-header-cta:hover,
    .site-header-cta:focus-visible {
        color: #1a1a2e !important;
        background: rgba(255, 209, 102, 0.95);
        border-color: #ffd166;
        text-shadow: none !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(243, 156, 18, 0.22);
    }
    
    .social-icon {
        display: flex;
        gap: 15px;
        margin: 0;
        padding: 0;
    }
    
    .social-icon-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white !important;
        font-size: 1.1rem;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 2px solid transparent;
    }
    
    .social-icon-link:hover {
        background: #f39c12;
        color: #1a1a2e !important;
        transform: translateY(-3px) scale(1.1);
        border-color: #f39c12;
        box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
    }
    
    .bi-clock, .bi-telephone {
        font-size: 1.1rem;
        vertical-align: middle;
    }
    
    /* Мобильная адаптация */
    @media (max-width: 991px) {
        .site-header {
            padding: 10px 0;
            overflow-x: clip;
        }

        .site-header .container {
            max-width: 100%;
            overflow-x: clip;
        }
        
        .site-header .row {
            text-align: center;
            margin-left: 0;
            margin-right: 0;
        }
        
        .site-header p, .site-header a {
            font-size: 0.9rem;
        }
        
        .site-header-email {
            font-size: 0.88rem !important;
            white-space: normal !important;
            max-width: 100%;
            word-break: break-word;
            justify-content: center;
            text-align: center;
        }

        .site-header-cta {
            font-size: 0.78rem !important;
            padding: 0.4rem 0.85rem;
            white-space: normal;
            text-align: center;
            max-width: 100%;
        }

        .site-header-actions {
            flex-direction: column;
            align-items: center !important;
            width: 100%;
        }
        
        .bi-clock, .bi-telephone {
            font-size: 1rem;
        }
        
        .site-header .col-12 {
            padding: 5px 0;
        }
        
        .site-header .col-12:not(:last-child) {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
    }

    /* Legacy breakpoint — keep in sync with 991px rules above */
    @media (max-width: 768px) {
        .site-header {
            padding: 10px 0;
        }
        
        .site-header .row {
            text-align: center;
        }
        
        .site-header p, .site-header a {
            font-size: 0.9rem;
        }
        
        .site-header-email {
            font-size: 0.88rem !important;
        }

        .site-header-cta {
            font-size: 0.78rem !important;
            padding: 0.4rem 0.85rem;
            white-space: normal;
            text-align: center;
            max-width: 100%;
        }

        .site-header-actions {
            flex-direction: column;
            align-items: center !important;
            width: 100%;
        }
        
        .bi-clock, .bi-telephone {
            font-size: 1rem;
        }
        
        .site-header .col-12 {
            padding: 5px 0;
        }
        
        .site-header .col-12:not(:last-child) {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
    }
    
    /* Для очень маленьких экранов */
    @media (max-width: 576px) {
        .site-header p, .site-header a {
            font-size: 0.85rem;
        }
        
        .site-header-email {
            font-size: 0.82rem !important;
        }

        .site-header-cta {
            font-size: 0.75rem !important;
            padding: 0.38rem 0.75rem;
        }

        .site-header {
            padding: 8px 0;
        }
    }
    
    /* Анимация при загрузке */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .site-header {
        animation: slideDown 0.5s ease-out;
    }

/* Program PDF link in course header */
.site-header-program {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header-program i {
  color: #ffd166 !important;
  font-size: 1rem;
}

.site-header-program:hover,
.site-header-program:focus-visible {
  background: rgba(255, 209, 102, 0.18);
  border-color: #ffd166;
  color: #ffd166 !important;
  transform: translateY(-1px);
}

.navbar .site-nav-program {
  font-weight: 700 !important;
  color: #c2410c !important;
}

.navbar .site-nav-program i {
  color: #ea580c !important;
}

.navbar .site-nav-program:hover,
.navbar .site-nav-program:focus-visible {
  color: #9a3412 !important;
}

@media (max-width: 767.98px) {
  .site-header-program span {
    /* keep label visible — short text */
  }
  .site-header-program {
    padding: 0.34rem 0.7rem;
    font-size: 0.74rem !important;
  }
}
