.services-page-main {
    padding-top: 0;
}

.services-hero {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
}

.services-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.services-content {
    padding: 40px 0 20px;
}

.services-page-shell {
    width: min(calc(100% - 32px), 1720px);
    max-width: 1720px;
    margin: 0 auto;
}

.services-section-header {
    padding-top: 0;
}

.services-section-header .section-subtitle {
    max-width: 900px;
    margin: 0 auto;
    color: #4a5568;
}

.services-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin: 20px auto 0;
    padding: 20px 0 60px;
}

.service-card {
    position: relative;
    display: flex;
    width: 320px;
    max-width: 100%;
    padding: 25px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(227, 6, 19, 0.3);
    box-shadow: 0 15px 45px rgba(227, 6, 19, 0.2);
}

.service-card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon-circle-card {
    z-index: 2;
    display: flex;
    width: 65px;
    height: 65px;
    margin-top: -60px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    background: linear-gradient(135deg, #e30613, #b0000b);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-circle-card {
    transform: rotate(10deg) scale(1.1);
}

.service-card h2 {
    margin: 0 0 15px;
    color: #e30613;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card p {
    margin: 0;
    color: #151b1a;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-content {
        padding-top: 32px;
    }

    .services-cards-grid {
        gap: 28px;
        padding-bottom: 40px;
    }

    .service-card {
        width: min(100%, 360px);
    }
}

[data-theme="dark"] .services-section-header .section-subtitle,
[data-theme="dark"] .service-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-card {
    background: rgba(24, 31, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .service-card:hover {
    background: rgba(30, 38, 51, 0.92);
    border-color: rgba(227, 6, 19, 0.45);
}
