:root {
    --primary: #2c7be5;
    --primary-dark: #1a68d1;
    --secondary: #f8f9fa;
    --dark: #2d3748;
    --light: #f7fafc;
    --gray: #718096;
    --success: #48bb78;
    --danger: #e53e3e;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    margin-top: 5%;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

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

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    z-index: 1001;
}

.logo span {
    color: var(--dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 18px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.phone-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.phone-link:hover {
    background-color: var(--primary-dark);
}

.phone-link i {
    margin-right: 6px;
}

/* Hero Section */
.hero {
    padding: 110px 0 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    color: var(--dark);
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 25px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Problems Section */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 1.9rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.problem-card {
    background-color: white;
    border-radius: 10px;
    padding: 22px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.problem-card p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.problem-card .solution {
    background-color: var(--secondary);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--primary);
}

.problem-card .solution h4 {
    color: var(--success);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.problem-card .solution p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

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

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Process Section */
.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 4px;
    background-color: var(--primary);
}

.step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 35px;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content {
    background-color: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.step-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-slider {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 15px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.review-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    color: var(--gray);
    font-style: italic;
    font-size: 0.95rem;
}

/* Price Section */
.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.price-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

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

.price-header {
    background-color: var(--primary);
    color: white;
    padding: 20px;
}

.price-header h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0;
}

.price-body {
    padding: 25px;
}

.price-features {
    list-style: none;
    margin-bottom: 25px;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 15px;
}

/* Guarantee Section */
.guarantee-card {
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 20px;
}

.guarantee-card h3 {
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.guarantee-card p {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 3px;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.avito-link {
    display: inline-flex;
    align-items: center;
    background-color: #00a2ed;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.avito-link:hover {
    background-color: #0088cc;
}

.avito-link i {
    margin-right: 8px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    display: block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
    font-size: 0.85rem;
}

.bg-light {
    background-color: var(--secondary);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 10px 0;
    }

    .nav-toggle {
        display: block;
    }


    .phone-link {
        margin: 10px 0 0;
        display: block;
        text-align: center;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .process-steps:before {
        left: 20px;
    }

    .step {
        padding-left: 60px;
        margin-bottom: 25px;
    }

    .step-number {
        left: 10px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .review-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding: 80px 0 30px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .problems-grid,
    .advantages-grid,
    .price-cards {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

:root {
    --primary: #2c7be5;
    --primary-dark: #1a68d1;
    --secondary: #f8f9fa;
    --dark: #2d3748;
    --light: #f7fafc;
    --gray: #718096;
    --success: #48bb78;
    --danger: #e53e3e;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    padding-top: 70px; /* Добавляем отступ для фиксированного header */
}

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

/* Header - полностью переработан */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo span {
    color: var(--dark);
    margin-left: 5px;
}

/* Кнопка меню - всегда видима */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Навигация для десктопа */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-menu li {
    margin-left: 25px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

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

.nav-menu a i {
    margin-right: 5px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.phone-link:hover {
    background-color: var(--primary-dark);
}

.phone-link i {
    margin-right: 6px;
}

/* Мобильное меню - исправленная версия */
.nav-mobile {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateY(-100vh);
    transition: transform 0.4s ease;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.nav-mobile.active {
    transform: translateY(0);
}

.nav-mobile .nav-menu {
    flex-direction: column;
    margin-right: 0;
    width: 100%;
}

.nav-mobile .nav-menu li {
    margin: 0 0 15px 0;
    width: 100%;
}

.nav-mobile .nav-menu a {
    padding: 12px 0;
    font-size: 1rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.nav-mobile .nav-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.nav-mobile .phone-link {
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-top: 15px;
    font-size: 1rem;
}

/* Hero и остальные секции остаются без изменений */
.hero {
    padding: 40px 0 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    margin-top: -70px; /* Компенсируем фиксированный header */
    padding-top: 110px;
}

/* Остальные стили секций остаются как в предыдущем варианте */

/* Адаптация */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .nav-desktop {
        display: flex;
    }
}

@media (max-width: 991px) {
    .nav-desktop {
        display: none;
    }
    
    body {
        padding-top: 70px;
    }
    
    .hero {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-mobile {
        top: 60px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .hero {
        margin-top: -60px;
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
}