.services-page {
    color: #21364a;
}

.services-hero {
    border: 1px solid #d7e5f3;
    border-radius: 14px;
    background: radial-gradient(circle at top right, #f2f8ff 0%, #ffffff 55%);
    box-shadow: 0 12px 24px rgba(8, 33, 57, 0.09);
    padding: 18px;
    margin-bottom: 16px;
}

.services-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f6ba2;
    margin-bottom: 8px;
}

.services-hero h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    color: #123f66;
    font-weight: 800;
}

.services-hero p {
    margin: 10px 0 0;
    color: #4c6278;
    font-size: 15px;
    line-height: 1.75;
}

.services-hero-badges {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid #cfe0f4;
    background: #f6fbff;
    color: #245783;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    border: 1px solid #d8e6f3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(9, 36, 62, 0.1);
    padding: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(9, 36, 62, 0.15);
}

.service-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.service-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    flex-shrink: 0;
}

.service-card h3 {
    margin: 0;
    font-size: 20px;
    color: #11395f;
    font-weight: 800;
    line-height: 1.25;
}

.service-card p {
    margin: 0 0 8px;
    color: #39536b;
    line-height: 1.72;
    font-size: 14px;
}

.service-media {
    margin-top: 8px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d8e6f3;
    background: #f8fbff;
    padding: 6px;
}

.service-media img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.service-card-blue {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.service-card-blue .service-icon {
    background: linear-gradient(135deg, #164c7f 0%, #2f7abe 100%);
}

.service-card-amber {
    background: linear-gradient(180deg, #fffef7 0%, #fff8df 100%);
}

.service-card-amber .service-icon {
    background: linear-gradient(135deg, #bc7d1e 0%, #e3a43e 100%);
}

.service-card-green {
    background: linear-gradient(180deg, #f7fffb 0%, #e2f7ec 100%);
}

.service-card-green .service-icon {
    background: linear-gradient(135deg, #1b6d4a 0%, #2d9f6b 100%);
}

.services-cta {
    margin-top: 16px;
    border: 1px solid #d5e4f2;
    border-radius: 12px;
    background: linear-gradient(125deg, #0f375f 0%, #2a73b3 100%);
    box-shadow: 0 10px 18px rgba(8, 33, 57, 0.15);
    color: #ffffff;
    padding: 16px;
}

.services-cta h4 {
    margin: 0;
    font-weight: 800;
    font-size: 22px;
}

.services-cta p {
    margin: 8px 0 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.services-cta .btn {
    border-color: #ffffff;
    background: #ffffff;
    color: #1d588b;
    font-weight: 700;
}

.services-cta .btn:hover,
.services-cta .btn:focus {
    background: #e6f2ff;
    color: #133c62;
}

.services-hero {
    animation: servicesFadeUp 0.48s ease both;
}

.services-grid .service-card:nth-child(1) {
    animation: servicesFadeUp 0.5s 0.08s ease both;
}

.services-grid .service-card:nth-child(2) {
    animation: servicesFadeUp 0.5s 0.16s ease both;
}

.services-grid .service-card:nth-child(3) {
    animation: servicesFadeUp 0.5s 0.24s ease both;
}

.services-cta {
    animation: servicesFadeUp 0.52s 0.3s ease both;
}

@keyframes servicesFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-hero,
    .services-grid .service-card,
    .services-cta,
    .service-card {
        animation: none !important;
        transition: none !important;
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .services-hero {
        padding: 14px;
    }

    .services-hero h1 {
        font-size: 24px;
    }

    .service-card {
        padding: 12px;
    }

    .service-card h3 {
        font-size: 18px;
    }
}
