:root {
    --sk-primary: #0d0a0a;
    --sk-primary-dark: #000000;
    --sk-primary-light: #333333;
    --sk-accent: #b1ec52;
    --sk-accent-dark: #8fcf3a;
    --sk-accent-light: #d4f59a;
    --sk-dark: #0d0a0a;
    --sk-dark-muted: #4a4a4a;
    --sk-light-bg: #ffffff;
    --sk-card-bg: #ffffff;
    --sk-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --sk-card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --sk-glass-border: #e8e8e8;
    --sk-text: #1a1a1a;
    --sk-muted: #6b6b6b;
    --sk-success: #b1ec52;
    --sk-danger: #ef4444;
    --sk-gradient: linear-gradient(135deg, #0d0a0a 0%, #333333 100%);
    --sk-gradient-accent: linear-gradient(135deg, #b1ec52 0%, #8fcf3a 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--sk-light-bg);
    color: var(--sk-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== ФОН ========== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(177, 236, 82, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 70%, rgba(177, 236, 82, 0.08) 0%, transparent 60%),
        #f2f5ec;
}

.bg-animation::before {
    content: 'SKOLKOVO';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: clamp(3.5rem, 10vw, 12rem);
    font-weight: 900;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: rgba(180, 180, 180, 0.15);
    letter-spacing: 0.03em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    line-height: 1;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(177, 236, 82, 0.05);
    border-radius: 50%;
    animation: float 18s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-120px) translateX(60px) scale(1.4);
        opacity: 0.5;
    }
    50% {
        transform: translateY(80px) translateX(-45px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-40px) translateX(95px) scale(1.1);
        opacity: 0.6;
    }
}

/* ========== ШАПКА ========== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sk-glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--sk-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--sk-dark);
    flex-shrink: 0;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--sk-dark);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.logo-text span {
    color: var(--sk-dark);
    background: var(--sk-accent);
    padding: 0 0.3rem;
    border-radius: 4px;
}

/* Навигация */
.nav-wrapper {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--sk-dark-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

nav a:hover {
    background: rgba(177, 236, 82, 0.15);
    color: var(--sk-dark);
}

nav a.active {
    background: var(--sk-accent);
    color: var(--sk-dark);
    font-weight: 600;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--sk-dark);
    border-radius: 2px;
}

/* Гамбургер */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
    border-radius: var(--radius-sm);
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sk-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== КОНТЕЙНЕР ========== */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* ========== HERO ========== */

.hero {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(177, 236, 82, 0.15);
    border: 1px solid rgba(177, 236, 82, 0.3);
    color: var(--sk-dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--sk-dark);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--sk-muted);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ========== КНОПКИ ========== */

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    line-height: 1.4;
}

.btn-primary {
    background: var(--sk-dark);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--sk-glass-border);
    color: var(--sk-dark-muted);
}

.btn-outline:hover {
    border-color: var(--sk-dark);
    color: var(--sk-dark);
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

/* ========== ПРЕИМУЩЕСТВА ========== */

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.adv-card {
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--sk-card-shadow);
}

.adv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 86, 219, 0.15);
    box-shadow: var(--sk-card-shadow-hover);
}

.adv-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.adv-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--sk-dark);
}

.adv-card p {
    color: var(--sk-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ========== ГОРОДА ========== */

.cities-section {
    margin: 3rem 0 2rem;
}

.cities-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--sk-dark);
}

.cities-sub {
    text-align: center;
    color: var(--sk-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
}

.city-card {
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--sk-card-shadow);
}

.city-card:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 86, 219, 0.12);
    box-shadow: var(--sk-card-shadow-hover);
}

.city-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sk-dark);
    margin-bottom: 0.3rem;
}

.city-count {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--sk-dark);
    line-height: 1.2;
}

.city-label {
    font-size: 0.65rem;
    color: var(--sk-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ========== ФУТЕР ========== */

footer {
    background: var(--sk-card-bg);
    border-top: 1px solid var(--sk-glass-border);
    padding: 2.5rem 1.5rem 1.5rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--sk-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sk-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.footer-col a {
    display: block;
    color: var(--sk-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--sk-primary);
}

.footer-bottom {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sk-glass-border);
    text-align: center;
    color: var(--sk-muted);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--sk-primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========== ФОРМЫ ========== */

.auth-section {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--sk-card-shadow);
}

.auth-card h1 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--sk-dark);
}

.auth-form .form-group {
    margin-bottom: 1.2rem;
}

.auth-form label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--sk-dark);
    margin-bottom: 0.35rem;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--sk-glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--sk-light-bg);
    color: var(--sk-text);
    transition: all var(--transition);
    outline: none;
}

.auth-form input:focus {
    border-color: var(--sk-primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.auth-form input::placeholder {
    color: #a0aec0;
}

.auth-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem;
}

.auth-link {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.88rem;
    color: var(--sk-muted);
}

.auth-link a {
    color: var(--sk-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--sk-accent);
}

.auth-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* ========== КАБИНЕТ ========== */

.cabinet-section {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.cabinet-card {
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--sk-card-shadow);
}

.cabinet-card h1 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--sk-dark);
}

.cabinet-info {
    margin-bottom: 2rem;
}

.cabinet-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--sk-glass-border);
    font-size: 0.95rem;
}

.cabinet-row:last-child {
    border-bottom: none;
}

.cabinet-label {
    font-weight: 600;
    color: var(--sk-muted);
}

.cabinet-card .btn {
    width: 100%;
    justify-content: center;
}

/* ========== ВЫБОР ПРОГРАММ (courses.php) ========== */

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto 3rem;
}

