/* ═══════════════════════════════════════
   SERVICE CARDS — B&W background images
   ═══════════════════════════════════════ */

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--c-bg-card);
    border: 1px solid rgba(123, 45, 59, 0.12);
    padding: 2.8rem;
    border-radius: 4px;
    transition: transform 0.5s var(--ease-out),
                box-shadow 0.5s var(--ease-out),
                border-color 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

/* ── Background image layer — B&W, dark ── */
.service-card__bg {
    position: absolute;
    inset: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.18) contrast(1.2);
    transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    z-index: 0;
}

.service-card:hover .service-card__bg {
    filter: grayscale(100%) brightness(0.25) contrast(1.15);
    transform: scale(1.05);
}

/* Top accent gradient — appears on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-primary-light), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    z-index: 2;
}

/* Dark overlay gradient for text readability */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(11, 10, 13, 0.75) 0%,
        rgba(11, 10, 13, 0.6) 40%,
        rgba(90, 21, 37, 0.15) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(158, 74, 90, 0.3);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(90, 21, 37, 0.12),
        0 24px 48px rgba(90, 21, 37, 0.08);
}

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

/* ── All content above the bg layers ── */
.service-card__icon,
.service-card__title,
.service-card__desc,
.service-card__list {
    position: relative;
    z-index: 3;
}

/* ── Icon with glow ── */
.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--c-primary-light);
    margin-bottom: 1.75rem;
    padding: 10px;
    border-radius: 50%;
    background: rgba(123, 45, 59, 0.15);
    backdrop-filter: blur(4px);
    transition: background var(--duration), box-shadow var(--duration);
}

.service-card__icon svg {
    stroke-width: 1.2;
}

.service-card:hover .service-card__icon {
    background: rgba(123, 45, 59, 0.3);
    box-shadow: 0 0 20px rgba(123, 45, 59, 0.2);
}

/* ── Title ── */
.service-card__title {
    font-family: var(--f-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ── Description paragraph ── */
.service-card__desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

/* ── List ── */
.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.service-card__list li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-primary-light);
    opacity: 0.7;
}
