/* ==========================================================================
   БЛОК: MAIN SERVICES (Основные услуги)
   ========================================================================== */

.services-section {
    background-color: #f7f9fc;
    padding: 100px 20px;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.services-badge {
    display: inline-block;
    background-color: #e1f5fe;
    color: #0288d1;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.services-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #0b2545;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-subtitle {
    font-size: 16px;
    color: #617d98;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.03);
    border: 1px solid rgba(11, 37, 69, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 38px rgba(72, 187, 120, 0.18), 0 6px 12px rgba(72, 187, 120, 0.08);
    border-color: rgba(72, 187, 120, 0.3);
}

.services-section .card-icon {
    width: 50px;
    height: 50px;
    background-color: #e1f5fe;
    color: #2bb1e5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #0b2545;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-card p {
    font-size: 15px;
    color: #324353;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #f0f4f8;
    color: #486581;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

.tag:hover { background-color: #e2e8f0; }

@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-section { padding: 80px 20px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .services-section { padding: 60px 20px; }
    .services-header h2 { font-size: 32px; }
    .service-card { padding: 30px; }
}