.program-card {
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--sk-card-shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    border-color: rgba(26, 86, 219, 0.15);
    box-shadow: var(--sk-card-shadow-hover);
    transform: translateY(-4px);
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sk-dark);
    margin-bottom: 0.3rem;
}

.program-hours {
    font-size: 0.85rem;
    color: var(--sk-dark-muted);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.program-desc {
    font-size: 0.9rem;
    color: var(--sk-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.program-doc {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(177, 236, 82, 0.12);
    border: 1px solid rgba(177, 236, 82, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    color: var(--sk-dark);
    margin-bottom: 1.2rem;
}

.program-doc-icon {
    font-size: 1rem;
}

.program-btn {
    width: 100%;
    justify-content: center;
}

/* Информационные блоки */
.info-section {
    max-width: 1120px;
    margin: 0 auto;
}

.info-section h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sk-dark);
    margin-bottom: 2rem;
}

.info-block {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--sk-card-shadow);
}

.info-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--sk-accent);
    border-radius: 50%;
    color: var(--sk-dark);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sk-dark);
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--sk-muted);
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.info-content p:last-of-type {
    margin-bottom: 0.8rem;
}

.info-doc {
    background: var(--sk-light-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
}

.info-doc strong {
    display: block;
    color: var(--sk-dark);
    margin-bottom: 0.2rem;
}

.info-doc span {
    color: var(--sk-muted);
}

/* Назад к программам */
.course-nav-back {
    margin-bottom: 1rem;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.course-nav-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--sk-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition);
}

.course-nav-back a:hover {
    color: var(--sk-primary);
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
    }

    .info-section h2 {
        font-size: 1.3rem;
    }
}

/* ========== СТРАНИЦА КУРСОВ ========== */

.courses-section {
    padding: 0.5rem 0 3rem;
}

.courses-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.courses-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--sk-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.courses-header p {
    color: var(--sk-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.course-card {
    background: var(--sk-card-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--sk-card-shadow);
    max-width: 1120px;
    margin: 0 auto;
}

.course-card:hover {
    box-shadow: var(--sk-card-shadow-hover);
}

.course-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(177, 236, 82, 0.15);
    border: 1px solid rgba(177, 236, 82, 0.3);
    color: var(--sk-dark);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.course-type {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--sk-muted);
    letter-spacing: 0.3px;
    margin-bottom: 0.15rem;
}

.course-subtype {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--sk-muted);
    margin-bottom: 1rem;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sk-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--sk-light-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    color: var(--sk-text);
}

.course-meta-item strong {
    color: var(--sk-dark);
}

.course-meta-item:first-child {
    background: rgba(177, 236, 82, 0.12);
    border-color: rgba(177, 236, 82, 0.25);
}

.course-meta-icon {
    font-size: 1rem;
}

.course-section {
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--sk-glass-border);
}

.course-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.course-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sk-dark);
    margin-bottom: 0.7rem;
}

.course-text {
    color: var(--sk-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.course-modules {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.course-module {
    background: var(--sk-light-bg);
    border: 1px solid var(--sk-glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.3rem;
}

.course-module-header {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.course-module-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--sk-accent);
    border-radius: 50%;
    color: var(--sk-dark);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.course-module-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sk-dark);
    margin-bottom: 0.1rem;
}

.course-module-hours {
    font-size: 0.78rem;
    color: var(--sk-dark-muted);
    font-weight: 600;
}

.course-module-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-module-topics li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: var(--sk-muted);
    line-height: 1.5;
    margin-bottom: 0.15rem;
}

.course-module-topics li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--sk-primary-light);
    font-weight: 400;
}

.course-results {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.course-results li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--sk-text);
    line-height: 1.4;
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(177, 236, 82, 0.2);
    border-radius: 50%;
    color: var(--sk-dark);
    font-weight: 700;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.course-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(177, 236, 82, 0.12);
    border: 1px solid rgba(177, 236, 82, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sk-dark);
    margin-top: 0.7rem;
}

.course-why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.course-why-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.9rem;
    background: var(--sk-light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--sk-glass-border);
}

.course-why-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.course-why-item div {
    display: flex;
    flex-direction: column;
}

.course-why-item strong {
    font-size: 0.85rem;
    color: var(--sk-dark);
    margin-bottom: 0.1rem;
}

.course-why-item span {
    font-size: 0.8rem;
    color: var(--sk-muted);
    line-height: 1.4;
}

.course-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    font-size: 1rem;
    margin-top: 2rem;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 768px) {
    header {
        padding: 0 1rem;
        height: 56px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sk-card-bg);
        border-left: 1px solid var(--sk-glass-border);
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 105;
        overflow-y: auto;
    }

    .nav-wrapper.open {
        right: 0;
    }

    nav {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    nav a {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 1.5rem 0 0.5rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .advantages {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.6rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    .course-title {
        font-size: 1.2rem;
    }

    .course-meta {
        flex-direction: column;
    }

    .course-results {
        grid-template-columns: 1fr;
    }

    .course-why {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.8rem;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.9rem;
    }

    .advantages {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .adv-card {
        padding: 1.3rem 1rem;
    }

    .cities-section h2 {
        font-size: 1.3rem;
    }

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

    .city-card {
        padding: 0.7rem;
    }

    .city-name {
        font-size: 0.8rem;
    }

    .city-count {
        font-size: 1.1rem;
    }

    .auth-card {
        padding: 1.5rem 1.2rem;
    }

    .cabinet-card {
        padding: 1.5rem 1.2rem;
    }

    .cabinet-row {
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.6rem 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-card {
        padding: 1.2rem;
    }

    .course-title {
        font-size: 1.05rem;
    }

    .course-module {
        padding: 0.8rem;
    }

    .course-module-header {
        flex-direction: column;
    }

    footer {
        padding: 1.5rem 1rem 1rem;
    }
}
