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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: #f8fafc;
    color: #1a2c3e;
    line-height: 1.6;
    overflow-x: hidden;
}

.sidebar {
    width: 280px;
    background: #1e3a4d;
    color: #e0e7ed;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 32px 20px;
    z-index: 100;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.logo-icon {
    font-size: 2.2rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-link {
    color: #cbdbe0;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-link.active {
    background: #2c6e8f;
    color: white;
    font-weight: 500;
}

.menu-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.sidebar-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.mobile-toggle {
    display: none;
    background: #2c6e8f;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
}

.content-with-sidebar {
    margin-left: 280px;
    min-height: 100vh;
    background: #fefcf8;
    overflow-x: hidden;
}

.content-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 48px 32px 48px;
}

h1 {
    font-size: 2.2rem;
    color: #1e3a4d;
    margin-bottom: 20px;
    line-height: 1.25;
    font-weight: 600;
}

h2 {
    font-size: 1.6rem;
    color: #2c6e8f;
    margin: 48px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6dccf;
    font-weight: 500;
}

h3 {
    font-size: 1.2rem;
    color: #1e3a4d;
    margin: 16px 0 12px 0;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #2c3e40;
}

.hero {
    background: linear-gradient(135deg, #eef3f7 0%, #fefcf8 100%);
    padding: 32px 40px;
    border-radius: 28px;
    margin-bottom: 40px;
    border: 1px solid #e0d6c8;
}

.hero-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2c6e8f;
    margin-bottom: 16px;
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #2c3e40;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ddd0c0;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 24px 0;
}

.card {
    background: #faf7f2;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #e6dccf;
    transition: all 0.2s;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.card-fact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0d6c8;
    font-size: 0.9rem;
    color: #2c6e8f;
}

.compact-list {
    margin-top: 12px;
    padding-left: 20px;
}

.compact-list li {
    margin-bottom: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.grid-item {
    background: #eef3f7;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    font-weight: 500;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.stat-card {
    background: #faf7f2;
    border: 1px solid #e6dccf;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c6e8f;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.8rem;
    color: #5a6e7c;
}

.cancer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.cancer-tag {
    background: #eef3f7;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #1e3a4d;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.duration-table,
.props-table,
.results-table,
.nk-table {
    width: 100%;
    border-collapse: collapse;
    background: #faf7f2;
    border-radius: 20px;
    overflow: hidden;
    min-width: 500px;
}

.duration-table th,
.duration-table td,
.props-table th,
.props-table td,
.results-table th,
.results-table td,
.nk-table th,
.nk-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e6dccf;
}

.duration-table th,
.props-table th,
.results-table th,
.nk-table th {
    background: #e8e0d4;
    font-weight: 600;
}

.table-sub {
    font-size: 0.75rem;
    color: #5a6e7c;
}

.info-note {
    background: #eef3f7;
    padding: 16px 24px;
    border-radius: 20px;
    margin: 24px 0;
    font-size: 0.9rem;
    border-left: 4px solid #2c6e8f;
}

.info-card {
    background: #faf7f2;
    border: 1px solid #e6dccf;
    border-radius: 24px;
    padding: 24px;
    margin: 20px 0;
}

.info-card h3 {
    margin-top: 0;
}

.highlight-section {
    background: #eef3f7;
    border-radius: 28px;
    padding: 32px;
    margin: 40px 0;
}

.warning-box {
    background: #fff5f0;
    border-left: 5px solid #c0392b;
    border-radius: 20px;
    padding: 28px 32px;
    margin: 48px 0;
}

.warning-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 20px;
}

.warning-list {
    padding-left: 24px;
    margin-bottom: 20px;
}

.warning-list li {
    margin-bottom: 10px;
}

.warning-footer {
    padding-top: 16px;
    border-top: 1px solid #f0d8cc;
    font-size: 0.85rem;
    color: #5a4a3e;
}

.page-footer {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #e6dccf;
    text-align: center;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-btn {
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-btn-phone {
    background: #2c6e8f;
    color: white;
}

.footer-btn-phone:hover {
    background: #1e4a6b;
}

.footer-btn-mail {
    background: #e6dccf;
    color: #1e3a4d;
}

.footer-btn-mail:hover {
    background: #d4c8b8;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #7a8e9e;
}

.pub-link {
    display: inline-block;
    background: #eef3f7;
    color: #1e3a4d;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #dce5ec;
    margin-right: 8px;
    margin-bottom: 8px;
}

.pub-link:hover {
    background: #e2e9f0;
    border-color: #b0c4d4;
    transform: translateY(-1px);
}

.pub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 40px 0;
}

.contacts-info h2,
.contacts-form h2 {
    margin-top: 0;
    border-bottom: 2px solid #e6dccf;
    padding-bottom: 12px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 16px;
    background: #faf7f2;
    border-radius: 20px;
    border: 1px solid #e6dccf;
    transition: all 0.2s;
}

.contact-item:hover {
    border-color: #2c6e8f;
    background: white;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.8rem;
    color: #5a6e7c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a4d;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value:hover {
    color: #2c6e8f;
}

.contact-note {
    font-size: 0.75rem;
    color: #5a6e7c;
    margin-top: 6px;
}

.contact-note-box {
    background: #eef3f7;
    padding: 16px 20px;
    border-radius: 16px;
    margin-top: 24px;
    font-size: 0.85rem;
    border-left: 4px solid #2c6e8f;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1e3a4d;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e6dccf;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c6e8f;
    box-shadow: 0 0 0 3px rgba(44, 110, 143, 0.1);
}

.submit-btn {
    background: #2c6e8f;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.submit-btn:hover {
    background: #1e4a6b;
    transform: translateY(-1px);
}

.form-note {
    font-size: 0.75rem;
    color: #5a6e7c;
    margin-top: 12px;
    text-align: center;
}

/* ===== ПУБЛИКАЦИИ ===== */
.pub-card {
    display: flex;
    gap: 24px;
    background: #faf7f2;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e6dccf;
    transition: all 0.2s;
    margin-bottom: 24px;
}

.pub-card:hover {
    border-color: #b0c4d4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pub-year {
    min-width: 70px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c6e8f;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3f7;
    padding: 8px 16px;
    border-radius: 40px;
    height: fit-content;
}

.pub-content {
    flex: 1;
}

.pub-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a4d;
    margin: 0 0 8px 0;
}

.pub-authors {
    font-size: 0.85rem;
    color: #5a6e7c;
    margin-bottom: 6px;
    font-style: italic;
}

.pub-journal {
    font-size: 0.8rem;
    color: #2c6e8f;
    margin-bottom: 8px;
}

.pub-summary {
    font-size: 0.85rem;
    color: #2c3e40;
    margin: 12px 0;
    padding: 8px 12px;
    background: #eef3f7;
    border-radius: 12px;
}

.pub-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pub-link {
    display: inline-block;
    background: #eef3f7;
    color: #1e3a4d;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #dce5ec;
}

.pub-link:hover {
    background: #e2e9f0;
    border-color: #b0c4d4;
    transform: translateY(-1px);
}

/* Фильтр */
.filter-bar {
    background: #faf7f2;
    border-radius: 60px;
    padding: 12px 24px;
    margin: 32px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    border: 1px solid #e6dccf;
}

.filter-label {
    font-weight: 600;
    color: #1e3a4d;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: #eef3f7;
    border: none;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #1e3a4d;
}

.filter-btn:hover {
    background: #d4e0e8;
}

.filter-btn.active {
    background: #2c6e8f;
    color: white;
}

@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 16px;
    }
    .nav-menu {
        display: none;
    }
    .nav-menu.show {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .content-with-sidebar {
        margin-left: 0;
    }
    .content-inner {
        padding: 24px 20px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    .two-columns,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hero {
        padding: 24px;
    }
    .warning-box {
        padding: 20px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-value {
        font-size: 1rem;
    }
}

/* Адаптив для публикаций */
@media (max-width: 768px) {
    .pub-card {
        flex-direction: column;
        gap: 12px;
    }
    .pub-year {
        min-width: auto;
        font-size: 1.2rem;
        align-self: flex-start;
    }
    .filter-bar {
        border-radius: 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .filter-buttons {
        justify-content: center;
    }
}