/* Основные стили страницы ОСАГО */
.osago-hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: -20px;
}

.osago-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1489824904134-891ab64532f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.osago-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.osago-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.osago-hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Кнопки мессенджеров */
.messenger-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.messenger-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.telegram-btn {
    background-color: #0088cc;
    color: white;
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

/* Секции */
.osago-section {
    padding: 80px 0;
    background: white;
}

.osago-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #1e3a8a;
    font-size: 2.2rem;
}

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.benefit-card i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.benefit-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

/* Как это работает */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.step p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: #f9fafb;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    color: #1e3a8a;
}

.faq-question:hover {
    background-color: #f3f4f6;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: #3b82f6;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.faq-question.active + .faq-answer {
    max-height: 500px;
    padding: 0 20px;
}

/* Виджет самостоятельного оформления */
.self-service {
    background: white;
}

.self-service-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.self-service-text {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.6;
}

.widget-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

/* Секция перед футером */
.pre-footer-cta {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.pre-footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.pre-footer-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1e3a8a;
}

.pre-footer-cta .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #4b5563;
}

/* Адаптивность */
@media (max-width: 768px) {
    .osago-hero {
        padding: 100px 0 60px;
    }
    
    .osago-hero h1, .pre-footer-cta h2 {
        font-size: 2.2rem;
    }
    
    .osago-hero .subtitle, .pre-footer-cta .subtitle {
        font-size: 1.1rem;
    }
    
    .messenger-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .messenger-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .benefits-grid, .steps {
        grid-template-columns: 1fr;
    }
    
    .osago-section, .pre-footer-cta {
        padding: 60px 0;
    }
    
    .osago-section h2 {
        font-size: 1.8rem;
    }
}