/* МИНИМАЛИСТИЧНОЕ ИСПРАВЛЕНИЕ МЕНЮ */

/* УБИРАЕМ ВСЕ ЖИРНЫЕ ЦВЕТА - ДЕЛАЕМ АККУРАТНО */
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 350px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    margin-top: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-dropdown-item {
    display: block !important;
    padding: 0.8rem 1rem !important;
    margin: 0.2rem 0 !important;
    background: transparent !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: var(--primary-color) !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
}

.nav-dropdown-item:hover {
    background: #f8f9fa !important;
    color: var(--primary-color) !important;
    transform: none !important;
    box-shadow: none !important;
}

.nav-dropdown-item:first-child {
    background: transparent !important;
    color: var(--primary-color) !important;
    font-weight: 400 !important;
}

.nav-dropdown-item:first-child:hover {
    background: #f8f9fa !important;
    transform: none !important;
}

/* ИСПРАВЛЕННЫЙ МОБИЛЬНЫЙ ГАМБУРГЕР - ПОКАЗЫВАЕМ НА МОБИЛЬНОМ */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Анимация в крестик */



/* МИНИМАЛИСТИЧНОЕ МОБИЛЬНОЕ МЕНЮ */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: color 0.2s ease;
    font-weight: 400;
}

.mobile-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu.active {
    display: flex;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
}/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --accent-color: #b8956f;
    --text-light: #666;
    --bg-light: #fafafa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Dropdown - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 350px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 10px;
    padding: 0.5rem 0;
}

/* Показываем меню при наведении на родительский элемент ИЛИ на само меню */
.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown-content:hover {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

/* Добавляем невидимый мостик для устойчивости */
.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 999;
}

.nav-dropdown:hover::after {
    display: block;
}

