/* ===== HERO SERVICES ===== */
.hero-services {
    padding: 100px 0 80px;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse 40% 50% at 20% 70%, rgba(79, 143, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-services > .container {
    position: relative;
    z-index: 1;
}

.hero-services__badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.hero-services h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-services h1 span {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-services p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-services__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SERVICES GRID ===== */
.section--services {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.section--services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 10% 30%, rgba(79, 143, 255, 0.07) 0%, transparent 60%),
                radial-gradient(ellipse 40% 40% at 90% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Divider after services */
.section--services::after {
    content: '';
    display: block;
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 143, 255, 0.25), transparent);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 36px 32px;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-top-color: var(--accent);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--bg-lighter);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.service-card__text {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.service-card__list li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ===== ENGAGEMENTS ===== */
.section--engagements {
    position: relative;
    background: linear-gradient(180deg, #0d1525 0%, #111b2e 50%, #0d1525 100%);
}

.section--engagements::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 70% 40%, rgba(6, 214, 160, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse 40% 50% at 20% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.engagement {
    padding: 32px 28px;
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    transition: all 0.3s ease;
}

.engagement:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.engagement__icon {
    width: 52px;
    height: 52px;
    background: rgba(79, 143, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.engagement:hover .engagement__icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.engagement__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.engagement__text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}


/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 24px;
    }
}
