* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    color: #111827;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Навигация */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Секции */
section {
    padding: 80px 0;
    border-bottom: 1px solid #e5e7eb;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 4px;
}

/* Профиль */
.profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    justify-content: center;
}

.photo-col {
    flex: 1;
    min-width: 240px;
    text-align: center;
}

.avatar {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
    transition: transform 0.2s;
}

.avatar:hover {
    transform: scale(1.02);
}

.bio-col {
    flex: 2;
    min-width: 260px;
}

.bio-col h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.bio-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 24px;
    line-height: 1.6;
}

.bio-detail {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.badge {
    background: #eef2ff;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e40af;
}

.bio-quote {
    background: #f3f4f6;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 1rem;
    color: #1f2937;
    border-left: 4px solid #2563eb;
}

/* Карточки заслуг */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 16px;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.25s;
    border: 1px solid #eef2ff;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.card-icon {
    font-size: 2.2rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: #4b5563;
    line-height: 1.5;
}

.extra-achievements {
    margin-top: 48px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 24px;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.extra-achievements span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
}

.extra-achievements i {
    margin-right: 8px;
    color: #2563eb;
}

/* Карусель (общие стили) */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 20px;
}

.carousel-slide {
    flex: 1;
    max-width: 600px;
    background: white;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.carousel-btn {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 60px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #2563eb;
    transform: scale(1.3);
}

/* Стили для сертификатов */
.certificate-card {
    text-align: center;
}

.certificate-card img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 20px;
    background: #f9fafb;
    padding: 8px;
    border: 1px solid #e5e7eb;
}

.certificate-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    font-weight: 700;
}

.certificate-card p {
    color: #4b5563;
}

/* Стили для памятных моментов */
.moment-card {
    text-align: center;
}

.moment-card img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.moment-caption {
    margin-top: 16px;
    font-size: 1rem;
    color: #4b5563;
    font-style: italic;
    background: #f9fafb;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 40px;
}

/* Общая заметка */
.note {
    text-align: center;
    margin-top: 30px;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #374151;
}

.note code {
    background: #e5e7eb;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: monospace;
}

/* Контакты */
.contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
}

.contacts-info {
    flex: 1.5;
    min-width: 260px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 80px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
    transition: 0.2s;
}

.contact-item:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
}

.contact-icon {
    font-size: 1.6rem;
    width: 48px;
    color: #2563eb;
}

.contact-details a {
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: #111827;
}

.contact-details a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.contact-sub {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.time-card {
    flex: 1;
    min-width: 240px;
    background: white;
    border-radius: 32px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.06);
}

.time-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 16px;
}

.time-label {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.moscow-time {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: monospace;
    background: #f3f4f6;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 60px;
    color: #111827;
    margin: 16px 0 12px;
}

.time-note {
    font-size: 0.8rem;
    color: #6b7280;
}

footer {
    text-align: center;
    padding: 32px 0;
    font-size: 0.85rem;
    color: #6b7280;
    background: white;
    border-top: 1px solid #e5e7eb;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .avatar {
        width: 220px;
        height: 220px;
    }
    .bio-col h1 {
        font-size: 2.2rem;
    }
    .contact-item {
        padding: 12px 18px;
    }
    .moscow-time {
        font-size: 2rem;
        padding: 6px 16px;
    }
    section {
        padding: 60px 0;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    .moment-card img {
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }
    .carousel-slide {
        padding: 16px;
    }
    .moment-card img {
        max-height: 260px;
    }
}