/* ── Card ── */
.services-card {
    border: none;
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.services-card:hover {
    transform: translateY(-8px);
}

/* ── Imagen ── */
.services-img-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.services-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-card:hover .services-img {
    transform: scale(1.08);
}

.services-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.05),
        transparent
    );
}

/* ── Contenido ── */
.services-content {
    padding: 40px 35px;
}

.services-title {
    margin-bottom: 20px;
    color: #111;
    font-size: 2rem;
    font-weight: 700;
}

.services-text {
    margin-bottom: 28px;
    color: #5f6368;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

/* ── Botón ── */
.custom-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 999px;

    color: white;
    font-weight: 600;
    letter-spacing: 1px;

    background: linear-gradient(
        135deg,
        rgb(179, 134, 69),
        rgb(140, 101, 48)
    );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.custom-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(179, 134, 69, 0.35);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .services-img {
        height: 320px;
    }

    .services-content {
        padding: 30px 25px;
    }

    .services-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .services-img {
        height: 260px;
    }

    .services-content {
        text-align: center;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .services-text {
        font-size: 1rem;
    }

    .custom-btn {
        width: 100%;
    }
}