@keyframes fadeIn {
    from {
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    from {
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
}

.mobile-menu a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu.active {
    display: flex;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem;
    gap: 4rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-line {
    display: block;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-line.accent {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: var(--transition);
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

.profile-photo-container {
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    transform: translateY(20px);
}

/* Для research page убираем margin совсем */
.research-hero-simple .section-title {
    margin-bottom: 0.5rem;
    opacity: 1;
    transform: none;
}

.section-title.visible {
    animation: fadeInUp 0.8s ease forwards;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.about-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.about-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: auto;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info {
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-text {
    font-size: 1.2rem;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
}

.form-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        min-height: 40px;
    }
    
    .menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        padding: 1rem;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .profile-image {
        height: 300px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-number {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
        min-height: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Education Section */
.education {
    background-color: var(--bg-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.education-card {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.education-diploma-preview {
    width: 120px;
    height: 85px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.education-diploma-preview:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.diploma-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.education-institution {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-year {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Research Page Styles */
.research-hero-simple {
    padding: 90px 0 5px;
    background-color: var(--bg-light);
    text-align: center;
}

.research-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0.5rem 0 0;
    font-weight: 400;
}

.simple-explanation {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.simple-explanation h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.simple-explanation p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Research section backgrounds */
.research-section-white {
    background: var(--white);
    padding: 0.2rem 0 4rem;
}

.research-section-light {
    background: var(--bg-light);
    padding: 0.2rem 0 4rem;
}

/* First section after title */
.research-section-white:first-of-type {
    padding-top: 0.2rem;
}

.research-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.research-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.research-article h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.research-article p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-article ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.research-article li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.research-article strong {
    color: var(--primary-color);
}

.research-article em {
    color: var(--accent-color);
}

.research-article a {
    color: var(--accent-color);
    text-decoration: none;
}

.research-article a:hover {
    text-decoration: underline;
}

/* Active nav link */
.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 2rem;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .profile-photo-container {
        height: 350px;
        border-radius: 20px;
        overflow: hidden;
    }
    
    .profile-image {
        height: 100% !important;
        border-radius: 20px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .education-card {
        padding: 2rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .research-hero-simple {
        padding: 70px 0 20px;
    }
    
    .research-article-title {
        font-size: 1.4rem;
    }
    
    .research-article {
        padding: 0 1rem;
    }
    
    .research-article h2 {
        font-size: 1.5rem;
    }
    
    .research-article h3 {
        font-size: 1.2rem;
    }
}# Cache buster Thu Jun 12 09:50:19 PM UTC 2025


/* ПРИНУДИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ МОБИЛЬНОГО МЕНЮ */
/* ПРИНУДИТЕЛЬНО ПОКАЗЫВАЕМ ГАМБУРГЕР НА МОБИЛЬНОМ */
@media (max-width: 768px) {
    .menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 24px !important;
        height: 18px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 1001 !important;
    }
    
    .mobile-menu-btn span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        background: var(--primary-color) !important;
        border-radius: 1px !important;
        transition: all 0.3s ease !important;
    }
}

/* ПОЛУПРОЗРАЧНОЕ ВЫПАДАЮЩЕЕ МЕНЮ */
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    margin-top: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-dropdown-item {
    display: block !important;
    padding: 0.7rem 1rem !important;
    margin: 0.2rem 0 !important;
    background: transparent !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: rgba(10, 10, 10, 0.7) !important;
    transition: all 0.2s ease !important;
    border: none !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}

.nav-dropdown-item:hover {
    background: rgba(248, 249, 250, 0.8) !important;
    color: var(--primary-color) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* АНИМАЦИЯ СТРЕЛОЧКИ */
.nav-dropdown-arrow {
    transition: transform 0.2s ease !important;
    display: inline-block !important;
    margin-left: 0.3rem !important;
    font-size: 0.7rem !important;
}

.nav-dropdown:hover .nav-dropdown-arrow {
    opacity: 1 !important;
}

.nav-dropdown:hover .nav-link {
    color: rgba(10, 10, 10, 0.7) !important;
}

/* УБИРАЕМ ВСЕ ЛИШНЕЕ ИЗ СТАРЫХ СТИЛЕЙ */
.nav-dropdown-item:first-child {
    background: transparent !important;
    color: rgba(10, 10, 10, 0.7) !important;
    font-weight: 400 !important;
}

.nav-dropdown-item:first-child:hover {
    background: rgba(248, 249, 250, 0.8) !important;
    color: var(--primary-color) !important;
    transform: none !important;
}

/* ЕБУЧИЙ БУТЕРБРОД - ОКОНЧАТЕЛЬНОЕ ИСПРАВЛЕНИЕ */
/* ЕБУЧИЙ БУТЕРБРОД - ПРИНУДИТЕЛЬНЫЕ СТИЛИ */

/* ГАМБУРГЕР КНОПКА */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0a0a0a;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* АНИМАЦИЯ КРЕСТИКА */



/* МОБИЛЬНОЕ МЕНЮ */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: #0a0a0a;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: color 0.2s ease;
    font-weight: 400;
}

.mobile-menu a:hover {
    color: #b8956f;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* МОБИЛЬНАЯ ВЕРСИЯ - ПОКАЗЫВАЕМ БУТЕРБРОД */
@media (max-width: 768px) {
    .menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-container {
        padding: 0 1.5rem;
        min-height: 60px;
    }
}
/* АДАПТИВНЫЕ ЗАГОЛОВКИ СТАТЕЙ */
@media (max-width: 768px) {
    .research-article-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        padding: 0 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .research-hero-simple {
        padding: 70px 0 15px !important;
    }
}

@media (max-width: 480px) {
    .research-article-title {
        font-size: 1.1rem !important;
        line-height: 1.25 !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
}

/* КНОПКА НАВЕРХ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ПЛАВНАЯ ПРОКРУТКА */
html {
    scroll-behavior: smooth;
}

/* УЛУЧШЕННЫЕ ПЕРЕХОДЫ ДЛЯ ССЫЛОК */
a {
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: none;
}
