/* Стили для главной страницы */
.hero-section {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(rgba(26, 42, 108, 0.8), rgba(26, 42, 108, 0.8)), url('https://images.unsplash.com/photo-1550565118-3a14e8d0386f?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 8px;
    margin-bottom: 0;
}

.hero-section h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.5rem;
    opacity: 1;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1.4rem 4rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: var(--primary-color);
    color: white;
}

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

.blue-btn:hover {
    background: #2a3a7c;
}

/* Блок доверия */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: -2rem;
    margin-bottom: 4rem;
    border: 1px solid #eee;
}

.trust-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Общие утилиты */
.section-margin {
    margin-bottom: 5rem;
}

.text-center {
    text-align: center;
}

.highlight-text {
    font-weight: bold;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

/* Сетка услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
}

.service-card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Почему нам доверяют */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

/* Как проходит работа */
.work-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto;
}

.work-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.work-step span {
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Для кого - теги */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.tag {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid #ddd;
}

/* Юридическая база */
.legal-box {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.legal-box ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.legal-box li {
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.legal-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Финальный экран */
.final-screen {
    background: var(--secondary-color);
    padding: 4rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--primary-color);
}

/* --- АДАПТИВНОСТЬ --- */

@media (max-width: 992px) {
    .hero-section { padding: 5rem 1.5rem; }
    .hero-section h1 { font-size: 2.8rem; }
    .hero-section p { font-size: 1.3rem; }
    .legal-box { padding: 2rem; }
}

@media (max-width: 768px) {
    .hero-section { padding: 4rem 1.5rem; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 1.1rem; }
    .cta-button { padding: 1.2rem 2.5rem; font-size: 1rem; }
    
    .trust-bar {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        text-align: left;
    }
    
    .work-step {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .final-screen {
        font-size: 1.1rem;
    }
}
