/* ===================================================== */
/* ADMISSION PAGE - CLEAN BALANCED UI (FINAL IMPROVED v5) */
/* ===================================================== */

:root {
    --blue: #2F80ED;
    --blue-dark: #1C4FA1;
    --blue-light: #60A5FA;
    --blue-soft: #F0F7FF;

    --black: #111111;
    --gray: #6B7280;
    --gray-light: #94A3B8;
    --gray-100: #F1F5F9;

    --bg: #f8fafc;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-2xl: 32px;

    --space-sm: 12px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 80px;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 48px rgba(47, 128, 237, 0.12);
}

/* ===================================================== */
/* BASE                                                  */
/* ===================================================== */

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--black);
    line-height: 1.65;
}

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

.bg-gradient-to-r.from-\[\#003087\] {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.bg-gradient-to-r.from-\[\#003087\]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #003087, #1C4FA1, #2F80ED);
    opacity: 0.96;
}

.bg-gradient-to-r.from-\[\#003087\] .max-w-7xl {
    position: relative;
    z-index: 2;
}

.bg-gradient-to-r nav {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    margin-bottom: 16px;
}

.bg-gradient-to-r h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
}

.bg-gradient-to-r p {
    max-width: 680px;
    color: rgba(255,255,255,0.92);
}

/* ===================================================== */
/* LAYOUT                                                */
/* ===================================================== */

.lg\:col-span-2,
.lg\:col-span-1 {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===================================================== */
/* CARDS & GENERAL STYLING                               */
/* ===================================================== */

.bg-white {
    background: #ffffff;
    border-radius: var(--radius-xl) !important;
    border: 1px solid #e6ecf5;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-white:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ===================================================== */
/* INFO BOXES (Дедлайн + Стоимость)                      */
/* ===================================================== */

.info-box {
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    border: 1px solid #e6ecf5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.deadline-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: #bae6fd;
}

.cost-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: #bbf7d0;
}

.info-box .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.deadline-box .icon { background: #bae6fd; color: #0369a1; }
.cost-box .icon     { background: #bbf7d0; color: #15803d; }

/* ===================================================== */
/* ТРЕБОВАНИЯ ДЛЯ ПОСТУПЛЕНИЯ                            */
/* ===================================================== */

.requirements-container {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid #e6ecf5;
    box-shadow: var(--shadow-sm);
    padding: 40px 36px;
}

.requirements-container h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* ===================================================== */
/* SPECIALTIES SECTION & CARDS (обновлено под новый стиль) */
/* ===================================================== */

.specialties-container {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    border: 1px solid #e6ecf5;
    box-shadow: var(--shadow-sm);
    padding: 40px 36px;
    margin-bottom: 60px; /* Добавлен отступ снизу, как на скриншоте */
    transition: all 0.3s ease;
}

.specialties-container:hover {
    box-shadow: var(--shadow-md);
}

.specialties-container h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    color: var(--black);
}

/* Новая карточка специальности — минималистичная, как на изображении */
.specialty-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialty-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 10px 30px rgba(47, 128, 237, 0.1);
    transform: translateY(-3px);
}

.specialty-card .icon {
    width: 52px;
    height: 52px;
    background: #F0F7FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.specialty-card:hover .icon {
    background: #E0EFFF;
    transform: scale(1.05);
}

/* Контент */
.specialty-card .content {
    flex: 1;
    min-width: 0;
}

.specialty-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.specialty-card .code {
    display: inline-block;
    padding: 3px 12px;
    background: #F8FAFC;
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 9999px;
    margin-left: 12px;
}

.specialty-card .description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin-top: 4px;
}

/* Стрелка (круглая, как на скриншоте) */
.specialty-card .arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--blue);
    transition: all 0.3s ease;
}

.specialty-card:hover .arrow {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

/* ===================================================== */
/* TYPOGRAPHY                                            */
/* ===================================================== */

h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

h3 {
    font-weight: 600;
    color: #111;
}

/* ===================================================== */
/* SIDEBAR + CONTACT BLOCK (без изменений)               */
/* ===================================================== */

.lg\:col-span-1 {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 16px;
    padding-bottom: 32px;
}

.lg\:col-span-1 .sticky {
    display: flex;
    flex-direction: column;
    gap: 24px;
    top: 24px;
}

.lg\:col-span-1 .bg-white,
.lg\:col-span-1 .bg-gradient-to-br {
    border-radius: var(--radius-lg);
    padding: 28px;
}

.bg-gradient-to-br.from-\[\#003087\] {
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.bg-gradient-to-br.from-\[\#003087\] h3 {
    font-size: 1.25rem;
    color: white;
}

.bg-gradient-to-br.from-\[\#003087\] p {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
}

.bg-gradient-to-br.from-\[\#003087\] a {
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    background: white;
    color: var(--blue-dark);
    transition: all 0.3s ease;
    display: inline-block;
}

.bg-gradient-to-br.from-\[\#003087\] a:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

/* ===================================================== */
/* RESPONSIVE                                            */
/* ===================================================== */

@media (max-width: 1024px) {
    .bg-gradient-to-r h1 {
        font-size: 2.5rem;
    }
    .requirements-container,
    .specialties-container {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .bg-gradient-to-r {
        padding: 64px 0;
    }
    .bg-gradient-to-r h1 {
        font-size: 2.1rem;
    }
    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }
    .info-box {
        padding: 24px 20px;
        gap: 16px;
    }
    .specialty-card {
        padding: 20px 24px;
        gap: 16px;
    }
    .specialty-card .icon {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }
}