/* ── SGW Services Grid ──────────────────────────────────── */

.sgw-sg-wrap {
    width: 100%;
    box-sizing: border-box;
    background-color: #f8e8ef;
    padding: 48px 40px;
}

/* Section title */
.sgw-sg-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 36px 0;
}

/* Grid */
.sgw-sg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Card */
.sgw-sg-card {
    display: flex;
    flex-direction: column;
}

.sgw-sg-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sgw-sg-card-link:hover {
    text-decoration: none;
}

/* Image */
.sgw-sg-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
}

.sgw-sg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.35s ease, transform 0.35s ease;
}

/* Grayscale */
.sgw-sg-grayscale img {
    filter: grayscale(100%);
}

/* Color on hover */
.sgw-sg-hover-color:hover img {
    filter: grayscale(0%);
}

/* Subtle zoom on hover */
.sgw-sg-card-link:hover .sgw-sg-image img {
    transform: scale(1.03);
}

/* Card body */
.sgw-sg-card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sgw-sg-card-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.4;
}

.sgw-sg-learn-more {
    font-size: 13px;
    color: #777777;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.sgw-sg-card-link:hover .sgw-sg-learn-more {
    color: #000;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .sgw-sg-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 540px) {
    .sgw-sg-grid {
        grid-template-columns: 1fr !important;
    }

    .sgw-sg-wrap {
        padding: 32px 20px;
    }
}
