:root {
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --primary-color: #F97316; /* Оранжевый для кнопки */
    --dark-text: #333;
    --light-text: #666;
    --border-radius: 10px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    max-height: 50px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #d66215;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Partners Section */
.partners {
    padding: 50px 0;
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
}

.partners-header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.partners-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-text {
    color: var(--dark-text);
    line-height: 1.6;
}

/* Steps Section */
.steps-section {
    padding: 30px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-desc {
    color: var(--dark-text);
    margin-bottom: 15px;
}

.step-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Стили для длинных ссылок в шагах */
.step-content a {
    word-break: break-word;
    max-width: 100%;
    display: inline-block;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    margin-top: 50px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 12px 25px;
}

.cta-section .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer Styles */
footer {
    background-color: #dddfe1; /*var(--light-bg);*/
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info, .footer-nav, .footer-contacts {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-text {
    margin-bottom: 15px;
}

.footer-title {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--light-text);
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    padding: 20px;
    transition: 0.3s;
    z-index: 1000;
}

#mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.mobile-nav-item {
    margin: 10px 0;
}

.mobile-nav-item a {
    display: block;
    padding: 10px 0;
    color: var(--dark-text);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
    }

    .partners-header h1 {
        font-size: 1.8rem;
    }
    
    .partners-header p {
        font-size: 1rem;
    }

    .section-title,
    .cta-section h2 {
        font-size: 1.7rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 10px;
    }
    
    .step-content {
        width: 100%;
    }
    
    .step-image img {
        max-width: 100%;
        height: auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-info, .footer-nav, .footer-contacts {
        width: 100%;
    }

    .step-content a {
        font-size: 14px;
    }
    
    /* Исправление для мобильного меню */
    #mobile-menu {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .partners-header h1 {
        font-size: 1.6rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-title {
        font-size: 1.3rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}
/*     */
/* Стили для нового пункта и кнопки */
.partner-item {
    margin-bottom: 20px;
}

.promo-button {
    margin-top: 20px;
    text-align: center;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.btn-download:hover {
    background-color: #0056b3;
}