/* =========================
   SERVICES
========================= */

.service-card {
    position: relative;
    background: linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.015)
    );
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;

    transition:
            transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* overlay */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
            180deg,
            rgba(255,255,255,0.04),
            rgba(255,255,255,0)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* hover */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.service-card:hover::before {
    opacity: 1;
}

/* typography */
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
}

.service-card p {
    margin-bottom: auto;
}

/* icon */
.service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 1.6rem;
    color: var(--color-text-primary);
    opacity: 0.85;
    transition: transform 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-4px);
    color: var(--color-accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* accent line */
.service-card::after {
    content: "";
    position: absolute;
    bottom: 2rem;
    left: 2.8rem;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    opacity: 0.9;
    transition: width 0.6s ease;
}

.service-card.is-visible::after {
    width: 32px;
}

.service-card:hover::after {
    width: 64px;
}
